/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --olive-light:    #748031;  /* Pantone 7491 C */
  --olive-dark:     #455A45;  /* Pantone 7735 C */
  --gray:           #797979;  /* Pantone Cool Gray 9 C */
  --white:          #FFFFFF;
  --off-white:      #F4F5EE;
  --text:           #242820;
  --text-muted:     #555850;

  --font-display:   'Cinzel', 'Georgia', serif;
  --font-body:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:          72px;
  --max-w:          1100px;
  --pad-section:    110px 0;
  --ease:           0.3s ease;
  --radius:         8px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ol, ul { list-style: none; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 600;
  color: var(--olive-dark);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.section-title--light { color: var(--white); }

/* ── Botones ── */
.btn {
  display: inline-block;
  padding: 15px 44px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--olive-light);
  color: var(--white);
  border-color: var(--olive-light);
}
.btn--primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--olive-dark); }

/* ── Logo partes (fallback texto, ya no en uso principal) ── */
.logo-entre  { color: var(--olive-light); }
.logo-olivos { color: var(--olive-dark); }
.logo-olivos--light { color: var(--white); }

/* ── Animación fade-in (Intersection Observer) ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 28px;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav--scrolled {
  background: rgba(42, 55, 42, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--ease);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--olive-light);
  transition: width var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--olive-light);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 3px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--olive-dark); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e2e1e;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 10, 0.72) 0%,
    rgba(20, 35, 20, 0.65) 50%,
    rgba(10, 20, 10, 0.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: calc(var(--nav-h) + 48px) 28px 80px;
}

.hero__logo-wrap {
  margin-bottom: 52px;
  display: flex;
  justify-content: center;
}
.hero__logo-img {
  width: clamp(260px, 55vw, 500px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.35; transform: translateX(-50%) scaleY(1); }
  50%      { opacity: 0.9;  transform: translateX(-50%) scaleY(1.12); }
}

/* ============================================================
   VISUAL / EMOCIONAL
   ============================================================ */
.visual {
  padding: var(--pad-section);
  background: var(--off-white);
  text-align: center;
}
.visual__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  color: var(--olive-dark);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
}
.visual__text::before { content: '— '; color: var(--olive-light); }
.visual__text::after  { content: ' —'; color: var(--olive-light); }

/* ============================================================
   PROPUESTA DE VALOR
   ============================================================ */
.propuesta {
  background: var(--white);
  overflow: hidden;
}
.propuesta__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.propuesta__img {
  overflow: hidden;
}
.propuesta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}
.propuesta__img:hover img { transform: scale(1.04); }
.propuesta__texto {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.propuesta__titulo {
  text-align: left;
  margin-bottom: 1.5rem;
}
.propuesta__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}
.propuesta__text:last-child { margin-bottom: 0; }

/* ============================================================
   SERVICIOS / QUÉ INCLUYE
   ============================================================ */
.servicios {
  padding: var(--pad-section);
  background: var(--olive-dark);
}
.servicios__intro {
  text-align: center;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 56px;
  font-size: 0.98rem;
}
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 52px;
}
.servicio-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: background var(--ease), transform var(--ease);
}
.servicio-item:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
}
.servicio-item__icon { font-size: 1.9rem; margin-bottom: 12px; }
.servicio-item p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.servicios__cierre {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 36px;
}

/* ============================================================
   EXPERIENCIA / DIFERENCIAL
   ============================================================ */
.experiencia {
  background: var(--off-white);
  overflow: hidden;
}
.experiencia__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.experiencia__texto {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.experiencia__texto .section-title { text-align: left; }
.experiencia__img {
  overflow: hidden;
}
.experiencia__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s ease;
}
.experiencia__img:hover img { transform: scale(1.04); }
.experiencia__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.85;
}
.experiencia__text--highlight {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--olive-dark);
  margin-bottom: 0;
}

/* ============================================================
   GALERÍA
   ============================================================ */
.galeria {
  padding: var(--pad-section);
  background: var(--white);
}
.galeria .section-title { margin-bottom: 48px; }

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 14px;
}
.galeria__item--tall { grid-row: span 2; }

.galeria__img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background-color: #d8dece;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease);
  cursor: pointer;
}
.galeria__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,46,30,0.65) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease);
}
.galeria__img:hover { transform: scale(1.025); }
.galeria__img:hover::before { opacity: 1; }

.galeria__label {
  position: absolute;
  bottom: 14px; left: 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--ease);
}
.galeria__img:hover .galeria__label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios {
  padding: var(--pad-section);
  background: var(--olive-light);
}
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}
.testimonio {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 44px 32px 32px;
  position: relative;
  backdrop-filter: blur(4px);
}
.testimonio__comillas {
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.2);
  position: absolute;
  top: 10px; left: 26px;
  user-select: none;
}
.testimonio__texto {
  font-size: 1rem;
  color: rgba(255,255,255,0.93);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}
.testimonio__autor {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonio__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.testimonio__nombre {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonio__tipo {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* ============================================================
   PROCESO
   ============================================================ */
.proceso {
  padding: var(--pad-section);
  background: var(--white);
}
.proceso__lista {
  max-width: 640px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.paso {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--off-white);
  border-left: 4px solid var(--olive-light);
  border-radius: var(--radius);
  padding: 22px 28px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  margin-bottom: 12px;
}
.paso:last-child { margin-bottom: 0; }
.paso:hover {
  border-left-color: var(--olive-dark);
  box-shadow: 0 4px 24px rgba(69,90,69,0.1);
  transform: translateX(5px);
}
.paso__num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--olive-light);
  min-width: 44px;
  line-height: 1;
}
.paso__texto {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   CONTACTO / CTA CIERRE
   ============================================================ */
.contacto {
  background: linear-gradient(140deg, #1e2e1e 0%, var(--olive-dark) 100%);
  padding: 120px 28px;
  text-align: center;
}
.contacto__inner { max-width: 640px; margin: 0 auto; }
.contacto__texto {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.82;
  max-width: 520px;
  margin: 0 auto 44px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #131d13;
  padding: 52px 28px;
  text-align: center;
}
.footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.footer__copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
  margin-top: 20px;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 99;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  transition: transform var(--ease), box-shadow var(--ease);
  overflow: visible;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
}
.whatsapp-fab__tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: #131d13;
  color: var(--white);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--ease);
}
.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #131d13;
}
.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad-section: 72px 0; }

  .propuesta__split,
  .experiencia__split {
    grid-template-columns: 1fr;
  }
  .propuesta__img { min-height: 300px; }
  .propuesta__texto,
  .experiencia__texto { padding: 52px 28px; }
  .propuesta__titulo,
  .experiencia__texto .section-title { text-align: center; }
  .experiencia__img { min-height: 300px; order: -1; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(42,55,42,0.98);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    display: block;
    padding: 14px 28px;
    font-size: 0.85rem;
  }
  .nav__link::after { display: none; }
  .nav__link--cta { margin: 8px 28px 0; border-radius: 3px; text-align: center; }
  .nav__toggle { display: flex; }

  .galeria__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .galeria__item--tall { grid-row: span 1; }

  .servicios__grid { grid-template-columns: 1fr 1fr; }

  .visual__text::before,
  .visual__text::after { display: none; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .galeria__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  .servicios__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .whatsapp-fab__tooltip { display: none; }
  .btn { padding: 14px 32px; }
}
