:root{
  --bg:#0b0b0b;
  --text:#F2EEE6;
  --muted:rgba(242,238,230,.78);
  --line:rgba(242,238,230,.14);
  --accent:#B10000;
  --wrap:1200px;
  --radius:18px;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --font:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
}

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  border:1px solid transparent;
  gap:8px;
}
.btn--primary{ background:var(--accent); color:var(--text); box-shadow:var(--shadow); }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--line); }

/* HERO */
.hero{
  position:relative;
  min-height:82vh;
  display:grid;
  align-items:center;
  background-size:cover;
  background-position:center;
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35));
}
.hero__content{ position:relative; padding:120px 0; }
.hero__topline{
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
}
.hero__title{
  margin:10px 0 8px;
  font-size:clamp(44px, 6vw, 65px);
  line-height:1.02;
}
.hero__subtitle{ margin:0; font-size:18px; color:var(--muted); max-width:60ch; }
.hero__actions{ margin-top:26px; display:flex; gap:12px; flex-wrap:wrap; }

/* FICHA (la sección marcada) */
.ficha{ padding:78px 0; }
.ficha__grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:44px;
  align-items:stretch;
}
.ficha__media img{
  width:100%;
  height:100%;
  max-height:540px;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.ficha__right{
  display:grid;
  grid-template-rows:auto 1fr;
  gap:18px;
}

.ficha__card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.ficha__title{
  margin:0 0 14px 0;
  font-size:22px;
  letter-spacing:.02em;
}

.specs{ margin:0; }
.specs__row{
  display:grid;
  grid-template-columns: 190px 1fr;
  gap:18px;
  padding:10px 0;
  border-top:1px solid rgba(242,238,230,.08);
}
.specs__row:first-child{ border-top:0; }
.specs dt{ font-weight:600; }
.specs dd{ margin:0; color:var(--muted); }

.ficha__mini img{
  width:100%;
  height:100%;
  max-height:210px;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid rgba(242,238,230,.08);
}

/* CTA */
.cta{ padding:62px 0; }
.cta__inner{
  border-top:1px solid rgba(242,238,230,.08);
  padding-top:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta__title{ margin:0; font-size:28px; }

/* GRID */
.grid{ padding:40px 0 90px; }
.grid__mosaic{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.grid__mosaic img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(242,238,230,.06);
}
.grid__mosaic img:nth-child(1){ grid-column: span 6; }
.grid__mosaic img:nth-child(2){ grid-column: span 6; }
.grid__mosaic img:nth-child(3){ grid-column: span 7; }
.grid__mosaic img:nth-child(4){ grid-column: span 5; }

@media (max-width: 950px){
  .ficha__grid{ grid-template-columns:1fr; }
  .ficha__media img{ max-height:520px; }
  .cta__inner{ flex-direction:column; align-items:flex-start; }
  .grid__mosaic{ grid-template-columns:1fr; }
  .grid__mosaic img{ height:220px; }
  .grid__mosaic img:nth-child(n){ grid-column: auto; }
}
.hero__content{
  position: relative;
  padding: 120px 0;
  max-width: 980px;         /* controla el ancho del bloque */
  margin-left: 36px;           /* pegado a la izquierda del wrap */
}

.hero__topline{ text-align:left; }
.hero__title{ text-align:left; }
.hero__subtitle{ text-align:left; }
.hero__actions{ justify-content:flex-start; }
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0,0,0,.38);
  border-bottom: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); }
.brand__logo{ height: 34px; width:auto; display:block; }

.nav__menu{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav__menu a{
  color: rgba(242,238,230,.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.nav__menu a:hover{ color: var(--text); }

.header__cta{ padding: 10px 14px; font-size: 14px; }

/* para que el hero no quede debajo del header fijo */
.hero__content{ padding-top: 170px; }
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 100px;
  display: flex;
  align-items: center;

  /* más visible */
  background: rgba(0, 0, 0, 0.158);
  border-bottom: 1px solid rgba(242,238,230,.10);
  backdrop-filter: blur(10px);
}

.header__inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand__logo{
  height: 98px;
  width: auto;
  display:block;
}

/* menú */
.nav__menu{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}
.nav__menu a{
  color: rgba(242,238,230,.90);
  text-decoration:none;
  font-weight:500;
  font-size:14px;
}
.nav__menu a:hover{ color: var(--text); }

/* botón header */
.header__cta{
  padding: 10px 14px;
  font-size: 14px;
}

/* que el hero no quede tapado */
.hero-slider{
  width:100%;
  height:100vh;
}

.hero-slide{
  position:relative;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35));
}

.hero__content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:120px 0;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.20));
}
.hero-slider{
  width: 100%;
  height: calc(100vh - -12px); /* para que no choque con el header fijo */
}

.hero-slide{
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.20));
}

.hero__content{
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 110px 0 110px;
}

/* Dots (paginación) */
.swiper-pagination{
  bottom: 22px !important;
}
.swiper-pagination-bullet{
  background: rgba(242,238,230,.55);
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background: #B10000;
}

/* Flechas */
.swiper-button-prev,
.swiper-button-next{
  color: rgba(242,238,230,.85);
}
.swiper-button-prev:hover,
.swiper-button-next:hover{
  color: #F2EEE6;
}
/* Sección base reutilizable */
.section-title{
  margin: 10px 0 14px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
}

.eyebrow{
  margin: 0;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(242,238,230,.65);
}

/* QUIÉNES SOMOS */
.about{
  padding: 90px 0;
}

.about__grid{
  display: grid;
  grid-template-columns: 1fr;   /* solo una columna para que se centre */
  max-width: 1100px;
  margin: 0 auto;               /* centra todo */
  gap: 44px;
}


.lead{
  margin: 0 0 22px;
  color: rgba(242,238,230,.82);
  font-size: 17px;
  line-height: 1.8;
  max-width: 900px;  /* antes era 68ch, ahora mucho más ancho */
}

.about__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.about__box{
  border: 1px solid rgba(242,238,230,.12);
  border-radius: 16px;
  padding: 18px;
  background: rgba(0,0,0,.35);
}

.about__box h3{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(242,238,230,.88);
}

.about__box p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 14px;
  line-height: 1.65;
}

.about__meta{
  margin-top: 16px;
  border-top: 1px solid rgba(242,238,230,.08);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.meta__item{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.meta__label{
  color: rgba(242,238,230,.60);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.meta__value{
  color: rgba(242,238,230,.82);
  font-size: 14px;
}

.about__actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Columna derecha (media) */
.about__media{
  display: grid;
  gap: 14px;
}

.about__img img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(242,238,230,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.about__card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  padding: 18px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.about__cardTitle{
  margin: 0 0 10px;
  font-size: 16px;
}

.about__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(242,238,230,.78);
  line-height: 1.75;
  font-size: 14px;
}

@media (max-width: 980px){
  .about__grid{ grid-template-columns: 1fr; }
  .about__cols{ grid-template-columns: 1fr; }
  .about__img img{ height: 320px; }
}
.about__content{
  max-width: 1000px;
  margin: 0 auto;
}

.section-title{
  font-size: clamp(32px, 3vw, 42px);
}
/* SERVICIOS estilo “imagen fondo + cards” */
.services2{
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-top: 1px solid rgba(242,238,230,.06);
  border-bottom: 1px solid rgba(242,238,230,.06);
}

.services2__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.473), rgba(0, 0, 0, 0.658)),
    radial-gradient(900px 480px at 20% 30%, rgba(177,0,0,.18), transparent 60%);
}

.services2__inner{ position: relative; z-index: 2; }

.services2__head{
  text-align: center;
  max-width: 920px;
  margin: 0 auto 28px;
}

.services2__title{
  margin: 10px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

.services2__subtitle{
  margin: 0 auto;
  max-width: 76ch;
  color: rgba(242,238,230,.78);
  line-height: 1.75;
  font-size: 15px;
}

/* Cards flotantes */
.services2__cards{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.s2-card{
  background: rgba(242,238,230,.96);
  color: #0b0b0b;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(0,0,0,.06);
  transform: translateY(6px);
}

.s2-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.06);
  margin-bottom: 12px;
  font-size: 20px;
}

.s2-card h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.s2-card p{
  margin: 0 0 14px;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(0,0,0,.72);
}

.s2-card__link{
  font-weight: 700;
  text-decoration: none;
  color: var(--accent); /* #B10000 */
}

.s2-card__link:hover{ text-decoration: underline; }

/* Card destacada al centro (tu rojo/azul, pero manteniendo legibilidad) */
.s2-card--featured{
  background: linear-gradient(180deg, rgba(177, 0, 0, 0.753), rgba(120,0,0,.96));
  color: #F2EEE6;
  border-color: rgba(177,0,0,.35);
  transform: translateY(-10px);
}

.s2-card--featured .s2-card__icon{
  background: rgba(242,238,230,.16);
}

.s2-card--featured p{
  color: rgba(242,238,230,.82);
}

.s2-card--featured .s2-card__link{
  color: #F2EEE6;
}

/* Responsive */
@media (max-width: 980px){
  .services2__cards{ grid-template-columns: 1fr; }
  .s2-card{ transform: none; }
  .s2-card--featured{ transform: none; }
}
.services2{
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.services2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.199), rgba(0, 0, 0, 0.13));
  z-index: 0;
}

.services2 .wrap{
  position: relative;
  z-index: 2;
}

.projects{
  padding: 90px 0;
}

.projects__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease;
}

.p-card:hover{
  transform: translateY(-2px);
  border-color: rgba(242,238,230,.18);
}

.p-card__media{
  position: relative;
  height: 320px;
  background: #000;
}

.p-card__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
}

/* Estado base: muestra la 1 */
.p-card__img.is-1{ opacity: 1; }

/* Animación “cadena”: al hover se recorren 1→2→3 */
.p-card:hover .p-card__img{
  animation: none;
}

.p-card:hover .p-card__img.is-1{
  animation: pchain 1.8s infinite;
}
.p-card:hover .p-card__img.is-2{
  animation: pchain 1.8s infinite;
  animation-delay: .6s;
}
.p-card:hover .p-card__img.is-3{
  animation: pchain 1.8s infinite;
  animation-delay: 1.2s;
}

@keyframes pchain{
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  33%  { opacity: 1; }
  43%  { opacity: 0; }
  100% { opacity: 0; }
}

.p-card__info{
  padding: 14px 16px 16px;
}

.p-card__info h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.p-card__info p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 13px;
}

/* responsive */
@media (max-width: 1020px){
  .projects__grid{ grid-template-columns: 1fr; }
  .p-card__media{ height: 280px; }
}
.projects{ padding: 90px 0; }

.projects__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease;
}

.p-card:hover{
  transform: translateY(-2px);
  border-color: rgba(242,238,230,.18);
}

.p-card__media{
  position: relative;
  height: 520px;
  width: 380px;
  background: #000;
}

.p-card__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}

/* por defecto se ve la primera */
.p-card__media img:first-child{
  opacity: 1;
}

.p-card__info{
  padding: 14px 16px 16px;
}

.p-card__info h3{ margin: 0 0 6px; font-size: 16px; }
.p-card__info p{ margin: 0; color: rgba(242,238,230,.72); font-size: 13px; }

/* mobile: muestra la última (final) y no depende de hover */
@media (hover: none){
  .p-card__media img{ opacity: 0; }
  .p-card__media img:last-child{ opacity: 1; }
}

@media (max-width: 1020px){
  .projects__grid{ grid-template-columns: 1fr; }
  .p-card__media{ height: 280px; }
}
.custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.custom-logo{
  height: 34px;
  width: auto;
  display:block;
}

.brand__text{
  color:#F2EEE6;
  font-weight:700;
}

.process2{
  padding: 120px 0;
  border-top: 1px solid rgba(242,238,230,.06);
  position: relative;
}
.process2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.918); /* sube a .80 / .88 si quieres más oscuro */
  z-index: 0;
}

