/* Jacoba Nieuwhof Investments — paleta y tipografía según brand guide */
:root {
  --black: #121010;
  --soft-gold: #a69279;
  --beige: #d4bfaa;
  --cream: #ece8e4;
  --white: #f7f5f2;
  --text: #121010;
  --muted: #6f655b;
  --gradient: radial-gradient(120% 120% at 100% 0%, #d4bfaa 0%, #6e6359 22%, #2a2522 45%, #121010 70%);

  --font-display: "Urbanist", "Poppins", system-ui, sans-serif; /* sustituto de Darky */
  --font-body: "Poppins", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --max: 1280px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h1 em, h2 strong, h1 strong { font-style: normal; font-weight: 600; }
h1 em { color: var(--soft-gold); }
p { margin: 0 0 1.2em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 1.4em;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 34em; }

/* Botones */
.btn {
  display: inline-block;
  padding: 1em 2.2em;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn {
  background-image: linear-gradient(var(--cream), var(--cream));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .5s cubic-bezier(.2,.7,.2,1), color .4s, border-color .3s, translate .3s;
}
.btn:hover { background-size: 100% 100%; color: var(--black); translate: 0 -2px; }
.btn--small { padding: .75em 1.5em; font-size: .7rem; }
.btn--light { background: var(--beige); color: var(--black); border-color: var(--beige); }
.btn--light { background-image: linear-gradient(var(--black), var(--black)); background-size: 0% 100%; background-repeat: no-repeat; }
.btn--light:hover { color: var(--beige); }

.link-arrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--soft-gold);
  padding-bottom: .3em;
}
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: .4em; }

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(236, 232, 228, .92);
  backdrop-filter: blur(10px);
  padding-block: 14px;
  box-shadow: 0 1px 0 rgba(166, 146, 121, .25);
}
.nav__logo img { height: 44px; width: auto; }
.nav__logo .logo-light { display: none; }
.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a:not(.btn) {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--soft-gold); transition: width .3s;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; }
.nav__links { order: 1; margin-left: auto; }
.nav__right { order: 2; display: flex; align-items: center; gap: 1rem; margin-left: 2.4rem; }
.lang { display: flex; align-items: center; gap: .35rem; font-size: .72rem; letter-spacing: .15em; }
.lang a { text-decoration: none; color: var(--muted); padding: 4px 2px; transition: color .3s; }
.lang a[aria-current="true"] { color: var(--black); font-weight: 500; border-bottom: 1px solid var(--soft-gold); }
.lang a:hover { color: var(--black); }
.lang span { color: var(--soft-gold); }

/* Barra de progreso de lectura */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--soft-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 120px var(--gutter) 60px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__cta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero h1 .eyebrow { display: block; margin-bottom: 1.4rem; line-height: 1.7; }
/* Foto en forma de escudo, como el isotipo, con un marco dorado alrededor */
.hero__media { isolation: isolate; }
.hero__shield {
  width: min(100%, 520px);
  aspect-ratio: 100 / 110;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110' preserveAspectRatio='none'%3E%3Cpath d='M9 7 Q50 -3 91 7 Q99 55 91 103 Q50 113 9 103 Q1 55 9 7 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110' preserveAspectRatio='none'%3E%3Cpath d='M9 7 Q50 -3 91 7 Q99 55 91 103 Q50 113 9 103 Q1 55 9 7 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__shield .hero__photo { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; border-radius: 0; }
.hero__outline {
  position: absolute;
  z-index: -1;
  width: min(108%, 562px);
  aspect-ratio: 100 / 110;
  left: 50%; top: 50%;
  translate: -50% -50%;
  overflow: visible;
}
.hero__outline path { fill: none; stroke: var(--soft-gold); stroke-width: 1.6; }
.js .hero__outline path { stroke-dasharray: 3000; stroke-dashoffset: 3000; }
.is-loaded .hero__outline path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .9s; }
.hero__media::before {
  /* resplandor beige detrás para fundir la foto con la pared */
  content: ""; position: absolute; z-index: -2; inset: 8% 4%;
  background: radial-gradient(closest-side, rgba(212, 191, 170, .55), transparent);
  filter: blur(30px);
}
.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--beige);
}

/* FRASE */
.quote-band {
  background: var(--gradient);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.25;
  max-width: 18em;
  margin: 0 auto;
}
.quote-band strong { font-weight: 600; color: var(--beige); }

