/* ===================================================
   PUNTALTA ALTAGRACIA — Stylesheet
   Paleta: Verde lima (#8ab62a / #9bc93b), Gris oscuro (#3d3d3d), Blanco
   Tipografía: Cormorant Garamond (display) + Jost (body)
=================================================== */

:root {
  --green-primary: #8ab62a;
  --green-light: #9bc93b;
  --green-dark: #6a8e1e;
  --green-muted: #d6e8a0;
  --gray-dark: #2e2e2e;
  --gray-mid: #3d3d3d;
  --gray-text: #555;
  --gray-light: #f5f5f3;
  --white: #ffffff;
  --off-white: #fafaf8;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
  --radius: 4px;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-strong: 0 12px 50px rgba(0,0,0,0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--gray-mid);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
p { line-height: 1.75; color: var(--gray-text); }

/* ---- CONTAINERS ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---- TYPOGRAPHY ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 1rem;
}
.section-tag.light { color: var(--green-muted); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--green-primary);
}
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--white);
}
.btn-pagar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green-primary);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: 2px solid var(--green-primary);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-pagar svg { width: 16px; height: 16px; }
.btn-pagar:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138, 182, 42, 0.35);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar.scrolled .nav-links a { color: var(--gray-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--green-primary); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.navbar.scrolled .nav-logo img { filter: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--green-primary);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }
.nav-pagar { font-size: 0.78rem; padding: 0.65rem 1.4rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,30,30,0.7) 0%,
    rgba(46,78,14,0.45) 60%,
    rgba(0,0,0,0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  animation: heroFade 1s 0.3s ease-out both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(155, 201, 59, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--green-light);
}
.hero-title span {
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.2rem 2rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 3.5rem;
}
.stat-item strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-light);
}
.stat-item span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ===== SECTIONS ===== */
.section {
  padding: 7rem 0;
}
.nosotros { background: var(--off-white); }
.col-text p { margin-bottom: 1rem; }

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1.5px solid var(--green-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.2rem;
}
.feature-item p { font-size: 0.85rem; margin: 0; }

/* Image frame */
.img-frame {
  position: relative;
  border-radius: 6px;
  overflow: visible;
}
.img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-strong);
}
.img-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--green-primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.img-badge span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* ===== PAGO SECTION ===== */
.pago-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.pago-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-dark) 0%, #1a2800 100%);
  z-index: 0;
}
.pago-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(138,182,42,0.12) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(155,201,59,0.08) 0%, transparent 50%);
}
.pago-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
}
.pago-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.pago-text h2 em {
  font-style: italic;
  color: var(--green-light);
}
.pago-text p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.pago-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pago-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.pago-benefits svg {
  width: 16px; height: 16px;
  color: var(--green-light);
  flex-shrink: 0;
}
.pago-card {
  flex-shrink: 0;
}
.pago-card-inner {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.pago-card-logo img {
  height: 70px;
  width: auto;
  margin: 0 auto 1.5rem;
}
.pago-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.4rem;
}
.pago-card-inner > p {
  font-size: 0.82rem;
  color: var(--gray-text);
  margin-bottom: 1.8rem;
}
.btn-pagar-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-pagar-card svg { width: 16px; height: 16px; }
.btn-pagar-card:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(138,182,42,0.4);
  transform: translateY(-1px);
}
.pago-note {
  font-size: 0.72rem;
  color: var(--gray-text);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ===== AMENIDADES ===== */
.amenidades { background: var(--gray-light); }
.amenidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.amenidad-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenidad-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}
.amenidad-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.amenidad-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.amenidad-card:hover .amenidad-img img { transform: scale(1.05); }
.amenidad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
}
.amenidad-placeholder {
  background: var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenidad-placeholder.green { background: #2a3a10; }
.placeholder-icon { color: rgba(138,182,42,0.3); }
.placeholder-icon svg { width: 80px; height: 80px; }
.amenidad-body {
  padding: 1.5rem;
}
.amenidad-icon {
  width: 38px; height: 38px;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}
.amenidad-icon svg { width: 28px; height: 28px; }
.amenidad-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}
.amenidad-body p { font-size: 0.87rem; }

/* ===== GALERÍA ===== */
.galeria { background: var(--off-white); }
.galeria-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 520px;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.galeria-item:hover img { transform: scale(1.06); }
.g-large { grid-row: 1 / 3; }
.galeria-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5rem 1rem 0.75rem;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.galeria-item:hover .galeria-caption { opacity: 1; transform: none; }

/* ===== UBICACIÓN ===== */
.ubicacion { background: var(--white); }
.ubicacion-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.ubi-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.ubi-item svg {
  width: 22px; height: 22px;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.ubi-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.3rem;
}
.ubi-item p { font-size: 0.87rem; margin: 0; }
.map-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  height: 400px;
}
.map-frame iframe { display: block; }

/* ===== CONTACTO / CTA ===== */
.contacto { background: var(--gray-light); padding: 5rem 0; }
.cta-pago {
  background: var(--white);
  border-radius: 12px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--green-primary);
}
.cta-pago-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.cta-pago-text h2 em {
  font-style: italic;
  color: var(--green-primary);
}
.cta-pago-text p { font-size: 0.9rem; max-width: 450px; }
.btn-pagar-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(138,182,42,0.3);
}
.btn-pagar-hero svg { width: 18px; height: 18px; }
.btn-pagar-hero:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(138,182,42,0.45);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-dark);
  padding: 5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-brand img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin: 0;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-light); }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pago-content { grid-template-columns: 1fr; }
  .pago-card { justify-self: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }
  .nav-links, .nav-pagar { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--gray-dark);
    padding: 5rem 2rem 2rem;
    z-index: 999;
    gap: 1.5rem;
  }
  .nav-links.open a { color: var(--white); font-size: 1.2rem; }
  .hamburger { display: flex; }
  .stats-strip { gap: 0; padding: 1.5rem 1rem; }
  .stat-item { padding: 0.8rem 1.2rem; }
  .stat-divider { height: 30px; }
  .amenidades-grid { grid-template-columns: 1fr; }
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .galeria-item { height: 240px; }
  .g-large { grid-row: auto; height: 280px; }
  .cta-pago {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scroll { display: none; }
  .img-frame img { height: 350px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-pagar { width: 100%; justify-content: center; }
  .section { padding: 4rem 0; }
  .pago-card-inner { width: 100%; }
}
