/* Shared components: built from the approved Website Overview frames with Design System tokens. */

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 32px; border-radius: var(--radius-pill);
  font-size: 16px; line-height: 24px; font-weight: 600; text-align: center;
  border: 2px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: 14px; line-height: 22px; font-weight: 700; }
.btn--block { width: 100%; }
.btn--primary { background: var(--secondary-600); color: var(--color-white); }
.btn--primary:hover { background: var(--secondary-700); }
.btn--primary:active { background: var(--secondary-800); }
.btn--outline { background: transparent; color: var(--secondary-700); border-color: var(--secondary-700); }
.btn--outline:hover { background: var(--secondary-50); }
.btn--outline:active { background: var(--secondary-100); }
.btn--outline-soft { background: var(--color-white); color: var(--secondary-700); border: 1px solid var(--secondary-600); }
.btn--outline-soft:hover { background: var(--secondary-50); }
.btn--white { background: var(--color-white); color: var(--secondary-700); }
.btn--white:hover { background: var(--secondary-50); }
.btn--white:active { background: var(--secondary-100); }
.btn--outline-white { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--outline-white:hover { background: rgba(255, 255, 255, .14); }
.btn--glass { background: rgba(255, 255, 255, .2); color: var(--color-white); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(var(--blur-sm)); backdrop-filter: blur(var(--blur-sm)); }
.btn--glass:hover { background: rgba(255, 255, 255, .3); }
.btn--orange { background: var(--orange-700); color: var(--color-white); }
.btn--orange:hover { background: var(--orange-800); }
.btn--orange:active { background: var(--orange-900); }
.btn--orange:focus-visible { outline-color: var(--orange-700); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--gray-50); color: var(--gray-600); border-color: var(--gray-100); cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary-600); font-weight: 700; }
.text-link:hover { color: var(--secondary-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Placeholder and draft markers ---------- */
.ph-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: var(--radius-pill);
  background: var(--orange-50); color: var(--orange-800); border: 1px dashed var(--orange-300);
  font-size: 12px; line-height: 18px; font-weight: 700; vertical-align: middle; white-space: nowrap;
}
.ph-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--gray-50) 0 12px, #E9ECEE 12px 24px);
  color: var(--gray-700); border: 1px dashed var(--gray-300); border-radius: inherit; padding: 24px; width: 100%; height: 100%;
  font-size: 14px; line-height: 22px;
}
.ph-box .icon { color: var(--gray-500); }
.ph-text { color: var(--gray-700); font-style: italic; }
.draft-bar { background: var(--orange-50); color: var(--orange-900); border-bottom: 1px solid var(--orange-200); font-size: 14px; line-height: 22px; }
.draft-bar .container { display: flex; gap: 8px; align-items: center; justify-content: center; padding-block: 8px; text-align: center; }

/* ---------- Announcement bar ---------- */
.announcement { background: var(--secondary-600); color: var(--color-white); }
.announcement .container { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 68px; padding-block: 12px; flex-wrap: wrap; }
.announcement p { font-size: 16px; line-height: 24px; font-weight: 600; text-align: center; }
.announcement .btn { min-height: 40px; padding: 6px 20px; font-size: 14px; line-height: 22px; font-weight: 700; }
@media (max-width: 767px) {
  .announcement .container { gap: 8px 12px; min-height: 0; }
  .announcement p { font-size: 14px; line-height: 20px; flex-basis: 100%; }
}

/* ---------- Header ---------- */
.shell { position: relative; }
.masthead { position: relative; z-index: 50; padding-top: 24px; }
.masthead--glass { position: absolute; inset-inline: 0; top: 0; }
.masthead__bar {
  display: flex; align-items: center; gap: 24px; min-height: 80px; padding: 8px 16px 8px 24px; border-radius: var(--radius-pill);
}
.masthead--glass .masthead__bar { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); color: var(--color-white); }
.masthead--light .masthead__bar { background: var(--color-white); box-shadow: var(--shadow-brand); color: var(--color-text); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 12px; }
.brand img { width: 64px; height: 64px; }
.masthead--glass .brand img { filter: brightness(0) invert(1); }

.nav-panel { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-pill);
  font-size: 14px; line-height: 22px; font-weight: 600; white-space: nowrap; transition: background-color .2s var(--ease);
}
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.masthead--light .nav__link:hover, .masthead--light .nav__link[aria-expanded="true"] { background: var(--secondary-50); }
.masthead--glass .nav__link:hover, .masthead--glass .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.nav__link[aria-current="page"], .nav__link.is-active { background: var(--secondary-50); color: var(--secondary-700); }
.masthead--glass .nav__link[aria-current="page"], .masthead--glass .nav__link.is-active { background: var(--color-white); color: var(--secondary-700); }
.masthead--glass :focus-visible { outline-color: var(--color-white); }