/* SOBRE MÍ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.about__photos { position: relative; padding-bottom: 18%; }
.about__photos > .img-reveal:first-child { width: 78%; }
.about__main { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.about__secondary-wrap {
  position: absolute;
  right: 0; bottom: 0;
  width: 48%;
  border: 10px solid var(--cream);
}
.about__secondary { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.about blockquote {
  margin: 1.6em 0;
  padding-left: 1.4em;
  border-left: 1px solid var(--soft-gold);
  font-style: italic;
  color: var(--muted);
}

/* ENFOQUE */
.approach {
  background: var(--beige);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.section-head { max-width: 760px; margin-bottom: 3rem; }
.approach .section-head, .pillars { max-width: var(--max); margin-inline: auto; }
.approach .section-head { margin-bottom: 4rem; }
.approach .eyebrow { color: var(--black); opacity: .6; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pillar {
  background: rgba(236, 232, 228, .55);
  padding: 2.6rem 2.2rem 2.2rem;
  transition: background .4s;
}
.pillar:hover { background: var(--cream); translate: 0 -6px; box-shadow: 0 18px 40px -24px rgba(18, 16, 16, .35); }
.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--soft-gold);
  margin-bottom: 1.2rem;
}
.pillar p { color: var(--muted); margin: 0; }

/* SERVICIOS */
.services {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.services__media { position: sticky; top: 110px; }
.services__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.services ul { list-style: none; padding: 0; margin: 0; }
.services li { padding: 1.8rem 0; border-top: 1px solid rgba(166, 146, 121, .45); }
.services li:last-child { border-bottom: 1px solid rgba(166, 146, 121, .45); }
.services li h3 { margin-bottom: .4em; }
.services li p { color: var(--muted); margin: 0; }

/* CONTACTO */
.contact {
  background: var(--black);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient); opacity: .55; pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
}
.contact__mark { width: 56px; margin-bottom: 2rem; }
.contact .eyebrow { color: var(--beige); }
.contact__text > p { color: rgba(236, 232, 228, .7); }
.contact__channels { list-style: none; padding: 0; margin: 2.4rem 0 0; }
.contact__channels li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 191, 170, .25);
}
.contact__channels span { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--soft-gold); }
.contact__channels a { text-decoration: none; }
.contact__channels a:hover { color: var(--beige); }

.contact__form { display: grid; gap: 1.3rem; align-content: start; }
.contact__form label {
  display: grid; gap: .4rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--beige);
}
.contact__form input, .contact__form select, .contact__form textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(212, 191, 170, .4);
  padding: .6rem 0;
  border-radius: 0;
  outline: none;
  transition: border-color .3s;
}
.contact__form select option { color: var(--black); }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { border-color: var(--beige); }
.contact__form textarea { resize: vertical; }
.contact__form .btn { justify-self: start; margin-top: .6rem; }
.form-note { color: var(--beige); margin: 0; }

/* FOOTER */
.footer {
  background: var(--black);
  color: rgba(236, 232, 228, .5);
  text-align: center;
  padding: 60px var(--gutter) 40px;
  border-top: 1px solid rgba(212, 191, 170, .15);
  font-size: .78rem;
}
.footer__logo { width: 150px; margin: 0 auto 1.6rem; }

/* ANIMACIONES
   Solo se ocultan elementos cuando hay JS (.js); sin JS todo queda visible. */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Entrada del hero al cargar */
.js .hero-in { opacity: 0; transform: translateY(28px); }
.is-loaded .hero-in {
  opacity: 1; transform: none;
  transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}

/* Fotos que se descubren de abajo hacia arriba */
.img-reveal { position: relative; overflow: hidden; translate: 0 var(--py, 0px); }
.img-reveal img { transition: transform 1.6s var(--ease), scale .8s var(--ease); }
.img-reveal:hover img { scale: 1.04; }
.js .img-reveal.reveal, .js .hero-in-img { clip-path: inset(100% 0 0 0); }
.js .img-reveal.reveal img, .js .hero-in-img img { transform: scale(1.15); }
.js .img-reveal.reveal.is-visible, .is-loaded .hero-in-img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.3s var(--ease) var(--d, .15s);
}
.js .img-reveal.reveal.is-visible img, .is-loaded .hero-in-img img { transform: scale(1); }
.about__secondary-wrap.img-reveal { overflow: visible; }

/* Textos y bloques al hacer scroll */
.js .reveal:not(.img-reveal) { opacity: 0; transform: translateY(32px); }
.reveal {
  transition: opacity .9s ease var(--d, 0s), transform 1s var(--ease) var(--d, 0s),
              translate .4s var(--ease), background .4s, box-shadow .4s;
}
.js .reveal.is-visible:not(.img-reveal) { opacity: 1; transform: none; }

