/*
Theme Name: CAL E-WASTE Approved Visual Lock
Theme URI: https://calewasterecycle.com/
Author: CAL E-WASTE RECYCLE LLC
Description: Final locked CAL E-WASTE theme recreated from the approved clean green homepage rendering.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cal-ewaste
*/

:root{
 --green:#0b9736;
 --green2:#16b94c;
 --green3:#22d05c;
 --deep:#003d34;
 --deep2:#002e29;
 --deep3:#041f1d;
 --ink:#121b18;
 --muted:#66716d;
 --line:#dce6e1;
 --paper:#fff;
 --soft:#f7faf8;
 --radius:8px;
 --wrap:1180px;
 --shadow:0 10px 28px rgba(0,40,34,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--deep)}
body{
 margin:0;background:var(--deep);color:var(--ink);
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{outline-offset:2px}
:focus-visible{outline:2px solid #31cc65;outline-offset:2px}
.wrap{width:min(var(--wrap),calc(100% - 40px));margin-inline:auto}

/* top utility */
.topbar{background:#063c33;color:#fff;font-size:12px}
.topbar .wrap{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar-links{display:flex;gap:24px;align-items:center;white-space:nowrap}
.topbar a:hover{color:#8bf2a8}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.admin-bar .site-header{top:32px}
.header-row{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;gap:10px}
.logo svg{width:36px;height:36px;color:var(--green)}
.logo strong{display:block;font-size:22px;line-height:1;font-weight:850;letter-spacing:.01em}
.logo span{display:block;margin-top:5px;color:var(--green);font-size:13px;font-weight:800;letter-spacing:.22em}
.nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:650}
.nav a:hover{color:var(--green)}
.header-cta,.btn{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:42px;padding:0 18px;border-radius:5px;border:1px solid var(--green);
 font-weight:750;cursor:pointer;transition:.18s ease;
}
.header-cta,.btn-solid{background:var(--green);color:#fff}
.header-cta:hover,.btn-solid:hover{background:#087d2d;border-color:#087d2d}
.btn-outline{background:transparent;color:#fff;border-color:#24c85a}
.btn-outline:hover{background:rgba(36,200,90,.1)}
.btn-green-outline{background:#fff;color:var(--green);border-color:var(--green)}
.btn-green-outline:hover{background:#eff9f2}
.menu-toggle{display:none;border:0;background:none;font-size:25px}

/* hero */
.hero{background:linear-gradient(90deg,#032b28 0%,#032b28 38%,#013c33 100%);color:#fff;overflow:hidden}
.hero-inner{position:relative;min-height:420px;display:grid;grid-template-columns:40% 60%;align-items:center}
.hero-copy{z-index:2;padding:40px 0 34px}
.eyebrow{font-size:12px;font-weight:850;letter-spacing:.07em;color:#36df6b;text-transform:uppercase}
.hero h1{margin:12px 0 16px;font-size:46px;line-height:1.08;letter-spacing:-.025em;max-width:470px}
.hero h1 .accent{color:#27d95b}
.hero p{max-width:475px;margin:0;color:#e8f0ed;line-height:1.55;font-size:16px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.hero-visual{
 position:absolute;left:38%;right:7.5%;top:28px;bottom:16px;
 display:flex;align-items:center;justify-content:center;
}
.hero-visual img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.hero-trust{position:absolute;right:0;top:43px;width:165px;display:grid;gap:9px}
.trust-chip{
 min-height:58px;padding:10px 12px;border:1px solid rgba(255,255,255,.22);
 background:rgba(2,44,39,.77);border-radius:7px;display:flex;align-items:center;gap:9px;
 font-size:12px;font-weight:750;color:#fff
}
.trust-chip svg{width:26px;height:26px;color:#22df59;flex:0 0 26px}

/* feature strip */
.feature-strip{background:#032b28;color:#fff;padding:0 0 14px}
.feature-grid{border:1px solid rgba(255,255,255,.28);border-radius:7px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.feature{min-height:88px;padding:18px 26px;display:flex;gap:16px;align-items:center;border-right:1px solid rgba(255,255,255,.22)}
.feature:last-child{border-right:0}
.feature svg{width:34px;height:34px;color:#28db60;flex:0 0 34px}
.feature strong{display:block;font-size:14px;margin-bottom:4px}
.feature span{display:block;color:#d9e5e0;font-size:12px;line-height:1.42}

/* white content section */
.home-white{background:#fff;padding:16px 0 0}
.home-columns{display:grid;grid-template-columns:.92fr 1.1fr .91fr;gap:12px;align-items:start}
.panel{
 background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px;
 box-shadow:var(--shadow)
}
.panel h2{font-size:21px;margin:0 0 14px}
.searchbox{display:flex;border:1px solid #d6e0db;border-radius:4px;overflow:hidden;margin-bottom:18px}
.searchbox input{flex:1;border:0;padding:10px 12px;color:#222;min-width:0}
.searchbox button{width:42px;border:0;background:var(--green);color:#fff;font-size:18px}
.accept-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:21px 9px}
.accept{text-align:center;font-size:10px;line-height:1.2}
.accept svg{width:28px;height:28px;margin:0 auto 7px;color:var(--green)}
.accept strong{font-size:10px;display:block}
.accept small{font-size:9px;color:#68736f;display:block;margin-top:3px;line-height:1.25}
.more-link{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:12px;font-weight:750;margin-top:27px}

/* help */
.help-stack{display:grid;gap:10px}
.help-card{border:1px solid #dbe5e0;border-radius:6px;padding:16px;display:grid;grid-template-columns:55px 1fr;gap:14px}
.help-card > svg{width:48px;height:48px;color:var(--green)}
.help-card h3{font-size:16px;margin:0 0 5px}
.help-card p{font-size:12px;color:#5d6964;line-height:1.45;margin:0 0 7px}
.checklist{list-style:none;padding:0;margin:0;color:#3d4d46;font-size:11px}
.checklist li{margin:3px 0}
.checklist li:before{content:"✓";color:var(--green);font-weight:900;margin-right:6px}

/* why */
.why-panel{padding:0;overflow:hidden}
.why-panel h2{padding:18px 18px 0}
.truck-photo{height:205px;width:100%;object-fit:cover;border-bottom:1px solid var(--line)}
.why-list{padding:16px 18px 17px;display:grid;gap:15px}
.why-row{display:grid;grid-template-columns:29px 1fr;gap:10px}
.why-row svg{width:26px;height:26px;color:var(--green)}
.why-row strong{display:block;font-size:12px}
.why-row span{font-size:11px;color:#68736f;line-height:1.35}

/* certifications */
.cert-grid{margin-top:10px;border:1px solid var(--line);border-radius:7px;background:#fff;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.cert{min-height:70px;padding:15px 22px;display:flex;align-items:center;gap:12px;border-right:1px solid var(--line)}
.cert:last-child{border-right:0}
.cert svg{width:30px;height:30px;color:var(--green)}
.cert strong{display:block;font-size:11px}
.cert span{display:block;font-size:10px;color:#69746f;margin-top:2px}

/* contact */
.contact-section{margin-top:10px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:#04352f;color:#fff;padding:20px}
.contact-grid{display:grid;grid-template-columns:190px 1fr 280px;gap:22px;align-items:stretch}
.contact-info h2,.intake-cta h2{font-size:20px;margin:0 0 8px}
.contact-info > p,.intake-cta p{font-size:12px;color:#d8e4df;line-height:1.5}
.contact-lines{display:grid;gap:11px;margin-top:20px}
.contact-line{display:grid;grid-template-columns:18px 1fr;gap:10px;font-size:12px}
.contact-line svg{width:18px;height:18px;color:#42df6a}
.contact-form{display:grid;grid-template-columns:.95fr 1.05fr;gap:10px}
.form-left{display:grid;gap:9px}
.contact-form input,.contact-form select,.contact-form textarea,
.intake-form input,.intake-form select,.intake-form textarea{
 width:100%;border:1px solid rgba(255,255,255,.24);background:#0a4941;color:#fff;border-radius:4px;padding:10px 12px
}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#b9cac4}
.contact-form textarea{resize:vertical;min-height:122px}
.contact-form button{grid-column:1/-1}
.intake-cta{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:7px;background:#06463d;padding:18px;min-height:220px}
.intake-cta > *:not(img){position:relative;z-index:2}
.intake-cta img{position:absolute;right:-6px;bottom:-10px;width:47%;height:82%;object-fit:cover;opacity:.28}
.intake-cta .btn{margin-top:8px}
.intake-email{font-size:11px;margin-top:13px}

/* footer */
.footer{background:#03352f;color:#fff;padding:34px 0 16px}
.footer-grid{display:grid;grid-template-columns:1.25fr repeat(4,1fr) 1.15fr;gap:25px}
.footer-brand p{font-size:12px;line-height:1.55;color:#d6e1dc}
.footer-col h3{font-size:12px;text-transform:uppercase;margin:0 0 12px}
.footer-col a,.footer-col p{display:block;font-size:11px;color:#d6e0dc;margin:8px 0}
.newsletter{display:flex}
.newsletter input{min-width:0;flex:1;padding:10px;border:0;border-radius:4px 0 0 4px}
.newsletter button{border:0;background:var(--green);color:#fff;font-weight:750;padding:0 14px;border-radius:0 4px 4px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:24px;padding-top:14px;display:flex;justify-content:space-between;gap:20px;color:#cbd7d2;font-size:10px}

/* inner pages */
.page-hero{background:#f7faf8;border-bottom:1px solid var(--line);padding:46px 0}
.page-hero h1{margin:0 0 10px;font-size:40px}
.page-hero p{max-width:720px;margin:0;color:#66726d}
.page-main{background:#fff;padding:40px 0 70px}
.page-two{display:grid;grid-template-columns:2fr 1fr;gap:28px}
.content-card{border:1px solid var(--line);border-radius:9px;padding:24px;background:#fff}
.intake-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.intake-form .full{grid-column:1/-1}
.intake-form input,.intake-form select,.intake-form textarea{background:#fff;color:#17221e;border-color:#ccd8d2}
.intake-form textarea{min-height:145px}
.notice{padding:12px 14px;border-radius:6px;margin:0 0 15px}
.notice.success{background:#e9f8ed;color:#0b6929;border:1px solid #bce7c8}
.notice.error{background:#fff0f0;color:#951e1e;border:1px solid #efc5c5}
details{border-bottom:1px solid var(--line);padding:14px 0}
summary{font-weight:700;cursor:pointer}

/* responsiveness */
@media(max-width:1000px){
 .nav{display:none}
 .menu-toggle{display:block}
 .mobile-open .nav{display:flex;position:absolute;left:0;right:0;top:72px;background:#fff;padding:18px 24px;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line)}
 .hero-inner{grid-template-columns:1fr;min-height:650px}
 .hero-copy{padding-bottom:330px}
 .hero-visual{left:7%;right:7%;top:auto;bottom:10px;height:320px}
 .hero-trust{display:none}
 .feature-grid{grid-template-columns:1fr 1fr}
 .feature:nth-child(2){border-right:0}
 .home-columns{grid-template-columns:1fr}
 .contact-grid{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
 .wrap{width:min(var(--wrap),calc(100% - 24px))}
 .topbar{display:none}
 .header-row{min-height:64px}
 .logo strong{font-size:18px}
 .logo span{font-size:10px}
 .header-cta{display:none}
 .hero h1{font-size:37px}
 .hero-inner{min-height:590px}
 .hero-copy{padding-bottom:285px}
 .hero-visual{height:275px}
 .feature-grid{grid-template-columns:1fr}
 .feature{border-right:0;border-bottom:1px solid rgba(255,255,255,.22)}
 .feature:last-child{border-bottom:0}
 .accept-grid{grid-template-columns:repeat(3,1fr)}
 .cert-grid{grid-template-columns:1fr 1fr}
 .contact-form,.intake-form{grid-template-columns:1fr}
 .intake-form .full{grid-column:auto}
 .footer-grid{grid-template-columns:1fr 1fr}
 .footer-bottom{flex-direction:column}
 .page-two{grid-template-columns:1fr}
}



/* ============================================================
   APPROVED HOMEPAGE VISUAL LOCK — v2.1
   Audited against the approved full-page rendering.
   ============================================================ */

:root{
  --wrap:1224px;
  --approved-green:#0a9737;
  --approved-deep:#002f2a;
}

/* Header / nav proportions */
.site-header{position:relative;z-index:50;background:#fff}
.header-row{min-height:72px}
.logo svg{width:38px;height:38px}
.logo strong{font-size:22px;letter-spacing:.012em}
.logo span{font-size:11px;letter-spacing:.28em}
.nav{gap:31px;font-size:13px}
.header-cta{min-width:180px;min-height:44px;font-size:13px}

/* Hero: preserve the approved left-copy / artwork / trust-badge composition */
.hero{
  background:
    radial-gradient(circle at 63% 71%,rgba(11,123,82,.72) 0,rgba(4,77,62,.45) 28%,transparent 54%),
    linear-gradient(90deg,#002b28 0%,#002f2a 44%,#00352e 100%);
}
.hero-inner{min-height:430px;grid-template-columns:41% 59%}
.hero-copy{padding:43px 0 34px;max-width:475px}
.eyebrow{font-size:11px;letter-spacing:.075em}
.hero h1{font-size:46px;line-height:1.09;max-width:455px;margin:12px 0 16px}
.hero p{font-size:15px;line-height:1.55;max-width:455px}
.hero-actions{gap:10px;flex-wrap:nowrap;margin-top:23px}
.hero-actions .btn{min-height:43px;padding:0 15px;font-size:12.5px;white-space:nowrap}
.hero-actions svg{width:21px;height:21px}

.hero-visual{
  left:39%;
  right:12.8%;
  top:14px;
  bottom:13px;
  overflow:visible;
}
.hero-visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  -webkit-mask-image:radial-gradient(ellipse 88% 91% at 50% 52%,#000 67%,rgba(0,0,0,.96) 77%,transparent 100%);
  mask-image:radial-gradient(ellipse 88% 91% at 50% 52%,#000 67%,rgba(0,0,0,.96) 77%,transparent 100%);
}
.hero-trust{right:0;top:43px;width:158px;gap:8px}
.trust-chip{min-height:60px;padding:9px 11px;background:rgba(0,45,39,.86);font-size:11px}
.trust-chip svg{width:25px;height:25px}

/* Feature bar */
.feature-strip{padding-bottom:14px}
.feature-grid{border-color:rgba(255,255,255,.34)}
.feature{min-height:84px;padding:16px 23px}
.feature strong{font-size:13px}
.feature span{font-size:11px}

/* The approved middle section uses three visually equal columns. */
.home-white{padding-top:18px}
.home-columns{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.home-columns>.panel{
  height:100%;
  min-height:655px;
}
.panel{padding:18px;box-shadow:0 8px 25px rgba(0,45,35,.055)}
.panel h2{font-size:20px;margin-bottom:14px}
.searchbox{margin-bottom:19px}
.accept-grid{gap:23px 8px}
.accept svg{width:30px;height:30px}
.accept strong{font-size:10px}
.accept small{font-size:8px;line-height:1.25}
.more-link{font-size:11px;margin-top:27px}

.help-stack{gap:11px}
.help-card{
  min-height:177px;
  padding:17px;
  grid-template-columns:51px 1fr;
  gap:13px;
}
.help-card>svg{width:45px;height:45px}
.help-card h3{font-size:15px}
.help-card p{font-size:11px}
.checklist{font-size:10px}
.help-card .more-link{margin-top:13px}

.why-panel{min-height:655px}
.why-panel h2{padding:18px 18px 0}
.truck-photo{
  height:220px;
  object-fit:cover;
  object-position:center 52%;
}
.why-list{padding:17px 18px 18px;gap:20px}
.why-row strong{font-size:12px}
.why-row span{font-size:10.5px;line-height:1.4}

/* Certification strip */
.cert-grid{margin-top:12px}
.cert{min-height:68px;padding:14px 21px}
.cert strong{font-size:10.5px}
.cert span{font-size:9.5px}

/* Contact section matches approved three-column proportions and vertical breathing room. */
.contact-section{
  margin-top:12px;
  padding:22px 22px;
  min-height:300px;
}
.contact-grid{
  grid-template-columns:205px minmax(0,1fr) 270px;
  gap:21px;
}
.contact-info h2,.intake-cta h2{font-size:19px}
.contact-info>p,.intake-cta p{font-size:11px}
.contact-lines{gap:12px;margin-top:18px}
.contact-line{font-size:11px}
.contact-form{grid-template-columns:.95fr 1.05fr;gap:9px}
.form-left{gap:9px}
.contact-form input,.contact-form select,.contact-form textarea{padding:10px 11px;font-size:12px}
.contact-form textarea{min-height:137px}
.contact-form .btn{min-height:42px;font-size:12px}
.intake-cta{min-height:250px;padding:18px}
.intake-cta img{
  width:48%;
  height:78%;
  opacity:.28;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 36%);
  mask-image:linear-gradient(90deg,transparent 0,#000 36%);
}

/* Footer proportions */
.footer{padding:36px 0 16px}
.footer-grid{grid-template-columns:1.25fr repeat(4,1fr) 1.16fr;gap:24px}
.footer-brand p{font-size:11px;line-height:1.58}
.footer-col h3{font-size:11px}
.footer-col a,.footer-col p{font-size:10.5px;margin:8px 0}
.footer-bottom{margin-top:27px;padding-top:15px}

/* Do not collapse the approved desktop composition too early. */
@media(max-width:900px){
  .nav{display:none}
  .menu-toggle{display:block}
  .mobile-open .nav{display:flex;position:absolute;left:0;right:0;top:72px;background:#fff;padding:18px 24px;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line)}
  .hero-inner{grid-template-columns:1fr;min-height:650px}
  .hero-copy{padding-bottom:330px}
  .hero-visual{left:6%;right:6%;top:auto;bottom:10px;height:320px}
  .hero-trust{display:none}
  .feature-grid{grid-template-columns:1fr 1fr}
  .feature:nth-child(2){border-right:0}
  .home-columns{grid-template-columns:1fr}
  .home-columns>.panel,.why-panel{min-height:auto}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(3,1fr)}
}
