:root{
  --bg:#f7f9fb;
  --card:#ffffff;
  --muted:#7b8794;
  --primary:#0f4c81;
  --accent-green:#2ea44f;
  --accent:#f59e0b;
  --max-width:1100px;
  --radius:12px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#0b1720;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img,video{max-width:100%;height:auto;display:block}
a{color:inherit}

/* Reveal animation for scroll */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease, transform .6s ease}
.reveal.revealed{opacity:1;transform:none}

.container{max-width:var(--max-width);margin:0 auto;padding:1rem}

main{flex:1}

/* Header */
.site-header{background:linear-gradient(90deg, rgba(15,76,129,0.03), rgba(245,158,11,0.02));backdrop-filter:blur(4px);position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(11,23,32,0.04)}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0.75rem 0}
.site-logo{display:flex;align-items:center;gap:0.75rem;text-decoration:none}
.site-logo img{height:48px}
.nav{display:flex;gap:1rem;align-items:center}
.nav a{padding:0.5rem 1rem;border-radius:8px;color:var(--primary);font-weight:600;text-decoration:none;transition:background .18s, color .18s}
.nav a:hover{background:rgba(15,76,129,0.06)}

/* Header variant: split nav with centered logo like reference */
.topbar{display:flex;align-items:center;justify-content:center;gap:2rem;padding:0.75rem 0}
.topbar .nav-left,.topbar .nav-right{display:flex;gap:2rem;align-items:center;flex:1 1 40%}
.topbar .nav-left{justify-content:flex-end;padding-right:3.25rem}
.topbar .nav-right{justify-content:flex-start;padding-left:3.25rem}
.topbar .center-logo{flex:0 0 auto;margin:0 3.5rem}

/* Specific push: move Home further from About, and Contact further from Products */
.topbar .nav-left a:first-child{margin-right:4rem}
.topbar .nav-right a:last-child{margin-left:4rem}
.topbar .nav-left a,.topbar .nav-right a{color:var(--primary);text-decoration:underline; font-weight:600;transition:color .18s ease}
.topbar .nav-left a:hover,.topbar .nav-right a:hover{color:var(--accent-green);text-decoration:none}
.topbar .nav-left a:focus,.topbar .nav-right a:focus{outline:none;box-shadow:0 0 0 3px rgba(46,164,79,0.12);border-radius:6px}


/* Mobile */
.nav-toggle{display:none;background:none;border:0;padding:0.25rem}

/* Hero */
.hero{display:grid;grid-template-columns:1fr;gap:1.25rem;padding:3.5rem 1rem;background:linear-gradient(180deg, rgba(15,76,129,0.03), transparent);}
.hero .lead{max-width:720px}
.hero .lead .hero-logo{display:block;width:100%;height:auto;max-width:100%;margin-bottom:40px}
.hero h1{font-family:'Poppins', Inter, sans-serif;font-size:2.25rem;margin:0 0 .5rem}
.hero p{color:var(--muted);margin:0 0 1rem}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.2rem;border-radius:10px;background:var(--primary);color:#fff;border:0;font-weight:600;cursor:pointer;box-shadow:0 6px 18px rgba(15,76,129,0.12);transition:transform .18s, box-shadow .18s, background .18s, color .18s}
.btn:active{transform:translateY(1px)}

