/* ===========================================================
   HOWDEE SOLAR — Design Tokens
   Palette derived from the brand crest: warm ivory ground,
   solar gold, deep teal accent, warm charcoal ink.
=========================================================== */
:root{
  --bg:            #FFFCF6;
  --bg-soft:       #FFF6E4;
  --bg-soft-2:     #FBEBC5;
  --surface:       #FFFFFF;

  --gold:          #E3A421;
  --gold-deep:     #B9790E;
  --gold-light:    #F4C766;

  --ink:           #221D14;
  --ink-soft:      #6B6154;
  --ink-faint:     #9A907E;

  --teal:          #123832;
  --teal-deep:     #0B2622;

  --line:          #ECE1C8;
  --line-strong:   #DCC98F;

  --shadow-soft:   0 20px 45px -25px rgba(34,29,20,0.35);
  --shadow-card:   0 12px 30px -18px rgba(34,29,20,0.28);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); }
p{ margin: 0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.eyebrow-light{ color: var(--gold-light); }
.ray-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(227,164,33,0.18);
  flex: none;
}
.eyebrow-light .ray-dot{ box-shadow: 0 0 0 4px rgba(244,199,102,0.22); }

.text-gold{ color: var(--gold-deep); font-style: italic; }

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px,3.4vw,42px); line-height: 1.15; margin-bottom: 12px; }
.section-sub{ color: var(--ink-soft); font-size: 16px; }
.section-head-light h2{ color: var(--surface); }
.section-head-light .section-sub{ color: rgba(255,255,255,0.72); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #2A1D06;
  box-shadow: 0 14px 28px -14px rgba(185,121,14,0.65);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(185,121,14,0.75); }
