/* Rana Industries – main stylesheet */
:root {
  --navy: #0B2545;
  --navy-2: #12355F;
  --navy-3: #071A33;
  --teal: #12A594;
  --teal-text: #0E7C73;
  --teal-light: #7FE0D5;
  --mint: #E6F6F4;
  --ink: #0F172A;
  --slate: #475569;
  --slate-2: #334155;
  --line: #E2E8F0;
  --bg-soft: #F8FAFC;
  --radius: 16px;
  --max: 1240px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--teal-text); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.2; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0E8E7F; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline-light { color: #fff; border-color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: 3px; color: var(--navy); line-height: 1; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: 10px; letter-spacing: 5px; color: var(--teal-text); line-height: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { color: var(--slate-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"] { border-bottom: 2px solid var(--teal); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

/* Products dropdown (opens on hover / keyboard focus) */
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.dropdown { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(11,37,69,.14); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }
.main-nav .dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border-bottom: none; }
.main-nav .dropdown a:hover, .main-nav .dropdown a:focus { background: var(--mint); }
.main-nav .dropdown a[aria-current="page"] { border-bottom: none; background: var(--mint); }
.dd-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.dd-icon svg { width: 22px; height: 22px; }
.dd-title { display: block; font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.3; }
.dd-desc { display: block; font-size: 13px; color: var(--slate); line-height: 1.4; }
.main-nav .dd-all a { justify-content: center; font-weight: 600; color: var(--teal-text); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }

@media (max-width: 1240px) and (min-width: 781px) {
  .main-nav > ul { gap: 16px; }
  .main-nav a { font-size: 14px; }
}
@media (max-width: 1020px) and (min-width: 781px) {
  .header-cta .btn { display: none; }
  .brand-sub { display: none; }
}
@media (max-width: 780px) {
  .main-nav .dropdown { position: static; transform: none; width: auto; opacity: 0; visibility: visible; box-shadow: none; border: none; padding: 0 0 0 12px; display: flex; max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, padding .3s ease; }
  .main-nav .has-dropdown:hover .dropdown, .main-nav .has-dropdown:focus-within .dropdown, .main-nav .has-dropdown.open .dropdown { transform: none; max-height: 480px; opacity: 1; padding: 0 0 8px 12px; }
  .has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }
  .main-nav .has-dropdown > a { display: flex; justify-content: space-between; }
  .main-nav .dropdown a { padding: 8px 0; }
  .dd-icon { width: 34px; height: 34px; }
  .has-dropdown.open .chev { transform: rotate(180deg); }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,37,69,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--teal-text); }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .brand-name { font-size: 20px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-mint { background: var(--mint); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-text); }
