:root {
  --midnight: #141B2B;
  --forest: #1E5C3A;
  --forest-light: #267D4E;
  --gold: #C5932A;
  --gold-light: #DAB456;
  --sand: #F5F1EB;
  --white: #FFFFFF;
  --gray-100: #F7F5F2;
  --gray-200: #E8EAED;
  --gray-400: #9AA0A9;
  --gray-600: #5F656E;
  --gray-800: #2D3239;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #1A1F28;
    --white: #1E2330;
    --gray-100: #232938;
    --gray-200: #2D3442;
    --gray-400: #6B7280;
    --gray-600: #9CA3AF;
    --gray-800: #E5E7EB;
    --midnight: #F0F1F3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --sand: #1A1F28;
  --white: #1E2330;
  --gray-100: #232938;
  --gray-200: #2D3442;
  --gray-400: #6B7280;
  --gray-600: #9CA3AF;
  --gray-800: #E5E7EB;
  --midnight: #F0F1F3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--sans);
  color: var(--gray-800);
  background: var(--sand);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #1E5C3A, #267D4E);
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--serif); font-size: 18px; font-weight: 700;
}
.nav-logo-text { font-family: var(--serif); font-size: 17px; color: var(--midnight); letter-spacing: -.2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--gray-600);
  transition: color .2s; letter-spacing: .2px;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest); color: white;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; transition: background .2s;
}
.nav-cta:hover { background: var(--forest-light); }

.lang-switch {
  display: flex; gap: 2px; background: var(--gray-100);
  border-radius: 4px; padding: 2px; margin-left: 8px;
}
.lang-switch button {
  padding: 4px 8px; font-size: 11px; font-weight: 600;
  border-radius: 3px; color: var(--gray-400); transition: all .2s;
  text-transform: uppercase; letter-spacing: .5px;
}
.lang-switch button.active { background: var(--white); color: var(--forest); box-shadow: var(--shadow-sm); }
.lang-switch button:hover:not(.active) { color: var(--gray-800); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--midnight); border-radius: 1px; transition: all .3s; }