/* Frase palabra por palabra */
.split .word { display: inline-block; }
.js .split .word { opacity: 0; transform: translateY(.45em); filter: blur(6px); }
.split.is-visible .word {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s ease, transform .9s var(--ease), filter .7s ease;
  transition-delay: calc(var(--i) * 80ms);
}

/* Indicador de scroll en el hero */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 1px; height: 56px; background: rgba(166, 146, 121, .3); overflow: hidden;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--soft-gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Isotipo de contacto flotando suavemente */
.contact__mark { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Salida suave al cambiar de idioma */
main, .footer { transition: opacity .3s ease; }
.is-leaving main, .is-leaving .footer { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-in, .js .reveal:not(.img-reveal), .js .split .word { opacity: 1; transform: none; filter: none; }
  .js .img-reveal.reveal, .js .hero-in-img { clip-path: none; }
  .js .img-reveal img { transform: none; }
  .img-reveal { translate: none; }
  .js .hero__outline path { stroke-dashoffset: 0; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav__toggle {
    display: grid; gap: 6px; z-index: 60;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 26px; height: 1px; background: var(--black); transition: transform .3s; }
  .nav.is-open .nav__toggle span { background: var(--cream); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.is-open .logo-dark { display: none; }
  .nav.is-open .logo-light { display: block; position: relative; z-index: 60; }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--black); color: var(--cream);
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links .btn { background: var(--beige); color: var(--black); border-color: var(--beige); }
  .nav__logo img { height: 36px; }
  .nav__right { position: relative; z-index: 60; margin-left: auto; }
  .nav.is-open .lang a { color: rgba(236, 232, 228, .6); }
  .nav.is-open .lang a[aria-current="true"] { color: var(--cream); }

  .hero, .about, .services, .contact__inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero__media { order: -1; }
  .hero__shield { width: min(88%, 400px); }
  .hero__outline { width: min(96%, 436px); }
  .scroll-cue { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .services__media { position: static; }
  .services__media img { aspect-ratio: 1 / 1; }
}

/* PROYECTOS */
.projects {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.projects .section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.projects__intro { color: var(--muted); max-width: 40em; margin-top: 1rem; }
.projects__list { display: grid; gap: clamp(72px, 10vw, 140px); }
.project {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.project--flip { grid-template-columns: 1fr 1.25fr; }
.project--flip .carousel { order: 2; }
.project__place {
  font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--soft-gold); margin-bottom: 1rem;
}
.project__name { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 300; margin-bottom: .5em; }
.project__tagline { color: var(--muted); }
.project__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem;
  margin: 1.8rem 0;
}
.project__facts div { padding: .9rem 0; border-top: 1px solid rgba(166, 146, 121, .4); min-width: 0; }
.project__facts dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft-gold); }
.project__facts dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.project__points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .45rem; }
.project__points li { position: relative; padding-left: 1.4rem; font-size: .95rem; }
.project__points li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .7rem; height: 1px; background: var(--soft-gold);
}
.projects__note { margin-top: clamp(56px, 7vw, 96px); font-size: .78rem; color: var(--muted); max-width: 60em; }

