:root{
  --ivory:#F3EFE8;
  --sand:#F3EFE8;
  --stone:#E7E2D9;
  --taupe:#A89B8C;
  --charcoal:#2D2D2D;
  --gold-accent:#C5A880;
  --line:rgba(45,45,45,.12);
}

*{margin:0;padding:0;box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--sand);
  color:var(--charcoal);
  font-family:'Manrope',sans-serif;
  overflow-x:hidden;
}

/* HEADER */
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:100;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-bottom:none;
  pointer-events:none;
}

.brand,
.menu-button{
  pointer-events:auto;
}

.brand{
  display:inline-block;
  text-decoration:none;
}

.brand img{
  width:85px;
  height:auto;
  display:block;
  filter:none;
}

/* BOTÓN HAMBURGUESA EDITORIAL */
.menu-button{
  border:none;
  background:transparent;
  width:44px;
  height:44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  gap:5px;
  cursor:pointer;
  padding:0;
  pointer-events:auto;
  transition:opacity .3s ease;
}

.menu-button span{
  display:block;
  height:1.5px;
  background:var(--charcoal);
  border-radius:2px;
  transition:all .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-button span:nth-child(1){ width:24px; }
.menu-button span:nth-child(2){ width:18px; }
.menu-button span:nth-child(3){ width:24px; }

.menu-button:hover span{
  background:var(--gold-accent);
}

.menu-button:hover span:nth-child(2){
  width:24px;
}

/* MENU */
.menu-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(243,239,232,.98);
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  visibility:hidden;
  transition:.5s ease;
}

.menu-overlay.active{
  opacity:1;
  visibility:visible;
}

.menu-close{
  position:absolute;
  top:24px;
  right:24px;
  border:none;
  background:transparent;
  font-family:'Manrope',sans-serif;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:2px;
  color:var(--charcoal);
  cursor:pointer;
  padding:8px 12px;
  transition:color .3s ease;
}

.menu-close:hover{
  color:var(--gold-accent);
}

.menu-overlay nav{
  display:flex;
  flex-direction:column;
  gap:24px;
  text-align:center;
}

.menu-overlay nav a{
  color:var(--charcoal);
  text-decoration:none;
  font-family:'Cormorant Garamond',serif;
  font-size:3rem;
}

/* HERO */
.hero{
  background:var(--sand);
}

.hero-photo{
  position:relative;
  height:58vh;
  min-height:380px;
  overflow:hidden;
  background:var(--sand);
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 34%;
  display:block;
  transition:transform 1.6s cubic-bezier(.22,1,.36,1);
}

.hero-photo:hover img{
  transform:scale(1.04);
}

.hero-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,
      rgba(243,239,232,.10) 0%,
      rgba(243,239,232,.05) 45%,
      rgba(243,239,232,.72) 86%,
      rgba(243,239,232,1) 100%);
}

.hero-content{
  background:var(--sand);
  padding:24px 24px 58px;
}

.hero-content span,
.section-heading span,
.philosophy span,
.contact span{
  display:block;
  margin-bottom:14px;
  font-size:.72rem;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(45,45,45,.68);
}

.hero h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.7rem,9vw,4.4rem);
  line-height:.96;
  letter-spacing:-.03em;
  font-weight:300;
  margin-bottom:12px;
  color:var(--charcoal);
}

.hero-subheading{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.6rem,4.5vw,2.4rem);
  font-weight:400;
  line-height:1.1;
  color:var(--taupe);
  margin-bottom:22px;
}

.hero-subheading em{
  font-style:italic;
  color:var(--charcoal);
}

.hero p,
.hero-subline{
  max-width:520px;
  font-family:'Manrope',sans-serif;
  font-size:clamp(0.72rem, 1.4vw, 0.82rem);
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
  line-height:1.6;
  margin-bottom:0;
  color:rgba(45,45,45,.62);
}

/* ENLACES EDITORIALES DE ACCIÓN (SUBRAYADO FINO CON FLECHITA) */
.main-button,
.secondary-button,
.editorial-action-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 8px 0;
  color: var(--charcoal);
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
  transition: color 0.35s ease;
}

.main-button::after,
.secondary-button::after,
.editorial-action-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--charcoal);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