/* ─── HERO ─── */
.hero {
  margin-top: var(--nav-h);
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #E8F0E6 0%, #D4E4D0 40%, #C8DCBE 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 80%, rgba(197,147,42,.08), transparent),
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(30,92,58,.06), transparent);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(0,0,0,.02)' stroke-width='.5'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 80px 24px;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,92,58,.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(30,92,58,.12);
  padding: 8px 18px; border-radius: 100px;
  font-size: 12.5px; font-weight: 500; color: var(--forest);
  margin-bottom: 32px; letter-spacing: .3px;
}
.hero-badge svg { width: 16px; height: 16px; fill: var(--gold); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 6vw, 68px);
  color: var(--midnight); line-height: 1.1; margin-bottom: 24px;
  letter-spacing: -.5px;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero p {
  font-size: 17px; color: var(--gray-600);
  line-height: 1.7; max-width: 560px; margin: 0 auto 40px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--midnight);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; transition: all .25s;
  letter-spacing: .2px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(197,147,42,.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--forest); color: var(--forest);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: all .25s;
}
.btn-secondary:hover { background: var(--forest); color: white; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: float 2.5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ─── STATS BAR ─── */
.stats {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.stats-inner {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { font-family: var(--serif); font-size: 28px; color: var(--forest); }
.stat-label { font-size: 12px; color: var(--gray-400); margin-top: 2px; font-weight: 500; letter-spacing: .3px; }

/* ─── SECTIONS ─── */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 40px);
  color: var(--midnight); line-height: 1.2; margin-bottom: 16px;
}
.section-desc {
  font-size: 15px; color: var(--gray-600); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* ─── ABOUT ─── */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img {
  aspect-ratio: 4/5; border-radius: 8px; overflow: hidden;
  background: linear-gradient(160deg, #6DA87A 0%, #4A8A5C 100%);
  position: relative;
}
.about-img::after {
  content: '📸 Foto del team'; position: absolute; bottom: 20px; left: 20px;
  font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500;
}
.about-text h2 { font-family: var(--serif); font-size: 34px; color: var(--midnight); margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.75; font-size: 14.5px; }
.about-features { display: flex; gap: 32px; margin-top: 32px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(30,92,58,.08); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.about-feature-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--midnight); }
.about-feature-text span { font-size: 12.5px; color: var(--gray-400); }

/* ─── PACKAGES GRID ─── */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: all .3s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-img {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
}
.pkg-img-bg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.pkg-card:hover .pkg-img-bg { transform: scale(1.05); }
.pkg-img-overlay {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: white; padding: 5px 12px; border-radius: 4px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .3px;
}
.pkg-body { padding: 22px; }
.pkg-body h3 {
  font-family: var(--serif); font-size: 20px; color: var(--midnight);
  margin-bottom: 8px; line-height: 1.3;
}
.pkg-body p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 18px; line-height: 1.65; }
.pkg-footer { display: flex; align-items: center; justify-content: space-between; }
.pkg-link {
  font-size: 13px; font-weight: 600; color: var(--forest);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.pkg-link:hover { gap: 10px; }
.pkg-link svg { width: 16px; height: 16px; }
.pkg-duration { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.view-all {
  text-align: center; margin-top: 48px;
}
.view-all a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--forest); color: var(--forest);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.view-all a:hover { background: var(--forest); color: white; }

/* ─── REVIEWS ─── */
.reviews { background: var(--white); }
.reviews-header-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.ta-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #00aa6c;
}
.ta-logo svg { width: 24px; height: 24px; }
.reviews-rating { display: flex; align-items: center; gap: 8px; }
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.rating-text { font-size: 13px; color: var(--gray-600); }
.reviews-track {
  display: flex; gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 16px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  min-width: 360px; max-width: 400px;
  background: var(--gray-100); border-radius: 10px;
  padding: 28px; scroll-snap-align: start; flex-shrink: 0;
  border: 1px solid var(--gray-200);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars svg { width: 14px; height: 14px; fill: var(--gold); }
.review-text {
  font-size: 14px; color: var(--gray-800); line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--gray-200);
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.review-author-info strong { font-size: 13px; color: var(--midnight); display: block; }
.review-author-info span { font-size: 12px; color: var(--gray-400); }
.reviews-nav { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.reviews-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; color: var(--gray-600);
}
.reviews-nav button:hover { border-color: var(--forest); color: var(--forest); }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 32px 24px; text-align: center;
  background: var(--white); border-radius: 10px;
  border: 1px solid var(--gray-200); transition: all .3s;
}
.service-card:hover { border-color: var(--forest); transform: translateY(-2px); }
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-card h3 { font-family: var(--serif); font-size: 17px; color: var(--midnight); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ─── GALLERY ─── */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
}
.gallery-item {
  border-radius: 6px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #4A8A5C, #6DA87A);
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; font-weight: 600;
}

/* ─── CTA ─── */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(160deg, #E8F0E6 0%, #D4E4D0 40%, #C8DCBE 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(197,147,42,.06), transparent);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); color: var(--midnight); margin-bottom: 16px; }
.cta-content p { color: var(--gray-600); font-size: 16px; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer {
  background: #2D3A2E; padding: 64px 0 32px; color: rgba(255,255,255,.6);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.4); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { opacity: .5; transition: opacity .2s; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 20px; height: 20px; fill: white; }

/* ─── FLOATING BTNS ─── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  animation: waBounce 2s ease-in-out infinite;
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.1); animation: none; }
.float-wa svg { width: 28px; height: 28px; fill: white; }
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-3px); }
}

.float-share {
  position: fixed; bottom: 28px; left: 28px; z-index: 90;
}
.share-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--midnight); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all .3s;
}
.share-toggle:hover { background: var(--forest); }
.share-toggle svg { width: 20px; height: 20px; fill: white; transition: transform .3s; }
.share-toggle.active svg { transform: rotate(45deg); }
.share-dropdown {
  position: absolute; bottom: 60px; left: 0;
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
  padding: 8px; min-width: 52px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s;
}
.share-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.share-dropdown a {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.share-dropdown a:hover { background: var(--gray-100); }
.share-dropdown a svg { width: 20px; height: 20px; }

/* ─── MOBILE NAV ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 28px; color: var(--midnight); }
.mobile-close { position: absolute; top: 20px; right: 24px; font-size: 28px; color: var(--midnight); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero { min-height: 75vh; }
  .hero h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 16/10; }
  .packages-grid { grid-template-columns: 1fr; }
  .review-card { min-width: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .stats-inner { gap: 24px; }
  .section { padding: 64px 0; }
  .float-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .float-share { bottom: 20px; left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