/* Carrusel: fundido cruzado con zoom lento en cada imagen */
.carousel {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 2px;
  background: var(--beige);
  overflow: hidden;
}
.carousel__track { position: absolute; inset: 0; }
.carousel__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.carousel .carousel__slide { transition: opacity 1.4s ease, transform 1.6s var(--ease), scale .8s var(--ease); }
.carousel__slide.is-active { opacity: 1; z-index: 1; animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.carousel::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 35%; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, rgba(18, 16, 16, .45));
}
.carousel__btn {
  position: absolute; top: 50%; z-index: 3;
  width: 48px; height: 48px; translate: 0 -50%;
  border: 1px solid rgba(236, 232, 228, .6); border-radius: 50%;
  background: rgba(18, 16, 16, .25); backdrop-filter: blur(6px);
  cursor: pointer; opacity: 0; transition: opacity .4s, background .3s;
}
.carousel__btn::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; border: solid var(--cream); border-width: 0 0 1.5px 1.5px;
  translate: -35% -50%; rotate: 45deg;
}
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }
.carousel__btn--next::before { rotate: -135deg; translate: -65% -50%; }
.carousel:hover .carousel__btn, .carousel__btn:focus-visible { opacity: 1; }
.carousel__btn:hover { background: rgba(18, 16, 16, .5); }
.carousel__btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.carousel__dots { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: flex; gap: 6px; }
.carousel__dots span { width: 28px; height: 2px; background: rgba(236, 232, 228, .35); overflow: hidden; }
.carousel__dots span i { display: block; height: 100%; background: var(--cream); transform-origin: 0 50%; transform: scaleX(0); }
.carousel__dots span.is-done i { transform: scaleX(1); }
.carousel__dots span.is-active i { animation: dot var(--dur, 5s) linear forwards; }
.carousel.is-paused .carousel__dots span.is-active i { animation-play-state: paused; }
@keyframes dot { to { transform: scaleX(1); } }
.carousel__count {
  position: absolute; right: 20px; bottom: 14px; z-index: 3;
  color: var(--cream); font-size: .72rem; letter-spacing: .2em; font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .project, .project--flip { grid-template-columns: 1fr; }
  .project--flip .carousel { order: 0; }
  .carousel__btn { opacity: 1; width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .project__facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__slide.is-active { animation: none; }
}

/* INICIO: sello con su nombre y tarjetas flotantes de proyectos */
.hero__badge {
  position: absolute; left: 0; bottom: 9%; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.2rem .7rem .8rem;
  background: rgba(247, 245, 242, .82); backdrop-filter: blur(12px);
  border: 1px solid rgba(166, 146, 121, .35); border-radius: 999px;
  box-shadow: 0 18px 40px -22px rgba(18, 16, 16, .45);
}
.hero__badge img { width: 28px; height: auto; }
.hero__badge span { display: grid; line-height: 1.25; }
.hero__badge strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.hero__badge small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-gold); }
.hero__float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .45rem .9rem .45rem .45rem;
  background: rgba(247, 245, 242, .9); backdrop-filter: blur(10px);
  border-radius: 14px; text-decoration: none;
  box-shadow: 0 18px 40px -22px rgba(18, 16, 16, .5);
  transition: translate .4s var(--ease), box-shadow .4s;
}
.hero__float img { width: 64px; height: 48px; object-fit: cover; border-radius: 9px; }
.hero__float span { display: grid; line-height: 1.25; }
.hero__float strong { font-size: .82rem; font-weight: 500; }
.hero__float small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__float--a { right: -2%; top: 12%; animation: drift 7s ease-in-out infinite; }
.hero__float--b { right: 4%; bottom: 24%; animation: drift 8s ease-in-out -3s infinite; }
.hero__float:hover { translate: 0 -4px; box-shadow: 0 24px 50px -22px rgba(18, 16, 16, .6); }
@keyframes drift { 50% { transform: translateY(-10px); } }

/* CIFRAS */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 7vw, 96px);
}
.stats__item { padding: 1.6rem 1.6rem 0; border-left: 1px solid rgba(166, 146, 121, .4); min-width: 0; }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__num {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--black);
  font-variant-numeric: tabular-nums; margin-bottom: .6rem;
}
.stats__label { font-size: .82rem; color: var(--muted); }

/* FILTROS Y ACCIONES DE PROYECTOS */
.projects__filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(40px, 6vw, 72px); }
.chip {
  font: inherit; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .7em 1.4em; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--black); border: 1px solid rgba(166, 146, 121, .55);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); color: var(--cream); border-color: var(--black); }
.chip:focus-visible { outline: 2px solid var(--soft-gold); outline-offset: 2px; }
.project { transition: opacity .45s ease, translate .45s var(--ease); }
.project.is-out { opacity: 0; translate: 0 16px; }
.project[hidden] { display: none; }
.project__name a { text-decoration: none; background: linear-gradient(var(--soft-gold), var(--soft-gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.project__name a:hover { background-size: 100% 1px; }
.project__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* BOTÓN FLOTANTE DE WHATSAPP */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 16px; border-radius: 999px;
  background: var(--black); color: var(--cream); text-decoration: none;
  box-shadow: 0 16px 40px -14px rgba(18, 16, 16, .6);
  transition: translate .3s var(--ease), background .3s;
}
.wa-float svg { width: 24px; height: 24px; fill: var(--beige); flex: none; }
.wa-float span {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease);
}
.wa-float:hover { translate: 0 -3px; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 240px; }
.wa-float:focus-visible { outline: 2px solid var(--soft-gold); outline-offset: 3px; }

/* PIE DE PÁGINA */
.footer { text-align: left; padding: clamp(56px, 7vw, 88px) var(--gutter) 32px; }
.footer__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer__logo { margin: 0 0 1.2rem; }
.footer__brand p { max-width: 24em; }
.footer__col { display: grid; align-content: start; gap: .55rem; min-width: 0; }
.footer__col h2 {
  margin: 0 0 .4rem; font-family: var(--font-body); font-size: .7rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase; color: var(--beige);
}
.footer__col a { color: rgba(236, 232, 228, .75); text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--cream); }
.footer__col p { margin: .4rem 0 0; }
.footer__bottom {
  max-width: var(--max); margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(212, 191, 170, .15);
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .72rem;
}
.footer__bottom p { margin: 0; max-width: 60em; }

