/*
  Puna Ê»Ä€ina Project â€” styles.css --- LAST EDITED: 2-16-2026
  ---------------------------------------------------------
  Editing tips:
  - Colors live in :root variables.
  - Section padding is set by --section-pad.
  - Cards/panels use consistent border + shadow tokens.
  - Keep fonts privacy-first (system stack, no external web fonts).
*/

:root{
  /* Brand palette (tweak freely) */
  --sand: #f3efe6;
  --ink: #111827;
  --muted: #4b5563;
  --paper: #ffffff;

  --forest: #1f5b3a;     /* primary brand */
  --ulu: #2f7a4d;        /* accents / hover */
  --earth: #5a4632;      /* headings, dividers */
  --ocean: #1f6f8b;      /* links */
  --sunrise: #d9822b;    /* buttons / highlights */

  /* UI tokens */
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 6px 18px rgba(17, 24, 39, 0.08);
  --border: 1px solid rgba(17, 24, 39, 0.10);

  --section-pad: clamp(56px, 6vw, 92px);
  --container: 1120px;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html{
  scroll-behavior: smooth; /* smooth anchor scrolling */
}

/* Utility */
.hidden{ display: none !important; }

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 17px;
  box-shadow: #d5d5d5bf 0 5px 10px;
}

/* Never apply content-image spacing/shadow to brand marks */
img.brand-mark,
img.footer-mark{
  margin-bottom: 0;
  box-shadow: none;

  object-fit: contain;
}
a{ color: var(--ocean); text-decoration: none; }
a:hover{ text-decoration: underline; }

code{
  background: rgba(31, 91, 58, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  font-size: 0.95em;
}

.container{
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  padding: 10px 12px;
  border-radius: 10px;
  border: var(--border);
  z-index: 999;
}
.skip-link:focus{ left: 12px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 239, 230, 0.75);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover{ 
    text-decoration: none; 
    opacity: .8;
}

/* Brand mark â€” no white pill/container */
.brand-mark{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
  width: 44px;      /* adjust if you want */
  height: 44px;
  object-fit: contain;
transition: transform 0.7s ease;
  transform-origin: center center;
}

/* Header logo spin animation */
.brand:hover .brand-mark {
  transform: rotate(360deg);
  opacity: .8;
}

.brand-name{
  font-weight: 750;
  letter-spacing: 0.2px;
}
.brand-tag{
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav a{
  font-weight: 600;
  color: rgba(17, 24, 39, 0.85);
}
.site-nav a:hover{ color: var(--forest); text-decoration: none; }

.nav-cta{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 91, 58, 0.12);
  border: 1px solid rgba(31, 91, 58, 0.25);
}

/*.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}*/
.nav-toggle span{
  display: block;
  height: 2px;
  margin: 7px 10px;
  background: rgba(17, 24, 39, 0.75);
  border-radius: 4px;
}

/* Dark overlay behind open menu (mobile) */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 49; /* under header (50), above page */
}

.nav-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* Sections */
.section{
  padding: var(--section-pad) 0;
  background: transparent;
}
.section.alt{
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.section-head{
  max-width: 760px;
}
.section h2{
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.section-sub{
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}


/* Hero background image (swap /images/hero-bg.jpg anytime) */

/*.hero{
  position: relative;
  isolation: isolate; /* ensures pseudo elements layer cleanly 
}*/


.hero{
  position: relative;
  overflow: hidden;

  /* Hero background image */
  background:
    linear-gradient(
      to bottom,
      rgba(31,91,58,0.55) 0%,     
      rgba(31,91,58,0.35) 45%,
      rgba(31,91,58,0.18) 100%
    ),
    url("/images/hero-bg.jpg") center center / cover no-repeat;
  padding: clamp(48px, 6vw, 84px) 0 0;
}


.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.06);
  opacity: 0.26;
  z-index: -2;
}
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 520px at 25% 20%, rgba(255,255,255,0.78), rgba(243,239,230,0.55));
  z-index: -1;
}
.hero-inner{
  position: relative;
  z-index: 1;
}

.hero-copy{
  background: #1e3120bf;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.hero-trust{
  margin: 12px 0 0;
  color: rgba(17, 24, 39, 0.78);
  max-width: 62ch;
  color: white;
}

/* Icon helpers (used in PDF buttons) */
.btn .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.btn .icon-right{
  margin-left: 2px;
}
.btn svg{
  display: block;
}

