/* ===== Giardino Agency — base styles ===== */

:root {
  --green-deep: #2f4a3e;
  --green-forest: #24382e;
  --sage: #7c9a82;
  --sage-light: #e4ebe2;
  --cream: #faf7f1;
  --cream-dark: #f1ebdf;
  --ink: #1f2a24;
  --ink-soft: #4a564e;
  --gold: #b8834a;
  --gold-dark: #97682f;
  --border: #ddd4c2;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--green-forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  max-width: 620px;
}

.role-line {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: -8px 0 20px;
}
.role-line a { text-decoration: underline; text-underline-offset: 2px; }

.section {
  padding: 88px 0;
}

.section--tight { padding: 64px 0; }

.section--sage {
  background: var(--sage-light);
}

.section--deep {
  background: var(--green-forest);
  color: var(--cream);
}
.section--deep h2, .section--deep h3, .section--deep .eyebrow {
  color: var(--cream);
}
.section--deep p { color: #cfd9d1; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--cream);
}
.btn--primary:hover { background: var(--gold-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--green-forest);
  color: var(--green-forest);
}
.btn--ghost:hover { background: var(--green-forest); color: var(--cream); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(250,247,241,0.55);
  color: var(--cream);
}
.btn--ghost-light:hover { background: rgba(250,247,241,0.12); border-color: var(--cream); }

.btn--block { width: 100%; justify-content: center; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img { height: 46px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold-dark); }

.nav-links a.nav-cta-item { display: none; }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-forest);
  margin: 5px 0;
}

/* ---- Hero ---- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(124,154,130,0.25), transparent 60%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

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

.hero-art {
  aspect-ratio: 4/5;
  border-radius: 6px;
  background:
    linear-gradient(160deg, var(--sage) 0%, var(--green-deep) 55%, var(--green-forest) 100%);
  position: relative;
  overflow: hidden;
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(250,247,241,0.35);
}
.hero-art::before { width: 70%; height: 70%; top: 10%; left: 15%; }
.hero-art::after { width: 40%; height: 40%; bottom: 12%; right: 10%; border-color: rgba(184,131,74,0.55); }

.hero-note {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 40px 34px 92px;
}

/* ---- Trio / values ---- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trio-item { text-align: left; }

.glyph {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
}

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 10px;
}

.card p { flex-grow: 1; }

.card a.more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-dark);
  text-decoration: none;
  margin-top: 8px;
}
.card a.more:hover { text-decoration: underline; }

/* ---- Resources (checklists) ---- */
.resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ---- Segments (who we serve) ---- */
.segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.segment {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 20px;
}
.segment h4 { font-family: var(--sans); font-size: 1.02rem; color: var(--green-forest); margin-bottom: 6px; }
.segment p { font-size: 0.94rem; margin-bottom: 0; }

/* ---- Roadmap ---- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 46px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  position: absolute;
  top: 0;
  left: 0;
}
.step::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 46px;
  right: -12px;
  height: 1px;
  background: var(--border);
}
.roadmap .step:last-child::after { display: none; }
.step h4 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 6px; color: var(--green-forest); }
.step p { font-size: 0.93rem; margin-bottom: 0; }

/* ---- Testimonials (placeholder styling) ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.testimonial {
  background: rgba(250,247,241,0.06);
  border: 1px dashed rgba(250,247,241,0.35);
  border-radius: 6px;
  padding: 30px;
}
.testimonial p.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.testimonial .who {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.placeholder-flag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

/* ---- Newsletter / lead magnet ---- */
.lead-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.lead-form { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
}
.lead-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.form-success { display: none; color: var(--green-forest); font-weight: 600; margin-top: 10px; }

/* ---- CTA banner ---- */
.cta-banner {
  text-align: center;
  padding: 80px 0;
  background: var(--green-forest);
  color: var(--cream);
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: #cfd9d1; }
.cta-banner .btn-row { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--green-forest);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding-bottom: 22px; margin: 0; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---- Services detail (how we work) ---- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-meta { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.service-meta div { font-size: 0.85rem; }
.service-meta .label { text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); font-weight: 700; display: block; margin-bottom: 4px; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 13px;
}

/* ---- About page ---- */
.about-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.portrait {
  aspect-ratio: 2/3;
  border-radius: 6px;
  background: linear-gradient(150deg, var(--sage) 0%, var(--green-deep) 100%);
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--sage-light);
  color: var(--green-forest);
  font-weight: 600;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--green-forest); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-side .info-item { margin-bottom: 26px; }
.contact-side .info-item .label { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--sage); font-weight: 700; display: block; margin-bottom: 6px; }
.map-box {
  height: 220px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--sage) 0%, var(--green-deep) 55%, var(--green-forest) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.map-box svg { width: 100%; height: 100%; }

/* ---- Checklist email gate ---- */
.gate-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 44px;
  max-width: 640px;
  margin: 0 auto 8px;
  text-align: center;
}
.gate-box h3 { margin-bottom: 10px; }
.gate-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.gate-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
}
.gate-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.gate-error { color: var(--gold-dark); font-size: 0.88rem; margin-top: 14px; }

/* ---- Checklist pages ---- */
.checklist-group-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin: 40px 0 4px;
}
.checklist-group-label:first-of-type { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0 auto; max-width: 780px; }
.checklist-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item .glyph {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}
.checklist-item p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.callout {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 36px;
  max-width: 780px;
  margin: 40px auto 0;
}
.callout .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.callout p { margin: 0; }
.callout p.callout-fine { margin-top: 14px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-forest);
  color: #cfd9d1;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,247,241,0.15);
}
.footer-grid h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: #cfd9d1; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--cream); }
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo-img { height: 40px; width: auto; display: block; }
.footer-grid > div:first-child p { color: #e6ece8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #93a398;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Utility page hero (inner pages) ---- */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .trio, .cards, .segments, .values-grid, .resources { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step::after { display: none; }
  .lead-box { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  body.nav-open .nav-links a.nav-cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 26px;
    border-radius: 3px;
    background: var(--gold);
    color: var(--cream);
    font-weight: 600;
    margin-top: 4px;
  }
  body.nav-open .nav-links a.nav-cta-item:hover { background: var(--gold-dark); }
}

@media (max-width: 640px) {
  .trio, .cards, .segments, .values-grid, .roadmap, .resources { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .hero { padding: 44px 0 56px; }
  .cta-banner { padding: 56px 0; }
  .page-hero { padding: 44px 0 40px; }

  .gate-box { padding: 30px 22px; }
  .callout { padding: 24px 22px; }
  .lead-box { padding: 30px 22px; }

  .nav-links { gap: 14px; }
}
