/*
Theme Name: Four Water Solutions
Theme URI: https://4watersolutions.com.mx
Author: Four Water Solutions
Description: Tema personalizado para el sitio de Four Water Solutions — tratamiento de agua para la industria y proyectos particulares. Diseño de una sola paleta clara con acentos teal, tipografía Poppins/IBM Plex.
Version: 1.3.72
Requires at least: 6.0
Requires PHP: 7.4
License: Uso privado — Four Water Solutions
Text Domain: four-water-solutions
*/

:root{
  /* brand palette — sampled from the Four Water Solutions mark:
     teal water, near-black type, pale blue ground. Green and
     brown (the leaves and roots of the mark) are left for the logo
     itself to carry, so the surrounding UI stays disciplined. */
  --ink:#15140f;
  --ink-soft:#4a4a44;
  --ink-dim:#83807a;
  --bg:#e4f0f4;
  --bg-1:#ffffff;
  --bg-2:#eeece5;
  --line:rgba(21,20,15,.14);
  --line-soft:rgba(21,20,15,.08);
  --accent:#157a92;
  --accent-ink:#ffffff;
  --accent-dim:#0d5060;
  --accent-soft:rgba(21,122,146,.11);
  --leaf:#3f8f47;
  --earth:#7a5230;
  --header-h:74px;
  --display:'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --body:'IBM Plex Sans', -apple-system, Helvetica, Arial, sans-serif;
  --mono:'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
[hidden]{display:none!important;}

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.15;
  margin:0;
  text-wrap:balance;
  color:var(--ink);
}

/* ---------- typography scale: titles / subtitles / body (site-wide — hero titles keep their own size) ---------- */
h1,h2{font-size:45px;font-weight:600;}
h3,h4{font-size:17px;}

p{margin:0;color:var(--ink-soft);max-width:62ch;font-size:15px;}
a{color:inherit;}
button{font-family:inherit;}
::selection{background:var(--accent);color:var(--accent-ink);}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

.eyebrow{
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--accent);
  display:flex;
  align-items:center;
  gap:.6em;
  margin:0 0 .9rem;
}
.eyebrow::before{
  content:"";
  width:22px;height:1px;
  background:var(--accent);
  display:inline-block;
  flex:none;
}

.wrap{
  max-width:1360px;
  margin:0 auto;
  padding-inline:clamp(20px,5vw,64px);
}

/* ---------- header / primary nav ---------- */
header.site{
  position:sticky;top:0;left:0;right:0;
  height:var(--header-h);
  display:flex;align-items:center;
  z-index:60;
  background:var(--bg-1);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
header.site .wrap{
  width:100%;
  display:flex;align-items:center;gap:2rem;
}
.brand{
  display:flex;align-items:center;
  text-decoration:none;
  flex:none;
}
.brand-logo{width:180px;height:auto;max-height:calc(var(--header-h) - 24px);display:block;}

.primary-nav{
  margin-left:auto;
  display:flex;align-items:center;gap:clamp(1.2rem,2.4vw,2.2rem);
}
.primary-nav a{
  position:relative;
  font-family:var(--mono);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink-soft);
  padding:.4rem 0;
  transition:color .2s ease;
  white-space:nowrap;
}
.primary-nav a::after{
  content:"";
  position:absolute;left:0;bottom:0;
  width:100%;height:3px;
  background:#2597aa;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}
.primary-nav a:hover{color:var(--accent);}
.primary-nav a:hover::after{transform:scaleX(1);}
.primary-nav a.active{color:var(--ink);}
.primary-nav a.active::after{transform:scaleX(1);}
.primary-nav .btn{
  margin-left:.4rem;padding:.7rem 1.4rem;color:var(--accent-ink);font-weight:400;
  background:#2597aa;
}
.primary-nav .btn::after{content:none;}
.primary-nav .btn:hover{background:var(--accent-dim);color:var(--accent-ink);}

.menu-toggle{
  display:none;
  margin-left:auto;
  background:none;border:1px solid var(--line);
  width:42px;height:42px;
  align-items:center;justify-content:center;
  cursor:pointer;color:var(--ink);
  flex:none;
}
.menu-toggle:hover{border-color:var(--accent);}
.menu-toggle svg{width:18px;height:18px;}
.menu-toggle .x{display:none;}
body.menu-open .menu-toggle .bars{display:none;}
body.menu-open .menu-toggle .x{display:block;}

@media (max-width:900px){
  .primary-nav{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--bg-1);
    border-bottom:1px solid var(--line-soft);
    padding:.5rem clamp(20px,5vw,64px) 1.2rem;
  }
  body.menu-open .primary-nav{display:flex;}
  .primary-nav a{
    padding:.9rem 0;border-bottom:1px solid var(--line-soft);
    font-size:.85rem;
  }
  .primary-nav a::after{display:none;}
  .primary-nav .btn{
    margin:1rem 0 0;align-self:flex-start;border-bottom:1px solid var(--accent);
    padding:.7rem 1.4rem;color:var(--accent-ink);font-weight:400;
  }
  .menu-toggle{display:flex;}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6em;
  font-family:var(--mono);font-size:.82rem;letter-spacing:.06em;
  text-transform:uppercase;text-decoration:none;
  padding:1.05rem 2.2rem;border:1px solid var(--accent);
  cursor:pointer;transition:background .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary{background:var(--accent);color:var(--accent-ink);border:none;}
.btn-primary:hover{background:var(--accent-dim);color:var(--accent-ink);transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent);}
.cta-row{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem;}

