/* Acosta Landscape Design & Build — shared stylesheet
   Owner: orchestrator. Shared tokens + header/nav/footer + base components.
   Page subagents append page-scoped rules below under a banner comment
   whose text is "page:" followed by the page slug. Do not edit this shared
   block from a page agent. */

:root {
  --green: #0c9569;        /* source accent: eyebrows, buttons, links */
  --green-dark: #226339;   /* source footer background / button hover */
  --green-darker: #263c17;
  --amber: #fbad2e;
  --amber-dark: #e2912b;
  --ink: #1a1a1a;
  --heading: #20301a;
  --muted: #5d5d61;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --white: #ffffff;
  --radius: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 12px 34px rgba(0,0,0,.12);
  --maxw: 1200px;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Poppins", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 .6em;
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-amber { background: var(--amber); color: #20301a; }
.btn-amber:hover { background: var(--amber-dark); color: #20301a; }
.btn-dark { background: rgba(20,26,16,.72); color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-dark:hover { background: rgba(20,26,16,.9); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 9px 20px;
  font-size: .85rem;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 1.15rem;
  color: var(--green);
}
.main-nav { margin-left: auto; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li { position: relative; }
.nav-list a {
  display: inline-block;
  padding: 10px 12px;
  color: #2b2b2b;
  font-size: .92rem;
  font-weight: 500;
}
.nav-list a:hover { color: var(--green); text-decoration: none; }
.caret { font-size: .7em; }

/* Dropdown submenu (real CSS hover/focus flyout) */
.submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a { display: block; padding: 9px 18px; white-space: nowrap; font-size: .9rem; }
.submenu a:hover { background: var(--bg-alt); color: var(--green); }

.btn-quote {
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  transition: background-color .25s ease;
}
.btn-quote:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }

.nav-toggle { display: none; }

/* Hero (shared) */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,14,.35), rgba(20,30,14,.55));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: #f0e9d8; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  margin-bottom: .4em;
}
.hero p { color: #f3f1ea; max-width: 720px; margin: 0 auto 1.6em; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sub-page compact hero band */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-bg { z-index: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,30,14,.5);
  z-index: 1;
}
.page-hero h1 { position: relative; z-index: 2; color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); text-shadow: 0 2px 16px rgba(0,0,0,.4); padding: 0 20px; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Contact section (shared) */
.contact-section { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .contact-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 500; }
.contact-icon {
  width: 34px; height: 34px; flex: 0 0 34px;
  background: var(--amber);
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: #20301a; font-size: .95rem;
}

/* Form */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 6px; color: #3a3a3a; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .93rem;
  background: var(--white);
  color: var(--ink);
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #eef2e8;
  padding: 56px 0 0;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.site-footer h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { color: #cfe0c2; font-size: .92rem; }
.footer-brand .credit { color: #b9cda9; font-size: .82rem; }
.footer-brand .credit a { color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a, .footer-contact a, .footer-contact span { color: #d7e4cc; font-size: .9rem; }
.site-footer ul a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact div { margin-bottom: 10px; font-size: .9rem; color: #d7e4cc; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  padding: 18px 24px;
  font-size: .82rem;
  color: #bcd0ad;
}

/* Motion — pure CSS, always ends visible (no static opacity:0 anywhere).
   .reveal runs an on-load fade+rise via animation-fill-mode: both, so the
   element is visible even if scripts never run. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .6; }
}
.reveal { animation: fadeUp .8s ease both; }
.reveal-1 { animation: fadeUp .8s ease both; animation-delay: .08s; }
.reveal-2 { animation: fadeUp .8s ease both; animation-delay: .16s; }
.reveal-3 { animation: fadeUp .8s ease both; animation-delay: .24s; }
.hero h1, .hero p, .hero-actions { animation: fadeUp .9s ease both; }
.hero p { animation-delay: .12s; }
.hero-actions { animation-delay: .24s; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .contact-grid, .lead-form { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-md); }
  .main-nav.open .nav-list { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .main-nav.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 16px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto;
    background: var(--green); color: #fff; border: 0; border-radius: var(--radius);
    padding: 9px 12px; font-size: 1.1rem; cursor: pointer;
  }
  .btn-quote { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

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

/* page: home */
.about-images { position: relative; min-height: 480px; }
.about-img { position: absolute; width: 62%; border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.about-img-a { top: 0; left: 0; z-index: 2; }
.about-img-b { bottom: 0; right: 0; z-index: 1; }
.feature-rows .feature-row { margin-bottom: 56px; }
.feature-rows .feature-row:last-child { margin-bottom: 0; }
.feature-text h2 { font-size: 1.7rem; }
.testi-section { position: relative; padding: 84px 0; color: var(--white); overflow: hidden; }
.testi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testi-section::after { content: ""; position: absolute; inset: 0; background: rgba(20,30,14,.62); z-index: 1; }
.testi-inner { position: relative; z-index: 2; }
.testi-section .eyebrow { color: var(--amber); }
.testi-section h2 { color: var(--white); margin-bottom: 32px; }
.testi-card { max-width: 760px; margin: 0 auto; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 40px; text-align: center; backdrop-filter: blur(2px); }
.testi-quote { font-size: 1.02rem; color: #f3f1ea; font-style: italic; }
.testi-name { font-family: var(--serif); font-weight: 700; color: var(--amber); margin: 6px 0 4px; }
.testi-stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 20px; font-size: 1.1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s ease; }
.gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 760px) {
  .about-images { min-height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* page: service-template */
.svc-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.svc-intro h2 { font-size: 1.9rem; }
.svc-split .svc-copy h2 { font-size: 1.7rem; }
.duo-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; columns: 1; }
.check-list li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✔"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 700; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.process-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.process-step .num { font-family: var(--serif); font-weight: 900; font-size: 2.4rem; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.process-step h3 { font-size: 1.15rem; }
.faq-list { max-width: 860px; margin: 26px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--serif); font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-num { color: var(--amber); font-weight: 900; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--green); font-size: 1.4rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }
.cta-band { position: relative; padding: 90px 0; color: var(--white); text-align: center; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(20,30,14,.6); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band .eyebrow { color: var(--amber); }
.cta-band h2 { color: var(--white); font-size: 2rem; max-width: 760px; margin: 0 auto .4em; }
.cta-band p { color: #f0eee6; max-width: 680px; margin: 0 auto 1.6em; }
.areas { text-align: center; max-width: 860px; margin: 0 auto; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card img { width: 100%; height: 220px; object-fit: cover; }
.svc-card .svc-card-body { padding: 22px; }
.svc-card .eyebrow { margin-bottom: .4em; }
.svc-card h3 { font-size: 1.15rem; }
@media (max-width: 760px) {
  .duo-images { grid-template-columns: 1fr; }
  .process-grid, .svc-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Source-fidelity pass 2
   Logo lockup, hero slideshow, testimonial carousel + photo
   band, mirrored stagger, wide gallery.
   ============================================================ */

/* --- Brand: the source uses one vector lockup (mark + ACOSTA +
       banner), not a mark plus separate text. --- */
.brand-logo { display: block; width: auto; height: 128px; }
.site-footer .brand-logo { height: 100px; }
.nav-wrap { padding: 4px 24px; }
/* The source header scrolls away with the page rather than sticking.
   It stays `relative` (not `static`) so its z-index still applies -
   otherwise the hero's positioned layers paint over the dropdown. */
.site-header { position: relative; top: auto; }
.submenu { z-index: 120; }
/* Source hero band is ~560px at desktop widths. */
.hero { min-height: 560px; }

/* --- Hero slideshow (home) --- */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; border: 0; cursor: pointer;
  background: var(--amber); color: #3a2a06; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-nav:hover { background: var(--amber-dark); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero-dot { width: 10px; height: 10px; border: 0; padding: 0; cursor: pointer; background: var(--green); }
.hero-dot.is-active { background: var(--amber); }

/* --- Testimonials: light section, bordered card, review carousel.
       The photo is a separate full-bleed band BELOW, not a
       background behind the text. --- */
.testi-section { position: static; padding: 84px 0; color: var(--ink); overflow: visible; background: var(--bg); }
.testi-section::after { content: none; }
.testi-section .eyebrow { color: var(--green); }
.testi-section h2 { color: var(--heading); margin-bottom: 32px; }
.testi-wrap { position: relative; max-width: 960px; margin: 0 auto; }
.testi-card {
  max-width: none; margin: 0; background: var(--bg);
  border: 1px solid #9fd3bb; border-radius: 0; padding: 54px 92px 34px;
  text-align: center; backdrop-filter: none;
}
.testi-slide { display: none; }
.testi-slide.is-active { display: block; }
.testi-mark { color: var(--amber); font-size: 2.6rem; line-height: 1; margin: 0 0 18px; font-family: var(--serif); }
.testi-quote { font-size: 1.02rem; color: var(--ink); font-style: normal; }
.testi-name { font-family: var(--sans); font-weight: 700; color: #0b9469; margin: 14px 0 10px; }
.testi-stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 0; font-size: 1.1rem; }
.testi-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 26px; height: 34px; border: 0; cursor: pointer;
  background: #0b9469; color: var(--white); font-size: .9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.testi-nav:hover { background: var(--green); }
.testi-prev { left: -13px; }
.testi-next { right: -13px; }
.testi-dots { display: flex; gap: 12px; justify-content: center; margin-top: 26px; }
.testi-dot { width: 9px; height: 9px; border: 0; padding: 0; cursor: pointer; background: #0b9469; }
.testi-dot.is-active { background: var(--amber); }
.testi-review-btn { text-align: center; margin-top: 34px; }
.testi-band { width: 100%; height: 420px; overflow: hidden; }
.testi-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Mirrored stagger: second overlapping pair sits top-right /
       bottom-left, the reverse of the About Us pair. --- */
.about-images.about-images-rev .about-img-a { top: 0; right: 0; left: auto; z-index: 2; }
.about-images.about-images-rev .about-img-b { bottom: 0; left: 0; right: auto; z-index: 1; }

/* --- Project gallery: 4 across and near full-bleed. --- */
.gallery-grid.gallery-wide { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.container-wide { max-width: none; padding: 0 18px; }

@media (max-width: 900px) {
  .gallery-grid.gallery-wide { grid-template-columns: repeat(2, 1fr); }
  .testi-card { padding: 44px 46px 28px; }
  .brand-logo { height: 68px; }
}
@media (max-width: 560px) {
  .gallery-grid.gallery-wide { grid-template-columns: 1fr; }
  .testi-card { padding: 36px 26px 24px; }
  .testi-band { height: 240px; }
}
