/* ===== Variables ===== */
:root {
  --color-primary: #0d7377;
  --color-primary-dark: #095456;
  --color-primary-light: #14a3a8;
  --color-accent: #e8f6f6;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f8f8;
  --color-border: #e2eaec;
  --color-portal: #b63d2d;
  --color-portal-dark: #8d2f23;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(13, 115, 119, 0.1);
  --shadow-lg: 0 12px 40px rgba(13, 115, 119, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.thanks-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f4fbfb 0%, #ffffff 100%);
}

.thanks-page__content {
  max-width: 700px;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 115, 119, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.thanks-page__success-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  place-items: center;
  border: 1px solid rgba(182, 61, 45, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff8f2, #f7e2d3);
  color: var(--color-portal-dark);
  font-size: 2.25rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(182, 61, 45, 0.16);
}

.thanks-page__brand {
  display: flex;
  width: max-content;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thanks-page__content > .section__tag {
  display: block;
  width: max-content;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.thanks-page__policy {
  color: var(--color-portal-dark);
}

.thanks-page__wellness {
  margin: 0.75rem auto 1rem;
  color: var(--color-portal-dark);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
}

.thanks-page__wellness::before,
.thanks-page__wellness::after {
  color: var(--color-portal);
  content: '\2728';
  font-family: sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  vertical-align: 0.15em;
}

.thanks-page__wellness::before {
  margin-right: 0.55rem;
}

.thanks-page__wellness::after {
  margin-left: 0.55rem;
}

.thanks-page__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.thanks-page__lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}

.thanks-page__info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.thanks-page__info p + p {
  margin-top: 0.5rem;
}

.thanks-page__portal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: left;
  border-top: 1px solid var(--color-border);
}

.thanks-page__portal--distinct {
  align-self: start;
  margin-top: 0;
  padding: 1.25rem 0 0.25rem 1.25rem;
  border-top: 0;
  border-left: 3px solid var(--color-portal);
  background: linear-gradient(90deg, rgba(182, 61, 45, 0.07), transparent 75%);
}

.thanks-page__portal-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-portal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thanks-page__portal-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background: rgba(182, 61, 45, 0.12);
  border-radius: 50%;
  font-size: 1.25rem;
}

.thanks-page__portal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-text);
}

