:root {
  --bg: #ffffff;
  --surface: rgba(255,255,255,0.95);
  --surface-strong: #ffffff;
  --surface-alt: #fff9f1;
  --text: #1c1a19;
  --muted: #5f5b55;
  --gold: #c59215;
  --gold-2: #f0c24a;
  --green: #2f8b57;
  --green-soft: #dff4e8;
  --wine: #8e204b;
  --peach: #fff1df;
  --border: rgba(28, 26, 25, 0.08);
  --shadow: 0 22px 55px rgba(90, 62, 11, 0.12);
  --shadow-strong: 0 25px 70px rgba(98, 48, 16, 0.18);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240,194,74,0.16), transparent 18%),
    radial-gradient(circle at top right, rgba(47,139,87,0.12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fffdfa 35%, #ffffff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; position: relative; z-index: 2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197,146,21,0.14);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #2f8b57, #c59215 45%, #8e204b 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 600;
}
.site-nav a:hover { color: var(--wine); }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(197,146,21,0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7df, #f4ffd9 55%, #ffe2ec);
  color: #5a2d00 !important;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
}

.hero {
  position: relative;
  padding: 58px 0 40px;
  background:
    radial-gradient(circle at 10% 5%, rgba(240,194,74,0.22), transparent 18%),
    radial-gradient(circle at 92% 15%, rgba(47,139,87,0.18), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 36px;
}
.eyebrow,
.section-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d4208;
  background: linear-gradient(135deg, #fff0bf, #fff4df 55%, #def7e8);
  border: 1px solid rgba(197,146,21,0.16);
  box-shadow: 0 10px 24px rgba(240,194,74,0.14);
}
.hero h1,
.section-heading h2,
.panel h2,
.final-cta-box h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.96;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  margin: 16px 0 18px;
  color: #181310;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  margin: 0 0 10px;
  color: #3a2d0e;
  font-weight: 700;
}
.sublead {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
}
.btn-primary {
  background: linear-gradient(135deg, #215f3d, #c59215 48%, #8e204b);
  color: #fff;
  box-shadow: 0 16px 32px rgba(142,32,75,0.18);
}
.btn-light {
  background: #fff;
  color: #592600;
}
.btn-secondary {
  background: #fff;
  border: 1px solid rgba(197,146,21,0.18);
  color: var(--text);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-points article,
.info-card,
.panel,
.gallery-item,
.hero-card,
.final-cta-box,
.glass-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-points article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #fff8ed);
}
.hero-points strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 6px;
}
.hero-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255,239,191,0.9), rgba(255,255,255,0.95) 35%, rgba(223,244,232,0.95) 70%, rgba(255,226,236,0.95));
}
.hero-card img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}
.section {
  position: relative;
  padding: 72px 0;
}
.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.section-heading h2,
.panel h2,
.final-cta-box h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  margin: 14px 0 14px;
}
.section-heading p,
.intro-copy p,
.panel p,
.final-cta-box p {
  color: var(--muted);
  margin: 0;
}
.section-heading.center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}
.glass-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,249,241,0.96));
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  min-height: 190px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9ef 65%, #f4fff8 100%);
}
.card-label {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 800;
  color: #6d4208;
  background: linear-gradient(135deg, rgba(240,194,74,0.18), rgba(47,139,87,0.14));
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.info-card h3 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}
.gallery {
  background:
    radial-gradient(circle at 15% 10%, rgba(240,194,74,0.12), transparent 16%),
    radial-gradient(circle at 88% 82%, rgba(142,32,75,0.08), transparent 18%),
    linear-gradient(180deg, #fffefc 0%, #fff8f0 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255,240,191,0.9), rgba(255,255,255,0.98) 38%, rgba(223,244,232,0.95) 72%, rgba(255,226,236,0.92));
  box-shadow: var(--shadow-strong);
}
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}
.gallery-item-large { grid-row: span 2; }
.panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fff8f0);
}
.panel-accent {
  background: linear-gradient(135deg, #225936, #9b6b05 50%, #8e204b);
  color: #fff;
}
.panel-accent p,
.panel-accent .section-kicker { color: inherit; }
.panel-accent .section-kicker {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
}
.whatsapp-number {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  margin: 16px 0 24px !important;
}
.final-cta { padding-top: 12px; }
.final-cta-box {
  border-radius: 36px;
  padding: 44px 28px;
  text-align: center;
  background: linear-gradient(135deg, #fff7e2 0%, #ffffff 38%, #edfef5 70%, #ffe9f1 100%);
}
.site-footer {
  padding: 26px 0 90px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fffdf8, #fff8ee);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.footer-grid h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 0 0 10px;
}
.footer-grid p { margin: 4px 0; color: var(--muted); }
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f7a48, #2cae63);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(32,122,72,0.28);
}
.colorful-frame {
  position: relative;
}
.colorful-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(47,139,87,0.75), rgba(240,194,74,0.85), rgba(142,32,75,0.7));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.maguey {
  position: absolute;
  width: 210px;
  height: 210px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%232f8b57' stroke-width='8' stroke-linecap='round'%3E%3Cpath d='M110 110 L110 18'/%3E%3Cpath d='M110 110 C98 78 78 54 46 28'/%3E%3Cpath d='M110 110 C86 92 58 82 18 78'/%3E%3Cpath d='M110 110 C122 78 142 54 174 28'/%3E%3Cpath d='M110 110 C134 92 162 82 202 78'/%3E%3Cpath d='M110 110 C90 110 60 124 36 152'/%3E%3Cpath d='M110 110 C130 110 160 124 184 152'/%3E%3Cpath d='M110 110 C98 130 90 162 92 202'/%3E%3Cpath d='M110 110 C122 130 130 162 128 202'/%3E%3C/g%3E%3C/svg%3E");
}
.maguey-left { left: -50px; bottom: 20px; }
.maguey-right { right: -46px; top: 8px; transform: rotate(10deg); }
.maguey-gallery { width: 240px; height: 240px; right: -40px; bottom: 18px; opacity: 0.16; }
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .split-grid,
  .cards-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item-large { grid-row: auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: var(--container);
    margin: 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .hero,
  .section { padding: 54px 0; }
  .hero-grid,
  .intro-grid,
  .split-grid,
  .cards-grid,
  .gallery-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }
  .hero h1 { line-height: 1; }
  .info-card,
  .panel,
  .final-cta-box,
  .glass-card { padding: 24px; }
  .site-footer { padding-bottom: 100px; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
  .maguey { width: 140px; height: 140px; }
  .maguey-left { left: -30px; }
  .maguey-right { right: -30px; }
}
