:root {
  --navy: #071936;
  --navy-2: #10284a;
  --gold: #b98a2e;
  --gold-light: #e3c36f;
  --steel: #dce3ea;
  --mist: #f4f7f9;
  --ink: #152032;
  --muted: #627083;
  --line: #d8e0e7;
  --white: #ffffff;
  --teal: #247578;
  --danger: #c45d42;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(7, 25, 54, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; padding-bottom: 0; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section.compact { padding: 48px 0; }
.section.steel { background: var(--mist); }
.section.navy { background: var(--navy); color: var(--white); }
.section.gold-band { background: #f5ecd8; }

.topbar { background: var(--navy); color: #dfe8f3; font-size: 0.86rem; }
.topbar .container { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.topbar a { color: var(--gold-light); font-weight: 800; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; width: 148px; height: 98px; overflow: hidden; display: block; flex: 0 0 auto; background: var(--white); }
.brand img { position: absolute; width: 195px; max-width: none; height: 195px; object-fit: cover; transform: translate(-24px,-44px); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 13px; border-radius: 999px; font-size: 0.92rem; font-weight: 750; color: #34445a; }
.main-nav a:hover, .main-nav a.active { background: #edf2f7; color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); }
.ui-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--navy); color: var(--white); font-weight: 850; text-align: center; box-shadow: 0 12px 24px rgba(7,25,54,.2); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 17px 32px rgba(7,25,54,.26); }
.btn.gold { background: var(--gold); color: #111827; box-shadow: 0 12px 24px rgba(185,138,46,.22); }
.btn.light { background: var(--white); color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.btn.teal { background: var(--teal); }
.btn.full { width: 100%; }

.hero { position: relative; min-height: clamp(520px, calc(100svh - 160px), 690px); display: grid; align-items: center; overflow: hidden; color: var(--white); background-image: linear-gradient(90deg, rgba(4,16,38,.95) 0%, rgba(4,16,38,.82) 44%, rgba(4,16,38,.28) 78%, rgba(4,16,38,.14) 100%), url("../images/ss-industrial-pipes.jpeg"); background-size: cover; background-position: center 42%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg, var(--gold), var(--teal), var(--steel)); }
.hero-inner { position: relative; z-index: 2; padding: 52px 0 58px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: var(--gold-light); background: rgba(7,25,54,.42); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }
.eyebrow.dark { color: var(--navy); background: #f5ecd8; border-color: #ead6a9; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: 3.5rem; line-height: 1.03; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: 2.18rem; line-height: 1.13; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 1.12rem; line-height: 1.28; letter-spacing: 0; }
.lead { color: #d8e0ea; font-size: 1.1rem; line-height: 1.67; max-width: 650px; }
.text-muted { color: var(--muted); line-height: 1.65; }
.hero-actions, .section-actions, .product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.hero-actions { margin: 26px 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; color: #e4eaf1; font-size: .9rem; font-weight: 700; }
.hero-trust span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 999px; background: var(--gold); }

.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 27px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy); font-size: 1.65rem; }
.stat span { color: var(--muted); font-size: .88rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.section-head > div { max-width: 720px; }
.section-head p { max-width: 610px; color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.9fr); gap: 42px; align-items: center; }
.about-visual { position: relative; min-height: 480px; }
.about-visual .main-photo { width: 86%; height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-visual .logo-photo { position: absolute; right: 0; bottom: 0; width: 190px; height: 190px; object-fit: cover; border: 8px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { display: grid; gap: 10px; list-style: none; margin: 22px 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; color: #38485e; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 0 4px #f5ecd8; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: start; }
.product-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; box-shadow: 0 10px 28px rgba(7,25,54,.08); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #edf1f4; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-card[data-product="aluminium-vapour-barrier"] .product-media img { object-position: 52% 64%; transform: scale(1.17); }
.product-card[data-product="ss-industrial-pipes"] .product-media img { object-position: 45% 40%; transform: scale(1.08); }
.product-card[data-product="ss-plumbing-fittings"] .product-media img { object-position: 52% 48%; transform: scale(1.08); }
.product-card[data-product="ss-plumbing-pipe"] .product-media img { object-position: 50% 48%; transform: scale(1.06); }
.product-card[data-product="stainless-steel-industrial-pipes"] .product-media img { object-position: center; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .74rem; font-weight: 850; }
.product-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 17px; }
.product-kicker { color: var(--gold); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.product-desc { color: var(--muted); line-height: 1.5; margin-bottom: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.product-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); color: #43536a; font-size: .75rem; font-weight: 750; }
.product-actions { padding-top: 3px; }
.product-actions .btn { flex: 1 1 130px; min-height: 41px; padding: 10px 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-btn { min-height: 42px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 800; }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.testimonial { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 24px rgba(7,25,54,.06); }
.testimonial .quote { color: #34445a; line-height: 1.62; }
.stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0; margin-bottom: 10px; }
.testimonial footer { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.testimonial .avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-weight: 900; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.faq-grid details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 18px; }
.faq-grid summary { cursor: pointer; color: var(--navy); font-weight: 800; padding: 18px 28px 18px 0; position: relative; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; position: absolute; right: 0; top: 15px; color: var(--gold); font-size: 1.35rem; }
.faq-grid details[open] summary::after { content: "-"; }
.faq-grid details p { color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.testimonial strong, .testimonial span { display: block; }
.testimonial span { color: var(--muted); font-size: .82rem; }

.cta-band { padding: 48px 0; background: var(--navy); color: var(--white); border-top: 6px solid var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner p { margin-bottom: 0; color: #cbd6e4; }

.page-hero { padding: 54px 0 40px; background: var(--navy); color: var(--white); border-bottom: 7px solid var(--gold); }
.page-hero h1 { margin-bottom: 12px; font-size: 2.8rem; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; color: #b7c4d4; font-size: .86rem; }
.breadcrumbs a { color: var(--gold-light); font-weight: 800; }

.detail-grid { display: grid; grid-template-columns: minmax(340px,.9fr) minmax(0,1fr); gap: 38px; align-items: start; }
.detail-main-image { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy .pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #f5ecd8; color: #76520a; font-size: .76rem; font-weight: 900; }
.detail-copy p { color: var(--muted); line-height: 1.65; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.detail-list { margin: 0; padding-left: 20px; color: #415168; line-height: 1.65; }
.detail-panel { padding: 18px; border-left: 4px solid var(--gold); background: var(--mist); }
.detail-panel h3 { color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 12px; }
.gallery-grid figure { margin: 0; min-height: 260px; overflow: hidden; border-radius: var(--radius); background: var(--steel); }
.gallery-grid img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.gallery-credit { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.gallery-credit a { color: var(--teal); text-decoration: underline; }

.form-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.78fr); gap: 28px; align-items: start; }
.form-card, .contact-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(7,25,54,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 7px; color: #34445a; font-weight: 800; }
.field.full { grid-column: 1 / -1; }
input,select,textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px; background: #fafcfd; color: var(--ink); outline: none; }
textarea { min-height: 120px; resize: vertical; }
input:focus,select:focus,textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,46,.14); }
.contact-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 18px 0; }
.contact-list li { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.contact-list strong { display: block; color: var(--navy); margin-bottom: 4px; }
.notice { padding: 13px 14px; border-left: 4px solid var(--teal); background: #e9f5f5; color: #315b5d; line-height: 1.5; }

.site-footer { padding: 44px 0 28px; background: #050e20; color: #c3cede; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,.7fr); gap: 28px; }
.footer-logo-crop { position: relative; width: 185px; height: 126px; overflow: hidden; background: var(--white); border-radius: var(--radius); margin-bottom: 14px; }
.footer-brand { position: absolute; width: 245px; max-width: none; height: 245px; object-fit: cover; transform: translate(-29px,-55px); }
.site-footer h3 { color: var(--white); }
.site-footer p, .site-footer a { color: #aebbcf; line-height: 1.58; }
.footer-links { display: grid; gap: 8px; }
.footer-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.11); color: #8493aa; font-size: .82rem; }

.whatsapp-float { position: fixed; right: 18px; bottom: 24px; z-index: 60; min-height: 50px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1daf5f; color: var(--white); font-weight: 900; box-shadow: 0 14px 32px rgba(29,175,95,.3); }
.whatsapp-icon { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; grid-template-columns: repeat(4,1fr); gap: 4px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.bottom-nav a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: var(--radius); color: var(--muted); font-size: .69rem; font-weight: 800; }
.bottom-nav a .ui-icon { width: 21px; height: 21px; }
.bottom-nav a.active { background: #edf2f7; color: var(--navy); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.empty-state { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--mist); color: var(--muted); }

@media (max-width: 980px) {
  h1 { font-size: 2.72rem; }
  h2 { font-size: 1.84rem; }
  .main-nav { position: fixed; inset: 142px 0 auto; display: none; padding: 16px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  body.menu-open .main-nav { display: grid; }
  .main-nav a { border-radius: var(--radius); padding: 13px; }
  .menu-button { display: inline-grid; place-items: center; }
  .header-actions .btn { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .detail-grid, .form-layout { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-shell { padding-bottom: 70px; }
  .container { width: min(100% - 22px, 1180px); }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar span:last-child { display: none; }
  .header-inner { min-height: 88px; }
  .brand { width: 118px; height: 82px; }
  .brand img { width: 160px; height: 160px; transform: translate(-20px,-36px); }
  .main-nav { inset: 126px 0 auto; }
  .hero { min-height: calc(100svh - 158px); background-position: 60% center; }
  .hero-inner { padding: 40px 0 48px; }
  h1 { font-size: 2.15rem; line-height: 1.08; }
  .page-hero h1 { font-size: 2.12rem; }
  .lead { font-size: 1rem; }
  .hero-actions .btn, .section-actions .btn, .product-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .stat strong { font-size: 1.32rem; }
  .section { padding: 52px 0; }
  .section-head { display: block; }
  .about-visual { min-height: 390px; }
  .about-visual .main-photo { width: 100%; height: 350px; }
  .about-visual .logo-photo { width: 132px; height: 132px; }
  .detail-columns, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child { grid-column: auto; }
  .cta-inner { display: block; }
  .cta-inner .section-actions { margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 12px; bottom: 82px; width: 52px; min-height: 52px; height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .bottom-nav { display: grid; }
}

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