/* todo el contenido encima del overlay */
.process2 > *{
  position: relative;
  z-index: 1;
}


.center{ text-align:center; }

.process2__timeline{
  margin-top: 70px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.process2__line{
  position: absolute;
  top: 42px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(177,0,0,.2), #B10000, rgba(177,0,0,.2));
  z-index: 0;
}

.process2__item{
  position: relative;
  text-align: center;
  width: 18%;
  z-index: 2;
}

.process2__circle{
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  font-weight: 700;
  background: #111;
  border: 2px solid rgba(177,0,0,.4);
  color: #F2EEE6;
  transition: all .3s ease;
}

.process2__item:hover .process2__circle{
  background: #B10000;
  border-color: #B10000;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(177,0,0,.6);
}

.process2__item h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.process2__item p{
  margin: 0;
  font-size: 14px;
  color: rgb(242, 238, 230);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px){
  .process2__timeline{
    flex-direction: column;
    align-items: center;
  }

  .process2__line{
    display: none;
  }

  .process2__item{
    width: 100%;
    margin-bottom: 40px;
  }
}
/* Bolita animada sobre la línea */
.process2__dot{
  position: absolute;
  top: 34px;                 /* ajusta si tu línea está más arriba/abajo */
  left: 5%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #B10000;
  box-shadow: 0 0 18px rgba(177,0,0,.75);
  transform: translate(-50%, -50%);
  z-index: 3;

  animation: processDot 10s infinite ease-in-out;
}

/* Movimiento con “pausas” en cada paso (5 puntos) */
@keyframes processDot{
  /* Paso 1 (left 5%) */
  0%   { left: 5%; }
  12%  { left: 5%; }

  /* Paso 2 */
  20%  { left: 27.5%; }
  32%  { left: 27.5%; }

  /* Paso 3 */
  40%  { left: 50%; }
  52%  { left: 50%; }

  /* Paso 4 */
  60%  { left: 72.5%; }
  72%  { left: 72.5%; }

  /* Paso 5 (right 95%) */
  80%  { left: 95%; }
  92%  { left: 95%; }

  /* vuelve al inicio suave */
  100% { left: 5%; }
}

/* Accesibilidad: si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce){
  .process2__dot{ animation: none; }
}

/* En mobile, como el proceso se vuelve vertical, ocultamos línea/bolita */
@media (max-width: 1024px){
  .process2__dot{ display:none; }
}
/* Glow sincronizado en cada paso (opcional) */
.process2__item .process2__circle{
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

.process2__item:nth-child(3) .process2__circle,
.process2__item:nth-child(4) .process2__circle,
.process2__item:nth-child(5) .process2__circle,
.process2__item:nth-child(6) .process2__circle,
.process2__item:nth-child(7) .process2__circle{
  animation: stepGlow 10s infinite ease-in-out;
}

/* OJO: el nth-child depende de que tengas: line + dot antes de los items.
   Si no te calza, te digo cómo ajustarlo. */

.process2__item:nth-child(3) .process2__circle{ animation-delay: 0s; }
.process2__item:nth-child(4) .process2__circle{ animation-delay: 2s; }
.process2__item:nth-child(5) .process2__circle{ animation-delay: 4s; }
.process2__item:nth-child(6) .process2__circle{ animation-delay: 6s; }
.process2__item:nth-child(7) .process2__circle{ animation-delay: 8s; }

@keyframes stepGlow{
  0%, 18% {
    background: #B10000;
    border-color: #B10000;
    box-shadow: 0 0 25px rgba(177,0,0,.6);
    transform: scale(1.06);
  }
  28%, 100% {
    background: #111;
    border-color: rgba(177,0,0,.4);
    box-shadow: none;
    transform: scale(1);
  }
}
/* COTIZACIÓN (glass) */
.quote{
  position: relative;
  padding: 120px 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  border-top: 1px solid rgba(242,238,230,.06);
  background-attachment: fixed; /* 👈 ESTA línea */
}

.quote__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 25% 25%, rgba(177,0,0,.18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.432), rgba(0, 0, 0, 0.39));
  z-index: 0;
}

.quote__inner{ position: relative; z-index: 2; }

.glass{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

.quote__grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.quote__info{ padding: 22px; }
.quote__info h3{ margin: 0 0 12px; font-size: 16px; }
.quote__list{
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(242,238,230,.80);
  line-height: 1.75;
  font-size: 14px;
}
.quote__mini p{
  margin: 0 0 8px;
  color: rgba(242,238,230,.78);
  font-size: 14px;
}

.quote__form{ padding: 22px; }

.c3d-form label{
  display:block;
  margin: 0 0 8px;
  color: rgba(242,238,230,.82);
  font-size: 13px;
  letter-spacing: .02em;
}

.c3d-form input,
.c3d-form select,
.c3d-form textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(242,238,230,.10);
  background: rgba(0,0,0,.35);
  color: #F2EEE6;
  padding: 12px 12px;
  outline: none;
}

.c3d-form textarea{ resize: vertical; }

.c3d-form input:focus,
.c3d-form select:focus,
.c3d-form textarea:focus{
  border-color: rgba(177,0,0,.55);
  box-shadow: 0 0 0 3px rgba(177,0,0,.18);
}

.form__row{ margin-bottom: 14px; }
.form__row--2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form__note{
  margin: 12px 0 0;
  color: rgba(242,238,230,.65);
  font-size: 12px;
}

@media (max-width: 980px){
  .quote__grid{ grid-template-columns: 1fr; }
  .form__row--2{ grid-template-columns: 1fr; }
}
/* FAQ */
.faq{ padding: 110px 0; }

.faq__list{
  margin-top: 26px;
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq__item{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.faq__item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: rgba(242,238,230,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.faq__item summary::-webkit-details-marker{ display:none; }

.faq__item summary::after{
  content:"+";
  font-size: 18px;
  opacity: .85;
}

.faq__item[open] summary::after{
  content:"–";
}

.faq__content{
  padding: 0 18px 16px;
  color: rgba(242,238,230,.78);
  line-height: 1.7;
  font-size: 14px;
}
/* FOOTER */
.site-footer{
  padding: 70px 0 30px;
  border-top: 1px solid rgba(242,238,230,.06);
  background: #050505;
}
.site-footer .custom-logo{
   height: 90px !important;      /* prueba 56–72 */
  width: auto !important;
  margin-right: 120px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.footer__brand h3{ margin: 0 0 10px; }
.footer__brand p{ margin: 0; color: rgba(242,238,230,.72); }

.footer__col h4{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(242,238,230,.90);
}

.footer__col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}

.footer__col a{
  color: rgba(242,238,230,.72);
  text-decoration: none;
}
.footer__col a:hover{ color: rgba(242,238,230,.95); }

.footer__social{
  margin-top: 14px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__bottom{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,238,230,.06);
  color: rgba(242,238,230,.55);
  font-size: 12px;
}

@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
}

/* PRELOADER */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505; /* negro elegante */
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  text-align: center;
  padding: 24px;
}

.preloader__logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  animation: preLogo .9s ease forwards;
}

/* si viene del customizer */
.preloader .custom-logo{
  height: 56px;
  width: auto;
  display: block;
}

/* fallback texto */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* barra sutil */
.preloader__bar{
  width: 220px;
  height: 3px;
  border-radius: 999px;
  background: rgba(242,238,230,.12);
  overflow: hidden;
  position: relative;
}

.preloader__bar::after{
  content:"";
  position: absolute;
  inset: 0;
  width: 35%;
  background: #B10000;
  border-radius: 999px;
  transform: translateX(-120%);
  animation: preBar 1.1s ease-in-out infinite;
}

@keyframes preLogo{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preBar{
  0%{ transform: translateX(-120%); opacity: .6; }
  50%{ opacity: 1; }
  100%{ transform: translateX(320%); opacity: .6; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce){
  .preloader__logo{ animation: none; opacity: 1; transform: none; }
  .preloader__bar::after{ animation: none; transform: none; width: 100%; opacity: .35; }
}
.site-header .custom-logo{
  height: 60px;
  width: auto;
  display: block;
}
.site-header .custom-logo-link{
  display: flex;
  align-items: center;
}

.site-header .custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
  line-height: 0;
}

.site-header .custom-logo{
  height: 34px;  /* ajusta 28–40 */
  width: auto;
  display:block;
}

.brand__text{
  color:#F2EEE6;
  font-weight:700;
}

/* Footer logo */
.footer__logo .custom-logo{
  height: 120px;  /* más grande en footer */
  width: auto;
  display:block;
  opacity: .95;
}
.footer__logo .custom-logo-link{ display:flex; align-items:center; }

/* PRELOADER: logo + círculo */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  text-align: center;
  padding: 26px;
}

.preloader__logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: preLogoIn .9s ease forwards;
}

/* logo grande y centrado */
.preloader .custom-logo{
  height: 90px;   /* grande */
  width: auto;
  display:block;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,.55));
}

/* texto fallback */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 18px;
}

/* Spinner circular */
.preloader__spinner{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 3px solid rgba(242,238,230,.18);
  border-top-color: #B10000;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(177,0,0,.15);
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@keyframes preLogoIn{
  to{ opacity: 1; transform: translateY(0); }
}

/* menos movimiento */
@media (prefers-reduced-motion: reduce){
  .preloader__spinner{ animation: none; }
  .preloader__logo{ animation: none; opacity: 1; transform: none; }
}

/* Asegura que el header permita el logo grande */
.site-header{
  height: 88px;              /* antes 72px; súbelo */
  padding: 0 0;
}


/* Evita que el logo quede “aplastado” o con width raro */
.site-header .custom-logo-link{
  display: flex;
  align-items: center;
  line-height: 0;
}

/* IMPORTANTE: si tienes esto global, cámbialo */
img{
  max-width: 100%;
  height: 180px;
}

/* PRELOADER reveal */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  padding: 26px;
  text-align: center;
}

/* Contenedor que “recorta” y revela */
.preloader__reveal{
  position: relative;
  display: inline-block;
  overflow: hidden;               /* CLAVE para el reveal */
}

/* Logo grande en el preloader */
.preloader .custom-logo{
  height: 120px;                  /* más grande */
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,.55));
}

/* Fallback texto */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 20px;
  display:block;
}

/* Capa que tapa y se mueve para revelar */
.preloader__reveal::after{
  content:"";
  position:absolute;
  inset: 0;
  background: #050505;           /* mismo fondo */
  transform: translateY(0);
  animation: revealUp 1.25s ease forwards;
}

/* El logo entra suave */
.preloader__reveal > *{
  opacity: 0;
  transform: translateY(8px);
  animation: logoIn .9s ease forwards;
  animation-delay: .15s;
}

@keyframes revealUp{
  0%   { transform: translateY(0); }
  100% { transform: translateY(-105%); }
}

@keyframes logoIn{
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .preloader__reveal::after{ animation: none; transform: translateY(-105%); }
  .preloader__reveal > *{ animation: none; opacity: 1; transform: none; }
}

.site-header{
  height: 96px;                 /* súbelo hasta que quepa */
  display: flex;
  align-items: center;
  overflow: visible;            /* CLAVE: que no recorte */
  padding: 0 18px;
}