/* ---------- hero (home) ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  overflow:hidden;
}
.hero video{
  position:absolute;inset:0;z-index:0;
  width:100%;height:100%;object-fit:cover;
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(9,22,27,.6), rgba(9,22,27,.72));
}
.hero .wrap{
  position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:center;
  max-width:1700px;
}
.hero-icon{width:70px;height:auto;display:block;margin-bottom:1.4rem;}
.hero .eyebrow{color:#fff;justify-content:center;max-width:none;white-space:nowrap;}
.hero .eyebrow::before{background:#fff;}
.hero h1{
  color:#fff;
  font-size:clamp(2.2rem,5vw,70px);
  line-height:1.1;
  max-width:100%;
}
.hero h1 em{font-style:normal;color:var(--accent);}
.hero .lede{margin-top:1.4rem;max-width:680px;}
.hero .lede p{color:rgba(255,255,255,.88);font-size:20px;}
.hero .cta-row{justify-content:center;}
@media (prefers-reduced-motion: reduce){ .hero video{ display:none; } .hero{ background:linear-gradient(160deg, var(--accent-dim), var(--ink)); } }
@media (max-width:640px){ .hero .eyebrow{white-space:normal;} }

/* ---------- page banner (subpages) ---------- */
.page-banner{
  position:relative;
  overflow:hidden;
  min-height:414px;
  display:flex;align-items:center;
  padding-block:clamp(48px,7vw,76px) clamp(38px,5vw,54px);
  background:linear-gradient(135deg, #3aa1c1, #0e1f2d);
}
.page-banner-leaf{
  position:absolute;top:0;right:0;bottom:0;
  height:100%;width:auto;
  z-index:0;pointer-events:none;
  display:block;
}
.page-banner .wrap{width:100%;position:relative;z-index:1;}
.page-banner .eyebrow{color:#fff;}
.page-banner .eyebrow::before{background:#fff;}
.page-banner h1{color:#fff;max-width:22ch;}
.page-banner .lede{margin-top:1.2rem;max-width:68ch;}
.page-banner--wide h1{max-width:900px;}
.page-banner--wide .lede{max-width:760px;}
.page-banner .lede p{color:rgba(255,255,255,.88);font-size:18px;}

/* ---------- parallax quote frame ---------- */
.frame-section{padding-block:70px 0;background:var(--bg-1);}
.frame{
  position:relative;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  background-color:var(--ink);
}
.frame-bg{
  position:absolute;left:0;right:0;top:-15%;height:130%;
  background-size:cover;background-position:center;
  will-change:transform;
}
.frame-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(14,31,45,.9) 70%, rgba(14,31,45,0) 100%);
}
.frame-content{
  position:relative;z-index:1;
  height:100%;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;
  padding:2.6rem;
}
.frame-icon{width:70px;height:auto;display:block;margin-bottom:1.2rem;}
.frame-content p{
  color:#fff;font-size:18px;line-height:1.5;max-width:640px;margin:0;
}
@media (max-width:640px){
  .frame{height:360px;}
  .frame-content{padding:1.8rem;}
}


/* ---------- generic section rhythm ---------- */
/* each block carries 30px of its own top+bottom padding, so two stacked
   blocks add up to a consistent 60px gap while each keeps its own breathing
   room (no text sitting flush against a color seam) */
.section{padding-block:70px;border-bottom:1px solid var(--line-soft);}
.section:last-of-type{border-bottom:none;}
.section h2{max-width:26ch;}
.section-head{margin-bottom:clamp(1.8rem,3.4vw,2.6rem);}
.section-head p.lede{margin-top:.8rem;max-width:60ch;}
.section--white{background:var(--bg-1);}

/* centered + widened section variant (home: intro / closing) */
.centered{text-align:center;margin-inline:auto;}
.section-head.centered{max-width:80%!important;margin-inline:auto;}
.section-head.centered h2{max-width:none!important;}
.section-head.centered .eyebrow{max-width:none!important;justify-content:center;}
.lede.centered{max-width:80%!important;align-items:center;}
.lede.centered p{max-width:none!important;}
.cta-row.centered{justify-content:center;}
.closing.centered .inner p{max-width:none!important;}
.closing.centered .eyebrow{max-width:none!important;}

/* subpage content wrapper — deliberately unboxed (no border/background/padding) */
.panel{}

.closing{
  padding-block:70px;
  background:var(--bg-2);
  border-bottom:1px solid var(--line-soft);
}
.closing .inner{display:flex;flex-direction:column;gap:1.1rem;max-width:720px;}
.closing .inner .closing-cta{margin-top:.9rem;}


.closing--white{background:var(--bg-1);}
.closing--dark{background:#233442;}
.closing--dark .eyebrow{color:#fff;}
.closing--dark .eyebrow::before{background:#fff;}
.closing--dark h2{color:#fff;}
.closing--dark p{color:#fff;}
.closing.centered .inner{max-width:80%;margin-inline:auto;align-items:center;text-align:center;}
.closing.centered .eyebrow{justify-content:center;}

/* utility: force a line break on desktop only, let it wrap naturally on mobile */
.br-desktop{display:none;}
@media (min-width:901px){ .br-desktop{display:inline;} }

/* ---------- priorities (home) ---------- */
.priorities{
  margin-top:0;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:1.2rem;
}
.priorities .p-item{
  position:relative;
  height:470px;
  border-radius:16px;
  overflow:hidden;
  background-color:var(--ink);
  background-size:cover;background-position:center;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:1.7rem 1.5rem;
}
.priorities .p-item::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(180deg, rgba(10,20,25,0) 38%, rgba(10,20,25,.85) 100%);
}
.priorities .p-item::after{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(135deg, #3aa1c1, #0e1f2d);
  opacity:0;
  transition:opacity .35s ease;
}
.priorities .p-item:hover::after{opacity:.55;}
.priorities .p-tag{
  position:relative;z-index:1;
  font-family:var(--mono);font-size:13px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:#fff;
  margin:0 0 .7rem;
}
.priorities .p-desc{
  position:relative;z-index:1;
  font-size:15px;line-height:1.35;color:#fff;margin:0;max-width:none;
}
@media (max-width:860px){
  .priorities{grid-template-columns:1fr 1fr;}
}
@media (max-width:520px){
  .priorities{grid-template-columns:1fr;}
  .priorities .p-item{height:340px;}
}

/* wide 2-up variant (nosotros — Propósito / Visión) */
.priorities--pair{grid-template-columns:repeat(2,1fr);gap:1.4rem;}
.priorities--pair .p-item{height:auto;min-height:460px;padding:2.2rem 2.4rem;}
.priorities--pair .p-title{position:relative;z-index:1;color:#fff;font-family:var(--display);font-size:1.4rem;font-weight:700;margin:0 0 .6rem;}
.priorities--pair .p-desc{max-width:56ch;}
@media (max-width:700px){ .priorities--pair{grid-template-columns:1fr;} }
@media (max-width:520px){ .priorities--pair .p-item{min-height:380px;padding:1.7rem 1.8rem;} }

/* services slider (home) */
.services-viewport{overflow:hidden;}
.services-track{
  display:flex;gap:1.4rem;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding-bottom:.4rem;
  -ms-overflow-style:none;scrollbar-width:none;
}
.services-track::-webkit-scrollbar{display:none;}
.services-track .s-item{
  scroll-snap-align:start;flex:0 0 clamp(320px,36vw,440px);
  background:var(--bg-1);border:1px solid var(--line-soft);border-radius:20px;
  padding:1.9rem 1.6rem;min-height:210px;
  display:flex;flex-direction:column;gap:.7rem;
}
.s-item .s-icon{
  width:46px;height:46px;border-radius:50%;flex:none;
  background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:.3rem;
}
.s-item .s-icon svg{width:21px;height:21px;}
.s-item .s-icon.s-icon-num{font-family:var(--mono);font-weight:600;font-size:1rem;}
.services-track .s-item .tag{font-family:var(--mono);font-size:.72rem;color:var(--accent);letter-spacing:.08em;text-transform:uppercase;}
.services-track .s-item h4{font-weight:600;font-family:var(--body);}
.services-track .s-item p{flex:1;}
@media (max-width:600px){ .services-track .s-item{flex-basis:82vw;} }

/* slider cards with an image (productos) */
.services-track .s-item.s-item--media{padding:0;overflow:hidden;gap:0;}
.s-item--media .s-media{width:100%;height:150px;flex:none;background-size:cover;background-position:center;}
.s-item--media .s-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1;}
.s-item--media .s-icon{margin-bottom:0;}

/* logos carousel (home — "Confían en nosotros"): continuous CSS marquee,
   never pauses/steps — the track holds the logo set twice back-to-back and
   scrolls itself exactly one set-width, looping seamlessly. */
.logos-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);mask-image:linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);}
.logos-marquee-track{
  display:flex;width:max-content;
  animation:logos-marquee-scroll 26s linear infinite;
}
.logos-marquee:hover .logos-marquee-track{animation-play-state:paused;}
@keyframes logos-marquee-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
.logo-slide{
  flex:none;width:230px;height:140px;
  display:flex;align-items:center;justify-content:center;
  padding:1.2rem 1.8rem;
}
.logo-slide img{max-width:100%;max-height:84px;width:auto;height:auto;}
@media (prefers-reduced-motion: reduce){ .logos-marquee-track{animation:none;} }
@media (max-width:600px){ .logo-slide{width:170px;height:104px;padding:1rem 1.3rem;} .logo-slide img{max-height:60px;} }

/* ---------- quienes somos ---------- */
.mover-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);}
.mover-grid .m-item{background:var(--bg-1);padding:clamp(1.5rem,3vw,2rem);}
.mover-grid .m-item h4{color:var(--ink-soft);font-weight:500;font-family:var(--body);margin-bottom:.5rem;}

@media (max-width:700px){ .mover-grid{grid-template-columns:1fr;} }

/* "Nuestra forma de responder" now reuses .services-viewport / .services-track / .s-item (see above) */

/* ---------- category group headers (tecnologias / productos) ---------- */
.tech-group{margin-top:clamp(2.4rem,4.8vw,3.4rem);}
.tech-group:first-of-type{margin-top:0;}
.tech-group-head{
  display:flex;align-items:center;gap:.9rem;
  border-bottom:1px solid var(--line);
  padding-bottom:1rem;margin-bottom:1.6rem;
}
.tech-group-head .g-num{
  width:36px;height:36px;border-radius:50%;flex:none;
  background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-weight:600;font-size:.85rem;
}
.tech-group-head h3{font-family:var(--body);font-weight:600;color:var(--ink);letter-spacing:0;}
.tech-group-head--plain h3{font-size:22px;}
.tech-group-head .slider-nav{margin-left:auto;display:flex;gap:.6rem;flex:none;}
.slider-arrow{
  width:38px;height:38px;border-radius:50%;flex:none;
  border:1px solid var(--line);background:var(--bg-1);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;padding:0;transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.slider-arrow svg{width:16px;height:16px;}
.slider-arrow:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);}
.slider-arrow:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

/* shared item-card grid: technologies, products, and anything else that
   was reading like a glossary — a grid of bordered, rounded cards with a
   number badge instead of a dense definition list */
.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.2rem;
}
.info-card{
  background:var(--bg-1);
  border:1px solid var(--line-soft);
  border-radius:20px;
  padding:1.7rem 1.5rem;
  display:flex;flex-direction:column;gap:.8rem;
}
.info-card .info-badge{
  width:42px;height:42px;border-radius:50%;flex:none;
  background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-weight:600;font-size:.85rem;
}
.info-card .info-badge svg{width:20px;height:20px;}
.info-card h4{font-weight:600;font-family:var(--body);margin:0;}
.info-card p{margin:0;font-size:14px;line-height:1.5;max-width:none;}

