/* ============================================================
   Alsaafar AlAmin Travel and Tours L.L.C — Design System
   Palette: turquoise-lake + warm-sand (evidenced by the real
   destination photography) anchored to the brand logo's
   ink-navy + deep-maroon. See CLAUDE-DESIGN.md §5.
   ============================================================ */

:root{
  /* surfaces */
  --bg:        #F4F8F9;   /* lake-mist near-white */
  --surface:   #FFFFFF;
  --surface-2: #ECF3F4;   /* tinted panels */
  --ink:       #122E37;   /* deep teal-slate — body text */
  --ink-soft:  #2B4A54;
  --muted:     #5C7681;   /* captions, secondary */
  --border:    #D8E4E8;
  --border-2:  #E7EEF0;

  /* brand */
  --primary:     #15878E; /* turquoise-lake — links, primary CTA */
  --primary-700: #0F6A70;
  --deep:        #0B3F4A; /* deep lake/ink — headers, footer */
  --deep-900:    #082E37;
  --accent:      #E0A73A; /* warm sand/amber — the one pop CTA */
  --accent-ink:  #3A2A06; /* readable text on --accent (tweakable pair) */
  --accent-700:  #C68A1E;
  --maroon:      #8A2230; /* logo maroon — tiny brand moments only */
  --wa:          #1FA855; /* whatsapp green */
  --wa-700:      #178043;

  /* type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-ar:      "IBM Plex Sans Arabic", "Hanken Grotesk", sans-serif;

  /* shape */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(8,46,55,.06), 0 2px 8px rgba(8,46,55,.05);
  --shadow:    0 4px 14px rgba(8,46,55,.08), 0 18px 40px -18px rgba(8,46,55,.22);
  --shadow-lg: 0 24px 60px -20px rgba(8,46,55,.40);

  --maxw: 1200px;
  --header-h: 76px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body);
  font-size:17px; line-height:1.65; font-weight:400;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
[dir="rtl"] body, [dir="rtl"]{ font-family:var(--font-ar); }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--deep); margin:0; line-height:1.08; letter-spacing:-.02em; font-weight:700; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4{ font-family:var(--font-ar); letter-spacing:0; line-height:1.35; font-weight:700; }
p{ margin:0; }

