/* ==========================================================
   Sanco Technology, Koyilandy
   ========================================================== */

:root {
  --ink: #0b1730;
  --muted: #566783;
  --bg: #ffffff;
  --tint: #f2f7ff;
  --line: #e0e9f6;

  --navy-950: #040d24;
  --navy-900: #061433;
  --navy-800: #0a2150;
  --blue: #2563eb;
  --sky: #38bdf8;
  --aqua: #22d3ee;
  --wa: #25d366;

  --radius: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 48, .06), 0 4px 12px rgba(11, 23, 48, .05);
  --shadow-md: 0 10px 30px -8px rgba(11, 23, 48, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 20, 51, .45);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ml: "Noto Sans Malayalam", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ml { font-family: var(--font-ml); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn-primary { background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); box-shadow: 0 10px 24px -8px rgba(34, 211, 238, .6); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(34, 211, 238, .75); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.btn-dark:hover { background: var(--navy-800); }
.btn-wa { background: var(--wa); color: #04260f; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .6); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(6, 20, 51, .55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(6, 20, 51, .92); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .5); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand img { border-radius: 50%; width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-cta { margin-left: 10px; padding: .6em 1.15em; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; align-items: center; justify-content: center; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 150px 0 150px;
  color: #fff;
  background: var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 82% 28%, rgba(34, 211, 238, .28), transparent 65%),
    radial-gradient(50% 55% at 8% 88%, rgba(37, 99, 235, .38), transparent 65%),
    radial-gradient(40% 40% at 55% 0%, rgba(56, 189, 248, .12), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
}
.ring {
  position: absolute; right: 8%; top: 44%;
  width: 640px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, .28);
  transform: translate(0, -50%) scale(.4); opacity: 0;
  animation: ripple 9s ease-out infinite;
}
.ring.r2 { animation-delay: 3s; }
.ring.r3 { animation-delay: 6s; }
@keyframes ripple {
  0% { transform: translate(0, -50%) scale(.4); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: translate(0, -50%) scale(1.5); opacity: 0; }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }

.hero h1 { font-size: clamp(2.5rem, 4.7vw, 3.9rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 14px; text-wrap: balance; }
.grad { background: linear-gradient(100deg, var(--aqua), #60a5fa 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .grad { display: block; }
.grad-dark { background: linear-gradient(100deg, #0891b2, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .ml { font-size: 1.25rem; font-weight: 700; color: var(--sky); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .76); max-width: 34em; }
.lead strong { color: #fff; font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--aqua); stroke-width: 2.4; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: 36px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 80px -30px rgba(34, 211, 238, .35), var(--shadow-lg);
  background: #000;
  transform: rotate(1.5deg);
}
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .12), transparent 35%); pointer-events: none; }
.hero-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px;
  background: rgba(10, 33, 80, .6); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  animation: bob 6s ease-in-out infinite;
}
.float .ic { width: 28px; height: 28px; padding: 5px; box-sizing: content-box; border-radius: 12px; background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); }
.float span { display: flex; flex-direction: column; line-height: 1.25; }
.float b { font-size: .95rem; }
.float small { font-size: .75rem; color: rgba(255, 255, 255, .7); }
.float.f1 { left: -28px; bottom: 44px; }
.float.f2 { right: -14px; top: 32px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: #fff; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-weight: 700; font-size: 1.05rem; color: var(--navy-800); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--blue)); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(34, 211, 238, .18), transparent 65%),
    radial-gradient(40% 50% at 0% 100%, rgba(37, 99, 235, .3), transparent 65%);
}

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #0e7490; margin-bottom: 14px; }
.eyebrow-light { color: var(--aqua); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.028em; }
.sub { margin-top: 18px; font-size: 1.08rem; color: var(--muted); max-width: 40em; }
.section-dark .sub { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 760px; margin-bottom: 56px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }

/* ---------- Before / after ---------- */
.ba { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; max-width: 520px; width: 100%; justify-self: center; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; top: 56%; transform: translate(-50%, -100%);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 800; letter-spacing: .02em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ba-raw { left: 38%; background: rgba(120, 72, 8, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.ba-clean { left: 61%; background: rgba(8, 145, 178, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }

.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0 36px; }
.problems li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--tint); border: 1px solid var(--line); }
.problems b { display: block; font-size: .98rem; line-height: 1.3; }
.problems small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.ico .ic { width: 24px; height: 24px; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tile { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #ffffff, #eaf3ff); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .tile img { transform: scale(1.05); }
.tile-dark { background: #000; }
.tile-sand { background: #c9bda9; }
.tile-sand img { object-position: center top; }
.tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(6, 20, 51, .82); color: #fff; backdrop-filter: blur(6px); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.card p { margin-top: 8px; font-size: .94rem; color: var(--muted); line-height: 1.55; flex: 1; }
.card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--blue); }
.card-link .ic { transition: transform .2s; }
.card-link:hover .ic { transform: translateX(4px); }

/* ---------- Whole-house ---------- */
.split-rev { grid-template-columns: 1.05fr .95fr; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.feat { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s; }
.feat:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.feat .ico { width: 42px; height: 42px; margin-bottom: 14px; background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); box-shadow: none; }
.feat b { display: block; font-size: 1rem; }
.feat p { margin-top: 4px; font-size: .88rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }

.wh-visual { position: relative; padding: 0 0 60px 0; max-width: 520px; width: 100%; justify-self: center; }
.wh-main { width: 82%; margin-left: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); }
.wh-sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; border: 5px solid var(--navy-900); box-shadow: var(--shadow-lg); }
.wh-badge { position: absolute; right: -8px; bottom: 20px; padding: 14px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); box-shadow: var(--shadow-md); line-height: 1.25; }
.wh-badge b { display: block; font-size: 1.15rem; font-weight: 800; }
.wh-badge span { font-size: .8rem; font-weight: 600; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #bfd6f6; }
.svc .ico { width: 52px; height: 52px; margin-bottom: 18px; background: var(--tint); box-shadow: none; }
.svc.core .ico { background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); }
.svc h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.svc p { margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.svc-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; color: #fff; border: 0; background: linear-gradient(140deg, var(--navy-800), var(--blue)); }
.svc-cta p { color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.svc-cta:hover { border-color: transparent; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: #dbe7f7; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 20, 51, .55)); opacity: 0; transition: opacity .3s; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.g-item:hover .zoom, .g-item:focus-visible .zoom { opacity: 1; transform: none; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: linear-gradient(90deg, var(--aqua), var(--blue)); }
.num { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #9ec2ef; margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; font-weight: 800; }
.step p { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.55; }

/* ---------- EMI ---------- */
.emi-wrap { padding-bottom: clamp(72px, 9vw, 120px); }
.emi {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px; color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, #0b3b8f);
  box-shadow: var(--shadow-lg);
}
.emi::before { content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 420px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 65%); }
.emi-ico { flex: none; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); }
.emi-ico .ic { width: 34px; height: 34px; }
.emi-text { flex: 1; }
.emi h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.emi-text p { margin-top: 8px; color: rgba(255, 255, 255, .78); max-width: 38em; }
.emi-text .ml { color: var(--sky); font-weight: 700; margin-top: 12px; }

/* ---------- Showroom bento ---------- */
.bento { display: grid; grid-template-columns: 941fr 3130fr; gap: 18px; align-items: start; }
.bento figure { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-md); background: #dbe7f7; }
.bento img { width: 100%; height: auto; transition: transform .8s ease; }
.bento figure:hover img { transform: scale(1.05); }
.bento figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--navy-900); }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #bfd6f6; }
.branch-card .ico { width: 52px; height: 52px; margin-bottom: 16px; background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); box-shadow: none; }
.branch-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Contact ---------- */
.contact-head { text-align: center; }
.contact-head .sub { margin-inline: auto; }
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 40px auto 0; max-width: 820px; text-align: left; }
.c-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s, border-color .25s; }
.c-row:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); border-color: rgba(34, 211, 238, .5); }
.c-row .ico { background: linear-gradient(135deg, var(--aqua), var(--sky)); color: var(--navy-950); box-shadow: none; }
.c-wa .ico { background: var(--wa); }
.c-row small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }
.c-row b { display: block; font-size: 1.15rem; line-height: 1.35; }


/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .92rem; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.copy { font-size: .85rem; width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(4, 13, 36, .92); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; height: auto; border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: .92rem; color: rgba(255, 255, 255, .8); padding: 0 70px; }
.lb-btn { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .3s ease, box-shadow .3s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .g-item:nth-child(n+7) { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 24px;
    background: rgba(6, 20, 51, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; padding: 1em; }

  .hero { padding: 116px 0 110px; }
  .hero-grid, .split, .split-rev { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .float.f1 { left: -6px; }
  .float.f2 { right: -6px; }
  .ring { right: 50%; transform: translate(50%, -50%) scale(.4); width: 520px; top: 72%; }
  @keyframes ripple {
    0% { transform: translate(50%, -50%) scale(.4); opacity: 0; }
    15% { opacity: .9; }
    100% { transform: translate(50%, -50%) scale(1.4); opacity: 0; }
  }
  .split-rev .wh-visual { order: 2; }
  .emi { flex-direction: column; align-items: flex-start; }
  .svc-grid, .branch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .hero h1 { font-size: 2.45rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-points { gap: 8px 18px; font-size: .88rem; }
  .float { padding: 9px 14px 9px 10px; }
  .float small { display: none; }
  .float.f1 { bottom: 24px; left: 8px; }
  .float.f2 { right: 8px; }
  .ba-tag { font-size: .74rem; padding: 5px 11px; }
  .problems, .feat-grid, .svc-grid, .cards, .steps, .branch-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery .g-item:nth-child(n+7) { display: block; }
  .g-item { border-radius: 16px; }
  .zoom { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento figure { border-radius: 22px; }
  .contact-list { grid-template-columns: 1fr; }
  .wh-visual { padding-bottom: 48px; }
  .wh-badge { right: 0; }
  .section-head { margin-bottom: 40px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 20, 51, .92); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .mobile-bar .btn { padding: .85em 1em; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-cap { padding: 0 20px; bottom: 16px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ring { display: none; }
}