.btn-arrow {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.main-button:hover,
.secondary-button:hover,
.editorial-action-link:hover {
  color: var(--gold-accent);
}

.main-button:hover::after,
.secondary-button:hover::after,
.editorial-action-link:hover::after {
  background: var(--gold-accent);
  height: 1.5px;
}

.main-button:hover .btn-arrow,
.secondary-button:hover .btn-arrow,
.editorial-action-link:hover .btn-arrow {
  transform: translateX(6px);
  color: var(--gold-accent);
}
/* ========================================================
   SECCIÓN EXPERIENCIAS EDITORIALES (SPLIT INTERACTIVO)
   ======================================================== */
.editorial-experiences {
  padding: 85px 6vw 35px;
  background: var(--sand);
  position: relative;
}

.experiences-header {
  margin-bottom: 55px;
}

.experiences-header .eyebrow {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 12px;
}

.experiences-header .editorial-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 300;
  color: var(--charcoal);
}

.experiences-header .editorial-title em {
  font-style: italic;
  font-weight: 400;
}

.editorial-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-list-container {
  display: flex;
  flex-direction: column;
}

.editorial-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(45, 45, 45, 0.12);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.editorial-service-row:first-child {
  border-top: 1px solid rgba(45, 45, 45, 0.12);
}

.service-meta {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.service-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--taupe);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  color: rgba(45, 45, 45, 0.7);
  line-height: 1.5;
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-service-row.active .service-desc,
.editorial-service-row:hover .service-desc {
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
}

.editorial-service-row.active .service-title,
.editorial-service-row:hover .service-title {
  color: var(--charcoal);
  transform: translateX(8px);
}

.editorial-service-row.active .service-num,
.editorial-service-row:hover .service-num {
  color: var(--gold-accent);
}

.service-action {
  padding-left: 16px;
}

.service-arrow {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  color: var(--taupe);
  opacity: 0.4;
  transition: all 0.3s ease;
  display: inline-block;
}

.editorial-service-row:hover .service-arrow,
.editorial-service-row.active .service-arrow {
  opacity: 1;
  color: var(--charcoal);
  transform: translate(3px, -3px);
}

/* ========================================================
   JARDÍN BOTÁNICO VIVO (PNG INTERACTIVO SIN RECUADROS)
   ======================================================== */
.service-garden-window {
  position: sticky;
  top: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.garden-stage {
  position: relative;
  width: 480px;
  height: 540px;
}

.garden-flower {
  position: absolute;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.55s ease,
              filter 0.65s ease;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 14px 28px rgba(45, 45, 45, 0.10));
  cursor: pointer;
}

.garden-flower img {
  width: 100%;
  height: auto;
  display: block;
}

/* Posicionamiento exacto orgánico */
/* 01: Peonía Blanca (Top Center) */
.flower-peonia {
  top: 4%;
  left: 20%;
  width: 225px;
  z-index: 5;
}

/* 04: Amapola Coral (Izquierda Media) */
.flower-amapola {
  top: 35%;
  left: 3%;
  width: 140px;
  z-index: 4;
}

/* 03: Hortensia Azul (Abajo Izquierda) */
.flower-hortensia {
  top: 50%;
  left: 20%;
  width: 165px;
  z-index: 6;
}

/* 02: Rosa Rosé (Centro Derecha) */
.flower-rosa {
  top: 38%;
  left: 42%;
  width: 200px;
  z-index: 7;
}

/* 05: Magnolia Celestial (Abajo Derecha) */
.flower-magnolia {
  top: 52%;
  left: 64%;
  width: 165px;
  z-index: 5;
}

/* Elementos de Fondo Suaves */
.flower-gypsophila {
  top: 38%;
  left: 23%;
  width: 75px;
  opacity: 0.5;
  filter: blur(1.5px) drop-shadow(0 4px 10px rgba(45, 45, 45, 0.04));
  z-index: 1;
  pointer-events: none;
}

.flower-lavanda {
  top: 22%;
  left: 58%;
  width: 70px;
  opacity: 0.55;
  filter: blur(1px) drop-shadow(0 4px 10px rgba(45, 45, 45, 0.04));
  z-index: 1;
  pointer-events: none;
}