.header__inner{
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .brand{
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.site-header .custom-logo-link{
  display: flex;
  align-items: center;
  line-height: 0;
  overflow: visible;
}

.site-header .custom-logo{
  height: 90px !important;      /* prueba 56–72 */
  width: auto !important;
  margin-right: 120px;
}

/* ===== FOOTER PRO ===== */
.site-footer{
  position: relative;
  padding: 90px 0 34px;
  background:
    radial-gradient(900px 420px at 18% 20%, rgba(177,0,0,.16), transparent 60%),
    radial-gradient(900px 420px at 82% 0%, rgba(177,0,0,.08), transparent 55%),
    linear-gradient(180deg, #070707, #040404);
  border-top: 1px solid rgba(242,238,230,.08);
  overflow: hidden;
}


/* grid */
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* brand */
.footer__brand{
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.footer__brand p{
  margin: 10px 0 0;
  color: rgba(242,238,230,.72);
  line-height: 1.6;
}


/* headings */
.footer__col h4{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,230,.85);
}

/* links list */
.footer__col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}

.footer__col a{
  color: rgba(242,238,230,.72);
  text-decoration: none;
  position: relative;
  transition: color .18s ease, transform .18s ease;
}

.footer__col a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:1px;
  background: rgba(177,0,0,.8);
  transition: width .22s ease;
}

.footer__col a:hover{
  color: rgba(242,238,230,.95);
}

.footer__col a:hover::after{ width: 100%; }

/* social chips */
.footer__social{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(242,238,230,.10);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.footer__social a:hover{
  border-color: rgba(177,0,0,.45);
  box-shadow: 0 0 18px rgba(177,0,0,.18);
}

/* bottom */
.footer__bottom{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,238,230,.08);
  color: rgba(242,238,230,.55);
  font-size: 12px;
}

/* responsive */
@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__brand{ order: -1; }
}
/* ===== HEADER SHRINK ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: padding .22s ease, background .22s ease, box-shadow .22s ease;
  padding: 18px 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242,238,230,.06);
}

.site-header.is-shrink{
  padding: 10px 0;
  background: rgba(0,0,0,.62);
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
}

/* logo también achica */
.site-header .custom-logo{
  height: 58px;
  transition: height .22s ease, opacity .22s ease;
}

.site-header.is-shrink .custom-logo{
  height: 40px;
}

/* ===== Flip cards para About ===== */
.about__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about__box.flip-card{
  perspective: 1200px;
}

/* hacemos que la caja tenga altura estable */
.flip-card__inner{
  position: relative;
  min-height: 260px; /* ajusta: 240–320 */
  transform-style: preserve-3d;
  transition: transform .6s ease;
  border-radius: 18px;
}

/* aplica tu estilo glass a ambos lados */
.flip-card__front,
.flip-card__back{
  position: absolute;
  inset: 0;
  padding: 22px;
  border-radius: 18px;
  backface-visibility: hidden;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.flip-card__back{
  transform: rotateY(180deg);
  text-align: justify;
}

/* Desktop hover */
@media (hover:hover){
  .flip-card:hover .flip-card__inner{
    transform: rotateY(180deg);
  }
}

/* Mobile: tap */
.flip-card.is-flipped .flip-card__inner{
  transform: rotateY(180deg);
}

.flip-card h3{
  margin: 0 0 10px;
  letter-spacing: .08em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: .95;
}

.flip-card p{
  margin: 0;
  color: rgba(242,238,230,.78);
  line-height: 1.7;
  font-size: 14px;
}

/* hint */
.flip-card__hint{
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(242,238,230,.70);
  border-bottom: 1px solid rgba(177,0,0,.45);
  padding-bottom: 3px;
}

/* responsive */
@media (max-width: 980px){
  .about__cols{ grid-template-columns: 1fr; }
  .flip-card__inner{ min-height: 240px; }
}
/* CENTRAR contenido del lado frontal */
.flip-card__front{
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra vertical */
  align-items: center;       /* centra horizontal */
  text-align: center;
}
/* Título más grande en front */
.flip-card__front h3{
  font-size: 14px;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

/* Texto principal más grande */
.flip-card__front p{
  font-size: 17px;     /* antes 14 */
  line-height: 1.6;
  max-width: 80%;
}
/* ===== Página Nosotros ===== */

.about-page{
  padding-top: 140px;
}

.about-hero{
  padding: 100px 0 80px;
  text-align: center;
}

.about-hero h1{
  font-size: 48px;
  margin: 0 0 16px;
}

.about-section{
  padding: 90px 0;
}

.about-section__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.about-image img{
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.about-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card{
  padding: 26px;
  border-radius: 18px;
}

.about-card h3{
  margin-top: 0;
}

.values-grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.value-card{
  padding: 20px;
  text-align: center;
  border-radius: 14px;
}

.team-grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.team-card{
  padding: 18px;
  text-align: center;
  border-radius: 18px;
}

.team-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.about-cta{
  padding: 90px 0;
  text-align: center;
}

.about-cta .glass{
  padding: 50px;
  border-radius: 22px;
}

@media (max-width: 980px){
  .about-section__grid,
  .about-cards,
  .values-grid,
  .team-grid{
    grid-template-columns: 1fr;
  }
}

/* ===== PÁGINA NOSOTROS ===== */
.about-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

/* HERO SHRINK */
.about-hero-shrink{
  position: relative;
  height: 145vh;
  margin-top: -38px;
  overflow: hidden;
}

.about-hero-shrink__media{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.about-hero-shrink__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
}

.about-hero-shrink__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,.82)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.about-hero-shrink__content{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-hero-shrink__content h1{
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1;
  margin: 0 0 18px;
}

.about-hero-shrink__content .lead{
  font-size: 24px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* SECCIONES */
.about-section{
  padding: 110px 0;
}

.about-story{
  max-width: 980px;
}

.about-story__text p{
  font-size: 17px;
  line-height: 1.9;
  color: rgba(242,238,230,.78);
  text-align: justify;
}

/* COLUMNAS */
.about-columns{
  padding: 40px 0 110px;
  overflow: hidden;
}

.about-columns__track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.about-columns__col{
  display: grid;
  gap: 22px;
}

.about-columns__col img{
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(242,238,230,.08);
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

/* tamaños variados para look editorial */
.about-columns__col--1 img:nth-child(1){ height: 400px; }
.about-columns__col--1 img:nth-child(2){ height: 280px; }

.about-columns__col--2 img:nth-child(1){ height: 280px; }
.about-columns__col--2 img:nth-child(2){ height: 420px; }

.about-columns__col--3 img:nth-child(1){ height: 360px; }
.about-columns__col--3 img:nth-child(2){ height: 300px; }

/* MISIÓN / VISIÓN */
.about-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-card{
  padding: 30px;
  border-radius: 22px;
}

.about-card h3{
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,230,.88);
}

.about-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(242,238,230,.76);
}

/* VALORES */
.about-section--bg{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-section__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.84)),
    linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.88));
}

.about-section--bg .wrap{
  position: relative;
  z-index: 2;
}

.about-values{
  text-align: center;
}

.values-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card{
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
}

/* EQUIPO */
.team-grid{
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.team-card{
  padding: 18px;
  border-radius: 20px;
  max-width:900px;
  width:100%;
  text-align: center;
}

.team-card img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 16px;
}

.team-card h4{
  margin: 0 0 8px;
  font-size: 22px;
}

.team-card p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 15px;
}

/* CTA */
.about-cta{
  padding: 110px 0;
}

.about-cta__box{
  padding: 50px;
  border-radius: 24px;
  text-align: center;
}

.about-cta__box h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.about-cta__box p{
  margin: 0 0 22px;
  color: rgba(242,238,230,.72);
  font-size: 17px;
}

/* REVEAL */
.reveal-up,
.reveal-left,
.reveal-right{
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  will-change: transform, opacity;
}

.reveal-up{ transform: translateY(50px); }
.reveal-left{ transform: translateX(-50px); }
.reveal-right{ transform: translateX(50px); }

.reveal-visible{
  opacity: 1;
  transform: translate(0,0);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .about-columns__track,
  .about-cards,
  .values-grid,
  .team-grid{
    grid-template-columns: 1fr;
  }

  .about-hero-shrink__content .lead{
    font-size: 18px;
  }

  .team-card img{
    height: 280px;
  }
}

/* ===== PÁGINA PROYECTOS ===== */
.projects-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
  padding-top: 140px;
}

.projects-hero{
  padding: 80px 0 70px;
  text-align: center;
}

.projects-hero h1{
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1;
  margin: 0 0 16px;
}

.projects-hero .lead{
  max-width: 950px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.7;
}

/* columnas */
.projects-gallery{
  padding: 30px 0 110px;
  overflow: hidden;
}

.projects__columns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.projects__col{
  display: grid;
  gap: 22px;
}