.thanks-page__portal p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.thanks-page__location {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.thanks-page__location-label {
  color: var(--color-portal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thanks-page__location h2 {
  margin: 0.35rem 0 0.6rem;
  color: var(--color-text);
  font-size: 1.15rem;
}

.thanks-page__location address {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
}

.thanks-page__location iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: var(--radius-md);
}

@media (max-width: 480px) {
  .thanks-page__portal {
    grid-template-columns: 1fr;
  }

  .thanks-page__location {
    grid-template-columns: 1fr;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--icon svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--ghost {
  background: rgba(13, 115, 119, 0.06);
  color: var(--color-primary);
  border-color: rgba(13, 115, 119, 0.14);
}

.btn--ghost:hover {
  background: rgba(13, 115, 119, 0.12);
  color: var(--color-primary-dark);
}

.btn--portal {
  background: linear-gradient(135deg, var(--color-portal) 0%, #d45a2e 100%);
  color: #fff;
  border-color: rgba(182, 61, 45, 0.12);
  box-shadow: 0 10px 22px rgba(182, 61, 45, 0.22);
}

.btn--portal:hover {
  background: linear-gradient(135deg, var(--color-portal-dark) 0%, #b3492c 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(118, 40, 30, 0.24);
}

.btn--full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: var(--search-panel-height, 54px);
  height: var(--header-height);
  z-index: 110;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.28s ease, opacity 0.28s ease, visibility 0.28s ease, border-color var(--transition), box-shadow var(--transition);
}

.header .nav {
  height: 100%;
}

.header .nav__toggle {
  display: none;
}

.header .nav__menu {
  position: static;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.header .nav__menu .nav__link {
  padding: 0.48rem 0.78rem;
}

body.is-scrolled .header {
  position: static;
  width: 100%;
  height: 0;
  z-index: 140;
  background: transparent;
  backdrop-filter: none;
  transform: none;
  contain: none;
  border-bottom-color: transparent;
  pointer-events: none;
}

body.is-scrolled .header .nav {
  height: 0;
}

body.is-scrolled .header .nav__menu {
  position: fixed !important;
  top: calc(var(--search-panel-height, 54px) + 0.45rem) !important;
  left: 50% !important;
  right: auto !important;
  inset-block-start: calc(var(--search-panel-height, 54px) + 0.45rem);
  inset-inline-start: 50%;
  inset-inline-end: auto;
  width: min(1120px, 92vw);
  padding: 0.7rem;
  border: 1px solid rgba(12, 94, 88, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(8, 45, 46, 0.18);
  backdrop-filter: blur(10px);
  overflow-x: auto;
  overflow-y: hidden;
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  z-index: 130;
  visibility: visible;
  transition: transform var(--transition), opacity var(--transition);
}

body.is-scrolled .header .nav__menu.open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.nav__logo:hover {
  color: var(--color-text);
}

.nav__logo--compact {
  flex-shrink: 0;
  min-width: 0;
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.nav__logo--brand {
  gap: 0.7rem;
}

.nav__logo-image {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 14px;
}

.nav__logo-image--horizontal {
  width: auto;
  height: 50px;
  max-width: 216px;
  object-fit: contain;
  border-radius: 0;
}

.nav__brand-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.9;
  white-space: nowrap;
}

.nav__brand-text--top,
.nav__brand-text--bottom {
  display: block;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.nav__brand-text--top {
  font-size: 0.8rem;
  color: var(--color-primary-dark);
}

.nav__brand-text--bottom {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-top: 0.16rem;
}

.nav__logo-image--footer {
  width: auto;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
  border-radius: 0;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.nav__logo-accent {
  color: var(--color-primary);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: clamp(0.84rem, 0.2vw + 0.78rem, 0.9rem);
  font-weight: 500;
  line-height: 1.12;
  white-space: nowrap;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
  background: var(--color-accent);
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav__link--cta:hover {
  background: var(--color-primary-dark);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Contact strip and main topbar ===== */
.contact-strip {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 34px;
  overflow: visible;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
  color: inherit;
  white-space: nowrap;
}

.contact-strip a:hover {
  color: #fff;
}

.contact-strip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.contact-strip .lang-switch {
  flex: 0 0 auto;
  min-width: max-content;
  gap: 0.12rem;
  padding: 0.1rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-strip .lang-switch__link {
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  color: #fff;
}

.contact-strip .lang-switch__code {
  display: block !important;
  visibility: visible !important;
  overflow: visible;
  text-overflow: clip;
  z-index: 3;
  min-width: 18px;
  padding: 1px 3px;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 0.56rem;
  line-height: 1.15;
}

.search-panel {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, #eef7f4 0%, #f4faf8 100%);
  border-bottom: 1px solid rgba(12, 94, 88, 0.08);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

body.is-scrolled .search-panel {
  box-shadow: 0 8px 25px rgba(13, 29, 31, 0.08);
  border-color: rgba(12, 94, 88, 0.12);
}

.search-panel__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 94, 88, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  order: 4;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-panel__menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.search-panel__menu-toggle {
  gap: 4px;
  flex-direction: column;
}

body.is-scrolled .search-panel__menu-toggle {
  display: inline-flex;
}

.search-panel__menu-toggle:hover,
.search-panel__menu-toggle:focus-visible {
  border-color: rgba(12, 94, 88, 0.34);
  box-shadow: 0 8px 18px rgba(13, 115, 119, 0.16);
  background: #fff;
}

.search-panel__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  min-height: 52px;
  padding-block: 0.45rem;
}

body.is-scrolled .search-panel__inner {
  min-height: 48px;
  padding-block: 0.2rem;
}

.search-panel__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-panel__inner > .nav__logo--compact {
  order: 1;
}

.search-panel__actions {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.search-panel__actions .btn {
  flex: 0 1 auto;
  padding-block: 0.7rem;
  padding-inline: 1.1rem;
  font-size: clamp(0.78rem, 0.35vw + 0.7rem, 0.88rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.15rem;
  border: 1px solid rgba(12, 94, 88, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.lang-switch__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  overflow: hidden;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(18, 55, 58, 0.85);
  text-transform: uppercase;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.lang-switch__flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.94) brightness(0.98);
  transition: filter var(--transition);
}

.lang-switch__emoji {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.12rem;
  line-height: 1;
}

.lang-switch__link:hover {
  color: #0b4f52;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(13, 115, 119, 0.12);
}

.lang-switch__link:hover .lang-switch__flag {
  filter: saturate(0.95) contrast(0.98) brightness(1);
}

.lang-switch__link.is-active {
  border-color: rgba(13, 115, 119, 0.45);
  box-shadow: 0 0 0 1px rgba(13, 115, 119, 0.18);
}

.lang-switch__link:focus-visible {
  outline: 3px solid rgba(13, 115, 119, 0.38);
  outline-offset: 3px;
}

.lang-switch__code {
  position: absolute;
  right: 50%;
  bottom: 1px;
  min-width: 16px;
  padding: 1px 4px;
  border-radius: 7px;
  transform: translateX(50%);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(18, 55, 58, 0.82);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.search-panel__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 360px;
  max-width: 720px;
  min-width: 300px;
  order: 3;
  height: 42px;
  padding: 0 0.9rem 0 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 94, 88, 0.12);
  color: rgba(18, 32, 31, 0.8);
  box-shadow: none;
  overflow: hidden;
}

.search-panel__search svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.search-panel__search input {
  width: 100%;
  height: 100%;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  outline: none;
}

.search-panel__search input::-webkit-search-decoration,
.search-panel__search input::-webkit-search-cancel-button,
.search-panel__search input::-webkit-search-results-button,
.search-panel__search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-panel__search input::placeholder {
  color: rgba(18, 32, 31, 0.58);
}

.search-panel__results {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid rgba(12, 94, 88, 0.18);
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(13, 30, 33, 0.14);
  z-index: 40;
}

.search-panel__result {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  color: var(--color-text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.search-panel__result:hover,
.search-panel__result.is-active {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.search-panel__result small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-top: 0.08rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 1rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 28, 0.72) 0%, rgba(7, 27, 28, 0.38) 34%, rgba(7, 27, 28, 0.2) 100%),
    url("../images/about.jpg") center center / cover no-repeat;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 640px;
}

.hero__content {
  max-width: 700px;
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: #fff;
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__quickbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 115, 119, 0.12);
  box-shadow: 0 18px 36px rgba(13, 115, 119, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  margin: 1.5rem auto 0;
  max-width: 1140px;
}

.hero__quickbar-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__quickbar-copy span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}

.hero__quickbar-copy strong {
  font-size: 0.98rem;
  color: var(--color-text);
}

.hero__quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hero__image {
  position: relative;
  min-height: 500px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(13, 115, 119, 0.18);
}

.hero__badge {
  position: absolute;
  left: 22px;
  bottom: 24px;
  background: rgba(9, 84, 86, 0.92);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.hero__badge strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero__badge span {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* ===== Why cards ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(13, 115, 119, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover,
.service-card:hover,
.tech-card:hover,
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(13, 115, 119, 0.1);
}

.why-card__icon,
.service-card__icon,
.mutuas__icon,
.contact__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 163, 168, 0.12);
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.why-card__icon svg,
.service-card__icon svg,
.mutuas__icon svg,
.contact__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon svg,
.specialty-page-card__icon svg {
  display: none;
}

.service-card__icon [class^="medical-icon-"],
.specialty-page-card__icon [class^="medical-icon-"],
.why-card__icon [class^="medical-icon-"] {
  font-size: 30px;
}

.why-card__icon .medical-icon-i-health-education,
.why-card__icon .medical-icon-i-cath-lab {
  font-size: 38px;
}

.service-card__icon img,
.specialty-page-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.why-card h3,
.service-card h3,
.tech-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.why-card p,
.service-card p,
.tech-card p,
.mutuas__coming p,
.club__content p,
.contact__cta p,
.doctor-card__bio {
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* ===== Tech / Mutuas / Club ===== */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.tech-card__label {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(13, 115, 119, 0.08);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.tech-card__features {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  padding-left: 1rem;
  color: var(--color-text-muted);
}

.tech-card__features li {
  list-style: disc;
}

.mutuas__inner {
  max-width: 980px;
  margin-inline: auto;
}

.mutuas__content {
  text-align: center;
}

.mutuas__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.mutua-card {
  min-width: 0;
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(13, 115, 119, 0.05);
}

.mutua-card img {
  display: block;
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.mutuas__note {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.club {
  background: linear-gradient(135deg, #0d4d50 0%, #0a3435 100%);
  color: #fff;
}

.section__tag--light {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
}

.section__title--light {
  color: #fff;
}

.club__wrapper {
  display: grid;
  gap: 2rem;
}

.club__header {
  max-width: 760px;
}

.club__header p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.club__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.club__plan {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
}

.club__plan--featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.club__plan--senior {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
}

.club__plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.club__plan-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.club__plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club__plan-badge--soft {
  background: rgba(20, 163, 168, 0.24);
}

.club__plan-badge--warm {
  background: rgba(255, 204, 128, 0.2);
}

.club__plan h3 {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.club__plan-audience {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  min-height: 48px;
}

.club__plan-price {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.club__plan-price span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.club__plan-price strong {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 800;
}

.club__plan-list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
}

.club__plan-list li {
  list-style: disc;
  line-height: 1.6;
}

.btn--light {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.club__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  text-align: center;
}

.club__actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.club-page__hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, rgba(15, 91, 95, 0.98), rgba(8, 50, 52, 0.94));
  color: #fff;
}

.club-page__hero-inner {
  max-width: 860px;
}

.club-page__intro {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.club-page__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.club-page__plan {
  background: linear-gradient(180deg, rgba(7, 79, 81, 0.98), rgba(11, 55, 57, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 1.8rem;
  box-shadow: 0 18px 32px rgba(10, 49, 52, 0.18);
  color: #fff;
}

.club-page__plan--featured {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
}

.club-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.club-page__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 1.5rem;
}

.club-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.club-page__badge--soft {
  background: rgba(76, 201, 240, 0.18);
}

.club-page__badge--warm {
  background: rgba(255, 181, 92, 0.2);
}

.club-page__plan h2 {
  font-size: 1.6rem;
  margin: 0 0 0.7rem;
}

.club-page__audience {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  min-height: 72px;
}

.club-page__pricing {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.club-page__price-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.club-page__price-block span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.club-page__price-block strong {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
}

.club-page__list {
  padding-left: 1.2rem;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.club-page__list li {
  list-style: disc;
}

.club-page__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.club-page__feature {
  background: rgba(10, 82, 84, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.4rem;
}

.club-page__feature h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.club-page__feature p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.club-page__compare-wrap {
  overflow-x: auto;
  border: 1px solid rgba(10, 82, 84, 0.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(9, 77, 79, 0.08);
}

.club-page__compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}

.club-page__compare th,
.club-page__compare td {
  padding: 0.95rem 1rem;
  border-right: 1px solid rgba(10, 82, 84, 0.12);
  border-bottom: 1px solid rgba(10, 82, 84, 0.12);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
  font-size: 0.95rem;
}

.club-page__compare th:last-child,
.club-page__compare td:last-child {
  border-right: 0;
}

.club-page__compare thead th {
  color: #0b4f52;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.club-page__compare thead th:first-child {
  background: #d7ecec;
}

.club-page__compare thead th:nth-child(2) {
  background: #e8f6f8;
}

.club-page__compare thead th:nth-child(3) {
  background: #eaf4ff;
}

.club-page__compare thead th:nth-child(4) {
  background: #f5f2e9;
}

.club-page__compare tbody th {
  width: 19%;
  color: #0b4f52;
  font-weight: 700;
  background: #f4fbfb;
}

.club-page__compare tbody td:nth-child(2) {
  background: #f8fdfe;
}

.club-page__compare tbody td:nth-child(3) {
  background: #f8fbff;
}

.club-page__compare tbody td:nth-child(4) {
  background: #fdfbf6;
}

.club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(2) {
  background: #f1f9fb;
}

.club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(3) {
  background: #f1f7ff;
}

.club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(4) {
  background: #faf6ed;
}

.club-page__compare-row--different th {
  background: #e2f2f2;
  box-shadow: inset 4px 0 0 #0d7377;
}

.club-page__compare-row--different td {
  font-weight: 600;
}

.club-page__compare-cell--unique {
  position: relative;
  background: #fff5da !important;
  color: #614200;
  box-shadow: inset 0 0 0 2px #f0c25b;
}

.club-page__compare-legend {
  margin: -0.35rem 0 1rem;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.club-page__common-wrap {
  overflow-x: auto;
  border: 1px solid rgba(10, 82, 84, 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(9, 77, 79, 0.06);
}

.club-page__common {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
}

.club-page__common th,
.club-page__common td {
  padding: 0.95rem 1rem;
  border-right: 1px solid rgba(10, 82, 84, 0.12);
  border-bottom: 1px solid rgba(10, 82, 84, 0.12);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.club-page__common th:last-child,
.club-page__common td:last-child {
  border-right: 0;
}

.club-page__common thead th {
  background: #dff1f1;
  color: #0b4f52;
  font-weight: 700;
}

.club-page__common tbody th {
  width: 36%;
  background: #f4fbfb;
  color: #0b4f52;
  font-weight: 700;
}

.club-page__common tbody tr:nth-child(even) td {
  background: #f9fdfd;
}

.club-page__common tbody tr:last-child th,
.club-page__common tbody tr:last-child td {
  border-bottom: 0;
}

.club-page__compare tbody tr:last-child th,
.club-page__compare tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .club-page__compare thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    box-shadow: 0 1px 0 var(--color-border);
  }

  .club-page__compare thead th:first-child,
  .club-page__compare tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 1px 0 0 var(--color-border);
  }

  .club-page__compare thead th:first-child {
    z-index: 4;
  }
}

@media (max-width: 768px) {
  .header {
    position: static;
    height: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
    pointer-events: none;
  }

  .header .nav {
    height: 0;
  }

  .contact-strip__inner {
    gap: 0.8rem;
  }

  .contact-strip a:first-child span {
    display: none;
  }

  .contact-strip__inner {
    justify-content: center;
    gap: 0.8rem;
    min-height: 32px;
  }

  .contact-strip a span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-strip .lang-switch__link {
    width: 26px;
    height: 26px;
  }

  .club-page__common-wrap {
    overflow-x: auto;
  }

  .club-page__common th,
  .club-page__common td {
    padding: 0.8rem 0.75rem;
    font-size: 0.9rem;
  }

  .club-page__common tbody th {
    width: 40%;
  }

  .club-page__compare-wrap {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .club-page__compare {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .club-page__compare thead {
    display: none;
  }

  .club-page__compare tbody {
    display: grid;
    gap: 0.9rem;
  }

  .club-page__compare tbody tr {
    display: block;
    border: 1px solid rgba(10, 82, 84, 0.2);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 16px rgba(9, 77, 79, 0.06);
  }

  .club-page__compare tbody th,
  .club-page__compare tbody td {
    display: block;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(10, 82, 84, 0.12);
    position: static;
    box-shadow: none;
    left: auto;
  }

  .club-page__compare tbody th {
    background: #0d7377;
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
  }

  .club-page__compare tbody td {
    display: grid;
    grid-template-columns: minmax(92px, 34%) 1fr;
    gap: 0.65rem;
    align-items: start;
    background: #fff;
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
  }

  .club-page__compare tbody td::before {
    content: attr(data-plan);
    font-weight: 700;
    color: #0b4f52;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .club-page__compare tbody td:nth-child(2),
  .club-page__compare tbody td:nth-child(3),
  .club-page__compare tbody td:nth-child(4),
  .club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(2),
  .club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(3),
  .club-page__compare tbody tr:nth-child(even):not(.club-page__compare-row--different) td:nth-child(4) {
    background: #fff;
  }

  .club-page__compare-row--different th {
    box-shadow: none;
    background: #0b6568;
  }

  .club-page__compare-cell--unique {
    background: #fff5da !important;
  }

  .club-page__compare tbody tr td:last-child {
    border-bottom: 0;
  }
}
.club-page__cta {
  display: grid;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(15, 91, 95, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
}

.club-page__cta p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.club-page__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.club-page__legal-note {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

@media (max-width: 980px) {
  .club-page__plans,
  .club-page__features {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact / CTA ===== */
.contact__cta {
  background: linear-gradient(135deg, rgba(20, 163, 168, 0.12), #fff);
  border: 1px solid var(--color-border);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(13, 115, 119, 0.08);
}

.contact__cta h3 {
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
}

.contact__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero__grid,
  .club__grid,
  .contact__grid,
  .about__grid,
  .appointments__grid {
    grid-template-columns: 1fr;
  }

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

  .team__grid,
  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .club__plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .club__plan {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .club__plan--featured {
    transform: none;
  }

  .club__plan h3 {
    font-size: 1.2rem;
  }

  .club__plan-audience {
    min-height: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .club__plan-list {
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    padding-left: 1rem;
    font-size: 0.94rem;
  }

  .club__note {
    font-size: 0.9rem;
    text-align: left;
  }

  .club__actions {
    justify-content: flex-start;
  }

  .search-panel__inner {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-block: 0.35rem;
  }

  .search-panel__search {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
  }

  .search-panel__menu-toggle {
    order: 4;
    display: inline-flex;
  }

  .search-panel__actions {
    order: 2;
    flex: 0 1 auto;
    margin-inline-start: auto;
    width: auto;
    min-width: 0;
    display: flex;
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .search-panel__actions .btn {
    width: auto;
    min-width: 0;
    padding: 0.5rem 0.62rem;
    font-size: clamp(0.68rem, 1.9vw, 0.76rem);
    line-height: 1.1;
    letter-spacing: 0.008em;
    white-space: nowrap;
  }

  .lang-switch {
    flex: 0 0 auto;
    gap: 0.1rem;
    padding: 0.1rem;
  }

  .lang-switch__link {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    font-size: 0.46rem;
  }

  .nav__logo--compact {
    height: 38px;
  }

  .nav__logo-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .nav__logo-image--horizontal {
    height: 42px;
    max-width: 168px;
  }

  .nav__brand-text {
    display: none;
  }

  .hero__quickbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .hero__quickbar-copy {
    text-align: center;
  }

  .hero__quick-actions {
    justify-content: stretch;
  }

  .hero__quick-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.6rem 0;
  }

  .topbar__info,
  .topbar__hours {
    justify-content: center;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: calc(var(--search-panel-height, 54px) + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .header .nav__menu {
    position: fixed !important;
    top: calc(var(--search-panel-height, 54px) + 0.35rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: 130;
  }

  .header .nav__menu.open {
    transform: translateY(0) !important;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  body.is-scrolled .header .nav__menu,
  body.is-scrolled .header .nav__menu.open {
    top: calc(var(--search-panel-height, 54px) + 0.35rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    transform: translateY(-120%) !important;
  }

  body.is-scrolled .header .nav__menu.open {
    transform: translateY(0) !important;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
  }

  .services__grid,
  .team__grid,
  .why__grid,
  .tech__grid {
    grid-template-columns: 1fr;
  }

  .hero__image img {
    min-height: 360px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-strip__inner {
    justify-content: flex-start;
    gap: 0.45rem;
  }

  .contact-strip a[href^="tel:"] {
    flex: 1 1 auto;
    min-width: 0;
  }

  .contact-strip .lang-switch {
    gap: 0;
  }

  .contact-strip .lang-switch__link {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
  }

  .contact-strip a[href^="mailto:"] span,
  .contact-strip a[href^="tel:"] span {
    display: none;
  }

  .club__plan {
    padding: 1.2rem;
  }

  .search-panel__actions {
    gap: 0.25rem;
  }

  .search-panel__actions .btn {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0.43rem 0.5rem;
    font-size: clamp(0.62rem, 2.5vw, 0.7rem);
    gap: 0.3rem;
    line-height: 1.08;
    letter-spacing: 0.005em;
    white-space: nowrap;
  }

  .search-panel__actions .btn svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .search-panel__search {
    height: 48px;
    padding-inline: 0.85rem;
  }

  .search-panel__search input {
    font-size: 1rem;
  }

  .lang-switch__link {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .contact-strip__inner {
    gap: 0.25rem;
  }

  .contact-strip .lang-switch__link {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .contact-strip a[href^="tel:"] svg,
  .contact-strip a[href^="mailto:"] svg,
  .contact-strip a[href*="maps.google"] svg {
    width: 15px;
    height: 15px;
  }

  .search-panel__inner {
    gap: 0.25rem;
  }

  .search-panel__actions {
    gap: 0.2rem;
  }

  .search-panel__actions .btn {
    padding: 0.4rem 0.44rem;
    font-size: 0.58rem;
    gap: 0.22rem;
    line-height: 1.05;
  }

  .search-panel__menu-toggle {
    width: 34px;
    height: 34px;
  }

  .search-panel__menu-toggle span {
    width: 15px;
  }

  .lang-switch__link {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 1rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 28, 0.7) 0%, rgba(7, 27, 28, 0.42) 35%, rgba(7, 27, 28, 0.15) 100%),
    url("../images/about.jpg") center center / cover no-repeat;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 640px;
}

.hero__content {
  width: 100%;
  max-width: 760px;
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero__content-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 660px);
  background: rgba(245, 249, 247, 0.92);
  border: 1px solid rgba(12, 94, 88, 0.08);
  border-radius: 28px;
  padding: 2rem 2.2rem;
  box-shadow: 0 24px 60px rgba(5, 30, 31, 0.14);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: rgba(12, 94, 88, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 1rem;
  color: var(--color-text);
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(18, 32, 31, 0.78);
  max-width: 560px;
  margin-bottom: 1.8rem;
}

.hero__cta-group {
  width: 100%;
  margin-bottom: 1rem;
}

.hero__cta-group .btn--hero-primary {
  width: min(100%, 260px);
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.hero__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero__secondary-actions .btn {
  min-width: 180px;
  padding: 0.8rem 1.2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(12, 94, 88, 0.16);
  width: 100%;
}

.hero__stat {
  min-width: 130px;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero__stat span {
  font-size: 0.875rem;
  color: rgba(18, 32, 31, 0.72);
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.about__features svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.about__visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.about__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.about__card--main {
  border: 1px solid var(--color-border);
}

.about__card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about__card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.about__card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.about__card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.about__card--accent {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}

.about__card--accent strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.about__card--accent span {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== Specialties ===== */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.specialty-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.specialty-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.specialty-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.specialty-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.specialty-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.specialty-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ===== Team ===== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.doctor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.doctor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.doctor-card__avatar {
  width: 132px;
  height: 132px;
  margin: 0 auto 1rem;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  overflow: hidden;
  box-shadow: none;
}

.doctor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 18px 28px rgba(18, 34, 38, 0.10);
}

.doctor-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.doctor-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  text-align: left;
}

.doctor-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-align: left;
}

.doctor-card__bio {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: left;
}

/* ===== Insurance ===== */
.insurance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.insurance__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.insurance__item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent);
}

.insurance__note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Appointments ===== */
.appointments__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.appointments__info p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.appointments__steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointments__steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.appointments__steps span {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.appointment-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-group--checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-group--checkbox label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact__icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.contact__item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact__item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact__cta {
  background: linear-gradient(135deg, var(--color-accent), #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact__cta h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.contact__cta p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reservation-page__hero {
  padding: 9rem 0 3rem;
  background: linear-gradient(180deg, #f0fafa 0%, #fff 100%);
}

.reservation-page__intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.reservation-page__intro .section__tag {
  margin-bottom: 1rem;
}

.reservation-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 5rem;
  max-width: 920px;
  margin-inline: auto;
}

.reservation-page__notice {
  background: linear-gradient(135deg, #eef9f9 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}

.reservation-page__notice p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.reservation-page__info-card,
.reservation-page__help {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.reservation-page__info-card h3,
.reservation-page__help h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.reservation-page__steps {
  display: grid;
  gap: 1rem;
}

.reservation-page__steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-text-muted);
}

.reservation-page__steps strong {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  aspect-ratio: 1;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  flex-shrink: 0;
  box-sizing: border-box;
}

.reservation-page__help p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.reservation-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reservation-page__actions .btn {
  min-height: 44px;
}

.reservation-widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.reservation-widget__header {
  margin-bottom: 1.25rem;
}

.reservation-widget__header .section__tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.reservation-widget__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--color-primary-dark);
}

.reservation-widget__wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #f7fbfb;
}

.reservation-widget__wrapper iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: #fff;
}

/* ===== Dropdown navigation ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown details {
  position: relative;
}

.nav-dropdown__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown__summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown__summary::after {
  content: '▾';
  font-size: 0.85rem;
  color: var(--color-primary);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  z-index: 30;
}

.nav-dropdown__link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown__link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===== Servicios page ===== */
.specialties-page__hero,
.specialty-page__hero {
  padding: 9rem 0 2.5rem;
  background: linear-gradient(180deg, #eef9f9 0%, #ffffff 100%);
  text-align: center;
}

.specialties-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 5rem;
}

.specialty-page-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(13, 115, 119, 0.06);
}

.specialty-page-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 163, 168, 0.12);
  color: var(--color-primary);
  border-radius: 18px;
  margin-bottom: 1rem;
}

.specialty-page-card__icon svg {
  width: 30px;
  height: 30px;
}

.specialty-page-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.specialty-page-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.specialty-page__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  padding-bottom: 5rem;
}

.specialty-page__content {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(13, 115, 119, 0.06);
}

.specialty-page__content p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.specialty-page__media,
.specialty-page__aside-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #e8f4f3;
  margin-bottom: 1.75rem;
  box-shadow: 0 16px 30px rgba(13, 115, 119, 0.1);
}

.specialty-page__media img,
.specialty-page__aside-image img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

.specialty-page__media:hover img,
.specialty-page__aside-image:hover img {
  transform: scale(1.025);
}

.specialty-page__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.specialty-page__highlight {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 115, 119, 0.07);
}

.specialty-page__highlight img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.specialty-page__highlight-body {
  padding: 1.15rem;
}

.specialty-page__highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.specialty-page__highlight p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .specialty-page__content,
  .specialty-page__card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .specialty-page__media img,
  .specialty-page__aside-image img {
    height: 240px;
  }

  .specialty-page__highlights {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .specialty-page__highlight {
    display: grid;
    grid-template-columns: minmax(110px, 34%) 1fr;
    min-height: 150px;
  }

  .specialty-page__highlight img {
    height: 100%;
    min-height: 150px;
  }

  .specialty-page__highlight-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.15rem;
  }
}

.specialty-page__list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}

.specialty-page__list li {
  color: var(--color-text);
  list-style: disc;
  line-height: 1.6;
}

.specialty-page__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.specialty-page__card {
  background: linear-gradient(180deg, rgba(20, 163, 168, 0.08), #fff);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(13, 115, 119, 0.06);
}

.specialty-page__card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.specialty-page__card p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.specialty-page__contact {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.specialty-page__contact a {
  font-weight: 600;
}

.specialty-page__contact .btn--full {
  width: 100%;
  justify-content: center;
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer__brand .nav__logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.875rem;
  max-width: 280px;
}

.footer__socials {
  margin-top: 1.5rem;
}

.footer__socials h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer__social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.footer__social-list a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer__social-list svg {
  width: 1rem;
  height: 1rem;
  fill: #fff;
}

.footer__links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.825rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .specialties__grid,
  .specialties-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid,
  .appointments__grid,
  .contact__grid,
  .specialty-page__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .topbar__info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Evita que el icono se deforme si el espacio es ajustado */
  }
  .topbar__hours svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Evita que el icono se deforme si el espacio es ajustado */
  }
  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
  }

  .specialties__grid,
  .specialties-page__grid,
  .team__grid,
  .insurance__grid,
  .mutuas__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin-top: 0.4rem;
  }

  .reservation-page__hero {
    padding: 7.4rem 0 2.3rem;
  }

  .reservation-page__grid {
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 3.2rem;
  }

  .reservation-page__notice {
    padding: 1rem;
    border-radius: 14px;
  }

  .reservation-widget {
    padding: 1rem;
    border-radius: 16px;
  }

  .reservation-widget__header {
    margin-bottom: 0.9rem;
  }

  .reservation-widget__header h2 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .reservation-widget__wrapper {
    border-radius: 12px;
  }

  .reservation-widget__wrapper iframe {
    min-height: 760px;
  }

  .reservation-page__help {
    padding: 1rem;
    border-radius: 14px;
  }

  .reservation-page__actions {
    flex-direction: column;
  }

  .reservation-page__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .specialties__grid,
  .team__grid,
  .insurance__grid,
  .mutuas__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .reservation-widget__wrapper iframe {
    min-height: 860px;
  }
}