/* ---------- clientes ---------- */
.logo-strip{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);
}
.logo-strip .l-slot{
  background:var(--bg-1);min-height:92px;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-dim);
  text-align:center;padding:.6rem;
}
.industries{margin-top:2.6rem;display:flex;flex-wrap:wrap;gap:.6rem;}
.industries span{
  font-family:var(--mono);font-size:.76rem;color:var(--ink-soft);
  border:1px solid var(--line);padding:.5rem .9rem;background:var(--bg-1);
}
.brands-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);
}
.brands-grid .brand-slot{
  background:var(--bg-1);min-height:190px;display:flex;align-items:center;justify-content:center;
  padding:1.6rem;
}
.brands-grid .brand-slot img{max-width:100%;max-height:150px;width:auto;height:auto;}
@media (max-width:640px){ .brands-grid{grid-template-columns:repeat(2,1fr);} .brands-grid .brand-slot{min-height:150px;} .brands-grid .brand-slot img{max-height:84px;} }

/* ---------- contacto ---------- */
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,4rem);align-items:start;}
.contact-info{display:flex;flex-direction:column;gap:1.8rem;}
.contact-info .c-block a, .contact-info .c-block div.val{
  font-family:var(--display);font-size:1.05rem;
  color:var(--ink);text-decoration:none;display:block;letter-spacing:0;font-weight:600;
}
.contact-info .c-block a:hover{color:var(--accent);}
.contact-info .c-block small{display:block;color:var(--ink-dim);font-size:.85rem;margin-top:.3rem;}

