:root {
  --green-deep: #122718;
  --green: #1B3A27;
  --green-panel: #16301F;
  --green-line: #2C4F37;
  --green-soft: #5B7A61;
  --gold: #C9A45C;
  --gold-dark: #8A6A38;
  --gold-ink: #17140C;
  --cream: #F5F1E6;
  --cream-dim: #CDC5AF;
  --cream-mut: #E9E2D0;
  --paper: #FAF8F3;
  --card-line: #E5DFCE;
  --ink: #1C2420;
  --ink-soft: #4A4A42;
  --footer-text: #9DA894;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: #6E532A; }

/* Skip link for keyboard and screen-reader users */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--gold); color: var(--gold-ink); font-weight: 700; padding: 12px 20px; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }
h1, h2, h3, h4, .serif { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--green); font-weight: 600; line-height: 1.15; margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-block; border-radius: 3px; font-weight: 700; font-size: 16px; padding: 15px 28px; letter-spacing: 0.02em; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #B8934C; color: var(--gold-ink); }
.btn-outline { border: 1px solid var(--green-soft); color: var(--cream-mut); font-weight: 600; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { border: 1px solid var(--gold); color: var(--gold); font-weight: 700; }
.btn-outline-gold:hover { background: var(--gold); color: var(--gold-ink); }

/* Kicker + rules */
.kicker { font-size: 13px; letter-spacing: 0.28em; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; }
.gold-rule { width: 56px; height: 3px; background: var(--gold); }

/* Top bar */
.topbar { background: var(--green-deep); color: #D8CFBB; font-size: 13px; letter-spacing: 0.04em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.topbar-group { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .sep { opacity: 0.5; }
.topbar a { color: #D8CFBB; }
.topbar .phone { font-weight: 600; letter-spacing: 0.08em; }

/* Header */
.site-header { background: var(--green); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand-kicker { font-size: 11px; letter-spacing: 0.42em; color: var(--gold); font-weight: 600; }
.brand-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 32px; letter-spacing: 0.06em; color: var(--cream); font-weight: 600; }
.brand a { color: inherit; }
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.site-nav a { color: var(--cream-mut); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--gold); }

/* Hero (front page) */
.hero { background: var(--green); padding: 84px 0 76px; }
.hero-grid { display: flex; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 720px; }
.hero h1 { font-size: clamp(38px, 4.5vw, 58px); color: var(--cream); text-wrap: pretty; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--cream-dim); max-width: 600px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 14px; background: var(--green-panel); border: 1px solid var(--green-line); border-radius: 6px; padding: 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--green-line); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px; color: var(--gold); font-weight: 700; line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--cream-dim); }

/* Sections */
.section { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 6px; padding: 30px 26px; }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.card svg { color: var(--gold-dark); }