.submenu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 240px; z-index: 60;
  background: var(--color-white); color: var(--color-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
  padding: 8px; list-style: none; margin: 0; display: none;
}
.submenu::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.submenu a { display: block; padding: 10px 16px; border-radius: var(--radius-md); font-size: 14px; line-height: 22px; font-weight: 600; }
.submenu a:hover { background: var(--secondary-50); }
.submenu a[aria-current="page"] { background: var(--secondary-50); color: var(--secondary-700); }
.has-submenu.is-open > .submenu { display: block; }
@media (hover: hover) and (min-width: 1280px) {
  .has-submenu:hover > .submenu { display: block; }
}
.lang { position: relative; }
.lang .submenu { min-width: 160px; inset-inline-start: auto; inset-inline-end: 0; }
.nav-panel__cta { flex: none; }
.masthead--glass .nav-panel__cta .btn { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.masthead--glass .nav-panel__cta .btn:hover { background: rgba(255, 255, 255, .14); }
@media (min-width: 1280px) and (max-width: 1439px) {
  .masthead__bar { gap: 12px; padding-inline: 16px 12px; }
  .brand img { width: 56px; height: 56px; }
  .nav-panel { gap: 8px; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 9px; }
  .nav-panel__cta .btn { padding-inline: 18px; }
}
.menu-toggle { display: none; margin-inline-start: auto; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; }
.masthead--light .menu-toggle { background: var(--secondary-50); color: var(--secondary-700); }
.masthead--glass .menu-toggle { background: rgba(255, 255, 255, .2); color: var(--color-white); }
.drawer-head, .drawer-backdrop { display: none; }

@media (max-width: 1279px) {
  .menu-toggle { display: inline-flex; }
  .masthead__bar { padding: 8px 8px 8px 16px; min-height: 68px; }
  /* backdrop-filter would make the bar the containing block of the fixed drawer, so the blur moves to a layer behind it. */
  .masthead--glass .masthead__bar { -webkit-backdrop-filter: none; backdrop-filter: none; position: relative; }
  .masthead--glass .masthead__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); }
  .brand img { width: 52px; height: 52px; }
  .nav-panel {
    position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 200; width: min(380px, 88vw);
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px;
    background: var(--color-white); color: var(--color-text); box-shadow: var(--shadow-1); overflow-y: auto;
    transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  [dir="rtl"] .nav-panel { transform: translateX(-105%); }
  .nav-open .nav-panel { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; }
  .drawer-head .brand img { filter: none; width: 52px; height: 52px; }
  .drawer-close { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--secondary-50); color: var(--secondary-700); }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 150; background: rgba(20, 35, 45, .45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
  .nav-open .drawer-backdrop { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  .nav { flex: none; display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; min-height: 48px; padding: 12px 16px; font-size: 16px; color: var(--color-text); }
  .masthead--glass .nav-panel .nav__link:hover, .masthead--glass .nav-panel .nav__link[aria-expanded="true"] { background: var(--secondary-50); }
  .masthead--glass .nav-panel .nav__link[aria-current="page"], .masthead--glass .nav-panel .nav__link.is-active { background: var(--secondary-50); }
  .masthead--glass .nav-panel :focus-visible { outline-color: var(--focus-color); }
  .submenu { position: static; box-shadow: none; min-width: 0; padding: 0 0 0 16px; background: transparent; }
  [dir="rtl"] .submenu { padding: 0 16px 0 0; }
  .submenu::before { display: none; }
  .lang .submenu { padding: 0 0 0 16px; }
  .lang { border-top: 1px solid var(--color-border); padding-top: 12px; }
  .nav-panel__cta .btn, .masthead--glass .nav-panel__cta .btn { width: 100%; background: var(--secondary-600); color: var(--color-white); border-color: var(--secondary-600); }
}
.nav-open { overflow: hidden; }

/* ---------- Inner hero ---------- */
.page-hero {
  position: relative; color: var(--color-white); overflow: hidden;
  border-end-end-radius: var(--radius-hero) var(--radius-hero);
  min-height: 489px; display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 99, 85, .92) 0%, rgba(54, 127, 109, .82) 45%, rgba(59, 140, 120, .55) 100%); }