form.consult{border:1px solid var(--line-soft);padding:clamp(1.5rem,3vw,2.4rem);background:var(--bg-1);}
.f-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.f-field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.2rem;}
.f-field.full{grid-column:1/-1;}
.f-field label{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-dim);}
.f-field label .opt{color:var(--ink-dim);text-transform:none;letter-spacing:0;font-family:var(--body);}
.f-field input, .f-field select, .f-field textarea{
  background:var(--bg);border:1px solid var(--line);color:var(--ink);
  font-family:var(--body);font-size:.95rem;padding:.85rem .9rem;
  width:100%;
}
.f-field textarea{resize:vertical;min-height:100px;}
.f-field input:focus,.f-field select:focus,.f-field textarea:focus{border-color:var(--accent);}
.f-help{font-size:.78rem;color:var(--ink-dim);}
.f-status{margin-top:1rem;font-family:var(--mono);font-size:.8rem;color:var(--accent);min-height:1em;}
@media (max-width:640px){ .f-row{grid-template-columns:1fr;} .contact-grid{grid-template-columns:1fr;} }

/* ---------- footer ---------- */
footer.site{
  background:var(--accent);
  padding-block:clamp(2.4rem,5vw,3.6rem) 1.6rem;
}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:clamp(2rem,5vw,3.5rem);}
.footer-brand .brand{margin-bottom:1rem;}
.footer-brand p{max-width:34ch;color:rgba(255,255,255,.78);}
.footer-col h5{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.65);font-weight:500;margin:0 0 1rem;
}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem;}
.footer-col a{font-size:.9rem;text-decoration:none;color:rgba(255,255,255,.85);}
.footer-col a:hover{color:#fff;text-decoration:underline;}
.footer-col address{font-style:normal;font-size:.9rem;color:rgba(255,255,255,.85);}
.footer-bottom{
  margin-top:clamp(2rem,4vw,3rem);padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.22);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:.8rem;
  font-family:var(--mono);font-size:.72rem;color:rgba(255,255,255,.7);letter-spacing:.04em;
}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr;} }

