:root {
  --navy: #071d34;
  --navy-soft: #123653;
  --turquoise: #15c8d8;
  --turquoise-dark: #078fa5;
  --green: #13795b;
  --text: #17212b;
  --muted: #63717e;
  --line: #dce5eb;
  --soft: #f4f8fa;
  --white: #ffffff;
  --shadow: 0 12px 34px rgba(7, 29, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 94px;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 50px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--turquoise-dark);
  font-size: 13px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  min-height: 88px;
  place-items: center;
  border-bottom: 1px solid rgba(220, 229, 235, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 158px;
  height: 76px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-section {
  display: grid;
  gap: 30px;
  padding: 54px max(24px, calc((100vw - 1320px) / 2)) 30px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 160px 180px;
  width: 100%;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
}

.search-panel label > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.search-panel input::placeholder {
  color: #8a96a0;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  margin: 11px;
  border: 0;
  border-radius: 8px;
  background: var(--turquoise);
  color: var(--navy);
  cursor: pointer;
}

.search-button:hover {
  background: var(--turquoise-dark);
  color: var(--white);
}

.category-rail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.category-rail {
  display: grid;
  grid-auto-columns: 104px;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: grid;
  grid-template-rows: 36px auto;
  gap: 7px;
  min-height: 76px;
  align-items: center;
  justify-items: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  scroll-snap-align: start;
}

.category-item .icon {
  width: 26px;
  height: 26px;
}

.category-item span {
  max-width: 104px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-item:hover,
.category-item.active {
  border-bottom-color: var(--turquoise);
  color: var(--navy);
}

.category-item.active .icon {
  color: var(--turquoise-dark);
}

.rail-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.rail-arrow .icon {
  width: 18px;
  height: 18px;
}

.home-showcase,
.results-section,
.profile-section,
.signup-section,
.catalog-section,
.favorites-section,
.account-section {
  padding: 64px max(24px, calc((100vw - 1320px) / 2));
  scroll-margin-top: 96px;
}

.home-showcase {
  padding-bottom: 20px;
}

.showcase-section {
  margin-bottom: 68px;
}

.showcase-heading,
.section-heading,
.block-heading,
.provider-title-row,
.provider-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.showcase-heading,
.section-heading {
  margin-bottom: 24px;
}

.showcase-heading > span,
.section-heading > p,
.block-heading > span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.showcase-row {
  display: grid;
  grid-auto-columns: minmax(260px, 310px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.provider-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 29, 52, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.provider-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 200, 216, 0.65);
  box-shadow: var(--shadow);
}

.provider-card.compact {
  grid-template-columns: 1fr;
  grid-template-rows: 180px auto;
  width: 100%;
  min-height: 390px;
  scroll-snap-align: start;
}

.provider-image {
  position: relative;
  min-width: 0;
  overflow: visible;
  border-radius: 6px;
}

.provider-image > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 196px;
  border-radius: inherit;
  object-fit: cover;
}

.provider-card.compact .provider-image > img {
  min-height: 180px;
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(220, 229, 235, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
}

.favorite-button .icon {
  width: 19px;
  height: 19px;
}

.favorite-button.active {
  background: var(--navy);
  color: var(--white);
}

.favorite-button.active .icon {
  fill: currentColor;
}

.verified-mark {
  position: absolute;
  right: 0;
  bottom: 18px;
  transform: translateX(40%);
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--turquoise-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(7, 29, 52, 0.2);
}

.verified-mark .icon {
  width: 17px;
  height: 17px;
}

.provider-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 4px 4px 2px;
}

.provider-title-row {
  align-items: start;
}

.provider-title-row p {
  margin-bottom: 4px;
  color: var(--turquoise-dark);
  font-size: 12px;
  font-weight: 800;
}

.provider-title-row h3 {
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating,
.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.rating .icon,
.review-stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.provider-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.provider-meta .icon {
  width: 14px;
  height: 14px;
}

.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.provider-tags span,
.active-chips span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy-soft);
  font-size: 11px;
  font-weight: 750;
}

.provider-footer {
  align-items: center;
  margin-top: 14px;
}

.provider-footer strong {
  color: var(--navy);
  font-size: 17px;
}

.provider-footer > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.provider-footer .available {
  color: var(--green);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.contact-icon:hover {
  border-color: var(--turquoise);
  background: #eafcff;
}

.contact-icon .icon {
  width: 18px;
  height: 18px;
}

.contact-icon.phone {
  color: var(--turquoise-dark);
}

.contact-icon.whatsapp {
  color: var(--green);
}

.contact-icon.email {
  color: #395c9b;
}

.contact-actions.large {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-actions.large .contact-icon {
  width: 46px;
  height: 46px;
  background: var(--soft);
}

.results-section {
  border-top: 1px solid var(--line);
  background: #fbfdfe;
}

.filter-bar {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.filter-bar label,
.filter-bar button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
  color: var(--navy);
}

.filter-bar .icon {
  width: 17px;
  height: 17px;
}

.filter-bar select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.toggle-filter {
  cursor: pointer;
}

.toggle-filter input {
  width: 16px;
  height: 16px;
  accent-color: var(--turquoise-dark);
}

.toggle-filter b {
  font-size: 13px;
  white-space: nowrap;
}

.clear-filter {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0 20px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 52px 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-state .icon {
  width: 34px;
  height: 34px;
  color: var(--turquoise-dark);
}

.empty-state h3,
.empty-state p {
  margin-bottom: 0;
}

.profile-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.profile-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 58px 20px;
  color: var(--muted);
  text-align: center;
}

.profile-empty .icon {
  width: 38px;
  height: 38px;
}

.profile-empty p {
  margin-bottom: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(330px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.profile-summary {
  position: sticky;
  top: 110px;
}

.profile-cover {
  position: relative;
  height: 280px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.profile-cover > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-cover .verified-mark {
  right: 18px;
  bottom: 0;
  transform: translateY(40%);
}

.profile-summary h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.profile-about {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.profile-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.profile-rating strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
}

.profile-rating .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.profile-trust {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.profile-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-trust .icon {
  width: 18px;
  height: 18px;
  color: var(--turquoise-dark);
}

.booking-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-card > div:first-child {
  display: grid;
  gap: 3px;
}

.booking-card span,
.booking-card small {
  color: var(--muted);
  font-size: 12px;
}

.booking-card strong {
  color: var(--navy);
  font-size: 22px;
}

.profile-content {
  display: grid;
  gap: 42px;
}

.profile-block {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.profile-block > h3,
.block-heading {
  margin-bottom: 18px;
}

.profile-block > h3 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.profile-block > h3 .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.package-list {
  display: grid;
  gap: 12px;
}

.package-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  min-height: 148px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.package-card img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  border-radius: 6px;
  object-fit: cover;
}

.package-card > div {
  display: grid;
  align-content: center;
  gap: 5px;
}

.package-card span,
.package-card small {
  color: var(--muted);
  font-size: 12px;
}

.package-card h4,
.package-card p {
  margin-bottom: 0;
}

.package-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.package-card strong {
  color: var(--navy);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.facts-grid > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.facts-grid .icon {
  color: var(--turquoise-dark);
}

.facts-grid span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.facts-grid b {
  color: var(--navy);
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-columns h3 {
  margin-bottom: 12px;
}

.detail-columns ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 850;
}

.review-author div {
  display: grid;
}

.review-author small {
  color: var(--muted);
}

.review-stars {
  margin-top: 14px;
}

.review-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-grid .provider-card.compact {
  min-height: 380px;
}

.signup-section,
.favorites-section {
  background: var(--soft);
}

.signup-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.signup-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.signup-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.signup-steps li::after {
  position: absolute;
  top: 16px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: var(--line);
  content: "";
}

.signup-steps li:last-child::after {
  display: none;
}

.signup-steps span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-weight: 850;
}

.signup-steps .active {
  color: var(--navy);
}

.signup-steps .active span {
  border-color: var(--turquoise);
  background: var(--turquoise);
}

.provider-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}

.provider-form label {
  display: grid;
  gap: 7px;
}

.provider-form label > span,
.contact-choice legend {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.provider-form input,
.provider-form select,
.provider-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  outline: 0;
  background: var(--white);
  color: var(--text);
}

.provider-form input:focus,
.provider-form select:focus,
.provider-form textarea:focus {
  border-color: var(--turquoise-dark);
}

.provider-form textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.contact-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.contact-choice legend {
  padding: 0 6px;
}

.contact-choice label {
  display: flex;
  grid-auto-flow: initial;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-choice input {
  width: 17px;
  height: 17px;
  accent-color: var(--turquoise-dark);
}

.primary-action {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.primary-action:hover {
  background: var(--navy-soft);
}

.form-status {
  display: none;
  border: 1px solid rgba(40, 190, 196, 0.45);
  border-radius: 8px;
  padding: 14px;
  background: rgba(40, 190, 196, 0.1);
  color: var(--navy);
}

.form-status:not(:empty) {
  display: grid;
  gap: 4px;
}

.form-status strong {
  font-size: 14px;
}

.form-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.catalog-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.catalog-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.catalog-title .icon {
  color: var(--turquoise-dark);
}

.catalog-title h3 {
  font-size: 18px;
}

.catalog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-links button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--soft);
  color: var(--navy-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-links button:hover {
  border-color: var(--turquoise);
  background: #eafcff;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.account-panel {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-panel > .icon {
  width: 50px;
  height: 50px;
  color: var(--turquoise-dark);
}

.account-panel h2 {
  font-size: 28px;
}

.account-panel p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  right: 50%;
  bottom: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(620px, calc(100% - 28px));
  min-height: 66px;
  transform: translateX(50%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(7, 29, 52, 0.18);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: grid;
  grid-template-rows: 26px 16px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  border-radius: 10px;
  color: var(--muted);
}

.bottom-nav a:hover,
.bottom-nav a.active {
  background: var(--soft);
  color: var(--navy);
}

.bottom-nav a.active .icon {
  color: var(--turquoise-dark);
}

.bottom-nav b {
  font-size: 10px;
}

.bottom-nav .offer-link {
  color: var(--navy);
}

.bottom-nav .offer-link .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--turquoise);
}

@media (max-width: 1080px) {
  .search-panel {
    grid-template-columns: 1fr 1fr 140px;
  }

  .search-button {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .catalog-groups,
  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .site-header {
    min-height: 78px;
  }

  .brand {
    width: 132px;
    height: 66px;
  }

  .hero-section,
  .home-showcase,
  .results-section,
  .profile-section,
  .signup-section,
  .catalog-section,
  .favorites-section,
  .account-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-section {
    gap: 22px;
    padding-top: 32px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .search-panel label {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
  }

  .search-button {
    min-height: 52px;
    margin: 8px 0 0;
  }

  .category-rail-wrap {
    grid-template-columns: 1fr;
  }

  .rail-arrow {
    display: none;
  }

  .category-rail {
    grid-auto-columns: 92px;
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .showcase-heading,
  .section-heading,
  .block-heading {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .showcase-row {
    grid-auto-columns: minmax(245px, 82vw);
    margin-right: -18px;
    padding-right: 18px;
  }

  .provider-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .provider-image > img {
    min-height: 174px;
  }

  .provider-title-row {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .provider-title-row h3 {
    font-size: 18px;
  }

  .provider-meta span:nth-child(3),
  .provider-tags {
    display: none;
  }

  .provider-footer {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .provider-footer > span {
    text-align: left;
  }

  .contact-actions {
    gap: 6px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-summary {
    position: static;
  }

  .profile-cover {
    height: 260px;
  }

  .profile-summary h2 {
    font-size: 34px;
  }

  .facts-grid,
  .detail-columns,
  .reviews-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .signup-steps {
    grid-template-columns: repeat(6, 78px);
    overflow-x: auto;
  }

  .provider-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .full-width {
    grid-column: auto;
  }

  .catalog-groups,
  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .account-panel {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .account-panel .primary-action {
    grid-column: 1 / -1;
  }

  .bottom-nav {
    bottom: 0;
    width: 100%;
    min-height: 72px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    padding: 4px 8px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 31px;
  }

  .provider-card:not(.compact) {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .provider-card:not(.compact) .provider-image > img {
    min-height: 158px;
  }

  .provider-card:not(.compact) .contact-actions {
    grid-column: 1 / -1;
  }

  .package-card {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }

  .contact-actions.large {
    justify-content: flex-start;
  }

  .bottom-nav b {
    font-size: 9px;
  }
}