/* PÁGINA DE PROYECTO */
.detail { padding-top: 96px; }
.breadcrumb {
  max-width: var(--max); margin: 0 auto; padding: 1.2rem var(--gutter) 0;
  display: flex; gap: .6rem; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb [aria-current] { color: var(--black); }
.detail__head { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(32px, 4vw, 48px); }
.detail__head h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.detail__head .lead { max-width: 40em; }
.detail__gallery { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.detail__gallery .carousel { aspect-ratio: 16 / 8; }
.detail__facts {
  max-width: var(--max); margin: clamp(32px, 4vw, 48px) auto 0; padding: 0 var(--gutter);
  grid-template-columns: repeat(4, 1fr);
}
.detail__body { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.detail__block { padding: clamp(48px, 6vw, 80px) 0 0; }
.detail__block h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1.2rem; }
.detail__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.detail__cols > div { min-width: 0; }
.detail__cols p { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.detail__table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.detail__table th {
  text-align: left; font-weight: 500; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--soft-gold); padding: 0 1rem .8rem 0; border-bottom: 1px solid var(--black);
}
.detail__table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid rgba(166, 146, 121, .4); }
.detail__table td:last-child { font-family: var(--font-display); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail__small { font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; }
.plan { background: var(--beige); padding: 1.6rem 1.6rem 1.4rem; }
.plan strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: .4rem; }
.plan p { margin: 0; color: rgba(18, 16, 16, .75); font-size: .92rem; }
.detail__place { color: var(--soft-gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.distances { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 2rem; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(166, 146, 121, .4); }
.distances strong { font-weight: 500; white-space: nowrap; }
.faq { display: grid; max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(166, 146, 121, .4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.4rem 1.2rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  font-size: 1.4rem; font-weight: 300; color: var(--soft-gold); transition: rotate .3s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); margin: 0 0 1.2rem; max-width: 60em; }
.detail__band {
  margin-top: clamp(72px, 9vw, 120px);
  background: var(--black); color: var(--cream); position: relative; overflow: hidden;
  padding: clamp(72px, 9vw, 120px) var(--gutter); text-align: center;
}
.detail__band::before { content: ""; position: absolute; inset: 0; background: var(--gradient); opacity: .55; pointer-events: none; }
.detail__band > * { position: relative; }
.detail__band .contact__mark { margin: 0 auto 1.6rem; }
.detail__band h2 { max-width: 18em; margin-inline: auto; }
.detail__band p { color: rgba(236, 232, 228, .7); max-width: 36em; margin-inline: auto; }
.detail__band .hero__cta { justify-content: center; }
.detail__band .link-arrow { color: var(--cream); }
.detail__others { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--gutter); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 1.6rem; }
.other { text-decoration: none; display: grid; gap: .4rem; min-width: 0; }
.other img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; transition: scale .6s var(--ease); }
.other:hover img { scale: 1.03; }
.other__place { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft-gold); margin-top: .6rem; }
.other strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }

@media (max-width: 900px) {
  .hero__badge {
    left: 50%; translate: -50% 0; bottom: -4%;
    width: max-content; max-width: calc(100% - 24px);
    padding: .55rem 1rem .55rem .65rem; gap: .6rem;
  }
  .hero__media { margin-bottom: 1.8rem; }
  .hero__badge img { width: 22px; }
  .hero__badge strong { font-size: .88rem; }
  .hero__badge small { font-size: .54rem; letter-spacing: .1em; }
  .hero__float { display: none; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .detail__facts { grid-template-columns: 1fr 1fr; }
  .detail__cols { grid-template-columns: 1fr; }
  .detail__gallery .carousel { aspect-ratio: 4 / 3; }
  .others { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats__item { padding: 1.2rem 1rem 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .detail__facts { grid-template-columns: 1fr; }
  .wa-float { height: 52px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__float { animation: none; }
}

/* POR QUÉ REPÚBLICA DOMINICANA */
.why { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-bottom: 2.4rem; }
.why__item { padding: 1.6rem 0; border-top: 1px solid rgba(166, 146, 121, .45); min-width: 0; }
.why__item h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.why__item p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }
