/* ==========================================================================
   Dr. Bouchta Slimani — Cabinet de gastro-entérologie et de proctologie
   ========================================================================== */

:root {
  --navy: #0b2b45;
  --primary: #0f5c8c;
  --primary-600: #0c4d76;
  --teal: #13958d;
  --teal-50: #e8f6f4;
  --sky-50: #eef5fb;
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #1a2a3a;
  --muted: #5a6b7d;
  --line: #dfe7ef;
  --accent: #f0a23b;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --danger: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 43, 69, .06), 0 2px 8px rgba(11, 43, 69, .05);
  --shadow: 0 10px 30px -12px rgba(11, 43, 69, .22);
  --shadow-lg: 0 24px 60px -20px rgba(11, 43, 69, .35);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: 96px 0; }
.section--alt { background: var(--surface); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-50);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 92, 140, .7); }
.btn--primary:hover { background: var(--primary-600); color: #fff; }
.btn--wa { background: var(--wa); color: #06301f; box-shadow: 0 8px 20px -8px rgba(18, 140, 126, .7); }
.btn--wa:hover { background: #1fc05b; color: #06301f; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--primary); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .95rem; }

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 0; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.brand__tag { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav__item--compact { display: none; }
.nav__link:hover { background: var(--sky-50); color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: var(--sky-50); border-radius: 999px; padding: 4px; }
.lang a {
  padding: 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800;
  color: var(--muted); line-height: 1; min-width: 34px; text-align: center;
}
.lang a[aria-current="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.lang a:hover { color: var(--primary); }
.lang a[lang="ar"] { font-family: var(--font-ar); font-size: .95rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 88px;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(19, 149, 141, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(15, 92, 140, .10), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 20px; }
.hero h1 .hl { color: var(--primary); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 580px; }
.fact { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact .icon { color: var(--teal); margin-top: 3px; }
.fact strong { display: block; color: var(--navy); font-size: .95rem; }
.fact span { color: var(--muted); font-size: .9rem; }
.hero__media { position: relative; }
.hero__img {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4; background: var(--sky-50);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; inset-inline-start: -24px; bottom: 32px;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 280px;
}
.hero__badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa7b4; flex: none; box-shadow: 0 0 0 4px rgba(154, 167, 180, .2); }
.hero__badge.is-open .dot { background: #1fbf6a; box-shadow: 0 0 0 4px rgba(31, 191, 106, .2); animation: pulse 2s infinite; }
.hero__badge strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.hero__badge span { color: var(--muted); font-size: .85rem; }
.hero__card {
  position: absolute; inset-inline-end: -16px; top: 28px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero__card .icon { color: var(--accent); width: 28px; height: 28px; }
.hero__card strong { display: block; font-size: .92rem; line-height: 1.3; }
.hero__card span { font-size: .8rem; opacity: .8; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(31, 191, 106, .2); } 50% { box-shadow: 0 0 0 8px rgba(31, 191, 106, .05); } }

/* Credentials ------------------------------------------------------------- */
.creds { margin-top: -44px; position: relative; z-index: 2; }
.creds__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.cred { display: flex; gap: 14px; padding: 24px; align-items: flex-start; border-inline-end: 1px solid var(--line); }
.cred:last-child { border-inline-end: 0; }
.cred__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--primary); flex: none; }
.cred strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.35; margin-bottom: 2px; }
.cred span { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }

/* About ------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px;
  background: linear-gradient(135deg, var(--teal-50), var(--sky-50)); z-index: -1;
}
html[dir="rtl"] .about__media::before { inset: 24px 24px -24px -24px; }
.about__text h2 { margin-bottom: 20px; }
.about__text > p { color: var(--muted); font-size: 1.05rem; }
.checklist { display: grid; gap: 12px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; stroke-width: 3; }

/* Services ---------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff;
}
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service__tags li { font-size: .8rem; font-weight: 700; color: var(--primary); background: var(--sky-50); padding: 4px 10px; border-radius: 999px; }

/* Gallery ----------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky-50); aspect-ratio: 16 / 10; }
.gallery figure:first-child { aspect-ratio: auto; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 18px; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(11, 43, 69, .85));
}

/* Videos ------------------------------------------------------------------ */
.videos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.vcard { margin: 0; grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vcard:nth-child(-n+2) { grid-column: span 3; }
.vcard__media { position: relative; background: #0b0f14; width: 100%; }
.vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0f14; display: block; }
.vcard__badge {
  position: absolute; z-index: 1; top: 10px; inset-inline-start: 10px; pointer-events: none;
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; color: #fff;
  background: rgba(11, 43, 69, .75); padding: 4px 10px; border-radius: 999px;
}
.vcard figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 700; color: var(--navy); font-size: .97rem; margin-top: auto; }
.vcard__meta { color: var(--muted); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; flex: none; }

/* Hours ------------------------------------------------------------------- */
.hours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table th, .hours__table td { padding: 14px 8px; border-bottom: 1px dashed var(--line); text-align: start; }
.hours__table td { text-align: end; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.hours__table th { font-weight: 600; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: var(--primary); }
.hours__table tr.is-today th::after {
  content: attr(data-today); margin-inline-start: 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}
.closed { color: var(--danger) !important; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #f1f4f7; color: var(--muted); margin-bottom: 20px; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #e5f8ee; color: #138a4c; }
.status.is-closed { background: #fdecea; color: var(--danger); }
.cta-card {
  background: linear-gradient(145deg, var(--navy), var(--primary)); color: #dfeaf3; border: 0;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  inset-inline-end: -120px; top: -120px; background: rgba(255, 255, 255, .06);
}
.cta-card h3 { color: #fff; font-size: 1.6rem; }
.cta-card p { color: #c9d9e7; }
.cta-card .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; position: relative; z-index: 1; }
.phone-list { display: grid; gap: 10px; margin: 8px 0 24px; }
.phone-list a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; direction: ltr; }
html[dir="rtl"] .phone-list a { justify-content: flex-end; }
.phone-list small { display: block; color: #9fb7cc; font-weight: 600; font-size: .8rem; }

/* Booking ----------------------------------------------------------------- */
.booking { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.booking__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; color: var(--navy); font-size: .95rem; }
.field .req { color: var(--danger); }
.field .opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.input {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px;
  padding: 13px 14px; font-size: 1rem; transition: border-color .15s, box-shadow .15s, background-color .15s;
  min-height: 50px;
}
.input::placeholder { color: #98a6b4; }
.input:hover { border-color: #c5d3e0; }
.input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(15, 92, 140, .12); }
select.input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' 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-position: right 14px center; padding-right: 42px;
}
html[dir="rtl"] select.input { background-position: left 14px center; padding-right: 14px; padding-left: 42px; }
textarea.input { min-height: 110px; resize: vertical; }
input[type="tel"] { direction: ltr; }
html[dir="rtl"] input[type="tel"] { text-align: right; }
.field.has-error .input { border-color: var(--danger); background: #fff8f7; }
.field__error { color: var(--danger); font-size: .85rem; font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { color: var(--muted); font-size: .83rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all .15s;
}
.choice input:checked + span { border-color: var(--primary); background: var(--sky-50); color: var(--primary); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.form__foot { margin-top: 28px; display: grid; gap: 14px; }
.form__note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
.form__success {
  display: none; margin-top: 20px; padding: 18px 20px; border-radius: 14px;
  background: #e5f8ee; color: #0f6b3c; border: 1px solid #bfe9d2; font-weight: 600;
}
.form__success.is-visible { display: block; }
.form__success a { color: #0f6b3c; text-decoration: underline; font-weight: 800; }
.steps { display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--teal-50); color: var(--teal); font-weight: 800;
}
.step strong { display: block; color: var(--navy); }
.step span { color: var(--muted); font-size: .93rem; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.notice { display: flex; gap: 12px; background: #fff7ea; border: 1px solid #f6dfb7; color: #7a4d0c; border-radius: 14px; padding: 16px; font-size: .92rem; }
.notice .icon { color: var(--accent); margin-top: 2px; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary); font-weight: 500; transition: transform .2s; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact ----------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.contact__list { display: grid; gap: 22px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sky-50); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact__item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact__item span, .contact__item a { color: var(--muted); }
.contact__item a:hover { color: var(--primary); }
.contact__item .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--sky-50); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.socials { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--navy); color: #a9bed1; padding: 64px 0 28px; }
.footer a { color: #d7e3ee; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand__tag { color: #a9bed1; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; font-size: .95rem; }
.footer p { font-size: .95rem; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem;
}
.footer .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Floating WhatsApp ------------------------------------------------------- */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(18, 140, 126, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link { padding: 8px 9px; font-size: .9rem; }
  .header__actions .btn { display: none; }
  .nav__item--compact { display: list-item; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 12px 20px 20px; display: none; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; }
  .header__actions { margin-inline-start: auto; }
  .hero { padding: 40px 0 80px; }
  .hero__grid, .about__grid, .booking__grid, .contact__grid, .hours__grid { grid-template-columns: 1fr; }
  .hero__grid { gap: 40px; }
  .hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__img { aspect-ratio: 4 / 3.4; }
  .hero__badge { inset-inline-start: 12px; bottom: 12px; }
  .hero__card { inset-inline-end: 12px; top: 12px; }
  .creds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred:nth-child(2) { border-inline-end: 0; }
  .cred:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about__grid { gap: 48px; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard, .vcard:nth-child(-n+2) { grid-column: span 1; }
  .vcard:first-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { padding-inline: 16px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 36px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { display: none; }
  .lang a { padding: 6px 8px; min-width: 30px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .hero__badge { max-width: calc(100% - 24px); }
  .creds__grid { grid-template-columns: 1fr; }
  .cred { border-inline-end: 0 !important; border-bottom: 1px solid var(--line); padding: 20px; }
  .cred:last-child { border-bottom: 0; }
  .about__media::before { inset: 16px -12px -16px 16px; }
  html[dir="rtl"] .about__media::before { inset: 16px 16px -16px -12px; }
  .services__grid { grid-template-columns: 1fr; }
  .service { padding: 26px 22px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:first-child { aspect-ratio: 4 / 3.6; }
  .videos { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px 20px; }
  .form { padding: 24px 18px; border-radius: 20px; }
  .form__grid { grid-template-columns: 1fr; gap: 18px; }
  .cta-card .btns .btn { flex: 1 1 100%; }
  .map { min-height: 320px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .wa-float { width: 56px; height: 56px; bottom: 16px; inset-inline-end: 16px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: .92rem; }
  .brand__mark { width: 34px; height: 34px; }
  .header__inner { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .wa-float, .map, .booking, .footer { display: none; }
}
