/* ===== Variables de marca ===== */
:root {
  --green-900: #24382c;
  --green-700: #3d5a45;
  --green-500: #6b8f71;
  --green-100: #e6efe4;
  --cream: #faf7f1;
  --sand: #efe8dc;
  --accent: #c8795a;
  --text: #2b2b28;
  --muted: #6b6b64;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(36, 56, 44, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--green-900); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--green-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--green-500); margin-bottom: .75em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--green-700);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ===== Placeholders de imagen ===== */
.img-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(61, 90, 69, .06) 14px 28px),
    var(--sand);
  border: 2px dashed rgba(61, 90, 69, .35);
  border-radius: var(--radius);
  color: var(--green-700);
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}
.img-slot::after {
  content: "🖼  " attr(data-label);
  padding: 8px 12px;
}
.img-slot.loaded { border: none; background: none; }
.img-slot.loaded::after { content: none; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 2px; }

/* ===== Encabezado ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61, 90, 69, .1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-slot { width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.logo-slot::after { content: none; }
.logo-slot img { object-fit: contain; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--green-900); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text); }
.nav a:not(.btn):hover { color: var(--green-500); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 7vw, 96px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 12px 0 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--green-900); }
.hero-stats span { font-size: .88rem; color: var(--muted); }
.hero-media .img-slot { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }

/* ===== Sobre mí ===== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--white); background: var(--green-500); width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; top: 3px; }

/* ===== Servicios ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card-body { padding: 22px 22px 26px; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===== Pasos ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.steps li { text-align: center; padding: 0 8px; }
.step-num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ===== Banda ===== */
.banner { position: relative; min-height: 380px; display: grid; }
.banner-img { grid-area: 1 / 1; border-radius: 0; border: 0; min-height: 380px; align-items: flex-start; padding-top: 16px; }
.banner-overlay { grid-area: 1 / 1; display: flex; align-items: center; background: linear-gradient(90deg, rgba(36,56,44,.75), rgba(36,56,44,.25)); position: relative; z-index: 1; }
.banner-quote { font-family: var(--font-display); font-style: italic; color: var(--white); font-size: clamp(1.5rem, 3vw, 2.3rem); max-width: 20em; margin: 0; line-height: 1.3; }

/* ===== Testimonios ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.02rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption strong { display: block; color: var(--green-900); }
.testimonial figcaption small { color: var(--muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; font-size: 0; }
.avatar::after { content: "🙂"; font-size: 1.2rem; }

/* ===== FAQ ===== */
details { background: var(--white); border-radius: 14px; padding: 4px 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--green-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-500); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 8px; }

/* ===== Contacto ===== */
.section-cta { background: var(--green-900); color: var(--white); }
.section-cta h2 { color: var(--white); }
.eyebrow-light { color: #a9c7a8; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contact-info { list-style: none; padding: 28px; margin: 0; background: rgba(255,255,255,.07); border-radius: var(--radius); }
.contact-info li { margin-bottom: 18px; }
.contact-info li:last-child { margin-bottom: 0; }
.contact-info strong { display: block; color: #a9c7a8; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }

/* ===== Footer ===== */
.site-footer { background: #1b2a21; color: rgba(255,255,255,.8); padding: 32px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner p { margin: 0; }
.site-footer .muted { color: rgba(255,255,255,.5); }
.social { display: flex; gap: 20px; }
.social a { text-decoration: none; }
.social a:hover { color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(61,90,69,.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(61,90,69,.08); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .about-grid > .img-slot { max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .brand-name { font-size: 1.1rem; }
}
