/* ===========================================================
   SmartLab — faithful rebuild of smartlab.sa
   Bilingual (AR / EN), RTL + LTR
   Brand: cobalt #1246d6 / azure #1a84ee / navy #1a2c37
   =========================================================== */

:root {
  --cobalt:   #1c86c2;   /* deep sky — for text/contrast + solid brand */
  --blue:     #2ea3de;   /* mid sky */
  --azure:    #54b7e8;   /* brand color (requested) */
  --navy:     #16303d;
  --dark:     #0e1c24;
  --ink:      #1f2d38;
  --muted:    #5d6b75;
  --line:     #e7eaee;
  --bg:       #ffffff;
  --bg-soft:  #f9f9f9;
  --bg-blue:  #eaf6fd;
  --white:    #ffffff;
  --shadow-sm: 0 2px 10px rgba(20, 40, 80, .05);
  --shadow:    0 10px 28px rgba(20, 40, 80, .08);
  --shadow-lg: 0 20px 46px rgba(20, 40, 80, .11);
  --radius:    20px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Cairo", "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Montserrat", "Cairo", system-ui, sans-serif; line-height: 1.7; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 92px 0; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--cobalt); background: rgba(84, 183, 232, .12);
  padding: 8px 20px; border-radius: 999px; margin-bottom: 18px;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; color: var(--navy); line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem;
  padding: 14px 30px; border-radius: 999px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: linear-gradient(135deg, var(--azure), var(--cobalt)); color: #fff; box-shadow: 0 10px 26px rgba(84,183,232,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(84,183,232,.42); }
.btn-light { background: #fff; color: var(--cobalt); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.6px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--cobalt); transform: translateY(-3px); }
.btn-outline { border: 1.6px solid var(--line); color: var(--cobalt); background: #fff; }
.btn-outline:hover { border-color: var(--cobalt); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- header (dark) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(14, 25, 32, .35);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header.scrolled { background: rgba(14, 25, 32, .96); box-shadow: 0 6px 26px rgba(0,0,0,.22); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: #fff; font-size: .98rem; position: relative; padding: 4px 0; opacity: .92; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; bottom: -3px; inset-inline-start: 0; width: 0; height: 2px; background: var(--azure); transition: width .25s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { opacity: 1; color: #fff; }
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 15px; transition: background .2s, border-color .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.lang-toggle svg { width: 16px; height: 16px; }
.nav-book { padding: 10px 22px; font-size: .92rem; }
@media (max-width: 560px) { .nav-book { display: none; } }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero (cinematic photo / video, ken-burns) ---------- */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0e1920; }
.hero-media .slide, .hero-media video {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover;
}
/* cinematic crossfade montage (3 photos) + slow ken-burns zoom */
.hero-media .slide { opacity: 0; animation: heroFade 21s linear infinite, kenburns 21s ease-in-out infinite alternate; }
.hero-media .slide:nth-child(2) { animation-delay: 7s, 7s; }
.hero-media .slide:nth-child(3) { animation-delay: 14s, 14s; }
.hero-media video { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-1.4%, -1.4%); } }
@keyframes heroFade {
  0% { opacity: 0; } 4% { opacity: 1; } 29% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; }
}
/* neutral cinematic darkening — keeps the real photo colors, no blue wash */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,13,18,.34) 0%, transparent 28%, transparent 50%, rgba(8,13,18,.86) 100%);
}
/* directional scrim behind the text side only (the other side stays clear) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; }
html[dir="rtl"] .hero::after { background: linear-gradient(to left, rgba(8,13,18,.82) 0%, rgba(8,13,18,.4) 42%, transparent 72%); }
html[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(8,13,18,.82) 0%, rgba(8,13,18,.4) 42%, transparent 72%); }
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 120px 22px 90px; text-align: start;
}
.hero .welcome {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px);
}
.hero .welcome .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ee6a0; box-shadow: 0 0 0 4px rgba(46,230,160,.25); }
.hero h1 { font-size: clamp(2.9rem, 8vw, 5.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.01em; text-shadow: 0 4px 30px rgba(0,0,0,.55); max-width: 14ch; }
.hero h1 .accent { color: #7dd0ff; }
.hero .tagline { font-size: clamp(1.05rem, 2.3vw, 1.4rem); font-weight: 500; opacity: .96; margin: 22px 0 0; max-width: 560px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 40px; }
.hero-stats { display: flex; gap: 14px 38px; justify-content: flex-start; flex-wrap: wrap; margin-top: 50px; }
.hero-stats .stat { text-align: center; }
.hero-stats .num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1; }
.hero-stats .lbl { font-size: .85rem; opacity: .85; font-weight: 600; margin-top: 6px; }
.hero-stats .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; opacity: .8; animation: bob 2s infinite; }
.scroll-cue svg { width: 28px; height: 28px; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-media .slide, .hero-media video { animation: none; }
  .hero-media .slide:first-child { opacity: 1; }
}

/* ---------- packages ---------- */
.packages { background: linear-gradient(180deg, var(--bg-blue) 0%, #ffffff 70%); }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pkg {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 20px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pkg:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pkg.featured { border-color: var(--cobalt); box-shadow: var(--shadow); }
.pkg-tag { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; background: var(--cobalt); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; z-index: 2; }
.pkg-photo {
  height: 180px; border-radius: 14px; margin-bottom: 18px; padding: 14px; overflow: hidden;
  background: radial-gradient(220px 160px at 70% 20%, rgba(84,183,232,.12), transparent 60%), #f4f7fc;
}
.pkg-photo img { width: 100%; height: 100%; object-fit: contain; }
/* real photographic package images fill the frame */
.pkg-photo.photo { padding: 0; }
.pkg-photo.photo img { object-fit: cover; }
.pkg h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; min-height: 2.4em; display: flex; align-items: center; }
.pkg-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pkg-meta .count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.pkg-meta .count svg { width: 16px; height: 16px; color: var(--azure); }
.pkg-meta .price { background: rgba(84,183,232,.08); color: var(--cobalt); font-weight: 800; font-size: .95rem; padding: 4px 12px; border-radius: 999px; }
.pkg-meta .old { color: #9aa6b0; text-decoration: line-through; font-size: .85rem; font-weight: 600; }
.pkg-ribbon { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; background: linear-gradient(135deg,#ff5d5d,#e23b3b); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; z-index: 2; box-shadow: 0 6px 16px rgba(226,59,59,.35); }
.pkg .btn { margin-top: auto; justify-content: center; }
.pkg-more { text-align: center; margin-top: 46px; }

/* ---------- concept (new approach + photo grid) ---------- */
.concept { background: #fff; }
.concept-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.concept-text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.concept-text h2 .hl { color: var(--cobalt); }
.concept-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 16px; }
.concept-list { display: grid; gap: 14px; margin: 24px 0 32px; }
.concept-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.concept-list .check { width: 27px; height: 27px; border-radius: 8px; background: rgba(84,183,232,.1); color: var(--cobalt); display: grid; place-items: center; flex: none; margin-top: 3px; }
.concept-list .check svg { width: 16px; height: 16px; }
.concept-photos { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.concept-photos figure { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1; }
.concept-photos figure:first-child { grid-column: span 2; aspect-ratio: 2/1.1; }
.concept-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.concept-photos figure:hover img { transform: scale(1.06); }

/* ---------- features ---------- */
.features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(84,183,232,.18); }
.feature { background: #fff; }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.14rem; color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ---------- how it works ---------- */
.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.step .ico { color: var(--cobalt); margin-bottom: 12px; }
.step .ico svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 7px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- app download ---------- */
.app { background: linear-gradient(135deg, var(--cobalt), var(--azure)); color: #fff; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.app-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.2; margin-bottom: 14px; }
.app-text p { font-size: 1.1rem; opacity: .92; margin-bottom: 26px; max-width: 460px; }
.app-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.app-badges a { transition: transform .25s; }
.app-badges a:hover { transform: translateY(-3px); }
.app-badges img { height: 52px; width: auto; border-radius: 10px; }
.app-visual { display: grid; place-items: center; }
.app-visual img { max-height: 460px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); }

/* ---------- clients ---------- */
.clients { background: var(--azure); padding: 52px 0; }
/* partners span the full screen width (not boxed to the container) */
.clients > .container { max-width: none; padding-inline: clamp(24px, 4vw, 72px); }
.clients-head { text-align: center; margin-bottom: 30px; }
.clients-head span { display: inline-block; color: #fff; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; }
.clients-carousel { display: flex; align-items: center; gap: 12px; }
.clients-viewport { flex: 1; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.clients-viewport::-webkit-scrollbar { display: none; }
.clients-track { display: flex; gap: 22px; padding: 6px 2px; width: 100%; justify-content: center; }
.client { flex: none; width: 305px; scroll-snap-align: center; background: #fff; border-radius: 18px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(12,40,60,.16); transition: transform .25s, box-shadow .25s; }
.client:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(12,40,60,.24); }
.client img { object-fit: cover; width: 100%; height: 100%; display: block; }
.cc-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--cobalt); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(12,40,60,.2); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.cc-nav:hover { transform: translateY(-2px); background: var(--cobalt); color: #fff; }
.cc-nav svg { width: 22px; height: 22px; }
.cc-nav[hidden] { display: none; }

/* ---------- testimonials ---------- */
.testimonials { background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review .quote-mark { font-size: 3.4rem; line-height: .6; color: rgba(84,183,232,.15); font-family: Georgia, serif; margin-bottom: 6px; }
.review .stars { display: flex; gap: 3px; margin-bottom: 12px; color: #f5a623; }
.review .stars svg { width: 18px; height: 18px; }
.review p { color: var(--ink); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; font-weight: 800; flex: none; }
.review .who h5 { font-size: 1rem; color: var(--navy); }
.review .who span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.ci-card { display: flex; align-items: center; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; transition: transform .25s, box-shadow .25s; }
.ci-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
html[dir="rtl"] .ci-card:hover { transform: translateX(-4px); }
.ci-card .ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; display: grid; place-items: center; flex: none; }
.ci-card .ico svg { width: 22px; height: 22px; }
.ci-card .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; }
.ci-card .val { font-weight: 700; color: var(--navy); font-size: 1.02rem; unicode-bidi: plaintext; }

.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.contact-form .sub { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(84,183,232,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; text-align: center; font-size: .9rem; font-weight: 700; min-height: 22px; }
.form-note.ok { color: #019719; }
.form-note.err { color: #e23b3b; }

/* ---------- footer ---------- */
.footer { background: var(--azure); color: rgba(255,255,255,.92); padding: 66px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 38px; margin-bottom: 44px; }
.footer .logo-img { height: 42px; margin-bottom: 18px; }
.footer-about p { font-size: .96rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-links a { display: block; padding: 6px 0; transition: color .2s, padding-inline-start .2s; font-size: .96rem; color: rgba(255,255,255,.9); }
.footer-links a:hover { color: #fff; padding-inline-start: 5px; }
.footer-contact li { display: flex; gap: 10px; padding: 6px 0; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: #fff; flex: none; margin-top: 4px; }
.footer-contact .v { unicode-bidi: plaintext; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: background .25s, color .25s, transform .25s; }
.socials a:hover { background: #fff; color: var(--cobalt); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.28); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .9rem; }

/* ---------- all-packages page ---------- */
.page-banner { position: relative; background: linear-gradient(135deg, var(--cobalt), var(--azure)); color: #fff; padding: 150px 0 66px; text-align: center; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -20%, rgba(255,255,255,.18), transparent 60%); }
.page-banner .container { position: relative; }
.page-banner .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.page-banner h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; }
.page-banner p { opacity: .92; margin-top: 12px; font-size: 1.06rem; }
.pkgs-page { padding: 44px 0 90px; background: var(--bg-soft); }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tab { border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter-tab:hover { border-color: var(--blue); color: var(--cobalt); }
.filter-tab.active { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.all-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg.hide { display: none; }
@media (max-width: 900px) { .all-pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .all-pkg-grid { grid-template-columns: 1fr; } }

/* ---------- booking modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(11,20,26,.78);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
/* pause heavy background animations while a modal is open (kills jank) */
body.modal-open .hero-media .slide,
body.modal-open .hero-media video,
body.modal-open .wa-float { animation-play-state: paused !important; }
body.modal-open .hero-media { visibility: hidden; }
.modal {
  width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; background: #fff;
  border-radius: 24px; box-shadow: 0 30px 80px rgba(11,20,26,.45); position: relative;
  opacity: 0; transform: translateY(24px) scale(.94);
  transition: transform .38s cubic-bezier(.2,.9,.3,1.1), opacity .28s ease;
  scrollbar-width: thin; scrollbar-color: #cfd8de transparent;
}
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-thumb { background: #d3dbe1; border-radius: 8px; border: 2px solid #fff; }
.modal-overlay.open .modal { opacity: 1; transform: none; }
.modal-head {
  padding: 22px 26px 18px; position: sticky; top: 0; z-index: 3; background: #fff;
  border-bottom: 1px solid var(--line); border-radius: 24px 24px 0 0;
}
.modal-head h3 { font-size: 1.35rem; color: var(--navy); font-weight: 800; padding-inline-end: 40px; }
.modal-head h3::before { content: ""; display: inline-block; width: 5px; height: 1.05em; border-radius: 3px; background: linear-gradient(var(--azure), var(--cobalt)); margin-inline-end: 11px; vertical-align: -3px; }
.modal-head .cr-sub { color: var(--muted); margin-top: 6px; font-size: .94rem; padding-inline-end: 40px; }
.cr-submit { width: 100%; justify-content: center; margin-top: 6px; }
.modal-close {
  position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.35rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s, transform .25s; z-index: 4;
}
.modal-close:hover { background: #e9edf2; transform: rotate(90deg); }

.booking-steps { display: flex; gap: 8px; padding: 20px 28px 4px; }
.booking-steps .bs { flex: 1; text-align: center; font-size: .76rem; font-weight: 700; color: #9aa6b0; }
.booking-steps .bs .dot { height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 7px; transition: background .3s; }
.booking-steps .bs.active { color: var(--cobalt); }
.booking-steps .bs.active .dot, .booking-steps .bs.done .dot { background: linear-gradient(90deg, var(--azure), var(--cobalt)); }
.booking-steps .bs.done { color: var(--cobalt); }

.booking-body { padding: 20px 28px; }
.bstep { display: none; animation: fadeStep .35s var(--ease); }
.bstep.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bstep h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }

.bk-field { margin-bottom: 16px; }
.bk-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.bk-field input, .bk-field select, .bk-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: 14px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #f4f7fa; transition: border-color .2s, box-shadow .2s, background .2s;
}
.bk-field input::placeholder, .bk-field textarea::placeholder { color: #9aa6b0; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(84,183,232,.16); }
.bk-field input.invalid { border-color: #e23b3b; box-shadow: 0 0 0 4px rgba(226,59,59,.12); }
.bk-err { color: #e23b3b; font-size: .82rem; font-weight: 600; margin-top: 6px; min-height: 1em; }
.bk-field textarea { resize: vertical; min-height: 80px; }

/* custom calendar */
.calendar { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.cal-nav { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--cobalt); display: grid; place-items: center; transition: background .2s, transform .2s; }
.cal-nav:hover { background: rgba(84,183,232,.1); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cal-weekdays span { text-align: center; font-size: .72rem; font-weight: 700; color: #9aa6b0; padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { aspect-ratio: 1/1; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--ink); cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.cal-day:hover:not(.disabled):not(.empty) { background: rgba(84,183,232,.1); color: var(--cobalt); }
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #cbd3da; cursor: not-allowed; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--azure); }
.cal-day.sel { background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; transform: scale(1.04); box-shadow: 0 6px 16px rgba(84,183,232,.35); }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.time-slot { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 6px; text-align: center; font-weight: 700; font-size: .92rem; color: var(--ink); transition: all .2s; cursor: pointer; }
.time-slot:hover { border-color: var(--blue); }
.time-slot.sel { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }

.loc-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.loc-opt { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 14px; text-align: center; cursor: pointer; transition: all .2s; }
.loc-opt:hover { border-color: var(--blue); }
.loc-opt.sel { border-color: var(--cobalt); background: rgba(84,183,232,.05); }
.loc-opt .ico { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px; display: grid; place-items: center; background: rgba(84,183,232,.1); color: var(--cobalt); }
.loc-opt .ico svg { width: 22px; height: 22px; }
.loc-opt h5 { font-size: .98rem; color: var(--navy); }
.loc-opt p { font-size: .8rem; color: var(--muted); }

.bk-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.bk-summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: .92rem; }
.bk-summary .row .k { color: var(--muted); font-weight: 600; }
.bk-summary .row .v { color: var(--navy); font-weight: 700; unicode-bidi: plaintext; }
.bk-summary .row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 11px; font-size: 1.05rem; }
.bk-summary .row.total .v { color: var(--cobalt); }

.booking-nav { display: flex; gap: 12px; padding: 4px 28px 26px; }
.booking-nav .btn { flex: 1; justify-content: center; }
.bk-note { text-align: center; font-size: .8rem; color: var(--muted); padding: 0 28px 18px; }

.bk-done { text-align: center; padding: 14px 0; }
.bk-done .check { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; background: rgba(1,151,25,.12); color: #019719; display: grid; place-items: center; }
.bk-done .check svg { width: 40px; height: 40px; }
.bk-done h4 { font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.bk-done p { color: var(--muted); max-width: 360px; margin: 0 auto 8px; }

@media (max-width: 480px) {
  .time-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-head, .booking-steps, .booking-body, .booking-nav { padding-inline: 18px; }
}

/* floating whatsapp */
.wa-float { position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .25s; animation: pulse 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pkg-grid, .features-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { background-attachment: scroll; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(14,25,32,.98); padding: 18px 22px 26px; gap: 2px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links a::after { display: none; }
  .burger { display: flex; }
  .concept-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; }
  .concept-photos { order: -1; }
  .app-visual { order: -1; }
  .app-visual img { max-height: 360px; }
}
@media (max-width: 560px) {
  section { padding: 66px 0; }
  .pkg-grid, .features-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pkg h3 { min-height: auto; }
}