/* cards */
.p-card{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(242,238,230,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.p-card__media{
  position: relative;
  overflow: hidden;
  background: #000;
}

.p-card__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease, transform .7s ease;
}

.p-card__media img:first-of-type{
  opacity: 1;
}

/* overlay arriba */
.p-card__overlay-top{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 18px 18px 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
}

.p-card__overlay-top h3{
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.p-card__overlay-top p{
  margin: 0;
  font-size: 14px;
  color: rgba(242,238,230,.76);
}

/* alturas editoriales */
.projects__col .p-card:nth-child(1) .p-card__media{
  aspect-ratio: 3 / 4;
}

.projects__col .p-card:nth-child(2) .p-card__media{
  aspect-ratio: 4 / 5;
}

/* hover */
.p-card:hover .p-card__media img{
  transform: scale(1.03);
}

/* responsive */
@media (max-width: 980px){
  .projects__columns{
    grid-template-columns: 1fr;
  }

  .projects-hero .lead{
    font-size: 18px;
  }
}

/* ===== PÁGINA SERVICIOS ===== */
.services-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

.services-hero{
  position: relative;
  padding: 190px 0 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.services-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.88)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.services-hero__inner{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.services-hero h1{
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  margin: 0 0 18px;
}

.services-hero .lead{
  font-size: 22px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.services-detail{
  padding: 110px 0;
}

.services-detail__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-block{
  padding: 30px;
  border-radius: 22px;
}

.service-block h2{
  margin: 0 0 14px;
  font-size: 28px;
}

.service-block p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(242,238,230,.76);
}

.services-materials{
  padding: 110px 0;
}

.materials-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.material-card{
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
}

.services-cta{
  padding: 110px 0;
}

.services-cta__box{
  padding: 50px;
  border-radius: 24px;
  text-align: center;
}

.services-cta__box h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.services-cta__box p{
  margin: 0 0 22px;
  color: rgba(242,238,230,.72);
  font-size: 17px;
}

@media (max-width: 980px){
  .services-detail__grid,
  .materials-grid{
    grid-template-columns: 1fr;
  }

  .services-hero .lead{
    font-size: 18px;
  }
}

/* ===== PÁGINA FAQ ===== */
.faq-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

.faq-hero{
  position: relative;
  padding: 190px 0 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.faq-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.88)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.faq-hero__inner{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.faq-hero h1{
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  margin: 0 0 18px;
}

.faq-hero .lead{
  font-size: 22px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.faq-page__section{
  padding: 110px 0;
}

.faq-page__list{
  display: grid;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-page__item{
  border-radius: 20px;
  overflow: hidden;
}

.faq-page__item summary{
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-page__item summary::-webkit-details-marker{
  display: none;
}

.faq-page__item summary::after{
  content: "+";
  font-size: 24px;
  color: rgba(177,0,0,.95);
  transition: transform .3s ease;
}

.faq-page__item[open] summary::after{
  content: "–";
}

.faq-page__content{
  padding: 0 24px 24px;
  color: rgba(242,238,230,.78);
  line-height: 1.9;
  font-size: 16px;
}

.faq-page__content p{
  margin: 0 0 14px;
}

.faq-page__content ul{
  margin: 0 0 14px 20px;
  padding: 0;
}

.faq-page__content li{
  margin-bottom: 8px;
}

/* animación apertura */
.faq-page__item{
  transition: transform .3s ease, border-color .3s ease;
}

.faq-page__item:hover{
  transform: translateY(-2px);
  border-color: rgba(177,0,0,.35);
}

@media (max-width: 980px){
  .faq-hero .lead{
    font-size: 18px;
  }

  .faq-page__item summary{
    font-size: 18px;
  }

  .faq-page__content{
    font-size: 15px;
  }
}


/* =========================
   SERVICIOS - STUDIO MINIMAL
========================= */

.services2__cards--minimal{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-card{
  padding:36px;
  border-radius:22px;

  border:1px solid rgba(242,238,230,.12);

  background:rgba(0,0,0,.35);
  backdrop-filter:blur(12px);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.service-card:hover{
  transform:translateY(-6px);

  border-color:#B10000;

  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    0 0 25px rgba(177,0,0,.15);
}

/* número */

.service-number{
  font-size:34px;
  font-weight:700;
  color:#B10000;

  margin-bottom:16px;

  letter-spacing:.04em;
}

/* título */

.service-card h3{
  margin:0 0 10px;

  font-size:20px;
  letter-spacing:.02em;
}

/* texto */

.service-card p{
  margin:0;

  font-size:14px;
  line-height:1.75;

  color:rgba(242,238,230,.75);
}

/* responsive */

@media (max-width:980px){

  .services2__cards--minimal{
    grid-template-columns:1fr;
  }

}

.services-materials{
padding:90px 0;
text-align:center;
}

.materials-strip{
max-width:1000px;
}

.materials-head{
margin-bottom:40px;
}

.materials-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

border-top:1px solid rgba(242,238,230,.1);
padding-top:30px;
}

.material{

font-size:16px;

padding:14px 0;

color:rgba(242,238,230,.85);

border-bottom:1px solid rgba(242,238,230,.08);

transition:.3s;
}

.material:hover{

color:#B10000;

transform:translateY(-2px);

}

.material.accent{

color:#B10000;
font-weight:600;

}

@media (max-width:900px){

.materials-grid{

grid-template-columns:repeat(2,1fr);

}

}

.footer{
background:#3b3636;
padding:90px 0 60px;
border-top:1px solid rgba(255,255,255,.06);
}

.footer-bottom{
margin-top:60px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.08);
font-size:13px;
color:rgba(255,255,255,.6);
}

.footer-brand{
padding:28px;
border-radius:18px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.06);
max-width:260px;
}
.footer-social{
display:flex;
gap:12px;
margin-top:18px;
}

.footer-social a{
width:40px;
height:40px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:1px solid rgba(255,255,255,.15);
transition:.3s;
}

.footer-social a:hover{
background:#B10000;
border-color:#B10000;
transform:translateY(-3px);
}

.floating-buttons{
position:fixed;
right:24px;
bottom:24px;
display:flex;
flex-direction:column;
gap:12px;
z-index:999;
}

.float-btn{
padding:14px 20px;
border-radius:30px;
font-size:14px;
font-weight:600;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
box-shadow:0 10px 25px rgba(0,0,0,.35);
transition:.3s;
}

.float-btn.quote{
background:#B10000;
color:white;
}

.float-btn.whatsapp{
background:#25D366;
color:white;
}

.float-btn:hover{
transform:translateY(-3px);
box-shadow:0 15px 35px rgba(0,0,0,.45);
}

.footer-social{
display:flex;
gap:14px;
margin-top:18px;
}

.footer-social a{

width:42px;
height:42px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

border:1px solid rgba(255,255,255,.15);

transition:.3s;

}

.footer-social svg{

width:18px;
height:18px;

fill:#F2EEE6;

}

.footer-social a:hover{

background:#B10000;
border-color:#B10000;

transform:translateY(-3px);

}

.float-btn.whatsapp{

display:flex;
align-items:center;
gap:8px;

background:#25D366;
color:white;

padding:14px 20px;

border-radius:30px;

font-weight:600;

}

.float-btn.whatsapp svg{

width:18px;
height:18px;

fill:white;

}

.footer{

background:
radial-gradient(
circle at 20% 0%,
rgba(177,0,0,.15),
transparent 45%
),

radial-gradient(
circle at 80% 0%,
rgba(177,0,0,.10),
transparent 50%
),

#0e0e0e;

padding:100px 0 60px;

border-top:1px solid rgba(255,255,255,.06);

}

.footer-social a{

width:50px;
height:50px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

border:1px solid rgba(255,255,255,.15);

transition:.3s;

}

.footer-social svg{

width:22px;
height:22px;

fill:#F2EEE6;

}

.footer-social a:hover{

background:#B10000;
border-color:#B10000;

transform:translateY(-3px);

}

/* ===== FOOTER ===== */

.site-footer{
  padding:80px 0 34px;
  border-top: 1px solid rgba(255,255,255,.22);
box-shadow: 0 -10px 30px rgba(0,0,0,.6);
  background:
  radial-gradient(circle at 20% 0%, rgba(177,0,0,.12), transparent 40%),
  radial-gradient(circle at 80% 0%, rgba(177,0,0,.08), transparent 45%),
  #0e0e0e;
}

/* GRID */

.footer__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap:40px;
  align-items:flex-start;
}

/* BRAND */

.footer__brand{
  max-width:300px;
}

.footer__logo{
  width:150px;
  height:auto;
  display:block;
  margin-bottom:12px;
}

.footer__brand-text{
  color:rgba(242,238,230,.70);
  font-size:19px;
  line-height:1.6;
}

/* TITULOS */

.footer__col h4{
  margin:0 0 14px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(242,238,230,.85);
}

/* LISTAS */

.footer__list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.footer__list a{
  text-decoration:none;
  color:rgba(242,238,230,.70);
  font-size:14px;
  transition:.2s;
}

.footer__list a:hover{
  color:#F2EEE6;
}

/* CONTACTO */

.footer__contact-list{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}

.footer__contact-list a,
.footer__contact-list span{
  color:rgba(242,238,230,.70);
  font-size:14px;
  text-decoration:none;
}

/* REDES */

.footer__social{
  display:flex;
  gap:14px;
}

.footer__social a{
  width:55px;
  height:55px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(242,238,230,.15);

  transition:.25s;
}

.footer__social svg{
  width:20px;
  height:20px;
  fill:#F2EEE6;
}

.footer__social a:hover{
  background:#B10000;
  border-color:#B10000;
  transform:translateY(-3px);
}

/* BOTTOM */

.footer__bottom{
  margin-top:40px;
  padding-top:18px;
  border-top:1px solid rgba(242,238,230,.08);

  text-align:center;

  color:rgba(242,238,230,.55);
  font-size:12px;
}

/* RESPONSIVE */

@media (max-width:900px){

.footer__grid{
  grid-template-columns:1fr;
  gap:28px;
}

.footer__brand{
  max-width:none;
}

}

/* BOTON WHATSAPP FLOTANTE */

.whatsapp-float{

position:fixed;

right:26px;
bottom:26px;

width:60px;
height:60px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:#25D366;

box-shadow:0 10px 25px rgba(0,0,0,.35);

z-index:9999;

transition:.25s;

}

.whatsapp-float svg{

width:28px;
height:28px;

fill:white;

}

.whatsapp-float:hover{

transform:translateY(-4px);

box-shadow:0 18px 40px rgba(0,0,0,.45);

}

.site-header{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 96px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242,238,230,.08);
  transition:
    height .28s ease,
    padding .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.site-header .custom-logo{
  height: 90px !important;
  width: auto !important;
  transition: height .28s ease, transform .28s ease;
}

.site-header .header__inner{
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header.is-shrink{
  height: 64px !important;
  padding: 0 18px !important;
  background: rgba(0,0,0,.78) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.site-header.is-shrink .custom-logo{
  height: 52px !important;
}

.c3d {
  padding-top: 70px;
}

.galeria-stack {
  padding: 80px 0;
  background: #131313;
  text-align: center;
  color: white;
}

.stack {
  position: relative;
  width: 100%;
  height: 450px;
background: #131313;
  perspective: 1200px;
}

.stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

/* POSICIONES */
.stack img:nth-child(1) { transform: translate(-50%, -50%) scale(1); z-index: 5; }
.stack img:nth-child(2) { transform: translate(-30%, -50%) scale(0.9) rotateY(-20deg); z-index: 4; }
.stack img:nth-child(3) { transform: translate(-70%, -50%) scale(0.8) rotateY(-30deg); z-index: 3; }

.stack img:nth-child(4) { transform: translate(-50%, -50%) scale(0.8) rotateY(30deg); z-index: 3; }
.stack img:nth-child(5) { transform: translate(-50%, -50%) scale(0.7) rotateY(40deg); z-index: 2; }

.controls {
  margin-top: 20px;
}

.controls button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 30px;
  margin: 0 10px;
  cursor: pointer;
}

.stack {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 520px;
  margin: 0 auto;
  perspective: 1500px;
}

.stack img:nth-child(2) {
  transform: translate(-20%, -50%) scale(0.9) rotateY(-15deg);
}

.stack img:nth-child(3) {
  transform: translate(-80%, -50%) scale(0.8) rotateY(-25deg);
}

.stack img:nth-child(4) {
  transform: translate(20%, -50%) scale(0.9) rotateY(15deg);
}

.stack img:nth-child(5) {
  transform: translate(80%, -50%) scale(0.8) rotateY(25deg);
}

.controls {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-nav {
  position: absolute;
  pointer-events: all;
  background: rgba(255,255,255,0.08);
  border: none;
  color: white;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

#prev { left: 40px; }
#next { right: 40px; }

.btn-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* CENTRO */
.stack img:nth-child(1) {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 10;
}

/* IZQUIERDA */
.stack img:nth-child(2) {
  transform: translate(calc(-50% - 220px), -50%) rotateY(35deg) scale(0.9);
  z-index: 9;
}

.stack img:nth-child(3) {
  transform: translate(calc(-50% - 420px), -50%) rotateY(45deg) scale(0.8);
  z-index: 8;
}

/* DERECHA */
.stack img:nth-child(4) {
  transform: translate(calc(-50% + 220px), -50%) rotateY(-35deg) scale(0.9);
  z-index: 9;
}

.stack img:nth-child(5) {
  transform: translate(calc(-50% + 420px), -50%) rotateY(-45deg) scale(0.8);
  z-index: 8;
}

.stack img {
  opacity: 0;
  pointer-events: none;
}

.stack img:nth-child(-n+5) {
  opacity: 1;
  pointer-events: auto;
}
.controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 99999; /* 🔥 súper arriba */
  pointer-events: none;
}

.btn-nav {
  position: absolute;
  pointer-events: all;

  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 26px;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  backdrop-filter: blur(10px);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}

.btn-nav:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.15);
}

.stack-wrapper {
  position: relative; /* 🔥 ESTE ES EL FIX */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.galeria-stack {
  padding: 40px 0;
}

html, body {
  overflow-x: hidden;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;

    max-height: 0;
    overflow: hidden;

    transition: all 0.3s ease;
  }

  .nav.active {
    max-height: 400px;
    padding: 20px 0;
  }

  .nav__menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hamburger {
    display: block;
  }

  .header__cta {
    display: none; /* 🔥 opcional: ocultar botón en mobile */
  }

}

.p-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:root{
  --bg:#0b0b0b;
  --text:#F2EEE6;
  --muted:rgba(242,238,230,.78);
  --line:rgba(242,238,230,.14);
  --accent:#B10000;
  --wrap:1200px;
  --radius:18px;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --font:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
}

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  border:1px solid transparent;
  gap:8px;
}
.btn--primary{ background:var(--accent); color:var(--text); box-shadow:var(--shadow); }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--line); }

/* HERO */
.hero{
  position:relative;
  min-height:82vh;
  display:grid;
  align-items:center;
  background-size:cover;
  background-position:center;
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35));
}
.hero__content{ position:relative; padding:120px 0; }
.hero__topline{
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
}
.hero__title{
  margin:10px 0 8px;
  font-size:clamp(44px, 6vw, 65px);
  line-height:1.02;
}
.hero__subtitle{ margin:0; font-size:18px; color:var(--muted); max-width:60ch; }
.hero__actions{ margin-top:26px; display:flex; gap:12px; flex-wrap:wrap; }

