/* ===== Alchemist Pharmacy - 30-Minute Delivery · light green & white ===== */
:root {
  /* Blue accent palette (matches the logo). Var names kept as --green-* so all
     existing usages flip to blue in one place. WhatsApp (--wa) stays green. */
  --green-900: #0e2f5e;
  --green-700: #1857b8;
  --green-600: #1e6fd9;
  --green-500: #2f83ef;
  --green-400: #6aa9f2;
  --mint:      #e9f2fd;
  --mint-2:    #f2f8fe;
  --wa:        #25d366;
  --wa-dark:   #1ebe5a;
  --ink:       #17212b;
  --muted:     #5c6b7d;
  --white:     #ffffff;
  --line:      #e2eaf2;
  --head:      #14202e;
  --surface:   #f5f7fa;
  --red:       #d42b38;
  --shadow:    0 10px 30px rgba(24, 87, 184, .10);
  --shadow-lg: 0 22px 55px rgba(24, 87, 184, .16);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; color: var(--head); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--green-600); }
.eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  font-size: .76rem; color: var(--green-700); background: var(--mint); padding: 6px 14px;
  border-radius: 999px; margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-700); box-shadow: var(--shadow-lg); }
.btn-wa { background: var(--green-600); color: #fff; box-shadow: 0 10px 24px rgba(30,111,217,.32); }
.btn-wa:hover { background: var(--green-700); box-shadow: 0 14px 30px rgba(30,111,217,.4); }
.btn-wa svg { color: #fff; }
.btn-hero { padding: 20px 46px; font-size: 1.15rem; gap: 12px; box-shadow: 0 16px 36px rgba(30,111,217,.42); }
.btn-hero svg { width: 22px; height: 22px; }
.btn-ghost { background: transparent; color: var(--green-700); border-color: var(--green-400); }
.btn-ghost:hover { background: var(--mint); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(24,87,184,.08); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-logo { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a { font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.nav-links > a:not(.nav-cta):hover,
.nav-links > a.active:not(.nav-cta) { color: var(--green-700); }
.nav-links > a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green-500); transition: width .25s ease;
}
.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a.active:not(.nav-cta)::after { width: 100%; }
.nav-cta {
  background: var(--green-600); color: #fff !important; padding: 10px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  box-shadow: 0 8px 18px rgba(30,111,217,.32); transition: transform .2s, background .2s;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--green-700); }
.nav-cta svg { color: #fff; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .3s; }

/* ===== Hero (home) ===== */
.hero { position: relative; overflow: hidden; padding: 76px 0 92px; background: linear-gradient(180deg, var(--surface), #fff); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 85% 8%, rgba(106,169,242,.15), transparent 60%),
    radial-gradient(520px 280px at 8% 92%, rgba(30,111,217,.07), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
.hero-sub { font-size: 1.13rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--green-700); font-weight: 600; font-size: .95rem; }
.hero-tagline-ur {
  direction: rtl; font-family: 'Noto Nastaliq Urdu', serif; font-weight: 500;
  font-size: clamp(1.2rem, 3.1vw, 1.8rem); line-height: 2.15; color: var(--head);
  margin: 2px 0 20px;
}
.hero-tagline-ur .accent { color: var(--green-600); }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.rx-cross { color: var(--red); vertical-align: -1px; margin-right: 7px; }

/* Hero delivery badge visual */
.hero-card { display: flex; justify-content: center; }
.hero-card-inner {
  position: relative; width: 320px; height: 320px; border-radius: 30px;
  background: linear-gradient(150deg, var(--green-600), var(--green-400));
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; color: #fff; animation: floaty 6s ease-in-out infinite;
}
.hero-card-inner .big { font-family: 'Poppins', sans-serif; font-size: 3.6rem; font-weight: 800; line-height: 1; color:#fff; }
.hero-card-inner .small { font-weight: 600; letter-spacing: .04em; opacity: .95; }
.hero-card-icon { width: 76px; height: 76px; color: #fff; opacity: .96; margin-bottom: 4px; }
.pill {
  position: absolute; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap;
}
.pill-1 { top: 22px; left: -34px; animation: floaty 5s ease-in-out infinite; }
.pill-2 { bottom: 66px; right: -30px; animation: floaty 5.5s ease-in-out .4s infinite; }
.pill-3 { bottom: -14px; left: 34px; animation: floaty 6.5s ease-in-out .2s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== Page hero (inner pages) ===== */
.page-hero { background: linear-gradient(180deg, var(--surface), #fff); padding: 66px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.crumbs { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.crumbs a:hover { color: var(--green-700); }

/* ===== Generic section ===== */
.section { padding: 84px 0; }
.section-tint { background: var(--surface); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Grids / Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.card > * { position: relative; z-index: 1; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.card::after {
  content: ""; position: absolute; z-index: 0; width: 240px; height: 240px; right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(30,111,217,.13), transparent 70%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 62px; height: 62px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--mint), #eaf1fb); display: flex;
  align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); box-shadow: 0 12px 24px rgba(30,111,217,.28); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ===== Feature columns (borderless, animated - replaces info boxes) ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { position: relative; text-align: center; padding: 14px 34px; }
.feature:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.feature-ico {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  background: linear-gradient(150deg, var(--green-600), var(--green-400)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  box-shadow: 0 14px 30px rgba(30,111,217,.3);
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s ease;
}
.feature:hover .feature-ico { transform: translateY(-6px) scale(1.09); box-shadow: 0 22px 42px rgba(30,111,217,.42); }
.feature h3 { font-size: 1.18rem; margin-bottom: 22px; display: inline-block; position: relative; }
.feature h3::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 42px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: translateX(-50%) scaleX(.35); transform-origin: center; opacity: .5;
  transition: transform .45s ease, opacity .45s ease;
}
.feature:hover h3::after { transform: translateX(-50%) scaleX(1); opacity: 1; }
.feature p { color: var(--muted); font-size: .98rem; }
@media (max-width: 780px) {
  .features { grid-template-columns: 1fr; }
  .feature { padding: 26px 20px; }
  .feature:not(:last-child)::after { top: auto; right: auto; bottom: 0; left: 8%; width: 84%; height: 1px; background: var(--line); }
}

/* ===== Steps / timeline ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 28px 30px; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.step > * { position: relative; z-index: 1; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.step::after {
  content: ""; position: absolute; z-index: 0; width: 240px; height: 240px; right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(30,111,217,.13), transparent 70%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.step:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step:hover::before { transform: scaleX(1); }
.step:hover::after { opacity: 1; }
.step-num {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(150deg, var(--green-600), var(--green-400)); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(30,111,217,.32);
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.step:hover .step-num { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ===== Feature / why with ticks ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.media-frame {
  border-radius: var(--radius); background: linear-gradient(160deg, var(--surface), #fff);
  border: 1px solid var(--line); padding: 26px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.media-frame img { width: 54%; filter: none; opacity: 1; }
.media-illus { width: 92%; height: auto; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== WhatsApp chat demo ===== */
.wa-chat { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #ece5dd; }
.wa-head { display: flex; align-items: center; gap: 12px; background: var(--wa); color: #fff; padding: 11px 14px; }
.wa-avatar { position: relative; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: #fff; }
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: 50%; }
.wa-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--wa); }
.wa-head-info { display: flex; flex-direction: column; line-height: 1.25; }
.wa-head-name { font-weight: 600; font-size: 1rem; }
.wa-head-status { font-size: .78rem; opacity: .9; }
.wa-body { height: 440px; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; background: #ece5dd; }
.wa-msg { display: none; width: fit-content; max-width: 82%; padding: 8px 11px 6px; border-radius: 12px; font-size: .9rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.09); color: var(--ink); }
.wa-msg.show { display: block; animation: waMsgIn .34s cubic-bezier(.2,.7,.3,1); }
.in-msg { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.out-msg { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.wa-img-msg { padding: 5px 5px 6px; }
.wa-rx { display: block; width: 172px; height: auto; border-radius: 8px; }
.wa-time { display: block; text-align: right; font-size: .64rem; color: var(--muted); margin-top: 3px; }
.out-msg .wa-time::after { content: " ✓✓"; color: #53bdeb; letter-spacing: -1px; }
.wa-eta { color: var(--red); font-weight: 700; }
.wa-typing { display: none; align-self: flex-start; background: #fff; border-radius: 12px; border-top-left-radius: 4px; padding: 11px 14px; gap: 4px; }
.wa-typing.show { display: inline-flex; }
.wa-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; animation: waDot 1s infinite; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes waMsgIn { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes waDot { 0%,60%,100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--green-600); display: block; line-height: 1; }
.stat-label { color: var(--muted); font-weight: 500; font-size: .95rem; margin-top: 8px; display: block; }

/* ===== Team ===== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .28s ease, box-shadow .28s ease; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(150deg, var(--green-600), var(--green-400)); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.member h3 { font-size: 1.12rem; margin-bottom: 4px; }
.member .role { color: var(--green-700); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.member p { color: var(--muted); font-size: .92rem; }

/* ===== Branches + Map (accordion with photo galleries) ===== */
.branches-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.branch-list { display: flex; flex-direction: column; gap: 12px; }
.branch-head { display: flex; align-items: stretch; gap: 10px; }
.branch-btn {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.branch-wa {
  flex: 0 0 54px; width: 54px; display: flex; align-items: center; justify-content: center;
  background: var(--wa); color: #fff; border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(37,211,102,.3); transition: transform .2s, background .2s, box-shadow .2s;
}
.branch-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37,211,102,.42); }
.branch-wa svg { width: 24px; height: 24px; }
.branch-btn:hover { border-color: var(--green-400); box-shadow: var(--shadow); }
.branch-pin {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: var(--mint); color: var(--green-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  transition: transform .3s, background .3s, color .3s;
}
.branch-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.branch-name { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--head); font-size: 1.02rem; }
.branch-addr { color: var(--muted); font-size: .87rem; }
.branch-chev { color: var(--green-600); font-size: 1.35rem; line-height: 1; flex: 0 0 auto; transition: transform .35s ease; }
.branch-btn.active .branch-pin { background: var(--green-600); color: #fff; }
.branch-item.open .branch-btn { border-color: var(--green-600); background: linear-gradient(180deg, var(--mint), #fff); box-shadow: var(--shadow); }
.branch-item.open .branch-chev { transform: rotate(180deg); }
.branch-item.open .branch-pin { transform: scale(1.06); }
.branch-panel { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.7,.3,1); }
.branch-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; padding: 14px 2px 6px; }
.branch-thumb {
  position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--surface); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px);
}
.branch-item.open .branch-thumb { animation: thumbIn .5s ease forwards; animation-delay: var(--d, 0ms); }
.branch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.branch-thumb:hover img { transform: scale(1.07); }
.branch-thumb-label {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  color: #fff; background: rgba(20,32,46,.55); backdrop-filter: blur(4px); letter-spacing: .02em;
}
@keyframes thumbIn { to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,15,25,.9); }
.lightbox-figure { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: lbIn .3s ease; }
.lightbox-figure img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-figure figcaption { color: #fff; font-size: .95rem; opacity: .9; }
.lightbox-close { position: absolute; top: 16px; right: 22px; z-index: 2; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .85; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.26); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.branch-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--mint); }
.branch-map iframe { width: 100%; height: 480px; border: 0; display: block; }
.map-directions { position: absolute; bottom: 16px; right: 16px; padding: 11px 20px; font-size: .92rem; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; transition: transform .2s, box-shadow .2s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.info-card h4 { font-size: 1rem; margin-bottom: 2px; }
.info-card p, .info-card a { color: var(--muted); font-size: .96rem; }
.info-card a:hover { color: var(--green-700); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.field { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 18px; background: var(--mint-2); transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(30,111,217,.15); background: #fff; }
textarea.field { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; }

/* ===== CTA band ===== */
.section-cta { background: linear-gradient(140deg, var(--green-700), var(--green-900)); text-align: center; color: #fff; }
.section-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: #0b2038; color: #c2d2e6; padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 56px; width: 56px; object-fit: contain; margin-bottom: 16px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand p { color: #8ea3bd; max-width: 380px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: #b0c2d8; margin-bottom: 10px; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--green-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .88rem; color: #7d92ad; text-align: center; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.portal-login-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; color: #aebfd4; text-decoration: none; font-size: .82rem; font-weight: 600; transition: all .18s ease;
}
.portal-login-link:hover { border-color: var(--green-400); color: #fff; background: rgba(47,131,239,.16); }

/* ===== Region picker modal ===== */
.region-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.region-modal.open { display: flex; }
.region-backdrop { position: absolute; inset: 0; background: rgba(10,25,45,.55); backdrop-filter: blur(3px); }
.region-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff;
  border-radius: var(--radius); padding: 34px 30px 30px; box-shadow: var(--shadow-lg);
  text-align: center; animation: regionIn .28s ease;
}
@keyframes regionIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.region-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.region-close:hover { color: var(--head); }
.region-wa-badge { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--mint); color: var(--green-600); display: flex; align-items: center; justify-content: center; }
.region-wa-badge svg { width: 30px; height: 30px; }
.region-dialog h3 { font-size: 1.4rem; margin-bottom: 6px; }
.region-sub { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.region-label { display: block; text-align: left; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.region-select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--surface); color: var(--ink); margin-bottom: 18px; cursor: pointer; }
.region-select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(30,111,217,.15); }
.region-other { text-align: left; }
.region-input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--surface); color: var(--ink); margin-bottom: 18px; }
.region-input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(30,111,217,.15); background: #fff; }
.region-result { background: var(--mint); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.region-result-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); font-weight: 700; }
.region-result strong { font-size: 1.05rem; color: var(--head); }
.region-result span:last-child { color: var(--muted); font-size: .92rem; }
.region-continue { width: 100%; }
.region-continue.is-disabled { opacity: .5; pointer-events: none; }

/* ===== Branch picker list (inside the order modal) ===== */
.branch-picker { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.branch-pick {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: all .18s ease;
}
.branch-pick:hover { border-color: var(--wa); background: var(--mint); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37,211,102,.18); }
.branch-pick-pin { font-size: 1.15rem; line-height: 1; }
.branch-pick-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.branch-pick-name { font-weight: 700; color: var(--head); }
.branch-pick-addr { font-size: .84rem; color: var(--muted); }
.branch-pick-wa { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; }
.branch-pick-wa svg { width: 19px; height: 19px; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-600); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(30,111,217,.45); animation: waPulse 2.4s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(30,111,217,.5); }
  70% { box-shadow: 0 0 0 18px rgba(30,111,217,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,111,217,0); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  body, .reveal, .hero-card-inner, .pill, .wa-float { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-card { margin-top: 20px; }
  .grid-4, .grid-3, .steps, .team { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .branches-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; gap: 0;
    padding: 10px 24px 24px; box-shadow: var(--shadow-lg); transform: translateY(-140%);
    transition: transform .32s ease; align-items: stretch; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .steps, .team { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-card-inner { width: min(300px, 82vw); height: min(300px, 82vw); }
  .hero-card-inner .big { font-size: 3.2rem; }
}