/* primary button hover/focus to green accent */
.btn:hover{background:var(--accent-green);color:#fff;box-shadow:0 10px 28px rgba(46,164,79,0.12)}
.btn:focus{outline:none;box-shadow:0 0 0 4px rgba(46,164,79,0.12)}

/* small, color-only variant for Request a Quote to match footer blue */
.btn.request-blue{background:var(--primary);color:#fff}
.btn.request-blue:hover{background:var(--accent-green);color:#fff;box-shadow:0 10px 28px rgba(46,164,79,0.12)}

/* small button variant used in cards */
.btn.small{padding:.45rem .9rem;border-radius:12px;font-size:.95rem}

/* card layout: stack content and push CTA to bottom */
.card{background:var(--card);padding:1rem;border-radius:var(--radius);box-shadow:0 6px 18px rgba(11,23,32,0.06);display:flex;flex-direction:column}
.card h3{margin-top:0;margin-bottom:.5rem}
.card .cta{margin-top:auto;align-self:center}

/* Hero two-column layout and floating product composition */
.hero .container > .lead{padding-right:1rem}
.hero-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media (min-width:900px){
  .hero-grid{grid-template-columns:1fr 1fr}
}
.product-composition{position:relative;min-height:360px;display:flex;align-items:center;justify-content:center}
.product-composition .floating{position:absolute;transform-origin:center;transition:transform .4s ease, filter .3s}
.product-composition .floating img{width:200px;height:auto;display:block}
.floating.one{top:2%;right:10%;transform:rotate(-12deg)}
.floating.two{top:38%;right:2%;transform:rotate(6deg)}
.floating.three{top:14%;right:-6%;transform:rotate(20deg)}
.product-shadow{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);width:60%;height:46px;background:radial-gradient(ellipse at center, rgba(11,23,32,0.18), transparent);filter:blur(6px)}

/* single-asset hero assembly */
.product-composition{overflow:visible}
.product-composition .hero-assemblage{max-width:none;width:150%;height:auto;display:block;margin-left:auto;transform:translateX(6%)}
@media (max-width:1400px){
  .product-composition .hero-assemblage{width:130%;transform:translateX(4%)}
}
@media (max-width:1200px){
  .product-composition .hero-assemblage{width:110%;transform:translateX(2%)}
}
@media (max-width:900px){
  .product-composition .hero-assemblage{width:100%;transform:none;margin-left:0}
}
@media (max-width:1200px){
  .product-composition .hero-assemblage{max-width:640px}
}
@media (max-width:900px){
  .product-composition .hero-assemblage{max-width:320px;margin-left:0}
}
.product-composition:hover .floating{transform:translateY(-8px)}

/* small variant buttons */
.btn.secondary{background:transparent;color:var(--primary);border:1px solid rgba(15,76,129,0.12);box-shadow:none;transition:background .18s, color .18s, border-color .18s}
.btn.secondary:hover{background:rgba(46,164,79,0.06);color:var(--accent-green);border-color:rgba(46,164,79,0.18)}
.btn.secondary:focus{outline:none;box-shadow:0 0 0 4px rgba(46,164,79,0.08)}

/* entrance animation (staggered) */
@keyframes popIn {
  0% { opacity: 0; transform: translateY(18px) scale(.96); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.product-composition.revealed .floating{opacity:0}
.product-composition.revealed .floating.one{animation: popIn .72s cubic-bezier(.2,.9,.2,1) .08s both}
.product-composition.revealed .floating.two{animation: popIn .72s cubic-bezier(.2,.9,.2,1) .18s both}
.product-composition.revealed .floating.three{animation: popIn .72s cubic-bezier(.2,.9,.2,1) .28s both}

/* responsive scale down for small screens */
@media (max-width:900px){
  .product-composition .floating img{width:140px}
  .product-composition{min-height:260px}
}



/* Cards / features */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{background:var(--card);padding:1rem;border-radius:var(--radius);box-shadow:0 6px 18px rgba(11,23,32,0.06);transition:transform .28s cubic-bezier(.2,.9,.2,1),box-shadow .28s ease;will-change:transform,box-shadow}
.card h3{margin-top:0;margin-bottom:.5rem}
/* ensure featured product thumbnails stay small and centered */
.card img{display:block;margin:.6rem auto 0;max-width:120px;height:auto}

@media (hover: hover) and (pointer: fine){
  .card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(11,23,32,0.12)}
  .card:active{transform:translateY(-4px)}
}

@media (prefers-reduced-motion: reduce){
  .card{transition:none;transform:none}
}

/* Footer */
.site-footer{background:#0b1720;color:#fff;padding:2rem 0;margin-top:3rem}
.site-footer .inner{display:flex;gap:2rem;flex-wrap:wrap;justify-content:space-between}
.site-footer a{color:rgba(255,255,255,0.9);text-decoration:none}
.site-footer small{color:rgba(255,255,255,0.72)}

/* Utilities */
.text-center{text-align:center}
.muted{color:var(--muted)}
.badge{display:inline-block;background:rgba(15,76,129,0.08);color:var(--primary);padding:.25rem .5rem;border-radius:999px;font-weight:600}

/* Form */
input,textarea,select{width:100%;padding:.75rem;border:1px solid rgba(11,23,32,0.08);border-radius:8px;font-size:1rem}
button[type=submit]{background:var(--primary);color:#fff;border:0;padding:.75rem 1rem;border-radius:8px}

/* Responsive */
@media (max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:1.75rem}
}
@media (max-width:640px){
  .container{padding:0.75rem}
  .grid{grid-template-columns:1fr}
  .nav{display:none}
  .nav-toggle{display:block}
}

/* Mobile / narrow viewport improvements (safe, desktop unaffected) */
@media (max-width:900px){
  /* Make hero content stack and keep imagery scaled */
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:1.5rem}
  .hero .lead{padding-right:0}

  /* Ensure product composition images shrink and don't overflow */
  .product-composition .hero-assemblage{width:100%;transform:none;margin-left:0}
  .product-composition .floating img{max-width:120px}

  /* Make primary buttons span and remain tappable */
  .btn{width:100%;box-sizing:border-box}
  .btn.small{width:auto}

  /* Footer strip stacks cleanly on mobile */
  .footer-strip{flex-direction:column;align-items:flex-start;gap:.6rem}
  .footer-strip .center{align-items:flex-start}

  /* Forms: keep inputs full-width and keep submit visible */
  #contactForm{grid-template-columns:1fr;gap:.6rem}
  #contactForm button[type="submit"]{grid-column:auto;width:100%}

  /* Social row buttons: let icons keep fixed size and buttons flex */
  .social-row img{flex:0 0 36px}
  .social-row a[class^="btn-"]{flex:1;min-width:0}

  /* Distributor header: keep inline but allow image to shrink */
  .distributor-header{gap:.6rem}
  .distro-img{width:44px}

  /* About hero minimum width to keep hero layout intact but avoid overflow */
  .about-hero{min-width:280px}
}

@media (max-width:420px){
  /* Tight phone screens: slightly reduce heading sizes and image scale */
  .distributor-title,.left-contact-heading{font-size:1.25rem}
  .distro-img{width:36px}
  .hero h1{font-size:1.3rem}
  .product-composition .floating img{max-width:100px}
}

/* Footer strip matching reference */
.footer-strip{background:#f1f3f6;border-top:1px solid rgba(11,23,32,0.04);padding:.6rem 1rem;display:flex;align-items:center;justify-content:space-between}
.footer-strip .pill{background:transparent !important;color:var(--primary) !important;padding:.5rem 1rem;border-radius:8px;font-weight:600;text-decoration:underline;box-shadow:none;transition:background .18s, color .18s}
.footer-strip .pill:hover{background:rgba(15,76,129,0.06);color:var(--accent-green);text-decoration:none}
.footer-strip .center{display:flex;flex-direction:column;align-items:center}
.footer-strip .center img{height:28px}
.footer-strip .socials img{height:20px;margin-left:.5rem}

/* Contact page — visual-only form styling
   (keeps existing HTML/behaviour; purely cosmetic) */
main.container > div {
  background: #f5f6f8;
  padding: 1.6rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  align-items: stretch;
}

/* Keep left and right columns visually consistent */
main.container > div > .card,
main.container > div > form.card {
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(11,23,32,0.04);
}

/* Decorative headings injected visually (does not change form behaviour) */
main.container > div > .card:first-child::before{content:none}
/* replace pseudo-heading with real DOM element so image can sit inline */
#contactForm::before{content:none}
.distributor-header{display:flex;align-items:center;justify-content:space-between}
.distributor-title{font-weight:700;color:#2f5fb3;margin:0;font-size:1.6rem}

/* Left column contact heading (green) — match size to distributor title */
.left-contact-heading{font-weight:700;color:#2f8a36;margin:0;font-size:1.6rem}

/* Contact info block (left column) styling */
main.container > div > .card:first-child{
  padding: 14px 14px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(11,23,32,0.04);
}
main.container > div > .card:first-child .muted{color:var(--muted);font-size:0.95rem;line-height:1.45}

/* Form layout: two-column grid; inputs styled to match reference */
#contactForm{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:0}
#contactForm{
  padding: 14px 14px;
  margin-top: 0 !important;
  align-content: start;
  height: 100%;
}
#contactForm .contact-form-header{grid-column:1 / -1}
#contactForm .contact-form-grid{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
#contactForm .contact-message{grid-column:1 / -1}
#contactForm .contact-message textarea{margin-top:.5rem}
#contactForm label{display:block;font-size:.88rem;color:var(--muted);font-weight:600}
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea{
  width:100%;
  box-sizing:border-box;
  border-radius:10px;
  border:1px solid rgba(15,76,129,0.24);
  padding:12px 14px;
  background:#fcfdff;
  box-shadow:inset 0 1px 1px rgba(11,23,32,0.03);
  font-size:0.96rem;
  color:#0b1720;
  height:40px
}
#contactForm textarea{min-height:120px;resize:vertical;padding-top:12px}
#contactForm input::placeholder,
#contactForm textarea::placeholder{color:#7b8794;opacity:1}
#contactForm input:focus,
#contactForm textarea:focus{
  outline:none;
  border-color:#2f5fb3;
  box-shadow:0 0 0 3px rgba(47,95,179,0.18);
}

/* Make textarea and submit span both columns */
#contactForm textarea{grid-column:1 / -1}
#contactForm button[type="submit"], #contactForm input[type="submit"]{background:#4f6fa8;color:#fff;border:0;padding:12px 18px;border-radius:12px;font-weight:700;cursor:pointer;letter-spacing:0.4px;display:block;width:100%;height:44px}
#contactForm button[type="submit"]{grid-column:2 / 3;justify-self:stretch}
#contactForm button[type="submit"]:hover{background:#3f5a87}

/* Small form tweaks for mobile */
@media (max-width:900px){
  main.container > div{grid-template-columns:1fr;}
  #contactForm{grid-template-columns:1fr}
  #contactForm .contact-form-grid{grid-template-columns:1fr}
  #contactForm textarea,#contactForm button[type="submit"]{grid-column:auto}
}

/* Social icons in footer / contact area sizing */
.socials .social-link img{height:28px;margin-left:.5rem}

/* Distributor badge used on contact page */
.distro-img{width:64px;height:auto;flex:0 0 auto;margin-left:12px}
@media (max-width:900px){
  .distro-img{width:44px;margin-left:8px}
}

/* Video card styling for How It Works page */
.video-card{background:transparent;padding:0;border-radius:0;box-shadow:none !important}
.video-card h3{margin:0 0 .6rem;padding:0;font-size:1.25rem}
.video-wrap{position:relative;width:100%;height:0;padding-top:56.25%;overflow:hidden;background:#000;border-radius:8px}
.video-wrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.video-card .muted{margin-top:.8rem}

/* Shorts grid: two vertical videos side-by-side */
.shorts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:start}
.short-card{background:transparent;padding:0;border-radius:6px;display:flex;flex-direction:column;align-items:stretch;box-shadow:none}
.short-wrap{width:100%;aspect-ratio:9/16;overflow:hidden;background:transparent;border-radius:6px}
.short-wrap video{width:100%;height:100%;object-fit:cover;display:block}

/* Wide horizontal video */
.wide-wrap{width:100%;aspect-ratio:16/9;overflow:hidden;background:transparent;border-radius:6px}
.wide-wrap video{width:100%;height:100%;object-fit:cover;display:block}

@media (max-width:900px){
  .video-wrap{padding-top:62%}
  .shorts-grid{grid-template-columns:1fr;}
  .short-card{max-width:420px;margin-left:auto;margin-right:auto}
}

/* mini input and social-row for left contact column */
.mini-input{width:100%;box-sizing:border-box;border-radius:8px;border:0;padding:10px 12px;background:#fff;box-shadow:inset 0 1px 2px rgba(11,23,32,0.04);font-size:0.95rem}
.contact-left-grid{display:grid;gap:.6rem}
.contact-group-title{
  display:inline-block;
  font-size:1.06rem;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:none;
  color:#2f8a36;
  margin:.4rem 0 .24rem;
  padding:0 0 .18rem;
  border-bottom:1px solid rgba(47,138,54,0.26);
  line-height:1.2;
}
.contact-left-grid .contact-group-title:first-child{margin-top:0}
.contact-link{display:inline-block;margin-left:.35rem;color:#2f5fb3;text-decoration:underline}
.contact-link:hover{color:var(--accent-green);text-decoration:none}
.social-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.social-row img{height:36px;width:36px;border-radius:50%;flex:0 0 36px}
.social-row .mini-input{height:36px}

/* Button presentation: icon at left, full-width rounded button, premium spacing */
.social-row a[class^="btn-"]{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:0 16px;
  height:44px;
  border-radius:12px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  flex:1;
  box-shadow:0 6px 18px rgba(11,23,32,0.06);
}

.btn-instagram{background:linear-gradient(90deg,#f58529 0%,#dd2a7b 40%,#833ab4 70%)}
.btn-instagram img{height:20px;width:20px;filter:brightness(0) invert(1)}

.btn-facebook{background:linear-gradient(180deg,#4b79f2 0%,#335ed9 100%)}
.btn-facebook img{height:18px;width:18px;filter:brightness(0) invert(1)}

.btn-whatsapp{background:linear-gradient(180deg,#37c861 0%,#20b24a 100%)}
.btn-whatsapp img{height:18px;width:18px;filter:brightness(0) invert(1)}

/* Submit button variant that opens WhatsApp */
.btn-submit-whatsapp{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem .95rem;border-radius:10px;color:#fff;border:0;font-weight:700;cursor:pointer}
.btn-submit-whatsapp img{height:18px;width:18px}

/* Stronger, form-specific rule to override earlier #contactForm button styles so the WhatsApp submit button appears green and text is visible */
#contactForm button.btn-submit-whatsapp{background:linear-gradient(180deg,#25d366 0%,#20b24a 100%) !important;color:#fff !important;box-shadow:0 6px 18px rgba(11,23,32,0.06) !important;display:block;padding:.65rem 1rem;height:44px;border-radius:12px;text-align:center;font-weight:700;font-size:1rem}
#contactForm button.btn-submit-whatsapp:hover{background:var(--accent-green) !important;box-shadow:0 10px 28px rgba(46,164,79,0.12) !important}

/* Make sure the icon (left) aligns vertically with the button text */
.social-row img{margin-left:4px}

@media (max-width:640px){
  .social-row{gap:10px}
  .social-row img{height:32px;width:32px;flex:0 0 32px}
  .social-row a[class^="btn-"]{height:40px;padding:0 12px}
}


/* align the two main column headings to match reference spacing */
main.container > div > .card:first-child::before{margin-bottom:.5rem}
#contactForm::before{margin-bottom:.5rem}


/* small helpers kept from original site where useful */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* About hero: locked background hero using rooftop sunrise image */
.about-hero{position:relative;min-height:420px;display:flex;align-items:center;color:#fff;overflow:hidden}
.about-bg-wrap{position:absolute;inset:0;overflow:hidden;height:140%;z-index:0}
.about-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;will-change:transform,opacity;transition:opacity 1.2s ease, transform .9s ease;opacity:0}
.about-bg.active{opacity:1}

/* Additional narrow-viewport fixes: keep desktop intact, only apply below 900px */
@media (max-width:900px){
  /* Logo: reduce size so it doesn't dominate the header */
  .site-logo img{height:40px;max-width:160px}

  /* Topbar: allow nav sections to wrap so buttons remain visible */
  .topbar{flex-wrap:wrap;padding:0.5rem 0}
  .topbar .nav-left,.topbar .nav-right{flex:1 1 100%;justify-content:center;padding:0;margin:6px 0}
  .topbar .center-logo{order:0;width:100%;display:flex;justify-content:center;margin:6px 0}
  .topbar .nav-left a,.topbar .nav-right a{padding:.4rem .6rem;margin:0 .25rem}

  /* Hero: increase visual presence of the image on narrow screens */
  .hero{padding:2rem 1rem}
  .hero .lead{padding-right:0}
  .product-composition{min-height:340px}
  .product-composition .hero-assemblage{width:110%;max-width:600px;margin:0 auto;transform:none}

  /* Buttons: stack neatly and keep consistent spacing */
  .hero .btn{display:block;width:100%;max-width:none;padding:.75rem 1rem;font-size:1rem}
  .hero .btn + .btn{margin-top:.75rem}

  /* Ensure hero floating parts remain proportional */
  .product-composition .floating img{max-width:140px}

  /* Footer: stack and center on mobile for neater layout */
  .footer-strip{flex-direction:column;align-items:center;gap:.75rem;padding:.9rem}
  .footer-strip .center{align-items:center}
  .footer-strip .pill{padding:.45rem .9rem}

  /* Keep contact form readable: inputs full width, submit visible */
  #contactForm{grid-template-columns:1fr;gap:.6rem}
  #contactForm button[type="submit"]{grid-column:auto;width:100%}
}

/* Very small phones adjustments */
@media (max-width:420px){
  .site-logo img{height:34px}
  .product-composition{min-height:300px}
  .product-composition .floating img{max-width:100px}
  .hero h1{font-size:1.25rem}
  .hero p{font-size:.95rem}
  .footer-strip{padding:.6rem}
}

/* Mobile footer reordering: logo first, then contact and other actions */
@media (max-width:900px){
  .footer-strip{flex-direction:column;align-items:center}
  .footer-strip .center{order:0}
  .footer-strip .center{margin-bottom:8px}
  /* footer-row appears under logo as a single horizontal row */
  .footer-row{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:720px;padding:8px 12px;gap:12px}
  .footer-row .socials{justify-self:center;transform:translateX(-15px)}
  .footer-row .pill{flex:0 0 auto}
}

/* Tighter adjustments for narrow phones to keep nav, logo and hero neat */
@media (max-width:900px){
  /* Topbar: smaller links, centered groups, preserve the centered logo */
  .topbar{padding:0.4rem 0}
  .topbar .nav-left,.topbar .nav-right{flex:1 1 100%;justify-content:center;padding:0;margin:4px 0}
  .topbar .nav-left a,.topbar .nav-right a{font-size:0.95rem;padding:.3rem .5rem;margin:0 .2rem}
  .topbar .center-logo{order:0;width:100%;display:flex;justify-content:center;margin:4px 0}

  /* Reduce header/logo chrome so hero remains prominent */
  .site-logo img{height:34px;max-width:140px}

  /* Hero logo (large hero image/text) scaled but kept prominent */
  .hero .lead .hero-logo{max-width:240px;width:100%;height:auto}
  .hero h1{font-size:1.6rem}
  .hero p{font-size:1rem}

  /* Hero CTAs: tidy spacing and reduce visual weight slightly */
  .hero .btn{font-size:.98rem;padding:.65rem .9rem;border-radius:10px}
  .hero .btn + .btn{margin-top:.6rem}

  /* Keep product composition images constrained */
  .product-composition .hero-assemblage{max-width:520px}
  .product-composition .floating img{max-width:130px}

  /* Footer: keep stacked but centered */
  .footer-strip{flex-direction:column;align-items:center;gap:.6rem;padding:.8rem}
}

/* Styles for the generated mobile menu dialog */
body.mobile-menu-open{overflow:hidden}
.mobile-menu{position:fixed;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:72px 16px 24px;background:rgba(11,23,32,0.35);z-index:200}
.mobile-menu-panel{background:var(--card);width:100%;max-width:360px;border-radius:12px;padding:16px 14px;box-shadow:0 20px 40px rgba(11,23,32,0.18);}
.mobile-menu-close{background:none;border:0;font-size:1.2rem;float:right;cursor:pointer}
.mobile-nav{display:flex;flex-direction:column;gap:8px;padding-top:8px}
.mobile-nav a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--primary);font-weight:700;background:transparent}
.mobile-nav a:hover{background:rgba(15,76,129,0.04)}

@media (max-width:420px){
  .mobile-menu{padding:66px 8px}
  .mobile-menu-panel{padding:12px}
}

/* Mobile nav (burger) styling - only affects <=700px */
@media (max-width:900px){
  .nav-toggle{display:block;background:none;border:0;font-size:1.25rem;padding:.3rem .6rem;margin-left:8px;cursor:pointer}
  /* force-hide full nav on small screens; menu will be provided by the burger */
  .nav-left,.nav-right{display:none !important}
  .topbar{align-items:center;position:relative}
  /* center the logo and pin the toggle to the right */
  .center-logo{margin:0 auto;order:0}
  .nav-toggle{position:absolute;right:12px;top:12px}

  /* Hero CTA fixes: remove left margin when stacked and keep neat spacing */
  .hero .lead > div a{margin-left:0 !important;display:block}
  .hero .btn{max-width:100%;box-sizing:border-box}
}
/* Desktop: ensure footer-row items are spaced neatly (does NOT affect mobile) */
@media (min-width:901px){
  .footer-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:360px}
  .footer-row .socials{margin:0 6px}
}
.about-overlay{position:relative;z-index:5;padding:4rem 1rem;text-align:left;display:flex;align-items:center}
.about-logo{height:56px;display:block;margin-bottom:1rem}
.about-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(11,23,32,0.18), rgba(11,23,32,0.45));z-index:4}

/* Blurred translucent card behind hero text for readability */
.hero-card{background:rgba(255,255,255,0.88);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:1.2rem 1.4rem;border-radius:12px;color:#0b1720;max-width:720px;border:1px solid rgba(11,23,32,0.06);box-shadow:0 8px 24px rgba(11,23,32,0.06)}
.hero-card .about-logo{margin-bottom:.75rem}
.hero-card .about-logo img{display:block}
.hero-card h1{margin:0 0 .5rem;color:var(--primary)}
.hero-card p{margin:0;color:var(--muted)}

/* Hero overlay animation */

.about-overlay{opacity:0;transform:translateY(8px);transition:opacity .7s ease, transform .7s ease}
.about-overlay.revealed{opacity:1;transform:none}
.about-overlay .hero-sub{max-width:720px}

/* when JS sets active class on background images, they'll crossfade based on opacity */

/* subtle parallax scale on scroll (reduced motion respect) */
@media (prefers-reduced-motion: no-preference){
  .about-bg{transition:transform .9s cubic-bezier(.2,.9,.2,1), opacity 1.6s ease}
}

/* Fixed background on desktop for locked effect (falls back gracefully on mobile) */
@media (min-width:900px){
  .about-hero::before{background-attachment:fixed}
}

@media (max-width:900px){
  .about-hero{min-height:320px}
  .about-overlay{padding:2rem .75rem}
  .about-logo{height:48px}
}

/* Mossel Bay gallery styling (keeps visual tidy and responsive) */
.mosselbay-section .mosselbay-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mosselbay-section .mosselbay-gallery figure{margin:0}
.mosselbay-section .mosselbay-gallery img{width:100%;height:160px;object-fit:cover;border-radius:6px}
@media (max-width:900px){
  .mosselbay-section .mosselbay-gallery{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .mosselbay-section .mosselbay-gallery{grid-template-columns:1fr}
}

/* Scoped reveal tweaks for About page */
.about-page .reveal{opacity:0;transform:translateY(12px);transition:opacity .6s ease, transform .6s ease}
.about-page .reveal.revealed{opacity:1;transform:none}

/* small responsiveness for hero CTAs */
@media (max-width:900px){
  .about-overlay{padding:2rem .75rem}
  .about-overlay .btn{padding:.6rem 1rem}
}

/* About page — mobile: stack and center hero CTA buttons neatly */
@media (max-width:900px){
  .about-page .hero-card > div{display:flex;flex-direction:column;align-items:stretch;gap:.6rem}
  .about-page .hero-card > div a.btn{width:100%;max-width:none;display:inline-flex;justify-content:center;margin-left:0 !important}
  .about-page .hero-card > div a.btn.secondary{margin-left:0 !important}
}