/* FICHA (la sección marcada) */
.ficha{ padding:78px 0; }
.ficha__grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:44px;
  align-items:stretch;
}
.ficha__media img{
  width:100%;
  height:100%;
  max-height:540px;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.ficha__right{
  display:grid;
  grid-template-rows:auto 1fr;
  gap:18px;
}

.ficha__card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.ficha__title{
  margin:0 0 14px 0;
  font-size:22px;
  letter-spacing:.02em;
}

.specs{ margin:0; }
.specs__row{
  display:grid;
  grid-template-columns: 190px 1fr;
  gap:18px;
  padding:10px 0;
  border-top:1px solid rgba(242,238,230,.08);
}
.specs__row:first-child{ border-top:0; }
.specs dt{ font-weight:600; }
.specs dd{ margin:0; color:var(--muted); }

.ficha__mini img{
  width:100%;
  height:100%;
  max-height:210px;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid rgba(242,238,230,.08);
}

/* CTA */
.cta{ padding:62px 0; }
.cta__inner{
  border-top:1px solid rgba(242,238,230,.08);
  padding-top:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta__title{ margin:0; font-size:28px; }

/* GRID */
.grid{ padding:40px 0 90px; }
.grid__mosaic{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.grid__mosaic img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(242,238,230,.06);
}
.grid__mosaic img:nth-child(1){ grid-column: span 6; }
.grid__mosaic img:nth-child(2){ grid-column: span 6; }
.grid__mosaic img:nth-child(3){ grid-column: span 7; }
.grid__mosaic img:nth-child(4){ grid-column: span 5; }

@media (max-width: 950px){
  .ficha__grid{ grid-template-columns:1fr; }
  .ficha__media img{ max-height:520px; }
  .cta__inner{ flex-direction:column; align-items:flex-start; }
  .grid__mosaic{ grid-template-columns:1fr; }
  .grid__mosaic img{ height:220px; }
  .grid__mosaic img:nth-child(n){ grid-column: auto; }
}
.hero__content{
  position: relative;
  padding: 120px 0;
  max-width: 980px;         /* controla el ancho del bloque */
  margin-left: 36px;           /* pegado a la izquierda del wrap */
}

.hero__topline{ text-align:left; }
.hero__title{ text-align:left; }
.hero__subtitle{ text-align:left; }
.hero__actions{ justify-content:flex-start; }
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0,0,0,.38);
  border-bottom: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); }
.brand__logo{ height: 34px; width:auto; display:block; }

.nav__menu{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav__menu a{
  color: rgba(242,238,230,.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.nav__menu a:hover{ color: var(--text); }

.header__cta{ padding: 10px 14px; font-size: 14px; }

/* para que el hero no quede debajo del header fijo */
.hero__content{ padding-top: 170px; }
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 100px;
  display: flex;
  align-items: center;

  /* más visible */
  background: rgba(0, 0, 0, 0.158);
  border-bottom: 1px solid rgba(242,238,230,.10);
  backdrop-filter: blur(10px);
}

.header__inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand__logo{
  height: 98px;
  width: auto;
  display:block;
}

/* menú */
.nav__menu{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}
.nav__menu a{
  color: rgba(242,238,230,.90);
  text-decoration:none;
  font-weight:500;
  font-size:14px;
}
.nav__menu a:hover{ color: var(--text); }

/* botón header */
.header__cta{
  padding: 10px 14px;
  font-size: 14px;
}

/* que el hero no quede tapado */
.hero-slider{
  width:100%;
  height:100vh;
}

.hero-slide{
  position:relative;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35));
}

.hero__content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:120px 0;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.20));
}
.hero-slider{
  width: 100%;
  height: calc(100vh - -12px); /* para que no choque con el header fijo */
}

.hero-slide{
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.20));
}

.hero__content{
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 110px 0 110px;
}

/* Dots (paginación) */
.swiper-pagination{
  bottom: 22px !important;
}
.swiper-pagination-bullet{
  background: rgba(242,238,230,.55);
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background: #B10000;
}

/* Flechas */
.swiper-button-prev,
.swiper-button-next{
  color: rgba(242,238,230,.85);
}
.swiper-button-prev:hover,
.swiper-button-next:hover{
  color: #F2EEE6;
}
/* Sección base reutilizable */
.section-title{
  margin: 10px 0 14px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
}

.eyebrow{
  margin: 0;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(242,238,230,.65);
}

/* QUIÉNES SOMOS */
.about{
  padding: 90px 0;
}

.about__grid{
  display: grid;
  grid-template-columns: 1fr;   /* solo una columna para que se centre */
  max-width: 1100px;
  margin: 0 auto;               /* centra todo */
  gap: 44px;
}


.lead{
  margin: 0 0 22px;
  color: rgba(242,238,230,.82);
  font-size: 17px;
  line-height: 1.8;
  max-width: 900px;  /* antes era 68ch, ahora mucho más ancho */
}

.about__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.about__box{
  border: 1px solid rgba(242,238,230,.12);
  border-radius: 16px;
  padding: 18px;
  background: rgba(0,0,0,.35);
}

.about__box h3{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(242,238,230,.88);
}

.about__box p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 14px;
  line-height: 1.65;
}

.about__meta{
  margin-top: 16px;
  border-top: 1px solid rgba(242,238,230,.08);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.meta__item{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.meta__label{
  color: rgba(242,238,230,.60);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.meta__value{
  color: rgba(242,238,230,.82);
  font-size: 14px;
}

.about__actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Columna derecha (media) */
.about__media{
  display: grid;
  gap: 14px;
}

.about__img img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(242,238,230,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.about__card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  padding: 18px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.about__cardTitle{
  margin: 0 0 10px;
  font-size: 16px;
}

.about__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(242,238,230,.78);
  line-height: 1.75;
  font-size: 14px;
}

@media (max-width: 980px){
  .about__grid{ grid-template-columns: 1fr; }
  .about__cols{ grid-template-columns: 1fr; }
  .about__img img{ height: 320px; }
}
.about__content{
  max-width: 1000px;
  margin: 0 auto;
}

.section-title{
  font-size: clamp(32px, 3vw, 42px);
}
/* SERVICIOS estilo “imagen fondo + cards” */
.services2{
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-top: 1px solid rgba(242,238,230,.06);
  border-bottom: 1px solid rgba(242,238,230,.06);
}

.services2__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.473), rgba(0, 0, 0, 0.658)),
    radial-gradient(900px 480px at 20% 30%, rgba(177,0,0,.18), transparent 60%);
}

.services2__inner{ position: relative; z-index: 2; }

.services2__head{
  text-align: center;
  max-width: 920px;
  margin: 0 auto 28px;
}

.services2__title{
  margin: 10px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

.services2__subtitle{
  margin: 0 auto;
  max-width: 76ch;
  color: rgba(242,238,230,.78);
  line-height: 1.75;
  font-size: 15px;
}

/* Cards flotantes */
.services2__cards{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.s2-card{
  background: rgba(242,238,230,.96);
  color: #0b0b0b;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(0,0,0,.06);
  transform: translateY(6px);
}

.s2-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.06);
  margin-bottom: 12px;
  font-size: 20px;
}

.s2-card h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.s2-card p{
  margin: 0 0 14px;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(0,0,0,.72);
}

.s2-card__link{
  font-weight: 700;
  text-decoration: none;
  color: var(--accent); /* #B10000 */
}

.s2-card__link:hover{ text-decoration: underline; }

/* Card destacada al centro (tu rojo/azul, pero manteniendo legibilidad) */
.s2-card--featured{
  background: linear-gradient(180deg, rgba(177, 0, 0, 0.753), rgba(120,0,0,.96));
  color: #F2EEE6;
  border-color: rgba(177,0,0,.35);
  transform: translateY(-10px);
}

.s2-card--featured .s2-card__icon{
  background: rgba(242,238,230,.16);
}

.s2-card--featured p{
  color: rgba(242,238,230,.82);
}

.s2-card--featured .s2-card__link{
  color: #F2EEE6;
}

/* Responsive */
@media (max-width: 980px){
  .services2__cards{ grid-template-columns: 1fr; }
  .s2-card{ transform: none; }
  .s2-card--featured{ transform: none; }
}
.services2{
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.services2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.199), rgba(0, 0, 0, 0.13));
  z-index: 0;
}

.services2 .wrap{
  position: relative;
  z-index: 2;
}

.projects{
  padding: 90px 0;
}

.projects__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease;
}

.p-card:hover{
  transform: translateY(-2px);
  border-color: rgba(242,238,230,.18);
}

.p-card__media{
  position: relative;
  height: 320px;
  background: #000;
}

.p-card__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
}

/* Estado base: muestra la 1 */
.p-card__img.is-1{ opacity: 1; }

/* Animación “cadena”: al hover se recorren 1→2→3 */
.p-card:hover .p-card__img{
  animation: none;
}

.p-card:hover .p-card__img.is-1{
  animation: pchain 1.8s infinite;
}
.p-card:hover .p-card__img.is-2{
  animation: pchain 1.8s infinite;
  animation-delay: .6s;
}
.p-card:hover .p-card__img.is-3{
  animation: pchain 1.8s infinite;
  animation-delay: 1.2s;
}

@keyframes pchain{
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  33%  { opacity: 1; }
  43%  { opacity: 0; }
  100% { opacity: 0; }
}

.p-card__info{
  padding: 14px 16px 16px;
}

.p-card__info h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.p-card__info p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 13px;
}

/* responsive */
@media (max-width: 1020px){
  .projects__grid{ grid-template-columns: 1fr; }
  .p-card__media{ height: 280px; }
}
.projects{ padding: 90px 0; }

.projects__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease;
}

.p-card:hover{
  transform: translateY(-2px);
  border-color: rgba(242,238,230,.18);
}

.p-card__media{
  position: relative;
  height: 520px;
  width: 380px;
  background: #000;
}

.p-card__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}

/* por defecto se ve la primera */
.p-card__media img:first-child{
  opacity: 1;
}

.p-card__info{
  padding: 14px 16px 16px;
}

.p-card__info h3{ margin: 0 0 6px; font-size: 16px; }
.p-card__info p{ margin: 0; color: rgba(242,238,230,.72); font-size: 13px; }

/* mobile: muestra la última (final) y no depende de hover */
@media (hover: none){
  .p-card__media img{ opacity: 0; }
  .p-card__media img:last-child{ opacity: 1; }
}

@media (max-width: 1020px){
  .projects__grid{ grid-template-columns: 1fr; }
  .p-card__media{ height: 280px; }
}
.custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.custom-logo{
  height: 34px;
  width: auto;
  display:block;
}

.brand__text{
  color:#F2EEE6;
  font-weight:700;
}

.process2{
  padding: 120px 0;
  border-top: 1px solid rgba(242,238,230,.06);
  position: relative;
}
.process2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.918); /* sube a .80 / .88 si quieres más oscuro */
  z-index: 0;
}

/* todo el contenido encima del overlay */
.process2 > *{
  position: relative;
  z-index: 1;
}


.center{ text-align:center; }