/* Split band (why us / representative work) */
.band { background: #FFFFFF; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); padding: 80px 0; }
.band-grid { display: flex; gap: 64px; align-items: flex-start; flex-wrap: wrap; }
.band-intro { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.band-intro h2 { font-size: clamp(28px, 3vw, 40px); }
.band-intro p { margin: 0; color: var(--ink-soft); }
.band-list { flex: 1; min-width: 320px; display: flex; flex-direction: column; gap: 26px; }
.tick { display: flex; gap: 18px; }
.tick-bar { width: 3px; background: var(--gold); border-radius: 2px; flex: none; align-self: stretch; }
.tick-body { display: flex; flex-direction: column; gap: 6px; }
.tick-title { font-size: 17px; font-weight: 700; color: var(--green); }
.tick-text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Dark bands */
.band-dark { background: var(--green); padding: 64px 0; color: var(--cream-dim); }
.band-dark .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.band-dark h2 { color: var(--cream); font-size: clamp(26px, 3vw, 34px); }
.band-dark .band-copy { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.band-dark p { margin: 0; font-size: 16px; line-height: 1.65; }

/* Testimonials */
.quote-mark { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 58px; line-height: 0.5; color: var(--gold); }
.quote-attr { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--green); text-transform: uppercase; }

/* CTA band */
.cta-band { background: var(--green-panel); padding: 76px 0; text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-band h2 { color: var(--cream); font-size: clamp(30px, 3.4vw, 44px); max-width: 760px; }
.cta-band p { margin: 0; font-size: 17px; color: var(--cream-dim); max-width: 620px; }

/* Page content (inner pages) */
.page-hero { background: var(--green); padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 3.6vw, 50px); color: var(--cream); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero p.lede { margin: 0; font-size: 18px; line-height: 1.7; color: var(--cream-dim); max-width: 780px; }
.entry { padding: 64px 0 88px; }
.entry-content { max-width: 820px; }
.entry-content h2 { font-size: 30px; margin: 40px 0 12px; }
.entry-content h3 { font-size: 24px; margin: 32px 0 10px; }
.entry-content p { margin: 0 0 18px; color: #33332C; }
.entry-content ul, .entry-content ol { color: #33332C; }
.entry-content img { border-radius: 6px; }

/* Language link (flag + Español/English) */
.lang-link { display: inline-flex; align-items: center; gap: 7px; color: var(--cream-mut); font-size: 14px; font-weight: 600; }
.lang-link svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); flex: none; }
.lang-link:hover { color: var(--gold); }
.lang-link-mobile { display: none; }

/* Video embeds */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.video-item h3 { font-size: 19px; margin-top: 12px; font-weight: 700; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 6px; overflow: hidden; background: #0B1710; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.faq-item { background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 6px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--green); list-style: none; position: relative; padding-right: 32px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; color: var(--gold-dark); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.65; }

/* Contact split (Spanish page) */
.contact-grid { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.contact-form-panel { flex: 1.2; min-width: 320px; background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 6px; padding: 30px 28px; }

/* Nav toggle (hamburger) — hidden on desktop */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Contact form (Contact Form 7) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid #C9C2AE;
  border-radius: 4px;
  margin-top: 6px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.wpcf7 input[type="submit"] {
  display: inline-block;
  background: var(--gold);
  color: var(--gold-ink);
  border: 0;
  border-radius: 3px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #B8934C; }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px 0 0; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--footer-text); padding: 44px 0; font-size: 13px; line-height: 1.7; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--cream-mut); }
.footer-legal { max-width: 420px; font-size: 12px; opacity: 0.8; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { flex-direction: column; align-items: stretch; }
}

/* Collapse the nav into a hamburger menu */
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; align-items: center; }
  .nav-toggle { display: block; flex: none; }
  .site-nav { display: none; }
  .lang-link-mobile { display: inline-flex; margin-left: auto; margin-right: 16px; white-space: nowrap; }
  .nav-toggle { margin-left: 0; }
  body.nav-open .site-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-deep);
    border-top: 1px solid var(--green-line);
    padding: 8px 24px 20px;
    box-shadow: 0 14px 24px rgba(0,0,0,0.25);
  }
  .site-header { position: relative; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav li { border-bottom: 1px solid var(--green-line); }
  .site-nav ul a { display: block; padding: 14px 2px; font-size: 16px; }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .site-nav .lang-link { padding: 14px 2px; font-size: 16px; }
}

@media (max-width: 640px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .hero-stats { min-width: 0; padding: 24px; }
  .brand-kicker { font-size: 10px; }
  .brand-name { font-size: 24px; }
  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: center; text-align: center; gap: 4px 12px; }
  .topbar-group { gap: 10px; justify-content: center; }
  .section-head { margin-bottom: 32px; }
  .band { padding: 60px 0; }
  .band-grid { gap: 36px; }
  .band-dark { padding: 52px 0; }
  .band-dark .btn, .cta-band .btn { width: 100%; text-align: center; box-sizing: border-box; }
  .band-list { min-width: 0; }
  .cta-band { padding: 60px 0; }
  .entry { padding: 48px 0 64px; }
  .entry-content h2 { font-size: 26px; }
  .page-hero { padding: 48px 0 44px; }
  .footer-legal { text-align: left; }
  .wpcf7 input[type="submit"] { width: 100%; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 36px; }
  .contact-form-panel { padding: 22px 18px; }
}
