/* ETZVIA — sitio estático */
:root {
  --primary: #2f5d3a;
  --primary-dark: #1f4327;
  --primary-glow: #4f8a5d;
  --accent: #c9a84c;
  --accent-soft: #efdca4;
  --bg: #faf8f3;
  --surface: #ffffff;
  --muted: #f0ece2;
  --text: #1f2a23;
  --text-soft: #5b6961;
  --border: #e3dfd2;
  --whatsapp: #25d366;
  --shadow-soft: 0 6px 24px rgba(31, 67, 39, 0.08);
  --shadow-elegant: 0 20px 48px rgba(31, 67, 39, 0.18);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-warm: linear-gradient(135deg, var(--accent), var(--accent-soft));
  --radius: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-soft); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: var(--text); font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--primary); padding: .25rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-elegant); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gradient-warm); color: var(--primary-dark); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-elegant); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(31,67,39,.85), rgba(47,93,58,.6)), url('../img/hero-banner.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201,168,76,.25), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; padding: 6rem 1.25rem; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.92); font-size: 1.2rem; }
.hero .actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.eyebrow {
  display: inline-block; padding: .3rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.15); color: var(--accent-soft);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 1rem; border: 1px solid rgba(255,255,255,.2);
}
.section .eyebrow {
  background: var(--muted); color: var(--primary);
  border-color: var(--border);
}

/* Sections */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.85); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); border-color: var(--accent-soft); }
.icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: #fff;
  margin-bottom: 1rem;
}
.icon-wrap.gold { background: var(--gradient-warm); color: var(--primary-dark); }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-elegant); }
.split.reverse > :first-child { order: 2; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: var(--accent); font-weight: 700;
}

/* Testimonials */
.testimonial { position: relative; }
.testimonial blockquote { font-style: italic; color: var(--text); margin: .8rem 0 1rem; }
.stars { color: var(--accent); letter-spacing: 2px; }
.who { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.who .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.85); margin-top: 4rem; }
.site-footer a { color: var(--accent-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  padding: 3rem 1.25rem; max-width: var(--max); margin: 0 auto;
}
.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1rem 1.25rem; text-align: center; font-size: .85rem;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
  animation: pulse-glow 2.4s ease-in-out infinite;
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { font-weight: 600; color: var(--primary-dark); font-size: .9rem; }
.form input, .form textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  font: inherit; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,93,58,.15);
}
.form textarea { min-height: 130px; resize: vertical; }

.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: .9rem; align-items: flex-start;
}
.contact-card .icon-wrap { margin-bottom: 0; flex: 0 0 auto; }

/* Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin: .75rem 1.25rem; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .section { padding: 3.5rem 0; }
}