/* ---------- layout helpers ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:22px; }
.section{ padding-block:clamp(56px, 8vw, 104px); }
.section--tight{ padding-block:clamp(44px,6vw,72px); }
.eyebrow{
  font-family:var(--font-body); font-weight:700; font-size:12.5px;
  letter-spacing:.18em; text-transform:uppercase; color:var(--primary);
  display:inline-flex; align-items:center; gap:9px; margin:0 0 16px;
}
[dir="rtl"] .eyebrow{ font-family:var(--font-ar); letter-spacing:.04em; }
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--accent); border-radius:2px; }
.section-head{ max-width:660px; margin-bottom:clamp(30px,4vw,52px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
h2.title{ font-size:clamp(29px, 4.4vw, 46px); }
.lede{ color:var(--muted); font-size:clamp(16px,1.6vw,19px); margin-top:16px; line-height:1.6; }

.grid{ display:grid; gap:22px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-body); font-weight:600; font-size:15.5px;
  padding:13px 22px; border-radius:var(--r-pill); border:1.5px solid transparent;
  transition:transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap; line-height:1;
}
[dir="rtl"] .btn{ font-family:var(--font-ar); }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:18px; height:18px; flex:none; }
.btn--accent{ background:var(--accent); color:var(--accent-ink); box-shadow:0 8px 20px -8px rgba(224,167,58,.55); }
.btn--accent:hover{ background:var(--accent-700); transform:translateY(-2px); }
.btn--primary{ background:var(--primary); color:#fff; box-shadow:0 8px 20px -10px rgba(21,135,142,.8); }
.btn--primary:hover{ background:var(--primary-700); transform:translateY(-2px); }
.btn--wa{ background:var(--wa); color:#fff; box-shadow:0 8px 20px -10px rgba(31,168,85,.8); }
.btn--wa:hover{ background:var(--wa-700); transform:translateY(-2px); }
.btn--ghost{ background:transparent; color:var(--deep); border-color:var(--border); }
.btn--ghost:hover{ border-color:var(--primary); color:var(--primary); }
.btn--light{ background:rgba(255,255,255,.14); color:#fff; border-color:rgba(255,255,255,.32); backdrop-filter:blur(6px); }
.btn--light:hover{ background:rgba(255,255,255,.24); }
.btn--lg{ padding:16px 28px; font-size:16.5px; }
.btn--block{ width:100%; }

.link-arrow{ display:inline-flex; align-items:center; gap:7px; color:var(--primary); font-weight:600; font-size:15px; }
.link-arrow svg{ width:17px; height:17px; transition:transform .18s ease; }
.link-arrow:hover svg{ transform:translateX(4px); }
[dir="rtl"] .link-arrow svg{ transform:scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg{ transform:scaleX(-1) translateX(4px); }

/* ---------- header ---------- */
.header{
  position:fixed; inset-block-start:0; inset-inline:0; z-index:60; height:var(--header-h);
  display:flex; align-items:center; transition:background .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom:1px solid transparent;
}
.header__inner{ display:flex; align-items:center; gap:18px; width:100%; }
.header.scrolled{ background:rgba(255,255,255,.92); backdrop-filter:saturate(1.4) blur(12px); box-shadow:0 1px 0 rgba(8,46,55,.06); border-color:var(--border-2); }
.header.solid{ background:var(--surface); box-shadow:0 1px 0 var(--border-2); }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand__logo{ height:50px; width:auto; border-radius:9px; background:#fff; }
.brand__name{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name b{ font-family:var(--font-display); font-weight:800; font-size:16px; color:var(--maroon); letter-spacing:-.01em; }
.brand__name span{ font-size:10.5px; letter-spacing:.13em; text-transform:uppercase; color:var(--deep); font-weight:600; }
.header.on-photo:not(.scrolled) .brand__name b{ color:#fff; }
.header.on-photo:not(.scrolled) .brand__name span{ color:rgba(255,255,255,.82); }

.nav{ display:flex; align-items:center; gap:4px; margin-inline-start:auto; }
.nav a{
  padding:9px 14px; border-radius:var(--r-pill); font-weight:600; font-size:15px; color:var(--ink-soft);
  transition:background .15s, color .15s;
}
.header.on-photo:not(.scrolled) .nav a{ color:rgba(255,255,255,.9); }
.nav a:hover{ background:var(--surface-2); color:var(--primary); }
.header.on-photo:not(.scrolled) .nav a:hover{ background:rgba(255,255,255,.16); color:#fff; }
.nav a.active{ color:var(--primary); }
.header.on-photo:not(.scrolled) .nav a.active{ color:#fff; }
.nav a.active::after{ content:""; display:block; height:2px; background:var(--accent); border-radius:2px; margin-top:3px; }

.header__cta{ display:flex; align-items:center; gap:10px; flex:none; }
.lang-toggle{
  display:inline-flex; align-items:center; gap:6px; padding:8px 13px; border-radius:var(--r-pill);
  border:1.5px solid var(--border); background:var(--surface); font-weight:700; font-size:13.5px; color:var(--deep);
}
.header.on-photo:not(.scrolled) .lang-toggle{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.35); color:#fff; backdrop-filter:blur(6px); }
.lang-toggle:hover{ border-color:var(--primary); color:var(--primary); }
.lang-toggle .globe{ width:15px; height:15px; }

.hamburger{ display:none; width:44px; height:44px; border:1.5px solid var(--border); background:var(--surface); border-radius:12px; align-items:center; justify-content:center; flex-direction:column; gap:4px; }
.header.on-photo:not(.scrolled) .hamburger{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.35); }
.hamburger span{ width:18px; height:2px; background:var(--deep); border-radius:2px; transition:.2s; }
.header.on-photo:not(.scrolled) .hamburger span{ background:#fff; }

/* ---------- mobile drawer ---------- */
.drawer-scrim{ position:fixed; inset:0; background:rgba(8,46,55,.5); z-index:70; opacity:0; pointer-events:none; transition:opacity .25s; backdrop-filter:blur(2px); }
.drawer-scrim.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; inset-block:0; inset-inline-end:0; width:min(86vw,360px); background:var(--surface); z-index:80;
  transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column;
  padding:20px; box-shadow:var(--shadow-lg);
}
[dir="rtl"] .drawer{ transform:translateX(-100%); }
.drawer.open{ transform:translateX(0); }
.drawer__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.drawer__close{ width:42px; height:42px; border-radius:11px; border:1.5px solid var(--border); background:var(--surface); font-size:20px; color:var(--deep); }
.drawer nav{ display:flex; flex-direction:column; gap:2px; margin-block:14px; }
.drawer nav a{ padding:14px 14px; border-radius:12px; font-weight:600; font-size:18px; color:var(--ink); display:flex; align-items:center; justify-content:space-between; }
.drawer nav a:hover, .drawer nav a.active{ background:var(--surface-2); color:var(--primary); }
.drawer__cta{ margin-top:auto; display:flex; flex-direction:column; gap:10px; padding-top:16px; border-top:1px solid var(--border); }

/* ---------- hero ---------- */
.hero{ position:relative; min-height:min(92vh,760px); display:flex; align-items:flex-end; color:#fff; overflow:hidden; }
.hero__bg{ position:absolute; inset:0; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; animation:slowzoom 18s ease-out forwards; }
@keyframes slowzoom{ from{ transform:scale(1.08); } to{ transform:scale(1); } }
.hero__bg::after{ content:""; position:absolute; inset:0; background:
  linear-gradient(to top, rgba(8,46,55,.86) 0%, rgba(8,46,55,.35) 42%, rgba(8,46,55,.18) 100%),
  linear-gradient(to right, rgba(8,46,55,.5), rgba(8,46,55,0) 60%); }
[dir="rtl"] .hero__bg::after{ background:
  linear-gradient(to top, rgba(8,46,55,.86) 0%, rgba(8,46,55,.35) 42%, rgba(8,46,55,.18) 100%),
  linear-gradient(to left, rgba(8,46,55,.5), rgba(8,46,55,0) 60%); }
.hero__inner{ position:relative; z-index:2; padding-block:clamp(40px,8vh,90px); padding-top:calc(var(--header-h) + 24px); width:100%; }
.hero__content{ max-width:680px; }
.hero h1{ color:#fff; font-size:clamp(38px,6.4vw,76px); font-weight:800; letter-spacing:-.03em; text-shadow:0 2px 30px rgba(0,0,0,.25); }
[dir="rtl"] .hero h1{ letter-spacing:0; }
.hero__sub{ font-size:clamp(17px,2vw,21px); color:rgba(255,255,255,.92); margin-top:20px; max-width:560px; line-height:1.55; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:13px; margin-top:30px; }
.hero__trust{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:30px; padding-top:24px; border-top:1px solid rgba(255,255,255,.2); }
.hero__trust .t{ display:flex; align-items:center; gap:9px; font-size:14px; color:rgba(255,255,255,.9); font-weight:500; }
.hero__trust svg{ width:18px; height:18px; color:var(--accent); flex:none; }

/* hero search/quick-plan strip */
.heroplan{
  position:relative; z-index:3; margin-top:-44px; margin-bottom:0;
}
.heroplan__card{
  background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow); padding:18px;
  display:grid; grid-template-columns:repeat(3,1fr) auto; gap:12px; align-items:end; border:1px solid var(--border-2);
}
.heroplan__field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.heroplan__field label{ font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); padding-inline:4px; }
.heroplan__field select, .heroplan__field input{
  font-family:var(--font-body); font-size:15px; color:var(--ink); padding:12px 14px; border:1.5px solid var(--border);
  border-radius:12px; background:var(--surface-2); width:100%;
}
[dir="rtl"] .heroplan__field select, [dir="rtl"] .heroplan__field input{ font-family:var(--font-ar); }
.heroplan__field select:focus, .heroplan__field input:focus{ outline:none; border-color:var(--primary); background:#fff; }

/* ---------- destination cards ---------- */
.dgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:22px; }
.dcard{
  position:relative; border-radius:var(--r); overflow:hidden; background:#000; box-shadow:var(--shadow-sm);
  display:block; aspect-ratio:4/5; transition:transform .25s ease, box-shadow .25s ease;
}
.dcard:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.dcard img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.dcard:hover img{ transform:scale(1.07); }
.dcard__veil{ position:absolute; inset:0; background:linear-gradient(to top, rgba(8,40,48,.9) 4%, rgba(8,40,48,.15) 52%, rgba(8,40,48,.05) 100%); }
.dcard__body{ position:absolute; inset-block-end:0; inset-inline:0; padding:20px; color:#fff; z-index:2; }
.dcard__region{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); display:flex; align-items:center; gap:7px; }
.dcard h3{ color:#fff; font-size:23px; margin-top:6px; font-weight:700; }
.dcard__meta{ font-size:13.5px; color:rgba(255,255,255,.85); margin-top:7px; display:flex; align-items:center; gap:8px; }
.dcard__go{ position:absolute; inset-block-start:16px; inset-inline-end:16px; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.18); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; z-index:2; transition:background .2s; border:1px solid rgba(255,255,255,.3); }
.dcard:hover .dcard__go{ background:var(--accent); color:#3A2A06; }
.dcard__go svg{ width:18px; height:18px; }
[dir="rtl"] .dcard__go svg{ transform:scaleX(-1); }
.dcard--wide{ aspect-ratio:auto; grid-column:span 2; }

/* bento on home */
.bento{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:18px; }
.bento .dcard{ aspect-ratio:auto; }
.bento .b-tall{ grid-row:span 2; }
.bento .b-wide{ grid-column:span 2; }

/* ---------- chips / tags ---------- */
.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{
  display:inline-flex; align-items:center; gap:7px; padding:9px 16px; border-radius:var(--r-pill);
  border:1.5px solid var(--border); background:var(--surface); font-weight:600; font-size:14px; color:var(--ink-soft);
  transition:.15s;
}
.chip:hover{ border-color:var(--primary); color:var(--primary); }
.chip.active{ background:var(--deep); border-color:var(--deep); color:#fff; }
.tag{ display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:var(--r-pill); background:var(--surface-2); color:var(--ink-soft); font-size:12.5px; font-weight:600; }

/* ---------- why-us / features ---------- */
.fcard{ background:var(--surface); border:1px solid var(--border-2); border-radius:var(--r); padding:30px 26px; box-shadow:var(--shadow-sm); transition:.22s; }
.fcard:hover{ box-shadow:var(--shadow); transform:translateY(-4px); }
.fcard__icon{ width:62px; height:62px; border-radius:16px; background:linear-gradient(145deg,#ECF3F4,#DDEBED); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.fcard__icon img{ width:36px; height:36px; object-fit:contain; }
.fcard h3{ font-size:21px; }
.fcard p{ color:var(--muted); margin-top:10px; font-size:15.5px; }

/* ---------- services ---------- */
.scard{ background:var(--surface); border:1px solid var(--border-2); border-radius:var(--r); padding:28px; box-shadow:var(--shadow-sm); transition:.22s; display:flex; flex-direction:column; gap:14px; height:100%; }
.scard:hover{ box-shadow:var(--shadow); transform:translateY(-4px); border-color:var(--border); }
.scard__ico{ width:54px; height:54px; border-radius:14px; background:var(--deep); color:#fff; display:flex; align-items:center; justify-content:center; }
.scard__ico svg{ width:26px; height:26px; }
.scard h3{ font-size:20px; }
.scard p{ color:var(--muted); font-size:15px; flex:1; }

/* ---------- generic section bg variants ---------- */
.bg-tint{ background:var(--surface-2); }
.bg-deep{ background:var(--deep); color:#EAF3F4; }
.bg-deep h2,.bg-deep h3{ color:#fff; }
.bg-deep .lede, .bg-deep p{ color:rgba(234,243,244,.82); }
.bg-deep .eyebrow{ color:var(--accent); }

/* ---------- CTA band ---------- */
.ctaband{ position:relative; overflow:hidden; border-radius:var(--r-lg); padding:clamp(38px,5vw,68px); color:#fff; }
.ctaband__bg{ position:absolute; inset:0; }
.ctaband__bg img{ width:100%; height:100%; object-fit:cover; }
.ctaband__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(120deg, rgba(8,40,48,.92), rgba(11,63,74,.72)); }
.ctaband__in{ position:relative; z-index:2; max-width:620px; }
.ctaband h2{ color:#fff; font-size:clamp(27px,3.6vw,40px); }
.ctaband p{ color:rgba(255,255,255,.9); margin-top:14px; font-size:18px; }
.ctaband .hero__cta{ margin-top:26px; }

/* ---------- stats / trust strip ---------- */
.trustrip{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.trustrip .item{ text-align:center; }
.trustrip .item b{ display:block; font-family:var(--font-display); font-size:clamp(26px,3vw,38px); color:var(--deep); font-weight:800; }
.trustrip .item span{ color:var(--muted); font-size:14px; font-weight:500; }

/* ---------- forms ---------- */
.form{ display:grid; gap:16px; }
.form .row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:13.5px; font-weight:700; color:var(--ink); }
.field label .req{ color:var(--maroon); }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:15.5px; color:var(--ink); padding:13px 15px; border:1.5px solid var(--border);
  border-radius:12px; background:var(--surface); width:100%; transition:border .15s, box-shadow .15s;
}
[dir="rtl"] .field input, [dir="rtl"] .field select, [dir="rtl"] .field textarea{ font-family:var(--font-ar); }
.field textarea{ resize:vertical; min-height:110px; line-height:1.55; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 4px rgba(21,135,142,.14); }
.field.err input, .field.err select, .field.err textarea{ border-color:var(--maroon); }
.field .msg{ font-size:12.5px; color:var(--maroon); font-weight:600; }
.form-note{ font-size:13px; color:var(--muted); }
.form-success{ background:#EAF6EE; border:1px solid #BFE3CC; color:#176B38; border-radius:var(--r); padding:24px; text-align:center; }
.form-success svg{ width:52px; height:52px; color:var(--wa); margin:0 auto 10px; }
.form-success h3{ color:#176B38; }

/* ---------- contact / map placeholder ---------- */
.map-ph{
  position:relative; border-radius:var(--r); overflow:hidden; min-height:300px; border:1.5px dashed var(--border);
  background:
    repeating-linear-gradient(45deg, #EDF3F4, #EDF3F4 14px, #E6EFF0 14px, #E6EFF0 28px);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:30px;
}
.map-ph .pin{ width:46px; height:46px; border-radius:50%; background:var(--maroon); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; box-shadow:0 10px 24px -8px rgba(138,34,48,.6); }
.map-ph b{ font-family:var(--font-display); color:var(--deep); font-size:18px; display:block; }
.map-ph .lbl{ font-family:var(--font-body); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:6px; font-weight:700; }
.gap-note{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; color:var(--accent-700); background:#FBF2DD; border:1px solid #F0DDA8; padding:4px 11px; border-radius:var(--r-pill); font-weight:600; }

.contact-card{ background:var(--surface); border:1px solid var(--border-2); border-radius:var(--r); padding:24px; box-shadow:var(--shadow-sm); }
.contact-row{ display:flex; gap:14px; align-items:flex-start; padding-block:16px; border-bottom:1px solid var(--border-2); }
.contact-row:last-child{ border-bottom:none; }
.contact-row .ci{ width:42px; height:42px; border-radius:11px; background:var(--surface-2); color:var(--primary); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-row .ci svg{ width:20px; height:20px; }
.contact-row b{ display:block; font-family:var(--font-display); color:var(--deep); font-size:15.5px; }
.contact-row span{ color:var(--muted); font-size:14.5px; }
.contact-row a{ color:var(--primary); font-weight:600; }

/* ---------- gallery / lightbox ---------- */
.gallery{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.gallery button{ border:none; padding:0; border-radius:12px; overflow:hidden; aspect-ratio:1; background:#000; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .4s, opacity .2s; }
.gallery button:hover img{ transform:scale(1.08); opacity:.92; }
.lightbox{ position:fixed; inset:0; z-index:120; background:rgba(6,22,27,.93); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .25s; }
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:92vw; max-height:84vh; border-radius:10px; box-shadow:var(--shadow-lg); }
.lightbox__close{ position:absolute; inset-block-start:20px; inset-inline-end:20px; width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.3); font-size:22px; }
.lightbox__nav{ position:absolute; inset-block-start:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.3); font-size:24px; display:flex; align-items:center; justify-content:center; }
.lightbox__nav.prev{ inset-inline-start:18px; }
.lightbox__nav.next{ inset-inline-end:18px; }

/* ---------- footer ---------- */
.footer{ background:var(--deep-900); color:#B9D2D6; padding-block:60px 0; }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:38px; }
.footer h4{ color:#fff; font-size:15px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; font-family:var(--font-body); font-weight:700; }
[dir="rtl"] .footer h4{ font-family:var(--font-ar); }
.footer a{ color:#9FBEC3; display:block; padding-block:6px; font-size:14.5px; transition:color .15s; }
.footer a:hover{ color:var(--accent); }
.footer__brand b{ font-family:var(--font-display); font-weight:800; font-size:19px; color:#fff; display:block; }
.footer__brand .ar{ font-family:var(--font-ar); font-size:15px; color:var(--accent); margin-top:2px; }
.footer__brand p{ color:#8FB0B5; font-size:14px; margin-top:12px; max-width:280px; line-height:1.6; }
.socials{ display:flex; gap:10px; margin-top:18px; }
.socials a{ width:40px; height:40px; border-radius:11px; background:rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; padding:0; }
.socials a:hover{ background:var(--primary); }
.socials svg{ width:19px; height:19px; color:#cfe3e6; }
.socials a:hover svg{ color:#fff; }
.footer__bar{ margin-top:48px; border-top:1px solid rgba(255,255,255,.1); padding-block:22px; display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; align-items:center; }
.footer__bar p{ font-size:13px; color:#7EA0A6; }
.footer__bar .lic{ font-size:12.5px; color:#6B9298; }

/* ---------- mobile CTA bar + whatsapp float ---------- */
.mobilebar{ position:fixed; inset-block-end:0; inset-inline:0; z-index:55; display:none; background:var(--surface); border-top:1px solid var(--border); padding:9px 12px calc(9px + env(safe-area-inset-bottom)); gap:9px; box-shadow:0 -6px 20px -10px rgba(8,46,55,.3); }
.mobilebar .btn{ flex:1; padding:13px 8px; font-size:14.5px; }
.wa-float{ position:fixed; inset-block-end:22px; inset-inline-end:22px; z-index:54; width:58px; height:58px; border-radius:50%; background:var(--wa); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px -8px rgba(31,168,85,.7); transition:transform .2s; border:none; }
.wa-float:hover{ transform:scale(1.07); }
.wa-float svg{ width:30px; height:30px; }
.wa-float .pulse{ position:absolute; inset:0; border-radius:50%; background:var(--wa); opacity:.5; animation:pulse 2.4s ease-out infinite; z-index:-1; }
@keyframes pulse{ 0%{ transform:scale(1); opacity:.5; } 100%{ transform:scale(1.7); opacity:0; } }

/* ---------- breadcrumb / page hero ---------- */
.pagehero{ position:relative; padding-top:calc(var(--header-h) + 46px); padding-bottom:46px; color:#fff; overflow:hidden; }
.pagehero__bg{ position:absolute; inset:0; }
.pagehero__bg img{ width:100%; height:100%; object-fit:cover; }
.pagehero__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(8,40,48,.9), rgba(8,40,48,.55)); }
.pagehero__in{ position:relative; z-index:2; }
.crumb{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:rgba(255,255,255,.8); font-weight:500; margin-bottom:14px; }
.crumb a:hover{ color:#fff; }
.crumb .sep{ opacity:.6; }
[dir="rtl"] .crumb .sep{ transform:scaleX(-1); }
.pagehero h1{ color:#fff; font-size:clamp(32px,5vw,54px); font-weight:800; }
.pagehero p{ color:rgba(255,255,255,.9); margin-top:12px; font-size:18px; max-width:560px; }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal.in{ opacity:1; transform:none; }
}

/* detail / two-col layouts collapse on tablet & below (inline grid-template overridden) */
@media (max-width:880px){
  .detail-grid{ grid-template-columns:1fr !important; gap:32px !important; }
  .detail-grid aside{ position:static !important; }
}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .footer__grid{ grid-template-columns:1fr 1fr; gap:30px; }
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bento .b-wide{ grid-column:span 2; }
}
@media (max-width:860px){
  .nav{ display:none; }
  .hamburger{ display:flex; }
  .header__cta .btn--wide-hide{ display:none; }
  .heroplan__card{ grid-template-columns:1fr 1fr; }
  .heroplan__card .heroplan__field--btn{ grid-column:span 2; }
  .heroplan__card .btn{ width:100%; }
  .trustrip{ grid-template-columns:repeat(2,1fr); gap:18px 12px; }
}
@media (max-width:680px){
  body{ font-size:16px; }
  .mobilebar{ display:flex; }
  .wa-float{ display:none; }
  .footer{ padding-bottom:84px; }
  .form .row{ grid-template-columns:1fr; }
  .heroplan{ margin-top:-20px; }
  .heroplan__card{ grid-template-columns:1fr; }
  .heroplan__card .heroplan__field--btn{ grid-column:span 1; }
  .footer__grid{ grid-template-columns:1fr; gap:26px; }
  .bento{ grid-template-columns:1fr 1fr; grid-auto-rows:150px; }
  .dcard--wide{ grid-column:span 1; }
  .hero__trust{ gap:8px 16px; }
  .section{ scroll-margin-top:70px; }
}
@media (max-width:420px){
  .bento{ grid-template-columns:1fr; grid-auto-rows:auto; }
  .bento .dcard{ aspect-ratio:4/3; }
  .bento .b-tall, .bento .b-wide{ grid-row:auto; grid-column:auto; }
  .brand__name{ display:none; }
}