[dir="rtl"] .page-hero__media::after { background: linear-gradient(270deg, rgba(42, 99, 85, .92) 0%, rgba(54, 127, 109, .82) 45%, rgba(59, 140, 120, .55) 100%); }
.page-hero__content { position: relative; z-index: 1; width: 100%; padding-top: 160px; padding-bottom: 56px; }
.page-hero__text { max-width: 640px; }
.page-hero__text .eyebrow { color: var(--color-white); margin-top: 16px; }
.page-hero__text h1 { margin-top: 4px; }
.page-hero__text p.lead { margin-top: 12px; color: rgba(255, 255, 255, .92); }
.page-hero--tall { min-height: 594px; }
.page-hero__aside { position: absolute; inset-inline-end: 0; bottom: 56px; }
@media (max-width: 767px) {
  .page-hero { min-height: 420px; border-end-end-radius: 48px; }
  .page-hero__content { padding-top: 136px; padding-bottom: 40px; }
  .page-hero__aside { position: static; margin-top: 24px; }
}

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 22px; font-weight: 600; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.breadcrumb a:hover { background: rgba(255, 255, 255, .32); }

/* ---------- Cards ---------- */
.card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.card--bordered { border: 1px solid var(--color-border); box-shadow: none; }

.service-card { position: relative; display: flex; flex-direction: column; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 8px; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.service-card__media { border-radius: 18px; overflow: hidden; aspect-ratio: 437 / 200; background: var(--gray-50); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 16px 12px; flex: 1; }
.service-card__body p { color: var(--color-text-muted); }
.service-card__cta { margin-top: auto; padding-top: 8px; }
.service-card__cta a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card:hover, .service-card:focus-within { background: var(--secondary-50); }
.service-card:focus-within { outline: 3px solid var(--focus-color); outline-offset: 3px; }
.service-card__cta a:focus-visible { outline: none; }

.feature-card { display: flex; gap: 16px; align-items: flex-start; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 24px; }
.feature-card--stack { flex-direction: column; align-items: center; text-align: center; }
.feature-card h3 { margin-bottom: 4px; }
.feature-card p { color: var(--color-text-muted); }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--secondary-50); color: var(--secondary-600); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-tile .icon { width: 26px; height: 26px; }

.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { display: flex; align-items: center; gap: 12px; color: var(--secondary-600); font-weight: 700; font-size: 18px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--secondary-300); }
.step__num span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 40px; padding-inline: 12px; border-radius: var(--radius-pill); background: var(--secondary-50); }
.step p { color: var(--color-text-muted); }

/* Offer card */
.offer-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px; }
.offer-card__media { border-radius: 18px; overflow: hidden; min-height: 240px; background: var(--gray-50); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__body { display: flex; flex-direction: column; gap: 12px; padding: 8px 8px 8px 0; }
[dir="rtl"] .offer-card__body { padding: 8px 0 8px 8px; }
.offer-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.offer-card__body p { color: var(--color-text-muted); }
.offer-card__body .btn { margin-top: auto; }
.offer-card--stack { grid-template-columns: minmax(0, 1fr); }
.offer-card--stack .offer-card__media { min-height: 0; aspect-ratio: 618 / 240; }
.offer-card--stack .offer-card__body { padding: 0 8px 8px; }
@media (max-width: 767px) { .offer-card { grid-template-columns: minmax(0, 1fr); } .offer-card__body { padding: 0; } [dir="rtl"] .offer-card__body { padding: 0; } }

.badge-off { display: inline-flex; align-items: center; padding: 6px 16px; background: var(--orange-500); color: var(--color-white); font-size: 24px; line-height: 32px; font-weight: 700; border-radius: 4px; }
.badge-off--special { background: var(--orange-700); font-size: 18px; line-height: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); font-size: 14px; line-height: 22px; font-weight: 600; }
.chip--ok { background: var(--green-50); color: var(--green-800); }
.chip--urgent { background: var(--red-50); color: var(--red-700); }
.chip--neutral { background: var(--secondary-50); color: var(--secondary-700); }

/* Article card */
.article-card { display: flex; flex-direction: column; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; position: relative; }
.article-card__media { aspect-ratio: 437 / 200; background: var(--gray-50); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 8px; color: var(--color-text-muted); font-size: 14px; line-height: 22px; }
.article-card__body p { color: var(--color-text-muted); }
.article-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Media block (image + optional play) */
.media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; background: var(--gray-50); aspect-ratio: 678 / 382; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 528 / 600; }
.media--portrait { aspect-ratio: 528 / 752; }
.media--wide { aspect-ratio: 867 / 488; }
.media figcaption { position: absolute; inset-inline-start: 16px; bottom: 16px; }

