:root{
  --ivory:#F8F6F2;
  --sand:#F3EFE8;
  --stone:#E7E2D9;
  --taupe:#A89B8C;
  --charcoal:#2D2D2D;
  --line:rgba(45,45,45,.14);
}

*{margin:0;padding:0;box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--ivory);
  color:var(--charcoal);
  font-family:'Manrope',sans-serif;
  overflow-x:hidden;
}

/* HEADER */
.site-header{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
}

.brand img{
  width:85px;
  height:auto;
  display:block;
}

.menu-button,
.menu-close{
  border:1px solid rgba(45,45,45,.25);
  background:rgba(248,246,242,.78);
  color:var(--charcoal);
  padding:8px 14px;
  border-radius:999px;
  font-family:'Manrope',sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:2px;
  cursor:pointer;
}

/* MENU */
.menu-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(248,246,242,.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;
}

.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;
}

.hero-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,
      rgba(248,246,242,.10) 0%,
      rgba(248,246,242,.05) 45%,
      rgba(248,246,242,.72) 86%,
      rgba(248,246,242,1) 100%);
}

.hero-content{
  background:linear-gradient(to bottom,var(--ivory),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.45rem,10vw,4.1rem);
  line-height:.94;
  letter-spacing:-.035em;
  font-weight:400;
  margin-bottom:22px;
}

.hero p{
  max-width:520px;
  font-size:1rem;
  line-height:1.75;
  margin-bottom:28px;
  color:rgba(45,45,45,.75);
}

.main-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 26px;
  border-radius:999px;
  background:var(--charcoal);
  color:var(--ivory);
  text-decoration:none;
  font-size:.8rem;
  letter-spacing:1.4px;
}

/* EXPERIENCIAS */
.featured{
  padding:70px 24px;
  background:var(--sand);
}

.section-heading{
  margin-bottom:34px;
}

.section-heading h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.3rem,9vw,4rem);
  line-height:1;
  font-weight:400;
}

.feature-grid{
  display:grid;
  gap:38px;
}

.feature-card img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
  border-radius:18px;
  box-shadow:0 22px 50px rgba(45,45,45,.08);
}
.feature-card{
    overflow:hidden;
}

.feature-card img{
    transition:transform 1.2s cubic-bezier(.22,1,.36,1);
}

.feature-card:hover img{
    transform:scale(1.03);
}

.feature-card h3{
  margin-top:18px;
  font-family:'Cormorant Garamond',serif;
  font-size:2.1rem;
  font-weight:400;
}

.feature-card p{
  margin-top:8px;
  line-height:1.7;
  color:rgba(45,45,45,.72);
}

/* FILOSOFÍA */
.philosophy{
  background:var(--ivory);
  padding:72px 24px;
  display:grid;
  grid-template-columns:1px 1fr;
  gap:24px;
  opacity:1 !important;
  transform:none !important;
}

.line{
  background:var(--taupe);
}

.philosophy h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.5rem,10vw,4.4rem);
  line-height:.96;
  font-weight:400;
  margin-bottom:20px;
}

.philosophy p{
  line-height:1.85;
  color:rgba(45,45,45,.75);
}

/* SERVICIOS */
.services{
  padding:64px 24px 82px;
  background:var(--sand);
}

.service-item{
  padding:28px 0;
  border-bottom:1px solid var(--line);
  opacity:1 !important;
  transform:none !important;
}

.service-item:first-child{
  border-top:1px solid var(--line);
}

.service-item span{
  display:block;
  margin-bottom:8px;
  font-size:.72rem;
  letter-spacing:3px;
  color:var(--taupe);
}

.service-item h3{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2rem,9vw,3.8rem);
  font-weight:400;
}

/* PROCESS */

.process{
  padding:130px 24px 95px;
  background:var(--ivory);
  border-top:1px solid rgba(45,45,45,.08);
}

.process > span{
  display:block;
  margin-bottom:18px;
  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.8rem,10vw,4.8rem);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.035em;
  margin-bottom:24px;
  max-width:760px;
}

.process-intro{
  max-width:620px;
  margin-bottom:64px;
  line-height:1.85;
  color:rgba(45,45,45,.72);
}

.process-item{
  padding:30px 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:160px 7vw 115px;
}

  .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(--ivory);
  }

  .hero-photo{
    order:2;
    height:100vh;
    min-height:700px;
  }

  .hero-photo img{
    object-position:center center;
  }

  .hero-gradient{
    background:
      linear-gradient(to right,
        rgba(248,246,242,1) 0%,
        rgba(248,246,242,.74) 16%,
        rgba(248,246,242,.10) 46%,
        rgba(248,246,242,.04) 100%),
      linear-gradient(to bottom,
        rgba(248,246,242,.20) 0%,
        rgba(248,246,242,.02) 45%,
        rgba(248,246,242,.22) 100%);
  }

  .hero-content{
    order:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:150px 6vw 80px;
    background:var(--ivory);
  }

  .hero h1{
    font-size:clamp(2.25rem,9.vw,3.8rem);
  }

  .featured{
    padding:105px 7vw;
  }

  .feature-grid{
    grid-template-columns:repeat(3,1fr);
    gap:34px;
  }

  .philosophy{
    padding:105px 7vw;
    grid-template-columns:1px minmax(0,760px);
    justify-content:center;
    gap:40px;
  }

  .services{
    padding:95px 7vw 115px;
  }

  .service-item{
  display:grid;
  grid-template-columns:90px 1fr 420px;
  gap:40px;
  align-items:center;
}

.service-item p{
  max-width:420px;
  font-size:1rem;
  line-height:1.75;
  color:rgba(45,45,45,.72);
}

  .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;
  transform:scale(1);
}

.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{
  width:min(92%,1600px);
  margin:0 auto;
  padding:70px 0 34px;
  border-top:1px solid rgba(45,45,45,.08);
}

.footer-main{
  display:grid;
  grid-template-columns:1fr auto;
  gap:60px;
  align-items:start;
  margin-bottom:80px;
}

.footer h3{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.4rem,6vw,4.2rem);
  font-weight:400;
  line-height:.95;
  margin-bottom:18px;
  color:#2d2d2d;
}

.footer p{
  max-width:470px;
  color:rgba(45,45,45,.62);
  line-height:1.7;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-end;
}

.footer a{
  color:#2d2d2d;
  text-decoration:none;
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition:opacity .35s ease;
}

.footer a:hover{
  opacity:.45;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  padding-top:28px;
  border-top:1px solid rgba(45,45,45,.08);
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(45,45,45,.5);
}

.footer-social{
  display:flex;
  gap:26px;
}

@media(max-width:700px){
  .footer{
    width:min(86%,1600px);
    padding:48px 0 26px;
  }

  .footer-main{
    grid-template-columns:1fr;
    gap:32px;
    margin-bottom:54px;
  }

  .footer-brand{
    margin-bottom:18px;
  }

  .footer .footer-brand img.footer-logo{
    width:82px !important;
    max-width:82px !important;
    height:auto !important;
    display:block !important;
  }

  .footer p{
    max-width:360px;
    font-size:1rem;
    line-height:1.75;
  }

  .footer-links{
    align-items:flex-start;
    gap:16px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
    padding-top:28px;
  }

  .footer-social{
    flex-wrap:wrap;
    gap:20px;
    row-gap:14px;
  }

  .footer a{
    font-size:.75rem;
    letter-spacing:.16em;
  }
}