/* ESTADO DE ENFOQUE / REVEAL CUANDO SE PASA POR UN SERVICIO */
.garden-stage.has-focus .garden-flower:not(.is-active):not(.flower-gypsophila):not(.flower-lavanda) {
  opacity: 0.4;
  transform: scale(0.95);
  filter: drop-shadow(0 6px 14px rgba(45, 45, 45, 0.04)) blur(0.4px);
}

.garden-flower.is-active {
  opacity: 1 !important;
  transform: scale(1.18) translateY(-12px) !important;
  z-index: 20 !important;
  filter: drop-shadow(0 26px 45px rgba(45, 45, 45, 0.22)) !important;
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
  .editorial-experiences {
    padding: 50px 6vw 20px;
  }
  .editorial-split-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-garden-window {
    position: relative;
    top: 0;
    order: -1;
    min-height: auto;
    margin-bottom: 5px;
  }
  .garden-stage {
    width: 340px;
    height: 380px;
    transform: scale(0.85);
    transform-origin: center center;
  }
  .process{
    padding: 45px 24px 70px;
  }
}

@media (max-width: 480px) {
  .garden-stage {
    transform: scale(0.72);
    margin: -35px 0;
  }
}

/* PROCESS */
.process{
  padding:55px 24px 85px;
  background:var(--sand);
  border-top:none;
}

.process > span{
  display:block;
  margin-bottom:14px;
  font-size:.72rem;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(45,45,45,.68);
}

.process h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,10vw,4.4rem);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.035em;
  margin-bottom:18px;
  max-width:760px;
}

.process-intro{
  max-width:620px;
  margin-bottom:44px;
  line-height:1.85;
  color:rgba(45,45,45,.72);
}

.process-item{
  padding:26px 0;
  border-top:1px solid rgba(45,45,45,.10);
}

.process-item span{
  display:block;
  margin-bottom:10px;
  font-size:.72rem;
  letter-spacing:3px;
  color:var(--taupe);
}

.process-item h3{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.1rem,8vw,3.6rem);
  font-weight:400;
  line-height:1;
  letter-spacing:-0.02em;
  margin-bottom:12px;
}

.process-item p{
  max-width:560px;
  line-height:1.75;
  color:rgba(45,45,45,.72);
}

@media(min-width:900px){
  .process{
    padding:70px 7vw 95px;
  }

  .process-item{
    display:grid;
    grid-template-columns:90px 1fr 420px;
    gap:40px;
    align-items:center;
  }

  .process-item span{
    margin-bottom:0;
  }

  .process-item h3{
    margin-bottom:0;
  }

  .process-item p{
    max-width:420px;
  }
}

/* CONTACTO */
.contact{
  padding:85px 24px;
  text-align:center;
  background:var(--ivory);
  
}

.contact h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,10vw,4.8rem);
  line-height:.96;
  font-weight:400;
  margin-bottom:22px;
}

.contact p{
  margin-bottom:28px;
  color:rgba(45,45,45,.72);
}

.social{
  margin-top:34px;
  font-size:.78rem;
  letter-spacing:3px;
  text-transform:uppercase;
}

.reveal{
  opacity:0;
  transform:translateY(70px);
  transition:
    opacity 1.4s cubic-bezier(.22,1,.36,1),
    transform 1.4s cubic-bezier(.22,1,.36,1);
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* Efecto especial título Contacto */
.contact-reveal{
  overflow:visible;
}

.contact-reveal .word{
  display:inline-block;
  white-space:nowrap;
}

.contact-reveal .char{
  display:inline-block;
  will-change:transform, opacity, filter;
  transform-origin:top right;
}

/* DESKTOP */
@media(min-width:900px){

  .site-header{
    position:fixed;
    padding:24px 40px;
  }

  .brand img{
    width:85px;
  }

  .hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:40% 60%;
    background:var(--sand);
  }

  .hero-photo{
    order:2;
    height:100vh;
    min-height:700px;
  }

  .hero-photo img{
    object-position:center center;
  }

  .hero-gradient{
    background:
      linear-gradient(to right,
        rgba(243,239,232,1) 0%,
        rgba(243,239,232,.74) 16%,
        rgba(243,239,232,.10) 46%,
        rgba(243,239,232,.04) 100%),
      linear-gradient(to bottom,
        rgba(243,239,232,.20) 0%,
        rgba(243,239,232,.02) 45%,
        rgba(243,239,232,.22) 100%);
  }

  .hero-content{
    order:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:150px 6vw 80px;
    background:var(--sand);
  }

  .contact{
    padding:120px 7vw;
  }
}

