/* ============================================================
   BASICGARDEN JARDINERS — Luxury Organic Editorial
   Playfair Display (headings) + DM Sans (body)
   Palette: Forest #1a3a2a · Moss #2d5a3d · Gold #c8a96e · Cream #f9f6f0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:      #1a3a2a;
  --moss:        #2d5a3d;
  --moss-light:  #3d7a52;
  --gold:        #c8a96e;
  --gold-light:  #dfc08a;
  --gold-pale:   #f0e4c8;
  --cream:       #f9f6f0;
  --cream-dark:  #f0ece4;
  --white:       #ffffff;
  --ink:         #1a2618;
  --ink-mid:     #4a5e48;
  --ink-light:   #8a9e88;

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(26,58,42,0.96);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(200,169,110,0.18);
  transition: background 0.3s, box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.25); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo-mark {
  width: 36px; height: 36px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform 0.3s var(--ease-spring);
}
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.05); }

.logo-text {
  font-family: var(--ff-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.3px;
}
.logo-text span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem; font-weight: 500;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
nav a.active { color: var(--gold); }

.btn-presupuesto {
  background: var(--gold) !important;
  color: var(--forest) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: var(--r-sm) !important;
  border: none; letter-spacing: 0.2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.btn-presupuesto:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.4) !important;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.28) 50%,
      rgba(0,0,0,0.45) 100%),
    url('imagenes/proyecto2.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 860px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; justify-content: center;
  animation: heroFadeUp 0.9s var(--ease-out) 0.1s both;
}

.hero-eyebrow-line {
  width: 40px; height: 1px; background: var(--gold); flex-shrink: 0;
}

.hero-eyebrow-text {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: heroFadeUp 0.9s var(--ease-out) 0.25s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.9);
  max-width: 580px; margin: 0 auto 44px; line-height: 1.75;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
  animation: heroFadeUp 0.9s var(--ease-out) 0.4s both;
}

.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 0.9s var(--ease-out) 0.55s both;
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--forest);
  font-weight: 700; font-size: 0.95rem;
  padding: 15px 28px; border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.2px; border: none; cursor: pointer;
  font-family: var(--ff-body);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200,169,110,0.45);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-weight: 500; font-size: 0.95rem;
  padding: 14px 28px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer; font-family: var(--ff-body);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.45); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 500;
  animation: heroFadeUp 1s var(--ease-out) 1.1s both;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--forest);
  border-top: 2px solid var(--gold);
}

.stats-band-inner {
  display: flex; align-items: stretch;
}

.stats-band-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 20px; text-align: center;
  transition: background 0.3s;
  position: relative;
}
.stats-band-item::after {
  content: ''; position: absolute; right: 0; top: 25%; bottom: 25%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.stats-band-item:last-child::after { display: none; }
.stats-band-item:hover { background: rgba(200,169,110,0.07); }

.stats-band-num {
  font-family: var(--ff-head);
  font-size: 2.8rem; font-weight: 900;
  color: var(--gold); line-height: 1;
  letter-spacing: -1px;
}

.stats-band-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.55);
  margin-top: 6px; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600;
}

/* ===== SECTION BASE ===== */
section { padding: 100px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-tag-line { width: 32px; height: 1px; background: var(--gold); }
.section-tag-text {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--forest);
  line-height: 1.15; letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem; color: var(--ink-mid);
  max-width: 560px; line-height: 1.7; font-weight: 300;
}
.section-sub.light { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 60px; }

/* ===== SERVICIOS ===== */
#servicios { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
}

/* Photo */
.service-card-img {
  position: absolute; inset: 0;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .service-card-img img { transform: scale(1.08); }

/* Dark gradient overlay — always visible, darker on hover */
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,28,18,0.82) 0%,
    rgba(10,28,18,0.45) 45%,
    rgba(10,28,18,0.18) 100%
  );
  transition: background 0.4s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,28,18,0.92) 0%,
    rgba(10,28,18,0.60) 50%,
    rgba(10,28,18,0.30) 100%
  );
}

/* Text centered on the card */
.service-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 28px 20px;
  text-align: center;
}

.service-card h3 {
  font-family: var(--ff-head);
  font-size: 1.05rem; font-weight: 800;
  color: var(--white); line-height: 1.25;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease-out), margin-bottom 0.3s;
}