/* Hero */
.hero{
  padding: clamp(48px, 6vw, 84px) 0 0x;
  position: relative;
  overflow: hidden;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
  padding-bottom: clamp(44px, 6vw, 70px);
}
.hero h1{
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  color: #e1ed7d;
}
.hero-sub{
  margin: 0 0 18px;
  color: rgba(17, 24, 39, 0.82);
  font-size: 1.08rem;
  max-width: 60ch;
  color: white;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-badges{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badges li{
  background: rgba(31, 91, 58, 0.10);
  border: 1px solid rgba(31, 91, 58, 0.18);
  color: rgba(17, 24, 39, 0.85);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 650;
  font-size: 0.92rem;
  color: #f5fe92;
}

.hero-badges{
 display:none;
}


.hero-card .card{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card-title{
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.facts{
  margin: 0;
}
.facts div{
  padding: 10px 0;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}
.facts div:first-child{ border-top: none; }
.facts dt{
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 2px;
}
.facts dd{
  margin: 0;
  font-weight: 650;
  color: rgba(17, 24, 39, 0.9);
}

.hero-wave{
  height: 64px;
  background: linear-gradient(90deg, rgba(31,91,58,0.0), rgba(31,91,58,0.12), rgba(31,91,58,0.0));
  transform: skewY(-2deg);
}

/* Grid helpers */
.grid{
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.grid.two{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.panel h3{ margin: 0 0 10px; }
.panel p{ margin: 0; color: rgba(17,24,39,0.85); }

.checklist{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,24,39,0.85);
}
.checklist li{ margin: 8px 0; }

.card{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card.feature h3, .card.support h3{
  margin: 0 0 8px;
}
.card p{ margin: 0; color: rgba(17,24,39,0.84); }

/* Support card icons */
.support-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: rgba(31, 91, 58, 0.10);
  border: 1px solid rgba(31, 91, 58, 0.18);
  color: var(--forest);
}

.support-icon svg{
  width: 32px;
  height: 32px;
  display: block;
}

.support-icon svg path{
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.muted{ color: var(--muted); }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0); box-shadow: none; }

.btn.primary{
  background: var(--forest);
  color: #fff;
  border-color: rgba(0,0,0,0.08);
}
.btn.primary:hover{ background: var(--ulu); }

.btn.ghost{
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(17,24,39,0.14);
  color: rgba(17,24,39,0.9);
}
.btn.ghost:hover{ border-color: rgba(31,91,58,0.35); }

.btn.small{
  padding: 10px 14px;
  font-weight: 750;
  font-size: 0.98rem;
}

/* ===== PDF Button Enhancement ===== */

.btn-pdf{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.btn-pdf .btn-icon-left{
  display: inline-flex;
  color: currentColor;
  opacity: 0.9;
}

.btn-pdf .btn-icon-right{
  display: inline-flex;
  font-size: 0.95rem;
  transition: transform 220ms ease;
}

.btn-pdf:hover .btn-icon-right{
  transform: translateX(4px);
}

/* Slightly tighter on mobile */
@media (max-width: 640px){
  .btn-pdf{
    gap: 6px;
  }
}

.doc p{ margin: 6px 0 10px; }

/* Metrics */
.metric{
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.metric-num{
  font-size: 2rem;
  font-weight: 850;
  color: var(--forest);
  letter-spacing: -0.3px;
}
.metric-label{
  margin-top: 6px;
  color: rgba(17,24,39,0.86);
  font-weight: 650;
}
.note{
  margin-top: 18px;
  background: rgba(217,130,43,0.12);
  border: 1px solid rgba(217,130,43,0.22);
  padding: 14px 16px;
  border-radius: var(--radius);
}

/* CTA band */
.cta-band{
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(31,91,58,0.10), rgba(31,111,139,0.10));
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: var(--radius);
}
.cta-title{ font-weight: 850; }
.cta-sub{ color: var(--muted); }

/* Contact */
.contact-card{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 22px;
}
.contact-card h3{ margin: 0 0 10px; }
.contact-line{ margin: 6px 0; }
.contact-actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Footer */
.site-footer{
  padding: 26px 0 18px;
  background: rgba(17, 24, 39, 0.92);
  color: rgba(255,255,255,0.86);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-left{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Footer */
.footer-mark {
  width: 42px;
  height: 42px;
  display: block;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s ease, opacity 0.3s ease;
  transform-origin: center center;
}

/* Footer logo link */
.footer-logo-link {
  display: inline-block;
  line-height: 0;
}
/* Footer logo animation */
.footer-logo-link:hover .footer-mark {
  transform: rotate(360deg) scale(1.05);
  opacity: 0.8;
}

.footer-title{ font-weight: 850; }
.footer-sub{ color: rgba(255,255,255,0.70); font-size: 0.95rem; }
.footer-right a{ color: rgba(255,255,255,0.85); }
.footer-bottom{ margin-top: 10px; }
.footer-bottom small{ color: rgba(255,255,255,0.65); }

/* Responsive */
@media (max-width: 920px){
  .hero-inner{grid-template-columns: 1fr;padding-bottom: 10px;}
  .contact-card{ grid-template-columns: 1fr; }
  .grid.three{ grid-template-columns: 1fr; }
}


/* Mobile menu toggle (2-line -> X) */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span{
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  margin: 0; /* override older nav-toggle span margin */
  background: rgba(17, 24, 39, 0.85);
  border-radius: 999px;
  transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}

/* Prevent background scroll while mobile nav is open */
body.nav-locked{ overflow: hidden; }

/* Two strips */
.nav-toggle span:nth-child(1){ top: 16px; }
.nav-toggle span:nth-child(2){ top: 26px; }

/* Animate to X when menu open */
.nav-toggle.is-open span:nth-child(1){
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2){
  top: 21px;
  transform: rotate(-45deg);
}

/* Nice focus ring for accessibility */
.nav-toggle:focus-visible{
  outline: 3px solid rgba(31, 111, 139, 0.35);
  outline-offset: 2px;
}



@media (max-width: 820px){
  .nav-toggle{ display: inline-block; }

  .site-nav{
    position: absolute;
    right: 16px;
    top: 70px;
    width: min(92vw, 340px);

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    background: rgba(255,255,255,0.98);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;

    /* Closed state */
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 60;
  }

  .site-nav.is-open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a{
    padding: 10px 12px;
    border-radius: 12px;
  }

  .site-nav a:hover{
    background: rgba(31,91,58,0.08);
    text-decoration: none;
  }

  .nav-cta{ background: rgba(31,91,58,0.12); }
}

/* Footer layout on small screens */
@media (max-width: 560px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right{ margin-top: 10px; }
}
@media (max-width: 820px){
  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn{
    width: 100%;
  }
}
