:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f2;
  --card: rgba(255,255,255,0.72);
  --text: #213126;
  --muted: #5f7064;
  --primary: #2d5a41;
  --primary-2: #6e8c58;
  --accent: #d8c89c;
  --shadow: 0 18px 50px rgba(24, 47, 33, 0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbf8f2 0%, #f5f0e7 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: var(--primary);
  color: #eef4ef;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: .04em;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251,248,242,0.82);
  border-bottom: 1px solid rgba(45,90,65,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(45,90,65,0.12);
}
.brand strong { display: block; font-size: 1.1rem; }
.brand span { color: var(--muted); font-size: .92rem; }
.menu { display: flex; gap: 24px; align-items: center; }
.menu a { color: var(--muted); font-weight: 700; }
.menu a:hover { color: var(--primary); }
.menu-toggle {
  display: none; background: transparent; border: 0; font-size: 30px; color: var(--primary);
}
.hero {
  position: relative;
  min-height: calc(100vh - 124px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20,38,28,.40), rgba(20,38,28,.52)), url('assets/portada.jpg') center/cover no-repeat;
  transform: scale(1.03);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 32px;
  align-items: center;
  padding: 64px 0;
}
.hero-copy, .hero-card {
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-copy {
  color: white;
  padding: 34px;
  background: linear-gradient(180deg, rgba(15,22,18,.34), rgba(15,22,18,.24));
  border: 1px solid rgba(255,255,255,.12);
}
.eyebrow, .section-tag {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .79rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.hero h1, .section-heading h2, .intro h2, .video-wrap h2, .contact-section h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); margin: 0 0 18px; }
.hero p { font-size: 1.05rem; max-width: 690px; }
.hero-actions, .hero-pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-pills span {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 22px; font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow); }
.btn-secondary { background: rgba(255,255,255,.16); color: white; border: 1px solid rgba(255,255,255,.22); }
.btn.full { width: 100%; border: 0; cursor: pointer; }
.hero-card {
  background: rgba(250,248,241,.92);
  padding: 28px;
  color: var(--text);
  border: 1px solid rgba(45,90,65,.10);
}
.hero-card img {
  width: 100px; height: 100px; border-radius: 22px; object-fit: cover; margin-bottom: 20px;
}
.hero-card h3 { margin: 0 0 8px; font-size: 1.6rem; }
.hero-card p { color: var(--muted); }
.hero-card ul { padding-left: 20px; margin: 14px 0 0; color: var(--muted); }
.section { padding: 88px 0; }
.grid-two, .contact-grid, .video-wrap { display: grid; gap: 28px; }
.grid-two { grid-template-columns: 1.1fr .9fr; align-items: center; }
.intro h2, .section-heading h2, .video-wrap h2, .contact-section h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin: 0 0 14px; }
.intro p, .section-heading p, .video-wrap p, .contact-section p { color: var(--muted); font-size: 1.02rem; }
.card.soft, .feature-card, .social-card, .contact-card, .contact-form, .video-frame, .promo-card, .gallery-item {
  background: var(--card);
  border: 1px solid rgba(45,90,65,.10);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.info-list { display: grid; gap: 18px; padding: 28px; }
.info-list span { display: block; color: var(--muted); margin-bottom: 6px; }
.info-list strong { font-size: 1.05rem; }
.section-heading { margin-bottom: 28px; }
.cards-grid, .promo-grid, .gallery-grid, .social-grid, .contact-cards { display: grid; gap: 20px; }
.cards-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card { padding: 24px; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.feature-card p { color: var(--muted); margin: 0; }
.promo-grid { grid-template-columns: repeat(4, 1fr); }
.promo-card { overflow: hidden; }
.promo-card img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.promo-card:hover img, .gallery-item:hover img { transform: scale(1.05); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  border: 0; padding: 0; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; background: transparent;
}
.social-grid { grid-template-columns: repeat(2, 1fr); }
.social-card { padding: 28px; }
.social-card span { color: var(--primary); font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.social-card strong { display: block; font-size: 1.3rem; margin: 12px 0 8px; }
.social-card p { color: var(--muted); margin: 0; }
.video-wrap { grid-template-columns: .8fr 1.2fr; align-items: center; }
.video-frame { padding: 12px; overflow: hidden; }
.video-frame iframe, .map-frame iframe {
  width: 100%; border: 0; border-radius: 18px;
}
.video-frame iframe { aspect-ratio: 16 / 9; }
.contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
.contact-cards { grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.contact-card { padding: 20px; }
.contact-card span { display: block; color: var(--muted); margin-bottom: 8px; }
.contact-card strong { font-size: 1.04rem; }
.map-frame { margin-top: 12px; }
.map-frame iframe { min-height: 320px; }
.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input, .contact-form textarea {
  border-radius: 16px;
  border: 1px solid rgba(45,90,65,.15);
  padding: 14px 16px;
  font: inherit;
  background: rgba(255,255,255,.82);
  color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(45,90,65,.18);
  border-color: var(--primary);
}
.footer {
  background: #1d3225;
  color: #edf4ee;
  padding: 28px 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: #cfe4d3; }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: white; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 30;
}
.whatsapp-float svg { width: 34px; height: 34px; }
.lightbox {
  position: fixed; inset: 0; background: rgba(6,10,8,.84); display: none; place-items: center; padding: 24px; z-index: 100;
}
.lightbox.active { display: grid; }
.lightbox img { max-width: min(100%, 1100px); max-height: 86vh; border-radius: 22px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.12); color: white; font-size: 32px; cursor: pointer;
}
.reveal {
  opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero-content, .grid-two, .video-wrap, .contact-grid, .cards-grid, .promo-grid, .gallery-grid, .contact-cards, .social-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content, .grid-two, .video-wrap, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .promo-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .menu {
    position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: none; flex-direction: column;
    background: rgba(251,248,242,.97); border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-copy { padding: 24px; }
  .section { padding: 68px 0; }
  .cards-grid, .promo-grid, .gallery-grid, .social-grid { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .brand img { width: 52px; height: 52px; }
}