.service-card p {
  font-size: 0.82rem; color: rgba(255,255,255,0.88);
  line-height: 1.6; font-weight: 300;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s, margin-top 0.3s;
  margin-top: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* On hover: title moves up, description appears */
.service-card:hover h3 {
  transform: translateY(-6px);
  margin-bottom: 10px;
}
.service-card:hover p {
  max-height: 120px;
  opacity: 1;
  margin-top: 0;
}

/* Gold bottom line on hover */
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::after { transform: scaleX(1); }

/* ===== POR QUÉ ELEGIRNOS ===== */
#nosotros { background: var(--white); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.nosotros-text-col {}

.nosotros-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--r-md);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(26,58,42,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--forest);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.feature-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem; font-weight: 700; color: var(--forest);
}
.feature-card p {
  font-size: 0.85rem; color: var(--ink-mid);
  line-height: 1.65; font-weight: 300;
}

.nosotros-visual {
  position: relative;
}

.nosotros-img-stack {
  position: relative; height: 560px;
}

.nosotros-img-main {
  position: absolute; top: 0; left: 40px; right: 0; bottom: 60px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,58,42,0.2);
}
.nosotros-img-main img {
  width: 100%; height: 100%; object-fit: cover;
}

.nosotros-img-accent {
  position: absolute; bottom: 0; left: 0; width: 55%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,58,42,0.25);
  border: 4px solid var(--white);
}
.nosotros-img-accent img {
  width: 100%; height: 200px; object-fit: cover;
}

.nosotros-badge {
  position: absolute; top: 32px; left: 0;
  background: var(--forest);
  color: var(--white); border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid rgba(200,169,110,0.3);
}
.nosotros-badge-num {
  font-family: var(--ff-head);
  font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.nosotros-badge-txt {
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 3px;
}

/* ===== GALERÍA ===== */
#galeria { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--cream-dark);
}
.gallery-item:nth-child(1) { grid-row: span 2; aspect-ratio: unset; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}
.gallery-item:nth-child(1) img { height: 100%; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,42,0.85) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  color: var(--white); font-size: 0.88rem;
  font-weight: 600; line-height: 1.3;
}

.gallery-zoom {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}
.gallery-item:hover .gallery-zoom {
  opacity: 1; transform: scale(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,22,14,0.95);
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.active { display: flex; animation: lbIn 0.3s var(--ease-out) both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-inner {
  position: relative; max-width: 1000px; width: 100%;
  animation: lbZoom 0.35s var(--ease-out) both;
}
@keyframes lbZoom { from { transform: scale(0.93); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lightbox-inner img {
  width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: var(--r-md); display: block;
}

.lightbox-caption {
  text-align: center; color: rgba(255,255,255,0.65);
  font-size: 0.88rem; margin-top: 16px; font-weight: 400;
  letter-spacing: 0.3px;
}

.lightbox-close {
  position: absolute; top: -18px; right: -18px;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--forest);
  border: none; border-radius: 50%;
  font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: var(--gold-light); transform: scale(1.1); }

.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white); border-radius: 50%;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(200,169,110,0.3); border-color: var(--gold);
}

/* ===== TRANSFORMACIONES ===== */
#transformaciones { background: var(--forest); padding: 100px 0; }

.comparisons-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.comparison-wrap { display: flex; flex-direction: column; }

.comparison-slider {
  position: relative; width: 100%; height: 360px;
  overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0;
  cursor: ew-resize; user-select: none; -webkit-user-select: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.cs-after { position: absolute; inset: 0; }
.cs-after img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.cs-before { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; }
.cs-before img {
  position: absolute; top: 0; left: 0;
  height: 100%; object-fit: cover; display: block; pointer-events: none;
}

.cs-divider {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%;
  background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.cs-handle {
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  gap: 3px; font-size: 11px; color: var(--forest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  pointer-events: all; cursor: ew-resize; font-weight: 900;
  position: relative; z-index: 10;
  transition: transform 0.2s var(--ease-spring);
}
.comparison-slider:hover .cs-handle { transform: scale(1.1); }

.cs-labels {
  display: flex; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(26,58,42,0.6);
  backdrop-filter: blur(4px);
  border-radius: 0 0 var(--r-md) var(--r-md);
  border-top: 1px solid rgba(200,169,110,0.2);
}
.cs-label-before, .cs-label-after {
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 2px; color: var(--gold); text-transform: uppercase;
}

.cs-title {
  text-align: center; color: rgba(255,255,255,0.8);
  font-size: 0.92rem; font-weight: 600;
  margin-top: 16px;
  font-family: var(--ff-head); font-style: italic;
}

/* ===== TESTIMONIOS ===== */
#testimonios { background: var(--forest); padding: 100px 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.review-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,169,110,0.3);
  transform: translateY(-4px);
}

.review-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}

.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

.google-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); font-weight: 600;
}