.process2__timeline{
  margin-top: 70px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.process2__line{
  position: absolute;
  top: 42px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(177,0,0,.2), #B10000, rgba(177,0,0,.2));
  z-index: 0;
}

.process2__item{
  position: relative;
  text-align: center;
  width: 18%;
  z-index: 2;
}

.process2__circle{
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  font-weight: 700;
  background: #111;
  border: 2px solid rgba(177,0,0,.4);
  color: #F2EEE6;
  transition: all .3s ease;
}

.process2__item:hover .process2__circle{
  background: #B10000;
  border-color: #B10000;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(177,0,0,.6);
}

.process2__item h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.process2__item p{
  margin: 0;
  font-size: 14px;
  color: rgb(242, 238, 230);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px){
  .process2__timeline{
    flex-direction: column;
    align-items: center;
  }

  .process2__line{
    display: none;
  }

  .process2__item{
    width: 100%;
    margin-bottom: 40px;
  }
}
/* Bolita animada sobre la línea */
.process2__dot{
  position: absolute;
  top: 34px;                 /* ajusta si tu línea está más arriba/abajo */
  left: 5%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #B10000;
  box-shadow: 0 0 18px rgba(177,0,0,.75);
  transform: translate(-50%, -50%);
  z-index: 3;

  animation: processDot 10s infinite ease-in-out;
}

/* Movimiento con “pausas” en cada paso (5 puntos) */
@keyframes processDot{
  /* Paso 1 (left 5%) */
  0%   { left: 5%; }
  12%  { left: 5%; }

  /* Paso 2 */
  20%  { left: 27.5%; }
  32%  { left: 27.5%; }

  /* Paso 3 */
  40%  { left: 50%; }
  52%  { left: 50%; }

  /* Paso 4 */
  60%  { left: 72.5%; }
  72%  { left: 72.5%; }

  /* Paso 5 (right 95%) */
  80%  { left: 95%; }
  92%  { left: 95%; }

  /* vuelve al inicio suave */
  100% { left: 5%; }
}

/* Accesibilidad: si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce){
  .process2__dot{ animation: none; }
}

/* En mobile, como el proceso se vuelve vertical, ocultamos línea/bolita */
@media (max-width: 1024px){
  .process2__dot{ display:none; }
}
/* Glow sincronizado en cada paso (opcional) */
.process2__item .process2__circle{
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

.process2__item:nth-child(3) .process2__circle,
.process2__item:nth-child(4) .process2__circle,
.process2__item:nth-child(5) .process2__circle,
.process2__item:nth-child(6) .process2__circle,
.process2__item:nth-child(7) .process2__circle{
  animation: stepGlow 10s infinite ease-in-out;
}

/* OJO: el nth-child depende de que tengas: line + dot antes de los items.
   Si no te calza, te digo cómo ajustarlo. */

.process2__item:nth-child(3) .process2__circle{ animation-delay: 0s; }
.process2__item:nth-child(4) .process2__circle{ animation-delay: 2s; }
.process2__item:nth-child(5) .process2__circle{ animation-delay: 4s; }
.process2__item:nth-child(6) .process2__circle{ animation-delay: 6s; }
.process2__item:nth-child(7) .process2__circle{ animation-delay: 8s; }

@keyframes stepGlow{
  0%, 18% {
    background: #B10000;
    border-color: #B10000;
    box-shadow: 0 0 25px rgba(177,0,0,.6);
    transform: scale(1.06);
  }
  28%, 100% {
    background: #111;
    border-color: rgba(177,0,0,.4);
    box-shadow: none;
    transform: scale(1);
  }
}
/* COTIZACIÓN (glass) */
.quote{
  position: relative;
  padding: 120px 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  border-top: 1px solid rgba(242,238,230,.06);
  background-attachment: fixed; /* 👈 ESTA línea */
}

.quote__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 25% 25%, rgba(177,0,0,.18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.432), rgba(0, 0, 0, 0.39));
  z-index: 0;
}

.quote__inner{ position: relative; z-index: 2; }

.glass{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

.quote__grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.quote__info{ padding: 22px; }
.quote__info h3{ margin: 0 0 12px; font-size: 16px; }
.quote__list{
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(242,238,230,.80);
  line-height: 1.75;
  font-size: 14px;
}
.quote__mini p{
  margin: 0 0 8px;
  color: rgba(242,238,230,.78);
  font-size: 14px;
}

.quote__form{ padding: 22px; }

.c3d-form label{
  display:block;
  margin: 0 0 8px;
  color: rgba(242,238,230,.82);
  font-size: 13px;
  letter-spacing: .02em;
}

.c3d-form input,
.c3d-form select,
.c3d-form textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(242,238,230,.10);
  background: rgba(0,0,0,.35);
  color: #F2EEE6;
  padding: 12px 12px;
  outline: none;
}

.c3d-form textarea{ resize: vertical; }

.c3d-form input:focus,
.c3d-form select:focus,
.c3d-form textarea:focus{
  border-color: rgba(177,0,0,.55);
  box-shadow: 0 0 0 3px rgba(177,0,0,.18);
}

.form__row{ margin-bottom: 14px; }
.form__row--2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form__note{
  margin: 12px 0 0;
  color: rgba(242,238,230,.65);
  font-size: 12px;
}

@media (max-width: 980px){
  .quote__grid{ grid-template-columns: 1fr; }
  .form__row--2{ grid-template-columns: 1fr; }
}
/* FAQ */
.faq{ padding: 110px 0; }

.faq__list{
  margin-top: 26px;
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq__item{
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.faq__item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: rgba(242,238,230,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.faq__item summary::-webkit-details-marker{ display:none; }

.faq__item summary::after{
  content:"+";
  font-size: 18px;
  opacity: .85;
}

.faq__item[open] summary::after{
  content:"–";
}

.faq__content{
  padding: 0 18px 16px;
  color: rgba(242,238,230,.78);
  line-height: 1.7;
  font-size: 14px;
}
/* FOOTER */
.site-footer{
  padding: 70px 0 30px;
  border-top: 1px solid rgba(242,238,230,.06);
  background: #050505;
}
.site-footer .custom-logo{
   height: 90px !important;      /* prueba 56–72 */
  width: auto !important;
  margin-right: 120px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.footer__brand h3{ margin: 0 0 10px; }
.footer__brand p{ margin: 0; color: rgba(242,238,230,.72); }

.footer__col h4{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(242,238,230,.90);
}

.footer__col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}

.footer__col a{
  color: rgba(242,238,230,.72);
  text-decoration: none;
}
.footer__col a:hover{ color: rgba(242,238,230,.95); }

.footer__social{
  margin-top: 14px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__bottom{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,238,230,.06);
  color: rgba(242,238,230,.55);
  font-size: 12px;
}

@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
}

/* PRELOADER */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505; /* negro elegante */
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  text-align: center;
  padding: 24px;
}

.preloader__logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  animation: preLogo .9s ease forwards;
}

/* si viene del customizer */
.preloader .custom-logo{
  height: 56px;
  width: auto;
  display: block;
}

/* fallback texto */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* barra sutil */
.preloader__bar{
  width: 220px;
  height: 3px;
  border-radius: 999px;
  background: rgba(242,238,230,.12);
  overflow: hidden;
  position: relative;
}

.preloader__bar::after{
  content:"";
  position: absolute;
  inset: 0;
  width: 35%;
  background: #B10000;
  border-radius: 999px;
  transform: translateX(-120%);
  animation: preBar 1.1s ease-in-out infinite;
}

@keyframes preLogo{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preBar{
  0%{ transform: translateX(-120%); opacity: .6; }
  50%{ opacity: 1; }
  100%{ transform: translateX(320%); opacity: .6; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce){
  .preloader__logo{ animation: none; opacity: 1; transform: none; }
  .preloader__bar::after{ animation: none; transform: none; width: 100%; opacity: .35; }
}
.site-header .custom-logo{
  height: 60px;
  width: auto;
  display: block;
}
.site-header .custom-logo-link{
  display: flex;
  align-items: center;
}

.site-header .custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
  line-height: 0;
}

.site-header .custom-logo{
  height: 34px;  /* ajusta 28–40 */
  width: auto;
  display:block;
}

.brand__text{
  color:#F2EEE6;
  font-weight:700;
}

/* Footer logo */
.footer__logo .custom-logo{
  height: 120px;  /* más grande en footer */
  width: auto;
  display:block;
  opacity: .95;
}
.footer__logo .custom-logo-link{ display:flex; align-items:center; }

/* PRELOADER: logo + círculo */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  text-align: center;
  padding: 26px;
}

.preloader__logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: preLogoIn .9s ease forwards;
}

/* logo grande y centrado */
.preloader .custom-logo{
  height: 90px;   /* grande */
  width: auto;
  display:block;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,.55));
}

/* texto fallback */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 18px;
}

/* Spinner circular */
.preloader__spinner{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 3px solid rgba(242,238,230,.18);
  border-top-color: #B10000;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(177,0,0,.15);
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@keyframes preLogoIn{
  to{ opacity: 1; transform: translateY(0); }
}

/* menos movimiento */
@media (prefers-reduced-motion: reduce){
  .preloader__spinner{ animation: none; }
  .preloader__logo{ animation: none; opacity: 1; transform: none; }
}

/* Asegura que el header permita el logo grande */
.site-header{
  height: 88px;              /* antes 72px; súbelo */
  padding: 0 0;
}


/* Evita que el logo quede “aplastado” o con width raro */
.site-header .custom-logo-link{
  display: flex;
  align-items: center;
  line-height: 0;
}

/* IMPORTANTE: si tienes esto global, cámbialo */
img{
  max-width: 100%;
  height: 180px;
}

/* PRELOADER reveal */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner{
  padding: 26px;
  text-align: center;
}

/* Contenedor que “recorta” y revela */
.preloader__reveal{
  position: relative;
  display: inline-block;
  overflow: hidden;               /* CLAVE para el reveal */
}

/* Logo grande en el preloader */
.preloader .custom-logo{
  height: 120px;                  /* más grande */
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 35px rgba(0,0,0,.55));
}

/* Fallback texto */
.preloader__text{
  color: #F2EEE6;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 20px;
  display:block;
}

/* Capa que tapa y se mueve para revelar */
.preloader__reveal::after{
  content:"";
  position:absolute;
  inset: 0;
  background: #050505;           /* mismo fondo */
  transform: translateY(0);
  animation: revealUp 1.25s ease forwards;
}

/* El logo entra suave */
.preloader__reveal > *{
  opacity: 0;
  transform: translateY(8px);
  animation: logoIn .9s ease forwards;
  animation-delay: .15s;
}

@keyframes revealUp{
  0%   { transform: translateY(0); }
  100% { transform: translateY(-105%); }
}

@keyframes logoIn{
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .preloader__reveal::after{ animation: none; transform: translateY(-105%); }
  .preloader__reveal > *{ animation: none; opacity: 1; transform: none; }
}

.site-header{
  height: 96px;                 /* súbelo hasta que quepa */
  display: flex;
  align-items: center;
  overflow: visible;            /* CLAVE: que no recorte */
  padding: 0 18px;
}

.header__inner{
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .brand{
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.site-header .custom-logo-link{
  display: flex;
  align-items: center;
  line-height: 0;
  overflow: visible;
}

.site-header .custom-logo{
  height: 90px !important;      /* prueba 56–72 */
  width: auto !important;
  margin-right: 120px;
}

/* ===== FOOTER PRO ===== */
.site-footer{
  position: relative;
  padding: 90px 0 34px;
  background:
    radial-gradient(900px 420px at 18% 20%, rgba(177,0,0,.16), transparent 60%),
    radial-gradient(900px 420px at 82% 0%, rgba(177,0,0,.08), transparent 55%),
    linear-gradient(180deg, #070707, #040404);
  border-top: 1px solid rgba(242,238,230,.08);
  overflow: hidden;
}


/* grid */
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* brand */
.footer__brand{
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.footer__brand p{
  margin: 10px 0 0;
  color: rgba(242,238,230,.72);
  line-height: 1.6;
}


/* headings */
.footer__col h4{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,230,.85);
}

/* links list */
.footer__col ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}

.footer__col a{
  color: rgba(242,238,230,.72);
  text-decoration: none;
  position: relative;
  transition: color .18s ease, transform .18s ease;
}

.footer__col a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:1px;
  background: rgba(177,0,0,.8);
  transition: width .22s ease;
}

.footer__col a:hover{
  color: rgba(242,238,230,.95);
}

.footer__col a:hover::after{ width: 100%; }

/* social chips */
.footer__social{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(242,238,230,.10);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.footer__social a:hover{
  border-color: rgba(177,0,0,.45);
  box-shadow: 0 0 18px rgba(177,0,0,.18);
}

/* bottom */
.footer__bottom{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,238,230,.08);
  color: rgba(242,238,230,.55);
  font-size: 12px;
}

/* responsive */
@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__brand{ order: -1; }
}
/* ===== HEADER SHRINK ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: padding .22s ease, background .22s ease, box-shadow .22s ease;
  padding: 18px 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242,238,230,.06);
}

.site-header.is-shrink{
  padding: 10px 0;
  background: rgba(0,0,0,.62);
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
}

/* logo también achica */
.site-header .custom-logo{
  height: 58px;
  transition: height .22s ease, opacity .22s ease;
}

