/* =====================================================================
   Jyothi Patient Care Center – website styles
   Colours from the logo: blue + teal + green
   ===================================================================== */
:root {
    --navy: #0a3561;
    --blue: #1a8fd1;
    --blue-d: #136fa8;
    --teal: #13a89e;
    --green: #5bb043;
    --pink: #e04f6a;
    --sky: #eaf6fd;
    --mint: #e7f7f5;
    --text: #23344a;
    --muted: #64748b;
    --line: #e3ecf4;
    --grad: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
    --grad-dark: linear-gradient(135deg, #082b50 0%, #0e4f86 55%, #0f7f86 100%);
    --shadow: 0 10px 30px rgba(10, 53, 97, .08);
    --shadow-lg: 0 24px 60px rgba(10, 53, 97, .16);
    --radius: 22px;
    --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.7; font-size: 16px; background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 100px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #f5fafe 0%, #fff 100%); }
.text-center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: .98rem; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn i { font-size: 1.1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 25px rgba(26, 143, 209, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(26, 143, 209, .45); color: #fff; }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-3px); color: var(--blue); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .35); }
.btn-wa:hover { transform: translateY(-3px); color: #fff; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 140%; }

/* ---------- Section heading ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); background: var(--mint); padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1rem; }
.sec-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.sec-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.sec-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Preloader ---------- */
#preloader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
#preloader.hide { opacity: 0; visibility: hidden; }
#preloader .ring { width: 90px; height: 90px; border-radius: 50%; position: relative; display: grid; place-items: center; }
#preloader .ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--sky); border-top-color: var(--blue); border-right-color: var(--teal); animation: spin 1s linear infinite; }
#preloader .ring i { font-size: 2.2rem; color: var(--pink); animation: beat 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe3f5; font-size: .85rem; padding: .45rem 0; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.4rem; }
.topbar i { color: #7fe0d6; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); transition: box-shadow .3s, padding .3s; }
.header.scrolled { box-shadow: 0 8px 30px rgba(10,53,97,.1); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 88px; transition: height .3s; }
.header.scrolled .container { height: 72px; }
.logo img { height: 62px; transition: height .3s; }
.header.scrolled .logo img { height: 52px; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--navy); font-weight: 500; padding: .55rem 1rem; border-radius: 50px; position: relative; font-size: .97rem; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 3px; border-radius: 3px; background: var(--grad); transition: width .3s, left .3s; }
.nav a:hover::after, .nav a.active::after { width: 40%; left: 30%; }
.nav a.active { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.call-box { display: flex; align-items: center; gap: .6rem; color: var(--navy); }
.call-box .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.15rem; animation: ring 2.2s infinite; }
.call-box small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.call-box b { font-size: 1.05rem; line-height: 1.2; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(19,168,158,.5); } 70% { box-shadow: 0 0 0 14px rgba(19,168,158,0); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--sky); color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 120px; background: radial-gradient(1200px 600px at 85% 10%, #e3f4fd 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #e5f7f3 0%, transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: .4em; }
.hero h1 .typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .typed-line { display: block; min-height: 1.25em; white-space: nowrap; }
.hero h1 .cursor { display: inline-block; width: 3px; height: .9em; background: var(--teal); margin-left: 4px; vertical-align: -0.1em; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.2rem; }
.hero .trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero .trust div { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero .trust i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal); font-size: 1.1rem; }
.hero-visual { position: relative; }
.hero-blob { position: relative; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; overflow: hidden; box-shadow: var(--shadow-lg); animation: morph 10s ease-in-out infinite; aspect-ratio: 1 / .92; background: var(--grad); }
.hero-blob img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
@keyframes morph {
    0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; }
    50% { border-radius: 55% 45% 40% 60% / 55% 58% 42% 45%; }
}
.hero-ring { position: absolute; inset: -22px; border: 2px dashed rgba(26,143,209,.35); border-radius: 50%; animation: spin 40s linear infinite; z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: .9rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--navy); font-size: .92rem; animation: floaty 5s ease-in-out infinite; }
.float-card i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.25rem; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.float-card.c1 { top: 8%; left: -40px; }
.float-card.c2 { bottom: 12%; right: -30px; animation-delay: -2.5s; }
.float-card.c3 { bottom: -18px; left: 12%; animation-delay: -1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.shape { position: absolute; border-radius: 50%; opacity: .5; pointer-events: none; }
.shape.s1 { width: 18px; height: 18px; background: var(--teal); top: 18%; left: 46%; animation: floaty 6s infinite; }
.shape.s2 { width: 12px; height: 12px; background: var(--green); top: 70%; left: 6%; animation: floaty 7s infinite -3s; }
.shape.s3 { width: 26px; height: 26px; border: 4px solid var(--blue); background: transparent; top: 12%; right: 6%; animation: spin 12s linear infinite; border-radius: 6px; }
.shape.plus { width: auto; height: auto; color: var(--pink); font-size: 1.6rem; opacity: .6; top: 82%; left: 48%; animation: floaty 5s infinite -1s; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); color: #fff; padding: 18px 0; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 30s linear infinite; font-weight: 600; font-size: 1.05rem; }
.marquee-track span { display: inline-flex; align-items: center; gap: .7rem; }
.marquee-track i { color: #c8f6ef; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; display: flex; flex-direction: column; color: var(--text); transform-style: preserve-3d; }
.svc-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--c, var(--blue)); opacity: .06; transition: transform .5s, opacity .5s; }
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.svc-card:hover::before { transform: scale(2.6); opacity: .1; }
.svc-icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: var(--c, var(--blue)); margin-bottom: 1.4rem; position: relative; box-shadow: 0 12px 24px -8px var(--c, var(--blue)); transition: transform .4s; }
.svc-icon::after { content: ""; position: absolute; inset: -7px; border-radius: 26px; border: 2px dashed var(--c); opacity: 0; transition: opacity .4s; animation: spin 10s linear infinite; }
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }
.svc-card:hover .svc-icon::after { opacity: .5; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.svc-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card .more { font-weight: 600; color: var(--c, var(--blue)); display: inline-flex; align-items: center; gap: .4rem; }
.svc-card .more i { transition: transform .3s; }
.svc-card:hover .more i { transform: translateX(6px); }
.svc-num { position: absolute; top: 22px; right: 26px; font-size: 2.6rem; font-weight: 800; color: var(--sky); line-height: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-img { position: relative; }
.about-img .main { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.about-img .main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.about-img .badge-exp { position: absolute; right: -24px; bottom: -24px; background: var(--grad); color: #fff; border-radius: 24px; padding: 1.4rem 1.6rem; text-align: center; box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.about-img .badge-exp b { display: block; font-size: 2.4rem; line-height: 1; }
.about-img .dots { position: absolute; left: -30px; top: -30px; width: 130px; height: 130px; background-image: radial-gradient(var(--teal) 2.5px, transparent 2.5px); background-size: 18px 18px; opacity: .45; z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check-list i { color: #fff; background: var(--teal); width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; margin-top: 3px; }

/* ---------- Counters ---------- */
.stats { background: var(--grad-dark); color: #fff; border-radius: 30px; padding: 50px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.05); top: -180px; right: -100px; }
.stat { text-align: center; position: relative; }
.stat i { font-size: 2rem; color: #7fe0d6; }
.stat b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.2; }
.stat span { color: #bcd6ee; font-size: .95rem; }

/* ---------- Why us / features ---------- */
.feature { display: flex; gap: 1.1rem; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .35s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.feature .fi { width: 60px; height: 60px; border-radius: 18px; flex: none; display: grid; place-items: center; font-size: 1.6rem; background: var(--sky); color: var(--blue); transition: all .35s; }
.feature:hover .fi { background: var(--grad); color: #fff; transform: rotateY(180deg); }
.feature h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; top: 48px; left: 12%; right: 12%; border-top: 3px dashed #cde3f2; }
.step { text-align: center; position: relative; }
.step .circle { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.2rem; background: #fff; display: grid; place-items: center; font-size: 2.2rem; color: var(--blue); box-shadow: var(--shadow); position: relative; transition: all .4s; }
.step:hover .circle { background: var(--grad); color: #fff; transform: scale(1.08); }
.step .circle span { position: absolute; top: -4px; right: -4px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .9rem; font-weight: 700; display: grid; place-items: center; border: 3px solid #fff; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-dark); border-radius: 32px; padding: 60px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #cfe3f5; }
.cta-band .actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-band .bubbles span { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); animation: rise 9s linear infinite; bottom: -60px; }
@keyframes rise { to { transform: translateY(-500px); opacity: 0; } }
.big-phone { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: .6rem; }

/* ---------- Page banner ---------- */
.page-banner { background: var(--grad-dark); color: #fff; padding: 90px 0 110px; position: relative; overflow: hidden; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .4rem; }
.page-banner p { color: #cfe3f5; max-width: 640px; margin: 0 auto 1rem; }
.crumbs { display: inline-flex; gap: .5rem; align-items: center; background: rgba(255,255,255,.12); padding: .4rem 1.1rem; border-radius: 50px; font-size: .9rem; }
.crumbs a { color: #fff; }
.page-banner .circle-deco { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); }
.page-banner .wave { height: 70px; }

/* ---------- Service details ---------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail-hero { border-radius: 28px; padding: 50px; color: #fff; position: relative; overflow: hidden; margin-bottom: 2rem; min-height: 260px; display: flex; align-items: flex-end; }
.detail-hero .big-ic { position: absolute; right: 30px; top: 20px; font-size: 10rem; opacity: .18; animation: floaty 6s infinite; }
.detail-hero h2 { color: #fff; font-size: 2.2rem; margin: 0; }
.feat-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5rem 0 2rem; }
.feat-list li { background: var(--sky); border-radius: 14px; padding: .9rem 1rem; display: flex; gap: .7rem; align-items: center; font-weight: 500; transition: transform .25s; }
.feat-list li:hover { transform: translateX(6px); }
.feat-list i { color: var(--teal); font-size: 1.2rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.side-card h4 { margin-bottom: 1rem; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-radius: 12px; color: var(--text); font-weight: 500; margin-bottom: 6px; background: #f7fafd; transition: all .25s; }
.side-links a:hover, .side-links a.active { background: var(--grad); color: #fff; padding-left: 1.3rem; }
.help-card { background: var(--grad); color: #fff; text-align: center; }
.help-card h4 { color: #fff; }
.help-card .ic { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.8rem; animation: ring 2s infinite; }
.tag { display: inline-block; padding: .35rem .9rem; border-radius: 50px; background: var(--mint); color: var(--teal); font-weight: 600; font-size: .85rem; margin: 0 .4rem .5rem 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { border: 0; background: var(--sky); color: var(--navy); padding: .6rem 1.4rem; border-radius: 50px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .25s; }
.filters button.active, .filters button:hover { background: var(--grad); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-item { border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: zoom-in; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; }
.g-item.hidden { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.1); }
.g-item .cap { position: absolute; inset: auto 0 0 0; padding: 1.2rem; background: linear-gradient(transparent, rgba(8,43,80,.85)); color: #fff; font-weight: 600; transform: translateY(100%); transition: transform .4s; display: flex; justify-content: space-between; align-items: center; }
.g-item:hover .cap { transform: none; }
.lightbox { position: fixed; inset: 0; background: rgba(5,20,40,.92); z-index: 2000; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; animation: fadeIn .3s; }
.lightbox img { max-height: 80vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: zoomIn .35s; }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: 1rem; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; } .lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { transform: scale(.85); opacity: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.info-card { display: flex; gap: 1rem; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); margin-bottom: 18px; transition: all .3s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.info-card .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.info-card h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.info-card p, .info-card a { margin: 0; color: var(--muted); }
.form-card { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 1.1rem; border: 1.5px solid #d8e5f0; border-radius: 14px; font: inherit; font-size: .95rem; color: var(--text); background: #fbfdff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,143,209,.12); background: #fff; }
.field .err { color: var(--pink); font-size: .8rem; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--pink); }
.field.invalid .err { display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
.map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); height: 420px; border: 0; width: 100%; }
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.4rem; font: inherit; font-weight: 600; color: var(--navy); font-size: 1.02rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q i { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; transition: transform .35s, background .35s, color .35s; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--muted); margin: 0; }

/* ---------- Values (about) ---------- */
.value-card { text-align: center; padding: 40px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .35s; }
.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.value-card .vi { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -10px var(--blue); }
.value-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.mv-card { border-radius: 26px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.mv-card h3 { color: #fff; display: flex; align-items: center; gap: .7rem; }
.mv-card p { color: rgba(255,255,255,.9); margin: 0; }
.mv-card .bg-ic { position: absolute; right: -10px; bottom: -30px; font-size: 9rem; opacity: .12; }

/* ---------- Footer ---------- */
.footer { background: #071f3a; color: #a9c1d9; padding-top: 80px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(19,168,158,.18), transparent 70%); top: -200px; right: -150px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; position: relative; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer .f-logo { background: #fff; border-radius: 16px; padding: 10px 14px; display: inline-block; margin-bottom: 1.2rem; }
.footer .f-logo img { height: 58px; }
.footer a { color: #a9c1d9; }
.footer a:hover { color: #7fe0d6; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer li a { display: inline-flex; gap: .5rem; align-items: center; transition: transform .25s, color .25s; }
.footer li a:hover { transform: translateX(5px); }
.footer .f-contact li { display: flex; gap: .7rem; }
.footer .f-contact i { color: #7fe0d6; margin-top: 4px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: all .3s; }
.socials a:hover { background: var(--grad); transform: translateY(-4px); color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; position: relative; }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 22px; bottom: 22px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.float-btns a, .float-btns button { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 25px rgba(0,0,0,.2); border: 0; cursor: pointer; transition: transform .3s; position: relative; }
.float-btns a:hover, .float-btns button:hover { transform: scale(1.1); color: #fff; }
.fb-wa { background: #25d366; }
.fb-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2s infinite; z-index: -1; }
.fb-call { background: var(--grad); }
.fb-top { background: var(--navy); font-size: 1.2rem !important; width: 46px !important; height: 46px !important; margin-left: 6px; opacity: 0; visibility: hidden; transform: translateY(20px); }
.fb-top.show { opacity: 1; visibility: visible; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
[data-anim] { opacity: 0; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform, opacity; }
[data-anim="up"] { transform: translateY(50px); }
[data-anim="down"] { transform: translateY(-40px); }
[data-anim="left"] { transform: translateX(-60px); }
[data-anim="right"] { transform: translateX(60px); }
[data-anim="zoom"] { transform: scale(.85); }
[data-anim].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-anim] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .call-box div { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .section { padding: 75px 0; }
    .burger { display: grid; place-items: center; }
    .header { backdrop-filter: none; background: #fff; }
    .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch; padding: 100px 24px 24px; box-shadow: -20px 0 50px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.7,.2,1); z-index: 950; }
    .nav.open { transform: none; }
    .nav a { padding: .9rem 1.1rem; font-size: 1.05rem; }
    .nav a.active { background: var(--sky); }
    .nav a::after { display: none; }
    .nav-close { position: absolute; top: 24px; right: 24px; }
    .nav-overlay { position: fixed; inset: 0; background: rgba(5,20,40,.45); z-index: 940; opacity: 0; visibility: hidden; transition: all .3s; }
    .nav-overlay.show { opacity: 1; visibility: visible; }
    .hero .container, .about-grid, .detail-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin: 30px auto 0; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats, .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 40px; text-align: center; }
    .cta-band .actions { justify-content: center; }
    .about-img { margin: 0 20px 30px; }
}
@media (min-width: 961px) { .nav-close, .nav-overlay { display: none; } }
@media (max-width: 640px) {
    .topbar .hide-sm { display: none; }
    .topbar .container { justify-content: center; }
    .header .container { height: 74px; }
    .logo img { height: 50px; }
    .header-cta .btn { display: none; }
    .grid-3, .grid-4, .grid-2, .gallery, .check-list, .feat-list, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; padding: 34px 16px; }
    .stat b { font-size: 2rem; }
    .float-card.c1 { left: -6px; } .float-card.c2 { right: -6px; }
    .float-card { font-size: .8rem; padding: .7rem .8rem; }
    .form-card { padding: 26px; }
    .detail-hero { padding: 30px; }
    .hero { padding: 40px 0 100px; }
}

/* =====================================================================
   V2 DESIGN – HD photo hero slider, photo cards, collage, parallax
   ===================================================================== */
.hero-slider { position: relative; min-height: min(92vh, 860px); color: #fff; overflow: hidden; display: flex; align-items: center; background: var(--navy); }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hs-slide.active { opacity: 1; }
.hs-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.hs-slide.active .bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.hero-slider::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6,30,58,.94) 0%, rgba(8,48,90,.82) 38%, rgba(10,60,110,.35) 70%, rgba(19,168,158,.15) 100%); }
.hero-slider::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: 1; background: linear-gradient(transparent, rgba(6,30,58,.55)); }
.hs-inner { position: relative; z-index: 2; width: 100%; padding: 90px 0 170px; }
.hs-inner .container { display: grid; grid-template-columns: 1.35fr .9fr; gap: 50px; align-items: center; }
.hs-text .eyebrow { background: rgba(255,255,255,.14); color: #c8f6ef; backdrop-filter: blur(6px); }
.hs-text h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: .35em; min-height: 2.5em; }
.hs-text h1 .hl { background: linear-gradient(90deg, #7fe0d6, #8fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-text p.lead { color: #d6e6f5; font-size: 1.15rem; max-width: 560px; min-height: 3.4em; }
.hs-text .anim-line { display: block; animation: slideUpIn .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes slideUpIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hs-text .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hs-dots { display: flex; gap: .6rem; align-items: center; }
.hs-dots button { width: 44px; height: 5px; border-radius: 5px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; padding: 0; }
.hs-dots button.active::after { content: ""; position: absolute; inset: 0; background: #7fe0d6; animation: progress 7s linear forwards; transform-origin: left; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hs-card { padding: 30px; }
.hs-card h3 { color: #fff; font-size: 1.3rem; display: flex; gap: .6rem; align-items: center; }
.hs-card .pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.7); animation: dotpulse 1.6s infinite; }
@keyframes dotpulse { 70% { box-shadow: 0 0 0 12px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }
.hs-card .big { font-size: 1.9rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: .6rem; margin: .4rem 0 1.2rem; }
.hs-card .big i { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-size: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chips a { background: rgba(255,255,255,.14); color: #fff; padding: .45rem .9rem; border-radius: 50px; font-size: .85rem; font-weight: 500; transition: all .25s; border: 1px solid rgba(255,255,255,.18); }
.chips a:hover { background: #fff; color: var(--navy); }
.hs-card .btns { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hs-card .btns .btn { justify-content: center; padding: .85rem 1rem; }
.hs-scroll { position: absolute; left: 50%; bottom: 120px; z-index: 3; transform: translateX(-50%); color: #fff; opacity: .7; font-size: 1.6rem; animation: floaty 2s infinite; }

/* feature strip overlapping hero */
.feature-strip { position: relative; z-index: 5; margin-top: -95px; }
.feature-strip .grid { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: 14px; gap: 0; }
.fs-item { display: flex; gap: 1rem; align-items: center; padding: 22px 24px; border-radius: 20px; transition: background .3s; }
.fs-item:hover { background: var(--sky); }
.fs-item + .fs-item { border-left: 1px solid var(--line); }
.fs-item i { width: 58px; height: 58px; border-radius: 18px; flex: none; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -8px var(--blue); }
.fs-item h4 { margin: 0; font-size: 1.05rem; }
.fs-item p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* photo service cards */
.svc-photo { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 6px 24px rgba(10,53,97,.07); border: 1px solid var(--line); display: flex; flex-direction: column; color: var(--text); transition: transform .4s, box-shadow .4s; position: relative; }
.svc-photo:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); color: var(--text); }
.svc-photo .ph { position: relative; height: 230px; overflow: hidden; background: var(--grad); }
.svc-photo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-photo:hover .ph img { transform: scale(1.12) rotate(1deg); }
.svc-photo .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,30,58,.55)); transition: opacity .4s; }
.svc-photo .num { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 800; font-size: .85rem; padding: .3rem .7rem; border-radius: 50px; }
.svc-photo .badge-ic { position: absolute; left: 24px; bottom: -30px; z-index: 3; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 1.7rem; background: var(--c); border: 4px solid #fff; box-shadow: 0 12px 24px -8px var(--c); transition: transform .4s; }
.svc-photo:hover .badge-ic { transform: rotate(-10deg) scale(1.08); }
.svc-photo .body { padding: 44px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-photo h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.svc-photo p { color: var(--muted); font-size: .94rem; flex: 1; }
.svc-photo .more { font-weight: 600; color: var(--c); display: inline-flex; gap: .4rem; align-items: center; }
.svc-photo .more i { transition: transform .3s; }
.svc-photo:hover .more i { transform: translateX(6px); }
.svc-photo .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c); transition: width .5s; }
.svc-photo:hover .bar { width: 100%; }

/* photo collage */
.collage { position: relative; height: 560px; }
.collage .c-img { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--grad); }
.collage .c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.collage .c-img:hover img { transform: scale(1.08); }
.collage .c1 { left: 0; top: 0; width: 64%; height: 72%; }
.collage .c2 { right: 0; top: 14%; width: 44%; height: 46%; animation: floaty 7s ease-in-out infinite; }
.collage .c3 { left: 22%; bottom: 0; width: 46%; height: 40%; animation: floaty 8s ease-in-out infinite -3s; }
.collage .exp { position: absolute; right: 4%; bottom: 6%; background: var(--grad); color: #fff; border-radius: 22px; padding: 1.1rem 1.4rem; text-align: center; box-shadow: var(--shadow-lg); z-index: 2; }
.collage .exp b { display: block; font-size: 2.2rem; line-height: 1; }
.collage .ring-deco { position: absolute; width: 160px; height: 160px; border: 3px dashed rgba(19,168,158,.45); border-radius: 50%; right: 8%; top: -20px; animation: spin 30s linear infinite; z-index: -1; }

/* banners & parallax with photo */
.photo-bg { background-size: cover; background-position: center; position: relative; }
.page-banner.photo-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6,30,58,.93), rgba(10,60,110,.78) 60%, rgba(19,168,158,.6)); }
.page-banner.photo-bg .container, .page-banner.photo-bg .wave { position: relative; z-index: 1; }
.page-banner { padding: 120px 0 140px; }
.parallax { background-attachment: fixed; border-radius: 32px; overflow: hidden; }
.parallax::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6,30,58,.95) 10%, rgba(10,60,110,.82) 55%, rgba(19,168,158,.7)); }
.cta-band.parallax > * { position: relative; }
@media (hover: none) { .parallax { background-attachment: scroll; } }

/* why-us with photo */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.why-photo { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); height: 600px; background: var(--grad); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo .quote { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px; color: #fff; }
.why-photo .quote p { margin: 0; font-size: 1.05rem; font-weight: 500; }
.why-list { display: grid; gap: 16px; }

/* detail page photo header */
.detail-hero.photo { min-height: 380px; background-size: cover; background-position: center; }
.detail-hero.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,30,58,.88), rgba(6,30,58,.15) 70%); }
.detail-hero.photo > * { position: relative; }
.detail-hero.photo .badge-ic { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; color: #fff; margin-bottom: 1rem; }

/* gallery masonry with photos */
.gallery { grid-auto-rows: 240px; grid-auto-flow: dense; }
.g-item { aspect-ratio: auto; background: var(--grad); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }

/* image strip (marquee of photos) */
.photo-strip { overflow: hidden; padding: 10px 0 0; }
.photo-strip .track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.photo-strip:hover .track { animation-play-state: paused; }
.photo-strip .track div { width: 280px; height: 190px; border-radius: 20px; overflow: hidden; flex: none; background: var(--grad); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-strip .track div:hover img { transform: scale(1.1); }

@media (max-width: 960px) {
    .hs-inner .container, .why-grid { grid-template-columns: 1fr; }
    .hs-card { max-width: 520px; }
    .hs-inner { padding: 70px 0 150px; }
    .feature-strip .grid { grid-template-columns: 1fr 1fr; }
    .fs-item + .fs-item { border-left: 0; }
    .collage { height: 460px; margin-bottom: 30px; }
    .why-photo { height: 420px; }
    .hs-scroll { display: none; }
}
@media (max-width: 640px) {
    .hs-text h1 { min-height: 3.6em; }
    .hs-card .btns { grid-template-columns: 1fr; }
    .feature-strip .grid { grid-template-columns: 1fr; }
    .collage { height: 380px; }
    .gallery { grid-auto-rows: 220px; }
    .g-item.wide { grid-column: span 1; }
    .g-item.tall { grid-row: span 1; }
    .page-banner { padding: 80px 0 110px; }
}
/* fixes */
.svc-photo .badge-ic { top: 197px; bottom: auto; }
.cta-band.parallax > .bubbles { position: absolute; }
.page-banner.photo-bg .wave { position: absolute; z-index: 1; }