.hero-photo{
  animation:heroPhotoIn 1.2s cubic-bezier(.22,1,.36,1) both;
}

.hero-content{
  animation:heroTextIn 1.25s cubic-bezier(.22,1,.36,1) .25s both;
}

.feature-card,
.philosophy,
.service-item,
.contact{
  opacity:0;
  transform:translateY(34px);
  animation:softIn 1s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-card:nth-child(1){ animation-delay:.15s; }
.feature-card:nth-child(2){ animation-delay:.28s; }
.feature-card:nth-child(3){ animation-delay:.41s; }

.service-item:nth-child(1){ animation-delay:.1s; }
.service-item:nth-child(2){ animation-delay:.2s; }
.service-item:nth-child(3){ animation-delay:.3s; }
.service-item:nth-child(4){ animation-delay:.4s; }

@keyframes heroPhotoIn{
  from{
    opacity:0;
    transform:scale(1.04);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes heroTextIn{
  from{
    opacity:0;
    transform:translateY(28px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes softIn{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* PRUEBA DE MOVIMIENTO SAXA */

.hero-photo img{
  animation:saxaZoom 2.2s ease-out forwards;
}

.hero-content{
  animation:saxaUp 1.2s ease-out both !important;
}

@keyframes saxaZoom{
  from{
    transform:scale(1.08);
  }
  to{
    transform:scale(1);
  }
}

@keyframes saxaUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* EFECTO SUAVE FINAL SAXA */

.feature-card.reveal,
.philosophy.reveal,
.service-item.reveal,
.contact.reveal{
  opacity:0 !important;
  transform:translateY(18px) !important;
  filter:blur(6px);
  transition:
    opacity 2.8s cubic-bezier(.19,1,.22,1),
    transform 2.8s cubic-bezier(.19,1,.22,1),
    filter 2.8s cubic-bezier(.19,1,.22,1) !important;
}

.feature-card.reveal.visible,
.philosophy.reveal.visible,
.service-item.reveal.visible,
.contact.reveal.visible{
  opacity:1 !important;
  transform:translateY(0) !important;
  filter:blur(0);
}

/* SUAVIDAD EXTRA EN IMÁGENES */

.feature-card.reveal img{
  opacity:0;
  transform:scale(1.025);
  transition:
    opacity 3.2s cubic-bezier(.19,1,.22,1),
    transform 3.2s cubic-bezier(.19,1,.22,1);
}

.feature-card.reveal.visible img{
  opacity:1;
}

.feature-card:hover img,
.feature-card:active img,
.feature-card.reveal.visible:hover img,
.feature-card.reveal.visible:active img{
  transform:scale(1.08) !important;
}

.feature-card.reveal h3,
.feature-card.reveal p{
  opacity:0;
  transform:translateY(12px);
  transition:
    opacity 2.4s cubic-bezier(.19,1,.22,1),
    transform 2.4s cubic-bezier(.19,1,.22,1);
  transition-delay:.35s;
}

.feature-card.reveal.visible h3,
.feature-card.reveal.visible p{
  opacity:1;
  transform:translateY(0);
}

/* ========================================================
   FOOTER EDITORIAL EN BLANCO LINO ("EL CALZÓN")
   ======================================================== */
.footer-wrapper {
  background: #FFFFFF;
  width: 100%;
  padding: 60px 24px 34px;
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand-block p {
  max-width: 440px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(45, 45, 45, 0.6);
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-links-inline a,
.footer-social-inline a {
  color: var(--charcoal);
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links-inline a:hover,
.footer-social-inline a:hover {
  color: var(--gold-accent);
}

.footer-dot {
  color: var(--taupe);
  opacity: 0.45;
  font-size: 0.85rem;
  user-select: none;
}

.footer-bottom-bar {
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid rgba(45, 45, 45, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(45, 45, 45, 0.45);
}

.footer-social-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}