.site-header.is-shrink .custom-logo{
  height: 40px;
}

/* ===== Flip cards para About ===== */
.about__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about__box.flip-card{
  perspective: 1200px;
}

/* hacemos que la caja tenga altura estable */
.flip-card__inner{
  position: relative;
  min-height: 260px; /* ajusta: 240–320 */
  transform-style: preserve-3d;
  transition: transform .6s ease;
  border-radius: 18px;
}

/* aplica tu estilo glass a ambos lados */
.flip-card__front,
.flip-card__back{
  position: absolute;
  inset: 0;
  padding: 22px;
  border-radius: 18px;
  backface-visibility: hidden;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(242,238,230,.08);
  backdrop-filter: blur(10px);
}

.flip-card__back{
  transform: rotateY(180deg);
  text-align: justify;
}

/* Desktop hover */
@media (hover:hover){
  .flip-card:hover .flip-card__inner{
    transform: rotateY(180deg);
  }
}

/* Mobile: tap */
.flip-card.is-flipped .flip-card__inner{
  transform: rotateY(180deg);
}

.flip-card h3{
  margin: 0 0 10px;
  letter-spacing: .08em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: .95;
}

.flip-card p{
  margin: 0;
  color: rgba(242,238,230,.78);
  line-height: 1.7;
  font-size: 14px;
}

/* hint */
.flip-card__hint{
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(242,238,230,.70);
  border-bottom: 1px solid rgba(177,0,0,.45);
  padding-bottom: 3px;
}

/* responsive */
@media (max-width: 980px){
  .about__cols{ grid-template-columns: 1fr; }
  .flip-card__inner{ min-height: 240px; }
}
/* CENTRAR contenido del lado frontal */
.flip-card__front{
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra vertical */
  align-items: center;       /* centra horizontal */
  text-align: center;
}
/* Título más grande en front */
.flip-card__front h3{
  font-size: 14px;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

/* Texto principal más grande */
.flip-card__front p{
  font-size: 17px;     /* antes 14 */
  line-height: 1.6;
  max-width: 80%;
}
/* ===== Página Nosotros ===== */

.about-page{
  padding-top: 140px;
}

.about-hero{
  padding: 100px 0 80px;
  text-align: center;
}

.about-hero h1{
  font-size: 48px;
  margin: 0 0 16px;
}

.about-section{
  padding: 90px 0;
}

.about-section__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.about-image img{
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.about-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card{
  padding: 26px;
  border-radius: 18px;
}

.about-card h3{
  margin-top: 0;
}

.values-grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.value-card{
  padding: 20px;
  text-align: center;
  border-radius: 14px;
}

.team-grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.team-card{
  padding: 18px;
  text-align: center;
  border-radius: 18px;
}

.team-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.about-cta{
  padding: 90px 0;
  text-align: center;
}

.about-cta .glass{
  padding: 50px;
  border-radius: 22px;
}

@media (max-width: 980px){
  .about-section__grid,
  .about-cards,
  .values-grid,
  .team-grid{
    grid-template-columns: 1fr;
  }
}

/* ===== PÁGINA NOSOTROS ===== */
.about-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

/* HERO SHRINK */
.about-hero-shrink{
  position: relative;
  height: 145vh;
  margin-top: -38px;
  overflow: hidden;
}

.about-hero-shrink__media{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.about-hero-shrink__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
}

.about-hero-shrink__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,.82)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.about-hero-shrink__content{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-hero-shrink__content h1{
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1;
  margin: 0 0 18px;
}

.about-hero-shrink__content .lead{
  font-size: 24px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* SECCIONES */
.about-section{
  padding: 110px 0;
}

.about-story{
  max-width: 980px;
}

.about-story__text p{
  font-size: 17px;
  line-height: 1.9;
  color: rgba(242,238,230,.78);
  text-align: justify;
}

/* COLUMNAS */
.about-columns{
  padding: 40px 0 110px;
  overflow: hidden;
}

.about-columns__track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.about-columns__col{
  display: grid;
  gap: 22px;
}

.about-columns__col img{
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(242,238,230,.08);
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

/* tamaños variados para look editorial */
.about-columns__col--1 img:nth-child(1){ height: 400px; }
.about-columns__col--1 img:nth-child(2){ height: 280px; }

.about-columns__col--2 img:nth-child(1){ height: 280px; }
.about-columns__col--2 img:nth-child(2){ height: 420px; }

.about-columns__col--3 img:nth-child(1){ height: 360px; }
.about-columns__col--3 img:nth-child(2){ height: 300px; }

/* MISIÓN / VISIÓN */
.about-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-card{
  padding: 30px;
  border-radius: 22px;
}

.about-card h3{
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,230,.88);
}

.about-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(242,238,230,.76);
}

/* VALORES */
.about-section--bg{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-section__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.84)),
    linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.88));
}

.about-section--bg .wrap{
  position: relative;
  z-index: 2;
}

.about-values{
  text-align: center;
}

.values-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card{
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
}

/* EQUIPO */
.team-grid{
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.team-card{
  padding: 18px;
  border-radius: 20px;
  max-width:900px;
  width:100%;
  text-align: center;
}

.team-card img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 16px;
}

.team-card h4{
  margin: 0 0 8px;
  font-size: 22px;
}

.team-card p{
  margin: 0;
  color: rgba(242,238,230,.72);
  font-size: 15px;
}

/* CTA */
.about-cta{
  padding: 110px 0;
}

.about-cta__box{
  padding: 50px;
  border-radius: 24px;
  text-align: center;
}

.about-cta__box h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.about-cta__box p{
  margin: 0 0 22px;
  color: rgba(242,238,230,.72);
  font-size: 17px;
}

/* REVEAL */
.reveal-up,
.reveal-left,
.reveal-right{
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  will-change: transform, opacity;
}

.reveal-up{ transform: translateY(50px); }
.reveal-left{ transform: translateX(-50px); }
.reveal-right{ transform: translateX(50px); }

.reveal-visible{
  opacity: 1;
  transform: translate(0,0);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .about-columns__track,
  .about-cards,
  .values-grid,
  .team-grid{
    grid-template-columns: 1fr;
  }

  .about-hero-shrink__content .lead{
    font-size: 18px;
  }

  .team-card img{
    height: 280px;
  }
}

/* ===== PÁGINA PROYECTOS ===== */
.projects-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
  padding-top: 140px;
}

.projects-hero{
  padding: 80px 0 70px;
  text-align: center;
}

.projects-hero h1{
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1;
  margin: 0 0 16px;
}

.projects-hero .lead{
  max-width: 950px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.7;
}

/* columnas */
.projects-gallery{
  padding: 30px 0 110px;
  overflow: hidden;
}

.projects__columns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.projects__col{
  display: grid;
  gap: 22px;
}