/* Doctor card (Design System component 42:83) */
.doctor-card { position: relative; border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 367 / 526; background: var(--gray-700); color: var(--color-white); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; padding: 32px; text-align: center; }
.doctor-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s var(--ease); }
.doctor-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%), rgba(0, 0, 0, .1); }
.doctor-card:hover img, .doctor-card:focus-within img { filter: none; }
@media (hover: none) { .doctor-card img { filter: none; } }
.doctor-card > *:not(img) { position: relative; z-index: 1; }
.doctor-card .ph-silhouette { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .35); background: linear-gradient(160deg, var(--gray-500), var(--gray-800)); }
.doctor-card .ph-silhouette .icon { width: 96px; height: 96px; }
.name-pill { display: inline-flex; padding: 12px 24px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(var(--blur-sm)); backdrop-filter: blur(var(--blur-sm)); font-size: 18px; line-height: 28px; font-weight: 600; }

/* Video / review placeholders */
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 437 / 446; }
.video-card--tall { aspect-ratio: 9 / 14; }
.review-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.review-card__who { display: flex; align-items: center; gap: 12px; }
.review-card .ph-pill, .doctor-card .ph-pill { align-self: flex-start; }
.doctor-card .ph-pill { align-self: center; }
.avatar-ph { width: 48px; height: 48px; border-radius: 50%; background: var(--gray-50); color: var(--gray-500); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Before / after */
.ba-card { position: relative; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 16px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.ba-card__img { border-radius: 16px; overflow: hidden; aspect-ratio: 618 / 190; }
.ba-card__open { position: absolute; inset: 0; border-radius: inherit; }
.ba-card__open:focus-visible { outline-offset: 2px; }
.ba-card:hover { box-shadow: var(--shadow-brand), var(--shadow-1); }
.ba-label { display: block; padding: 8px; border-radius: var(--radius-pill); font-weight: 600; text-align: center; }
.ba-label--before { background: var(--red-50); color: var(--red-700); }
.ba-label--after { background: var(--green-50); color: var(--green-800); }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion__item { border: 1px solid var(--secondary-300); border-radius: var(--radius-md); background: var(--color-white); }
.accordion__item.is-open { box-shadow: var(--shadow-1); }
.accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; text-align: start; font-weight: 600; color: var(--secondary-700); border-radius: inherit; }
.accordion__btn .icon { transition: transform .2s var(--ease); color: var(--secondary-600); }
.accordion__btn[aria-expanded="true"] .icon { transform: rotate(-90deg); }
[dir="rtl"] .accordion__btn[aria-expanded="true"] .icon { transform: scaleX(-1) rotate(-90deg); }
.accordion__panel { padding: 0 20px 20px; color: var(--color-text-muted); }
.accordion__panel > div { border-top: 1px solid var(--color-border); padding-top: 12px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--grid-gap)) / 4); gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .carousel__track { grid-auto-columns: calc((100% - var(--grid-gap)) / 2); } }
@media (max-width: 599px) { .carousel__track { grid-auto-columns: 82%; } }
.carousel__controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--secondary-600); color: var(--secondary-700); background: var(--color-white); }
.round-btn:hover { background: var(--secondary-50); }
.round-btn:disabled { opacity: .45; cursor: default; }
.on-dark .round-btn { border-color: var(--color-white); color: var(--color-white); background: transparent; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 599px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--color-text); }
.field .optional { font-weight: 400; color: var(--color-text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-white); font-size: 14px; line-height: 22px; color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form--soft .input, .form--soft .select, .form--soft .textarea { background: var(--secondary-50); border-color: var(--secondary-50); }
.input::placeholder, .textarea::placeholder { color: var(--color-text-muted); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--secondary-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--secondary-600); box-shadow: 0 0 0 3px rgba(54, 127, 109, .25); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--gray-50); color: var(--gray-400); cursor: not-allowed; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red-700); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: right 16px center; }
[dir="rtl"] .select { background-position: left 16px center; }
.field__error { color: var(--red-700); font-size: 14px; line-height: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--color-text-muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--secondary-600); flex: none; }
.check a { color: var(--secondary-700); text-decoration: underline; }
.hp-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; line-height: 22px; font-weight: 600; }
.form-status--success { background: var(--green-50); color: var(--green-800); }
.form-status--error { background: var(--red-50); color: var(--red-700); }
.form-status--info { background: var(--secondary-50); color: var(--secondary-800); }
.form-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-brand), var(--shadow-1); padding: 24px; }
.form-card__title { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.or-divider { text-align: center; color: var(--color-text-muted); font-size: 14px; }
.btn.is-loading { opacity: .8; pointer-events: none; }

/* ---------- Contact list ---------- */
.contact-list { display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; margin: 0; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px 20px; }
.contact-item .icon { color: var(--secondary-600); margin-top: 2px; }
.contact-item strong { display: block; font-size: 14px; line-height: 22px; }
.contact-item span, .contact-item a { color: var(--color-text-muted); font-size: 14px; line-height: 22px; }
.contact-item a:hover { color: var(--secondary-700); text-decoration: underline; }
.contact-item--brand { background: var(--secondary-600); border-color: var(--secondary-600); color: var(--color-white); }
.contact-item--brand .icon, .contact-item--brand span { color: var(--color-white); }

/* ---------- CTA banner ("Visit us") ---------- */
.cta-banner { position: relative; border-radius: var(--radius-4xl); overflow: hidden; color: var(--color-white); }
.cta-banner__media { position: absolute; inset: 0; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 99, 85, .95) 0%, rgba(54, 127, 109, .85) 55%, rgba(59, 140, 120, .6) 100%); }
[dir="rtl"] .cta-banner__media::after { background: linear-gradient(270deg, rgba(42, 99, 85, .95) 0%, rgba(54, 127, 109, .85) 55%, rgba(59, 140, 120, .6) 100%); }
.cta-banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 40px; }
.cta-banner__inner--single { grid-template-columns: minmax(0, 1fr); }
.cta-banner .eyebrow { color: var(--color-white); }
.cta-banner p.lead { margin-top: 12px; max-width: 420px; color: rgba(255, 255, 255, .92); }
.cta-banner .btn-row { margin-top: 24px; }
@media (max-width: 1023px) { .cta-banner__inner { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } .cta-banner { border-radius: 32px; } }

