/* =========================================================
   ROMANZA ORCHARD — GLOBAL STYLESHEET
   Brand: Forest Green #0F4C3A · Luxury Gold #C9A227
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root{
  --forest:#0F4C3A;
  --forest-dark:#0A3428;
  --gold:#C9A227;
  --gold-hover:#A88217;
  --white:#FFFFFF;
  --charcoal:#1E1E1E;
  --ivory:#F8F6F2;
  --gray-light:#E5E7EB;
  --gray-text:#6B7280;
  --footer-muted:#CFCFCF;

  --font-display:'Playfair Display', Georgia, serif;
  --font-body:'Poppins', -apple-system, Segoe UI, sans-serif;

  --maxw:1180px;
  --radius:14px;
  --radius-sm:12px;
  --shadow:0 8px 24px -12px rgba(15,76,58,0.18);
  --shadow-hover:0 16px 40px -16px rgba(15,76,58,0.28);
  --transition:250ms ease;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0 0 .5em;
  color:var(--forest);
  font-weight:600;
  line-height:1.2;
}
p{ margin:0 0 1em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    transition-duration:0.001ms !important;
  }
}

/* ---- Scroll reveal ---- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ---- Kicker / gold accent line ---- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:.75em;
  font-family:var(--font-body);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--forest);
}
.kicker::before{
  content:"";
  width:28px; height:2px;
  background:var(--gold);
  display:inline-block;
  flex:none;
}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.9rem;
  padding:.95em 1.75em;
  border-radius:var(--radius-sm);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--gold);
  color:var(--white);
  box-shadow:0 8px 20px -10px rgba(201,162,39,0.55);
}
.btn-primary:hover{
  background:var(--gold-hover);
  color:var(--white);
}
.btn-secondary{
  background:var(--white);
  border-color:var(--forest);
  color:var(--forest);
}
.btn-secondary:hover{
  background:var(--forest);
  color:var(--white);
}
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,0.7);
  color:var(--white);
}
.btn-ghost:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--white);
}
.btn-outline{
  background:var(--white);
  border-color:var(--forest);
  color:var(--forest);
}
.btn-outline:hover{
  background:var(--forest);
  color:var(--white);
}

/* ---- Site Header (white) ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--white);
  border-bottom:1px solid transparent;
  transition:box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled{
  box-shadow:0 4px 20px -8px rgba(30,30,30,0.12);
  border-bottom-color:var(--gray-light);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:80px;
}
.brand{ display:flex; align-items:center; }
.brand img{ height:160px; width:auto; }

.nav-toggle{
  display:none;
  background:none; border:0; cursor:pointer;
  width:40px; height:40px;
  position:relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content:""; position:absolute; left:8px; right:8px; height:2px;
  background:var(--charcoal); transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle span{ top:19px; }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }
.nav-toggle[aria-expanded="true"] span{ background:transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform:translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform:translateY(-8px) rotate(-45deg); }

.main-nav ul{ display:flex; align-items:center; gap:36px; }
.main-nav a{
  font-size:.92rem;
  font-weight:500;
  color:var(--charcoal);
  position:relative;
  padding:6px 0;
  transition:color var(--transition);
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  height:2px; width:0;
  background:var(--forest);
  transition:width var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:var(--forest);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:18px; }
.phone-pill{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-size:.85rem;
  font-weight:500;
  color:var(--charcoal);
  transition:color var(--transition);
}
.phone-pill:hover{ color:var(--forest); }
.phone-pill svg{
  width:16px; height:16px;
  stroke:var(--forest);
  fill:none;
  stroke-width:1.75;
  flex:none;
}

/* ---- Icon helpers ---- */
.icon{
  width:20px; height:20px;
  stroke:var(--forest);
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none;
}
.icon-gold{ stroke:var(--gold); }
.icon-sm{ width:16px; height:16px; }

/* ---- Footer ---- */
.site-footer{
  background:var(--charcoal);
  color:var(--footer-muted);
  padding:72px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand img{
  height:48px;
  width:auto;
  margin-bottom:18px;
  background:var(--white);
  border-radius:var(--radius-sm);
  padding:6px 10px;
}
.footer-brand p{
  color:var(--footer-muted);
  max-width:34ch;
  font-size:.92rem;
  margin:0;
}
.footer-col h4{
  color:var(--white);
  font-family:var(--font-body);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:.75rem;
  font-weight:600;
  margin-bottom:1.2em;
}
.footer-col li{ margin-bottom:.75em; font-size:.9rem; }
.footer-col a{
  color:var(--gold);
  transition:color var(--transition);
}
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:24px;
  flex-wrap:wrap;
  gap:12px;
  font-size:.82rem;
  color:rgba(207,207,207,0.75);
}
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:38px; height:38px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  transition:border-color var(--transition), color var(--transition), background var(--transition);
}
.social-row a:hover{
  border-color:var(--white);
  color:var(--white);
  background:rgba(255,255,255,0.06);
}
.social-row svg{
  width:16px; height:16px;
  fill:currentColor;
}

/* ---- Shared section utilities ---- */
.section{ padding:100px 0; }
.section-tight{ padding:64px 0; }
.section-alt{ background:var(--ivory); }
.section-dark{
  background:var(--forest);
  color:rgba(255,255,255,0.88);
}
.section-dark h2, .section-dark h3{ color:var(--white); }

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

/* ---- Shared page hero (Portfolio / Contact) ---- */
.page-hero{
  position:relative;
  min-height:48vh;
  display:flex;
  align-items:flex-end;
  color:var(--white);
  overflow:hidden;
}
.page-hero-media{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
}
.page-hero .container{
  position:relative;
  z-index:2;
  padding:88px 24px 52px;
}
.page-hero .kicker{ color:rgba(255,255,255,0.9); }
.page-hero .kicker::before{ background:var(--gold); }
.page-hero h1{
  color:var(--white);
  font-size:clamp(2rem, 4.2vw, 3.1rem);
  margin:.35em 0 .4em;
}
.page-hero .hero-accent{
  width:56px;
  height:3px;
  background:var(--gold);
  margin:0 0 1.2em;
  border:0;
}
.page-hero p{
  color:rgba(255,255,255,0.88);
  max-width:56ch;
  margin:0;
}

/* CTA banner */
.cta-band{
  background:var(--forest);
  color:var(--white);
  padding:64px 0;
  position:relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:var(--gold);
}
.cta-band .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  position:relative;
}
.cta-band p{
  margin:0;
  font-size:1.15rem;
  max-width:52ch;
  font-family:var(--font-display);
  line-height:1.45;
  color:var(--white);
}
.cta-band strong{ color:var(--gold); font-weight:600; }

@media (max-width: 880px){
  .nav-toggle{ display:block; }
  .main-nav{
    position:absolute; top:80px; left:0; right:0;
    background:var(--white);
    border-top:1px solid var(--gray-light);
    box-shadow:0 12px 24px -12px rgba(30,30,30,0.15);
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
  }
  .main-nav.open{ max-height:320px; }
  .main-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px 24px 20px;
  }
  .main-nav li{ width:100%; }
  .main-nav a{ display:block; padding:14px 0; }
  .header-actions .phone-pill{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
  .section{ padding:72px 0; }
  .grid-2{ grid-template-columns:1fr; gap:36px; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .cta-band .container{ flex-direction:column; align-items:flex-start; }
  .brand img{ height:44px; }
}