/* ---------- scroll reveal (fade in up) ---------- */
.reveal{
  opacity:0;
  transform:translateY(36px);
  transition:opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1);
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* hero / page-banner / closing CTAs: the block itself stays put — only its text pieces move in, one after another */
.hero .wrap > *,
.page-banner .wrap > *,
.closing .inner > *{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s cubic-bezier(.16,.8,.3,1), transform .65s cubic-bezier(.16,.8,.3,1);
  transition-delay:calc(110ms * min(var(--stagger-i, 0), 5));
}
.hero.is-visible .wrap > *,
.page-banner.is-visible .wrap > *,
.closing.is-visible .inner > *{
  opacity:1;
  transform:translateY(0);
}

/* logo / card / column grids: items stagger in together instead of popping in at once */
.brands-grid > *,
.priorities > *,
.footer-grid > *{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s cubic-bezier(.16,.8,.3,1), transform .65s cubic-bezier(.16,.8,.3,1);
  transition-delay:calc(90ms * min(var(--stagger-i, 0), 6));
}
.brands-grid.is-visible > *,
.priorities.is-visible > *,
.footer-grid.is-visible > *{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .hero .wrap > *, .page-banner .wrap > *, .closing .inner > *,
  .brands-grid > *, .priorities > *, .footer-grid > *{
    opacity:1; transform:none; transition:none;
  }
}