.review-text {
  font-size: 0.9rem; color: rgba(255,255,255,0.82);
  line-height: 1.75; margin-bottom: 24px; font-style: italic;
  font-weight: 300;
}

.review-author { display: flex; align-items: center; gap: 12px; }

.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--moss), var(--moss-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.9rem;
  flex-shrink: 0; border: 2px solid rgba(200,169,110,0.3);
}

.review-name { font-weight: 600; color: var(--white); font-size: 0.92rem; }
.review-location { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

.reviews-summary { margin-top: 56px; display: flex; justify-content: center; }

.reviews-total {
  display: flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: var(--r-lg); padding: 28px 48px;
}
.reviews-score {
  font-family: var(--ff-head); font-size: 4rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.reviews-stars-big { color: var(--gold); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 5px; }
.reviews-count { font-size: 0.83rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ===== CONTACTO ===== */
#contacto { background: var(--cream); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 72px; align-items: start;
}

.contact-info-title {
  font-family: var(--ff-head);
  font-size: 1.5rem; font-weight: 800; color: var(--forest);
  margin-bottom: 16px;
}

.contact-info-sub {
  font-size: 0.95rem; color: var(--ink-mid); line-height: 1.7;
  margin-bottom: 40px; font-weight: 300;
}

.contact-item {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--forest); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  transition: transform 0.2s var(--ease-spring);
}
.contact-item:hover .contact-item-icon { transform: scale(1.08); }

.contact-item-text strong {
  display: block; font-size: 0.72rem; color: var(--ink-light);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.contact-item-text span {
  font-size: 0.95rem; color: var(--forest); font-weight: 600;
}

/* Float-label form */
.contact-form {
  background: var(--white);
  border-radius: var(--r-xl); padding: 44px;
  box-shadow: 0 8px 48px rgba(26,58,42,0.1);
  border: 1px solid var(--cream-dark);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; position: relative; }

.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700;
  color: var(--forest); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--r-sm);
  font-size: 0.95rem; font-family: var(--ff-body);
  color: var(--ink); background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--moss);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45,90,61,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%; padding: 16px;
  background: var(--forest); color: var(--white);
  font-size: 0.95rem; font-weight: 700;
  font-family: var(--ff-body); letter-spacing: 0.5px;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}
.form-submit:hover {
  background: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,58,42,0.28);
}

.form-success {
  display: none; text-align: center; padding: 40px 20px;
  color: var(--forest); font-weight: 600; font-size: 1.1rem;
  font-family: var(--ff-head);
}

/* ===== FOOTER ===== */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 72px 0 36px; }

.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}

.footer-logo {
  font-family: var(--ff-head); font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--gold); }

.footer-brand p {
  font-size: 0.87rem; line-height: 1.75; max-width: 260px;
  margin-bottom: 28px; font-weight: 300;
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-spring);
}
.social-link:hover {
  background: var(--gold); border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.87rem; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a::before {
  content: '→'; font-size: 0.7rem; opacity: 0;
  transform: translateX(-6px); transition: opacity 0.2s, transform 0.2s;
}
.footer-col ul li a:hover::before { opacity: 1; transform: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--gold); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--gold); color: var(--forest);
  border: none; border-radius: 50%;
  font-size: 18px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s var(--ease-spring), background 0.2s;
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--gold-light); transform: translateY(-3px) scale(1.05); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .comparisons-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-item:nth-child(1) img { height: 100%; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .lightbox-prev { left: -8px; }
  .lightbox-next { right: -8px; }
  .reviews-total { padding: 20px 28px; }
}

@media (max-width: 768px) {
  nav {
    display: none; position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--forest); flex-direction: column;
    padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 2px;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 14px; width: 100%; border-radius: var(--r-sm); }
  .hamburger { display: flex; }
  section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .nosotros-features { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta-row { flex-direction: column; }
  .btn-gold, .btn-outline { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .stats-band-inner { flex-wrap: wrap; }
  .stats-band-item { flex: 1 1 45%; }
  .stats-band-item::after { display: none; }
}