/* cards */
.p-card{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(242,238,230,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.p-card__media{
  position: relative;
  overflow: hidden;
  background: #000;
}

.p-card__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease, transform .7s ease;
}

.p-card__media img:first-of-type{
  opacity: 1;
}

/* overlay arriba */
.p-card__overlay-top{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 18px 18px 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
}

.p-card__overlay-top h3{
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.p-card__overlay-top p{
  margin: 0;
  font-size: 14px;
  color: rgba(242,238,230,.76);
}

/* alturas editoriales */
.projects__col .p-card:nth-child(1) .p-card__media{
  aspect-ratio: 3 / 4;
}

.projects__col .p-card:nth-child(2) .p-card__media{
  aspect-ratio: 4 / 5;
}

/* hover */
.p-card:hover .p-card__media img{
  transform: scale(1.03);
}

/* responsive */
@media (max-width: 980px){
  .projects__columns{
    grid-template-columns: 1fr;
  }

  .projects-hero .lead{
    font-size: 18px;
  }
}

/* ===== PÁGINA SERVICIOS ===== */
.services-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

.services-hero{
  position: relative;
  padding: 190px 0 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.services-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.88)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.services-hero__inner{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.services-hero h1{
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  margin: 0 0 18px;
}

.services-hero .lead{
  font-size: 22px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.services-detail{
  padding: 110px 0;
}

.services-detail__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-block{
  padding: 30px;
  border-radius: 22px;
}

.service-block h2{
  margin: 0 0 14px;
  font-size: 28px;
}

.service-block p{
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(242,238,230,.76);
}

.services-materials{
  padding: 110px 0;
}

.materials-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.material-card{
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
}

.services-cta{
  padding: 110px 0;
}

.services-cta__box{
  padding: 50px;
  border-radius: 24px;
  text-align: center;
}

.services-cta__box h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.services-cta__box p{
  margin: 0 0 22px;
  color: rgba(242,238,230,.72);
  font-size: 17px;
}

@media (max-width: 980px){
  .services-detail__grid,
  .materials-grid{
    grid-template-columns: 1fr;
  }

  .services-hero .lead{
    font-size: 18px;
  }
}

/* ===== PÁGINA FAQ ===== */
.faq-page{
  background: #050505;
  color: #F2EEE6;
  min-height: 100vh;
}

.faq-hero{
  position: relative;
  padding: 190px 0 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.faq-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.42), rgba(0,0,0,.88)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.88));
}

.faq-hero__inner{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.faq-hero h1{
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  margin: 0 0 18px;
}

.faq-hero .lead{
  font-size: 22px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.faq-page__section{
  padding: 110px 0;
}

.faq-page__list{
  display: grid;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-page__item{
  border-radius: 20px;
  overflow: hidden;
}

.faq-page__item summary{
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-page__item summary::-webkit-details-marker{
  display: none;
}

.faq-page__item summary::after{
  content: "+";
  font-size: 24px;
  color: rgba(177,0,0,.95);
  transition: transform .3s ease;
}

.faq-page__item[open] summary::after{
  content: "–";
}

.faq-page__content{
  padding: 0 24px 24px;
  color: rgba(242,238,230,.78);
  line-height: 1.9;
  font-size: 16px;
}

.faq-page__content p{
  margin: 0 0 14px;
}

.faq-page__content ul{
  margin: 0 0 14px 20px;
  padding: 0;
}

.faq-page__content li{
  margin-bottom: 8px;
}

/* animación apertura */
.faq-page__item{
  transition: transform .3s ease, border-color .3s ease;
}

.faq-page__item:hover{
  transform: translateY(-2px);
  border-color: rgba(177,0,0,.35);
}

@media (max-width: 980px){
  .faq-hero .lead{
    font-size: 18px;
  }

  .faq-page__item summary{
    font-size: 18px;
  }

  .faq-page__content{
    font-size: 15px;
  }
}


/* =========================
   SERVICIOS - STUDIO MINIMAL
========================= */

.services2__cards--minimal{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-card{
  padding:36px;
  border-radius:22px;

  border:1px solid rgba(242,238,230,.12);

  background:rgba(0,0,0,.35);
  backdrop-filter:blur(12px);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.service-card:hover{
  transform:translateY(-6px);

  border-color:#B10000;

  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    0 0 25px rgba(177,0,0,.15);
}

/* número */

.service-number{
  font-size:34px;
  font-weight:700;
  color:#B10000;

  margin-bottom:16px;

  letter-spacing:.04em;
}

/* título */

.service-card h3{
  margin:0 0 10px;

  font-size:20px;
  letter-spacing:.02em;
}

/* texto */

.service-card p{
  margin:0;

  font-size:14px;
  line-height:1.75;

  color:rgba(242,238,230,.75);
}

/* responsive */

@media (max-width:980px){

  .services2__cards--minimal{
    grid-template-columns:1fr;
  }

}

.services-materials{
padding:90px 0;
text-align:center;
}

.materials-strip{
max-width:1000px;
}

.materials-head{
margin-bottom:40px;
}

.materials-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

border-top:1px solid rgba(242,238,230,.1);
padding-top:30px;
}

.material{

font-size:16px;

padding:14px 0;

color:rgba(242,238,230,.85);

border-bottom:1px solid rgba(242,238,230,.08);

transition:.3s;
}

.material:hover{

color:#B10000;

transform:translateY(-2px);

}

.material.accent{

color:#B10000;
font-weight:600;

}

@media (max-width:900px){

.materials-grid{

grid-template-columns:repeat(2,1fr);

}

}

.footer{
background:#3b3636;
padding:90px 0 60px;
border-top:1px solid rgba(255,255,255,.06);
}

.footer-bottom{
margin-top:60px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.08);
font-size:13px;
color:rgba(255,255,255,.6);
}

.footer-brand{
padding:28px;
border-radius:18px;
background:rgba(255,255,255,.03);
border:1px solid rgba(255,255,255,.06);
max-width:260px;
}
.footer-social{
display:flex;
gap:12px;
margin-top:18px;
}

.footer-social a{
width:40px;
height:40px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:1px solid rgba(255,255,255,.15);
transition:.3s;
}

.footer-social a:hover{
background:#B10000;
border-color:#B10000;
transform:translateY(-3px);
}

.floating-buttons{
position:fixed;
right:24px;
bottom:24px;
display:flex;
flex-direction:column;
gap:12px;
z-index:999;
}

.float-btn{
padding:14px 20px;
border-radius:30px;
font-size:14px;
font-weight:600;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
box-shadow:0 10px 25px rgba(0,0,0,.35);
transition:.3s;
}

.float-btn.quote{
background:#B10000;
color:white;
}

.float-btn.whatsapp{
background:#25D366;
color:white;
}

.float-btn:hover{
transform:translateY(-3px);
box-shadow:0 15px 35px rgba(0,0,0,.45);
}

.footer-social{
display:flex;
gap:14px;
margin-top:18px;
}

.footer-social a{

width:42px;
height:42px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

border:1px solid rgba(255,255,255,.15);

transition:.3s;

}

.footer-social svg{

width:18px;
height:18px;

fill:#F2EEE6;

}

.footer-social a:hover{

background:#B10000;
border-color:#B10000;

transform:translateY(-3px);

}

.float-btn.whatsapp{

display:flex;
align-items:center;
gap:8px;

background:#25D366;
color:white;

padding:14px 20px;

border-radius:30px;

font-weight:600;

}

.float-btn.whatsapp svg{

width:18px;
height:18px;

fill:white;

}

.footer{

background:
radial-gradient(
circle at 20% 0%,
rgba(177,0,0,.15),
transparent 45%
),

radial-gradient(
circle at 80% 0%,
rgba(177,0,0,.10),
transparent 50%
),

#0e0e0e;

padding:100px 0 60px;

border-top:1px solid rgba(255,255,255,.06);

}

.footer-social a{

width:50px;
height:50px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

border:1px solid rgba(255,255,255,.15);

transition:.3s;

}

.footer-social svg{

width:22px;
height:22px;

fill:#F2EEE6;

}

.footer-social a:hover{

background:#B10000;
border-color:#B10000;

transform:translateY(-3px);

}

/* ===== FOOTER ===== */

.site-footer{
  padding:80px 0 34px;
  border-top: 1px solid rgba(255,255,255,.22);
box-shadow: 0 -10px 30px rgba(0,0,0,.6);
  background:
  radial-gradient(circle at 20% 0%, rgba(177,0,0,.12), transparent 40%),
  radial-gradient(circle at 80% 0%, rgba(177,0,0,.08), transparent 45%),
  #0e0e0e;
}

/* GRID */

.footer__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap:40px;
  align-items:flex-start;
}

/* BRAND */

.footer__brand{
  max-width:300px;
}

.footer__logo{
  width:150px;
  height:auto;
  display:block;
  margin-bottom:12px;
}

.footer__brand-text{
  color:rgba(242,238,230,.70);
  font-size:19px;
  line-height:1.6;
}

/* TITULOS */

.footer__col h4{
  margin:0 0 14px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(242,238,230,.85);
}

/* LISTAS */

.footer__list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.footer__list a{
  text-decoration:none;
  color:rgba(242,238,230,.70);
  font-size:14px;
  transition:.2s;
}

.footer__list a:hover{
  color:#F2EEE6;
}

/* CONTACTO */

.footer__contact-list{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}

.footer__contact-list a,
.footer__contact-list span{
  color:rgba(242,238,230,.70);
  font-size:14px;
  text-decoration:none;
}

/* REDES */

.footer__social{
  display:flex;
  gap:14px;
}

.footer__social a{
  width:55px;
  height:55px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(242,238,230,.15);

  transition:.25s;
}

.footer__social svg{
  width:20px;
  height:20px;
  fill:#F2EEE6;
}

.footer__social a:hover{
  background:#B10000;
  border-color:#B10000;
  transform:translateY(-3px);
}

/* BOTTOM */

.footer__bottom{
  margin-top:40px;
  padding-top:18px;
  border-top:1px solid rgba(242,238,230,.08);

  text-align:center;

  color:rgba(242,238,230,.55);
  font-size:12px;
}

/* RESPONSIVE */

@media (max-width:900px){

.footer__grid{
  grid-template-columns:1fr;
  gap:28px;
}

.footer__brand{
  max-width:none;
}

}

/* BOTON WHATSAPP FLOTANTE */

.whatsapp-float{

position:fixed;

right:26px;
bottom:26px;

width:60px;
height:60px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:#25D366;

box-shadow:0 10px 25px rgba(0,0,0,.35);

z-index:9999;

transition:.25s;

}

.whatsapp-float svg{

width:28px;
height:28px;

fill:white;

}

.whatsapp-float:hover{

transform:translateY(-4px);

box-shadow:0 18px 40px rgba(0,0,0,.45);

}

.site-header{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 96px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242,238,230,.08);
  transition:
    height .28s ease,
    padding .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.site-header .custom-logo{
  height: 90px !important;
  width: auto !important;
  transition: height .28s ease, transform .28s ease;
}

.site-header .header__inner{
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header.is-shrink{
  height: 64px !important;
  padding: 0 18px !important;
  background: rgba(0,0,0,.78) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.site-header.is-shrink .custom-logo{
  height: 52px !important;
}

.c3d {
  padding-top: 70px;
}

.galeria-stack {
  padding: 80px 0;
  background: #131313;
  text-align: center;
  color: white;
}

.stack {
  position: relative;
  width: 100%;
  height: 450px;
background: #131313;
  perspective: 1200px;
}

.stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

/* POSICIONES */
.stack img:nth-child(1) { transform: translate(-50%, -50%) scale(1); z-index: 5; }
.stack img:nth-child(2) { transform: translate(-30%, -50%) scale(0.9) rotateY(-20deg); z-index: 4; }
.stack img:nth-child(3) { transform: translate(-70%, -50%) scale(0.8) rotateY(-30deg); z-index: 3; }

.stack img:nth-child(4) { transform: translate(-50%, -50%) scale(0.8) rotateY(30deg); z-index: 3; }
.stack img:nth-child(5) { transform: translate(-50%, -50%) scale(0.7) rotateY(40deg); z-index: 2; }

.controls {
  margin-top: 20px;
}

.controls button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 30px;
  margin: 0 10px;
  cursor: pointer;
}

.stack {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 520px;
  margin: 0 auto;
  perspective: 1500px;
}

.stack img:nth-child(2) {
  transform: translate(-20%, -50%) scale(0.9) rotateY(-15deg);
}

.stack img:nth-child(3) {
  transform: translate(-80%, -50%) scale(0.8) rotateY(-25deg);
}

.stack img:nth-child(4) {
  transform: translate(20%, -50%) scale(0.9) rotateY(15deg);
}

.stack img:nth-child(5) {
  transform: translate(80%, -50%) scale(0.8) rotateY(25deg);
}

.controls {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-nav {
  position: absolute;
  pointer-events: all;
  background: rgba(255,255,255,0.08);
  border: none;
  color: white;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

#prev { left: 40px; }
#next { right: 40px; }

.btn-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* CENTRO */
.stack img:nth-child(1) {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 10;
}

/* IZQUIERDA */
.stack img:nth-child(2) {
  transform: translate(calc(-50% - 220px), -50%) rotateY(35deg) scale(0.9);
  z-index: 9;
}

.stack img:nth-child(3) {
  transform: translate(calc(-50% - 420px), -50%) rotateY(45deg) scale(0.8);
  z-index: 8;
}

/* DERECHA */
.stack img:nth-child(4) {
  transform: translate(calc(-50% + 220px), -50%) rotateY(-35deg) scale(0.9);
  z-index: 9;
}

.stack img:nth-child(5) {
  transform: translate(calc(-50% + 420px), -50%) rotateY(-45deg) scale(0.8);
  z-index: 8;
}

.stack img {
  opacity: 0;
  pointer-events: none;
}

.stack img:nth-child(-n+5) {
  opacity: 1;
  pointer-events: auto;
}
.controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 99999; /* 🔥 súper arriba */
  pointer-events: none;
}

.btn-nav {
  position: absolute;
  pointer-events: all;

  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 26px;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  backdrop-filter: blur(10px);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}

.btn-nav:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.15);
}

.stack-wrapper {
  position: relative; /* 🔥 ESTE ES EL FIX */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.galeria-stack {
  padding: 40px 0;
}

html, body {
  overflow-x: hidden;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;

    max-height: 0;
    overflow: hidden;

    transition: all 0.3s ease;
  }

  .nav.active {
    max-height: 400px;
    padding: 20px 0;
  }

  .nav__menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hamburger {
    display: block;
  }

  .header__cta {
    display: none; /* 🔥 opcional: ocultar botón en mobile */
  }

}

.p-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px){

  .projects__columns{
    grid-template-columns: 1fr;
  }

  .p-card{
    width: 100%;
  }

}

.p-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;   /* 👈 esto arregla TODO */
  overflow: hidden;
}

@media (max-width: 768px){

  .p-card__media{
    min-height: 420px;
    aspect-ratio: 3 / 4;
  }

}

.p-card__media img{
  position: absolute;
}

/* CONTENEDOR */
.traductor-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* OCULTAR UI FEA DE GOOGLE */
.goog-te-gadget {
  font-size: 0;
}

.goog-te-gadget span {
  display: none;
}

.goog-logo-link {
  display: none !important;
}

.skiptranslate iframe {
  opacity: 0;
  pointer-events: none;
}

/* OCULTAR SELECT ORIGINAL */
.goog-te-combo {
  display: none !important;
}

/* BOTONES CUSTOM */
.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  background: rgba(255,255,255,.15);
}

.lang-btn.active {
  background: #B10000;
  border-color: #B10000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* NAV al centro */
.nav {
  margin-left: auto;
  margin-right: auto;
}

/* acciones a la derecha */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* separa traductor del botón */
.traductor-container {
  order: 1;
}

.header__cta {
  order: 2;
}

/* oculto en desktop */
.cta-mobile {
  display: none;
}

@media (max-width: 768px) {

  .cta-mobile {
    display: block;
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    background: #ff3b3b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 8px;
    font-weight: 600;
    text-decoration: none;
  }

}