.hours { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); border-radius: var(--radius-lg); padding: 20px 24px; min-width: 340px; }
@media (max-width: 599px) { .hours { min-width: 0; } }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-weight: 600; }
.hours table { width: 100%; font-size: 14px; line-height: 22px; }
.hours th { text-align: start; font-weight: 400; padding: 4px 0; }
.hours td { text-align: end; font-weight: 700; padding: 4px 0; }

/* ---------- Map placeholder ---------- */
.map-ph { border-radius: var(--radius-4xl); overflow: hidden; height: 449px; }
@media (max-width: 767px) { .map-ph { height: 260px; border-radius: 32px; } }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 35, 45, .6); }
.modal__dialog { position: relative; width: min(1246px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--color-white); border-radius: var(--radius-2xl); padding: 64px 32px 40px; }
.modal__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--secondary-50); color: var(--secondary-700); }
.modal__close:hover { background: var(--secondary-100); }
.modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.modal__figure { display: flex; flex-direction: column; gap: 16px; }
.modal__img { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 432 / 198; }
.modal__caption { text-align: center; margin-top: 32px; }
.modal__caption p { color: var(--color-text-muted); margin-top: 8px; }
.modal__nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
@media (max-width: 767px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog { border-radius: 32px 32px 0 0; max-height: 92vh; padding: 64px 20px 32px; }
  .modal__grid { grid-template-columns: minmax(0, 1fr); }
}
.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--secondary-700); color: var(--color-white); margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.footer__brand img { width: 96px; height: 96px; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 16px; max-width: 300px; font-size: 14px; line-height: 22px; }
.footer h2 { font-size: 16px; line-height: 24px; font-weight: 700; padding-bottom: 12px; margin-bottom: 16px; position: relative; }
.footer h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 32px; height: 2px; background: var(--secondary-300); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 22px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .25); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 22px; }
.footer .footer__legal, .footer .footer__social { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
.footer .footer__social { margin-top: 24px; }
.footer__maps { display: inline-flex; gap: 6px; align-items: center; }
.hours__title { display: inline-flex; gap: 8px; align-items: center; }
.icon--fill { fill: currentColor; }
.footer .ph-pill { background: rgba(255, 255, 255, .12); color: var(--color-white); border-color: rgba(255, 255, 255, .5); }
.footer :focus-visible { outline-color: var(--color-white); }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