.btn-outline{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost{ color: var(--ink); border-color: transparent; }
.btn-ghost:hover{ color: var(--gold-deep); }
.btn-lg{ padding: 16px 32px; font-size: 15.5px; }
.btn-sm{ padding: 9px 18px; font-size: 13px; }
.btn-block{ width: 100%; }

/* ===========================================================
   HEADER
=========================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,252,246,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 28px;
  gap: 20px;
}
.brand-logo{ height: 60px; width:auto; }
.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav a{
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-phone{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color: var(--ink); }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
}
.nav-toggle span{ width:22px; height:2px; background: var(--ink); border-radius:2px; }

/* ===========================================================
   HERO
=========================================================== */
.hero{
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 18%, var(--bg-soft-2) 0%, var(--bg) 62%);
}
.hero-rays{
  position:absolute; top: -120px; left:50%; transform: translateX(-50%);
  width: 900px; height: 900px; z-index:0; opacity:.9;
}
.rays-svg{ width:100%; height:100%; }
.ray-line{
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.16;
  transform-origin: 400px 400px;
  animation: raySpin 60s linear infinite;
  animation-delay: var(--d);
}
.ray-core{ fill: url(#none); fill: var(--gold-light); opacity: 0.14; }
@keyframes raySpin{ to{ transform: rotate(360deg); } }

.hero-inner{ position: relative; z-index: 1; text-align:center; max-width: 780px; }
.eyebrow-hero{ justify-content: center; }
.hero-title{
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-sub{ font-size: 17.5px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; }
.hero-cta-row{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom: 64px; }

.hero-stats{
  display:flex; justify-content:center; gap:56px; flex-wrap:wrap;
  padding-top: 36px; border-top: 1px solid var(--line);
}
.hero-stat{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.stat-num{ font-family: var(--font-display); font-size: 30px; font-weight:700; color: var(--gold-deep); }
.stat-label{ font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }

/* ===========================================================
   ABOUT
=========================================================== */
.about{ padding: 100px 0; }
.about-inner{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items:center; }
.about-media{ position: relative; }
.about-img-main{ border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-img-float{
  position:absolute; width: 44%; bottom: -40px; right: -36px;
  border: 6px solid var(--surface); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.about-badge{
  position:absolute; top: -24px; left: -24px;
  background: var(--ink); color: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  box-shadow: var(--shadow-card);
}
.about-badge .stat-num{ color: var(--gold-light); font-size:24px; }
.about-badge .stat-label{ color: rgba(255,255,255,0.75); }

.about-copy h2{ font-size: clamp(28px,3.4vw,40px); margin-bottom:18px; line-height:1.16; }
.about-lead{ color: var(--ink-soft); font-size: 16.5px; margin-bottom: 26px; }
.about-points{ display:flex; flex-direction:column; gap:14px; margin-bottom: 32px; }
.about-points li{ display:flex; align-items:center; gap:12px; font-weight:600; font-size: 15px; }

/* ===========================================================
   TEXT BANNER (image background)
=========================================================== */
.text-banner{ position:relative; padding: 130px 0; overflow:hidden; }
.banner-bg{ position:absolute; inset:0; }
.banner-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* .banner-img-1{ opacity: .85; } */
.banner-img-2{ opacity: .55; mix-blend-mode: multiply; }
.banner-overlay{
  position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(11,38,34,0.92), rgba(18,56,50,0.82) 55%, rgba(185,121,14,0.55));
}
.banner-content{ position:relative; z-index:1; max-width: 720px; text-align:center; margin:0 auto; }
.banner-quote{
  font-size: clamp(26px, 3.6vw, 44px);
  color: var(--surface);
  line-height: 1.25;
  margin-bottom: 34px;
}
.banner-cta-row{ display:flex; justify-content:center; }

/* ===========================================================
   PRODUCTS
=========================================================== */
.products{ padding: 100px 0; }
.product-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow:hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.product-media{ position:relative; aspect-ratio: 4/3; overflow:hidden; }
.product-media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.product-card:hover .product-media img{ transform: scale(1.08); }
.product-type{
  position:absolute; top:12px; left:12px;
  background: rgba(34,29,20,0.78); color:#fff;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing:.05em; text-transform:uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product-body{ padding: 20px; }
.product-body h3{ font-size: 18px; margin-bottom: 14px; line-height:1.3; }
.product-specs{ display:flex; justify-content:space-between; padding: 14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:16px; }
.product-specs > div{ display:flex; flex-direction:column; gap:3px; }
.spec-label{ font-size: 10.5px; color: var(--ink-faint); font-family: var(--font-mono); text-transform:uppercase; }
.spec-val{ font-weight:700; font-size: 14px; }
.product-footer{ display:flex; align-items:center; justify-content:space-between; }
.product-price{ font-family: var(--font-display); font-weight:700; font-size: 18px; color: var(--gold-deep); }

/* ===========================================================
   HIGHLIGHT PRODUCTS
=========================================================== */
.highlights{ padding: 100px 0; background: var(--teal); }
.highlight-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.highlight-card{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  aspect-ratio: 4/3.4;
}
.highlight-card img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.highlight-card:hover img{ transform: scale(1.06); }
.highlight-overlay{
  position:absolute; inset:0; padding: 30px;
  display:flex; flex-direction:column; justify-content:flex-end; gap:10px;
  background: linear-gradient(0deg, rgba(11,38,34,0.92) 15%, rgba(11,38,34,0.15) 65%, transparent 100%);
}
.highlight-badge{
  align-self:flex-start;
  background: var(--gold); color: #2A1D06;
  font-family: var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.05em;
  padding: 5px 12px; border-radius: 999px; font-weight:700;
}
.highlight-overlay h3{ color:#fff; font-size:24px; }
.highlight-overlay p{ color: rgba(255,255,255,0.78); font-size: 14.5px; max-width: 420px; margin-bottom:6px; }

/* ===========================================================
   INDUSTRIES — auto-scroll marquee
=========================================================== */
.industries{ padding: 100px 0 90px; }
.industries .container{ margin-bottom: 10px; }
.marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex; gap: 18px; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marqueeScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.industry-chip{
  display:flex; align-items:center; gap:12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 26px;
  font-weight:700; font-size: 15px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.industry-icon{ font-size: 20px; }

/* ===========================================================
   TESTIMONIALS — auto-slide
=========================================================== */
.testimonials{ padding: 100px 0 110px; background: var(--ink); position:relative; overflow:hidden; }
.testimonials .container{ margin-bottom: 20px; }
.testimonial-slider{ position:relative; max-width: 720px; margin: 0 auto; padding: 0 28px; }
.testimonial-track{ display:flex; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.testimonial-slide{ flex: 0 0 100%; }
.testimonial-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 42px;
  text-align:center;
}
.testimonial-stars{ color: var(--gold-light); font-size: 18px; letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-text{ font-family: var(--font-display); font-size: 21px; line-height:1.5; color: #fff; margin-bottom: 26px; }
.testimonial-person{ display:flex; align-items:center; justify-content:center; gap:12px; }
.testimonial-avatar{
  width: 42px; height:42px; border-radius:50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color:#2A1D06; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:16px;
}
.testimonial-person div{ display:flex; flex-direction:column; align-items:flex-start; }
.testimonial-person strong{ color:#fff; font-size:14.5px; }
.testimonial-person span{ color: rgba(255,255,255,0.55); font-size:12.5px; }

.testimonial-dots{ display:flex; justify-content:center; gap:9px; margin-top: 30px; }
.testimonial-dots button{
  width:9px; height:9px; border-radius:50%; border:none;
  background: rgba(255,255,255,0.25); padding:0; transition: background .25s ease, transform .25s ease;
}
.testimonial-dots button.active{ background: var(--gold); transform: scale(1.2); }

/* ===========================================================
   CONTACT BAND + FOOTER
=========================================================== */
.contact-band{ padding: 100px 0; }
.contact-inner{
  background: linear-gradient(135deg, var(--bg-soft-2), var(--bg-soft));
  border-radius: var(--radius-lg);
  padding: 60px;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items:center;
}
.contact-copy h2{ font-size: clamp(26px,3vw,36px); margin-bottom: 14px; }
.contact-sub{ color: var(--ink-soft); font-size:15.5px; }
.contact-form{ display:flex; flex-direction:column; gap:14px; }
.form-row{ display:flex; gap:14px; }
.contact-form input{
  width:100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.contact-form textarea{
  width:100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.contact-form textarea:focus{ outline: none; border-color: var(--gold-deep); }
.contact-form input:focus{ outline: none; border-color: var(--gold-deep); }
.form-status{ font-size: 13px; color: var(--teal); font-weight:700; min-height: 16px; }

.site-footer{ background: var(--teal-deep); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo{ height: 300px; margin-bottom: 12px; }
.footer-brand p{ font-size: 13.5px; color: rgba(255,255,255,0.55); }
.footer-col h4{ color:#fff; font-size: 14px; margin-bottom: 16px; }
.footer-col{ display:flex; flex-direction:column; gap:10px; font-size:13.5px; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700;
}
.footer-social a:hover{ border-color: var(--gold); color: var(--gold-light); }
.footer-bottom{ display:flex; justify-content:space-between; padding: 22px 0; font-size:12.5px; flex-wrap:wrap; gap:8px; }

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 980px){
  .about-inner{ grid-template-columns: 1fr; }
  .about-media{ margin-bottom: 20px; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .highlight-grid{ grid-template-columns: 1fr; }
  .contact-inner{ grid-template-columns: 1fr; padding: 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .main-nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    background: var(--surface); border-bottom:1px solid var(--line);
    flex-direction:column; padding: 10px 28px 20px; gap:4px;
    box-shadow: var(--shadow-card);
  }
  .main-nav.is-open{ display:flex; }
  .main-nav a{ padding: 10px 0; border-bottom:1px solid var(--line); }
  .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .hero{ padding: 90px 0 60px; }
  .hero-stats{ gap: 32px; }
  .product-grid{ grid-template-columns: 1fr; }
  .form-row{ flex-direction:column; }
  .footer-grid{ grid-template-columns: 1fr; }
  .contact-band{ padding: 60px 0; }
  .about, .products, .highlights, .industries{ padding: 70px 0; }
  .text-banner{ padding: 90px 0; }
  .testimonial-card{ padding: 28px; }
}