.bg-navy .eyebrow { color: var(--teal-light); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.section-head p { font-size: 17px; color: var(--slate); }
.bg-navy .section-head p { color: #CBD5E1; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 0 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; line-height: 1.1; }
.hero .lead { font-size: 19px; color: #CBD5E1; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hero-art-box { width: 400px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 32px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; }
.hero-art-box svg { width: 72%; height: auto; }

/* Hero slider */
.hero-slider { position: relative; padding: 72px 24px 40px; }
.slides { position: relative; }
.slide { display: none; flex-wrap: wrap; align-items: center; gap: 56px; min-height: 440px; }
.slide.active { display: flex; animation: slideIn .6s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.hero-title { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.1; }
.slider-controls { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-btn:hover, .slider-btn:focus-visible { background: #fff; color: var(--navy); }
.slider-btn svg { width: 22px; height: 22px; }
.dots { display: flex; gap: 4px; }
.dot { width: 28px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 0; position: relative; }
.dot::after { content: ""; position: absolute; left: 4px; right: 4px; top: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background .2s; }
.dot.active::after { background: var(--teal); }
@media (prefers-reduced-motion: reduce) { .slide.active { animation: none; } }
@media (max-width: 760px) { .slide { min-height: 0; gap: 32px; } .hero-art-box { width: 260px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin-top: 10px; }
.page-hero p { color: #CBD5E1; font-size: 18px; max-width: 680px; margin-top: 14px; }
.breadcrumb { font-size: 14px; color: #94A3B8; }
.breadcrumb a { color: var(--teal-light); text-decoration: none; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; padding: 32px 0; }
.fact-num { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--navy); }
.fact-label { font-size: 15px; color: var(--slate-2); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { font-size: 15px; color: var(--slate); }
.card .more { margin-top: auto; font-weight: 600; font-size: 15px; text-decoration: none; }
.card-soft { background: var(--bg-soft); border: none; }
.icon-box { width: 56px; height: 56px; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.icon-box svg { width: 28px; height: 28px; }
.icon-line { width: 36px; height: 36px; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > .split-main { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > .split-side { flex: 1 1 520px; min-width: 0; }
.split h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.split p { font-size: 17px; color: var(--slate); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; counter-reset: step; }
.steps li { border-top: 3px solid var(--teal); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps .num { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--teal-light); }
.steps .t { font-weight: 600; font-size: 17px; }
.steps .d { font-size: 14px; color: #CBD5E1; }
.steps-light .num { color: var(--teal-text); }
.steps-light .d { color: var(--slate); }
.steps-light .t { color: var(--navy); }

/* Info tiles */
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.tile .k { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-text); }
.tile .v { font-size: 17px; font-weight: 600; color: var(--navy); margin-top: 6px; }

/* Spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 34%; background: var(--bg-soft); color: var(--navy); font-weight: 600; }
.spec-table td { color: var(--slate-2); }

/* Lists */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--slate-2); }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* Product detail */
.product-visual { border-radius: 24px; background: var(--mint); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.product-visual svg { width: 46%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--mint); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; background: #fff; }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; font-size: 16px; }
.faq details p { margin-top: 10px; color: var(--slate); font-size: 15px; }

/* Form */
.quote-form { background: #fff; border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-weight: 400; font-size: 15px; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 12px; height: 48px; background: #fff; color: var(--ink); }
.quote-form textarea { height: auto; padding: 12px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.quote-form .full { grid-column: 1 / -1; }
.form-note { font-size: 13px; color: var(--slate); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* CTA band */
.cta-band { background: var(--navy-2); border-radius: 20px; padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: 26px; font-weight: 800; }
.cta-band p { color: #CBD5E1; font-size: 16px; margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--navy-3); color: #CBD5E1; }
.footer-inner { padding: 64px 0 28px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: #CBD5E1; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--teal-light); }
.footer-about { line-height: 1.7; max-width: 300px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-2); color: #fff; display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--teal); }
.social svg { width: 20px; height: 20px; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.contact-line svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.footer-bottom { border-top: 1px solid #1E3A5F; padding-top: 22px; font-size: 13px; color: #94A3B8; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #94A3B8; text-decoration: none; margin-left: 20px; }
.footer-bottom a:first-child { margin-left: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* Utility */
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav alignment + dropdown spacing fixes */
.main-nav > ul { align-items: center; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; }
.main-nav .dropdown { gap: 2px; }
.hero-art-combo { display: flex; align-items: flex-end; justify-content: center; gap: 4%; width: 86%; }
.hero-art-combo svg:first-child { width: 58%; }
.hero-art-combo svg:last-child { width: 38%; }
@media (max-width: 780px) {
  .main-nav > ul { align-items: stretch; }
  .main-nav > ul > li > a { display: block; }
}

/* Product photos */
.art-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art-box { overflow: hidden; }
.product-visual { overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--slate-2); }


/* Product photo carousel */
.prod-top { display: flex; flex-direction: column; gap: 40px; max-width: 980px; }
.prod-carousel { display: flex; flex-direction: column; gap: 14px; }
.pc-stage { position: relative; border-radius: 24px; overflow: hidden; background: var(--mint); aspect-ratio: 16 / 10; }
.pc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.pc-slide.active { opacity: 1; }
.pc-slide img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.pc-slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(11,37,69,.85); color: #fff; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.pc-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 4px 14px rgba(11,37,69,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc-btn:hover, .pc-btn:focus-visible { background: var(--navy); color: #fff; }
.pc-btn svg { width: 24px; height: 24px; }
.pc-prev { left: 14px; } .pc-next { right: 14px; }
.pc-count { position: absolute; right: 16px; bottom: 16px; background: rgba(11,37,69,.85); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pc-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pc-thumb { flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-thumb.active, .pc-thumb:hover { opacity: 1; border-color: var(--teal); }
.prod-desc { display: flex; flex-direction: column; gap: 16px; }
.prod-desc h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; }
.prod-desc p { font-size: 17px; color: var(--slate); }
@media (prefers-reduced-motion: reduce) { .pc-slide { transition: none; } }
@media (max-width: 600px) { .pc-btn { width: 40px; height: 40px; } .pc-thumb { width: 72px; height: 56px; } }

/* Colour picker */
.pc-colours { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pc-colour-label { font-size: 15px; color: var(--slate-2); min-width: 120px; }
.pc-colour-label b { color: var(--navy); }
.pc-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #CBD5E1; cursor: pointer; padding: 0; transition: transform .15s, box-shadow .15s; }
.pc-swatch:hover { transform: scale(1.08); }
.pc-swatch.active, .pc-swatch:focus-visible { box-shadow: 0 0 0 3px var(--teal); outline: none; }
.pc-colour-note { font-size: 13px; color: var(--slate); }

/* Hero slider photos with product names */
.hero-photo { margin: 0; width: 100%; height: 100%; position: relative; }
.hero-photo figcaption, .hero-collage figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11,37,69,.9); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .3px; padding: 7px 12px; border-radius: 8px; border-left: 3px solid var(--teal); }
.hero-photo .art-photo { object-position: center; background: #fff; object-fit: contain; }
.hero-collage { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; background: var(--navy-2); }
.hero-collage figure { margin: 0; position: relative; overflow: hidden; background: #fff; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-collage figcaption { left: 8px; bottom: 8px; font-size: 12px; padding: 5px 9px; }
.compare-table thead th { background: var(--navy); color: #fff; }
.compare-table thead th a { color: #fff; }
.compare-table td { width: 33%; }

/* Industry cards with photos */
.industry-card { padding: 0; overflow: hidden; gap: 0; }
.industry-img { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.industry-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.industry-card:hover .industry-img img { transform: scale(1.05); }
.industry-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }

/* Hero v2: full-bleed split with edge-to-edge photo */
.hero-slider { position: relative; padding: 0; max-width: none; }
.slide { min-height: 0; }
.slide.active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; min-height: 600px; align-items: stretch; }
.slide .hero-copy { align-self: center; padding: 72px 56px 130px max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.slide .hero-art { position: relative; display: block; min-height: 600px; }
.slide .hero-art-box { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border-radius: 0; background: #fff; }
.hero-photo .art-photo { object-fit: cover; object-position: center; background: #fff; }
.hero-photo figcaption, .hero-collage figcaption { left: 20px; bottom: 20px; font-size: 15px; padding: 9px 14px; }
.hero-collage { gap: 4px; }
.hero-collage figcaption { left: 12px; bottom: 12px; font-size: 13px; padding: 6px 10px; }
.slider-controls { position: absolute; left: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 40px; margin: 0; z-index: 2; }
@media (max-width: 900px) {
  .slide.active { grid-template-columns: 1fr; min-height: 0; }
  .slide .hero-copy { padding: 48px 24px 24px; }
  .slide .hero-art { min-height: 320px; }
  .slider-controls { position: static; padding: 20px 24px 32px; }
}
@media (min-width: 901px) {
  .hero-slider .slides { height: 640px; }
  .slide.active { height: 100%; min-height: 0; }
  .slide .hero-art { min-height: 0; }
  .hero-title { font-size: clamp(34px, 3.8vw, 52px); }
  .slide .hero-copy { padding-top: 40px; padding-bottom: 110px; }
}
.hero { overflow: hidden; }

/* ===== Hero v3: photos behind the text ===== */
.hero-v3 { position: relative; background: var(--navy); overflow: hidden; }
.hero-v3 .hero-slider { padding: 0; }
.hero-v3 .slides { position: relative; height: 660px; }
.hero-v3 .slide, .hero-v3 .slide.active { position: absolute; inset: 0; display: block; height: auto; min-height: 0; grid-template-columns: none; animation: none; }
.hero-v3 .slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-v3 .slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; top: 0; right: 0; height: 100%; width: 64%; object-fit: cover; object-position: center; background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 20%, #000 42%); }
.slide-full .slide-bg { width: 100%; -webkit-mask-image: none; mask-image: none; }
.slide-overlay { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,37,69,1) 0%, rgba(11,37,69,.92) 34%, rgba(11,37,69,.35) 58%, rgba(11,37,69,0) 75%); }
.slide-full .slide-overlay { background: linear-gradient(90deg, rgba(7,26,51,.96) 0%, rgba(11,37,69,.86) 38%, rgba(11,37,69,.35) 68%, rgba(11,37,69,.15) 100%); }
.hero-v3 .slide.active .slide-bg { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-v3 .slide .hero-copy { max-width: 600px; padding: 0 0 70px; display: flex; flex-direction: column; gap: 20px; flex: none; }
.hero-v3 .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--teal-light); }
.eyebrow-line { width: 36px; height: 2px; background: var(--teal); flex: none; }
.hero-v3 .hero-title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.5px; }
.hero-v3 .hero-title .hl { color: var(--teal-light); }
.hero-v3 .lead { font-size: 18px; color: #D7E0EA; max-width: 520px; }
.hero-trust { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 500; color: #CBD5E1; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.slide-tag { position: absolute; right: 24px; bottom: 28px; z-index: 2; background: rgba(255,255,255,.95); color: var(--navy); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.slide-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
.hero-v3 .slide.active .hero-copy > * { animation: heroRise .7s ease both; }
.hero-v3 .slide.active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-v3 .slide.active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-v3 .slide.active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-v3 .slide.active .hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.slider-bar { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; pointer-events: none; }
.hero-v3 .slider-controls { position: static; margin: 0; padding: 0; pointer-events: auto; display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .hero-v3 .slide.active .slide-bg, .hero-v3 .slide.active .hero-copy > * { animation: none; } .hero-v3 .slide { transition: none; } }
@media (max-width: 900px) {
  .hero-v3 .slides { height: 700px; }
  .slide-bg, .slide-full .slide-bg { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .slide-overlay, .slide-full .slide-overlay { background: linear-gradient(180deg, rgba(11,37,69,.55) 0%, rgba(11,37,69,.88) 45%, rgba(11,37,69,.97) 100%); }
  .slide-inner { align-items: flex-end; }
  .hero-v3 .slide .hero-copy { padding: 0 0 100px; gap: 16px; }
  .slide-tag { top: 16px; bottom: auto; right: 16px; font-size: 12px; }
  .hero-v3 .lead { font-size: 16px; }
}
.hero-v3 .slide .hero-copy { flex: 0 1 600px; min-width: 0; width: 100%; }
@media (min-width: 901px) { .hero-v3 .slides { height: 700px; } .hero-v3 .slide .hero-copy { padding-bottom: 60px; } }
@media (max-width: 900px) { .hero-v3 .slides { height: 760px; } .hero-v3 .hero-title { font-size: clamp(32px, 8.5vw, 44px); } }
.slide-tag { top: 28px; bottom: auto; }
.footer-inner { gap: 28px; }
.footer-credit { text-align: center; font-size: 13px; color: #94A3B8; padding-top: 4px; }
.footer-credit strong { color: var(--teal-light); font-weight: 600; letter-spacing: .3px; }
.footer-credit a { text-decoration: none; } .footer-credit a:hover strong { text-decoration: underline; }
.seo-block { max-width: 900px; display: flex; flex-direction: column; gap: 14px; }
.seo-block h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.seo-block p { font-size: 16px; color: var(--slate); line-height: 1.75; }
@media (min-width: 1100px) { .split-side .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.industry-img { aspect-ratio: 1 / 1; }
.why-grid .industry-img { aspect-ratio: 4 / 3; }
.why-grid .industry-img img { object-fit: cover; }
