/* ============================================================
   GDSC CONSTRUCCIONES — Hoja de estilos
   Paleta: negro carbón + dorado (colores del logo)
   Tipografía: Playfair Display (display) + Montserrat (texto)
   ============================================================ */

:root {
  --ink: #0e0e10;
  --ink-2: #16161a;
  --ink-3: #1e1e24;
  --paper: #f6f3ec;
  --paper-2: #efeadd;
  --line: rgba(212, 175, 55, 0.18);

  --gold: #d4af37;
  --gold-2: #e7c667;
  --gold-3: #b8912b;
  --gold-grad: linear-gradient(120deg, #b8912b 0%, #e7c667 45%, #f4dd93 60%, #c9a33d 100%);

  --txt: #23231f;
  --txt-soft: #5a5a52;
  --txt-inv: #efece3;
  --txt-inv-soft: rgba(239, 236, 227, 0.66);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--txt);
  background: var(--paper);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.5rem);
}

.gold { color: var(--gold); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
  width: 130px; margin: 0 auto 1.4rem;
  animation: floatLogo 2s ease-in-out infinite;
}
@keyframes floatLogo { 50% { transform: translateY(-8px); } }
.preloader__bar {
  width: 180px; height: 2px; background: rgba(255,255,255,0.12);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--gold-grad); animation: load 1.4s var(--ease) forwards;
}
@keyframes load { to { width: 100%; } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor { width: 8px; height: 8px; background: var(--gold-2); }
.cursor-ring {
  width: 40px; height: 40px; border: 1px solid var(--gold);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
}
.cursor-ring.is-hover { width: 62px; height: 62px; background: rgba(212,175,55,0.12); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-ring { display: none; } }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gold-grad); z-index: 999; transition: width .1s linear;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  padding: 1.1rem 0;
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s;
}
.header.is-scrolled {
  padding: .6rem 0;
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.7);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo {
  width: 52px; height: 52px; object-fit: cover; border-radius: 10px;
  transition: transform .4s var(--ease);
}
.header.is-scrolled .brand__logo { width: 44px; height: 44px; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; color: var(--txt-inv); }
.brand__text strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: .3px; }
.brand__text em {
  font-style: normal; font-size: .64rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold-2); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; color: var(--txt-inv-soft);
  font-size: .84rem; font-weight: 500; letter-spacing: .04em;
  padding: .55rem .85rem; border-radius: 8px;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--txt-inv); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link--cta {
  color: var(--ink); background: var(--gold-grad); font-weight: 600;
  margin-left: .5rem;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { color: var(--ink); box-shadow: 0 8px 26px -8px rgba(212,175,55,.7); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span { width: 26px; height: 2px; background: var(--txt-inv); transition: .35s var(--ease); border-radius: 2px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.9rem; border-radius: 50px;
  font-family: var(--font-body); font-size: .86rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn--gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 12px 34px -14px rgba(212,175,55,.8); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(212,175,55,.9); }
.btn--ghost { background: transparent; color: var(--txt-inv); border: 1px solid rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold); transform: translateY(-3px); }
.btn--whats { background: #25d366; color: #06371a; box-shadow: 0 12px 34px -14px rgba(37,211,102,.8); }
.btn--whats:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(37,211,102,.9); }
.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: var(--txt-inv); overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: brightness(1.06) contrast(1.03); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,12,.90) 0%, rgba(12,12,15,.58) 46%, rgba(12,12,15,.16) 100%),
    linear-gradient(0deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,0) 48%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero__content { position: relative; max-width: 820px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.6rem; font-weight: 600;
}
.hero__eyebrow .line { width: 42px; height: 1px; background: var(--gold); display: inline-block; }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.7rem, 7.5vw, 6rem);
  line-height: 1.02; letter-spacing: -.5px; margin-bottom: 1.6rem;
}
.hero__title .reveal-word { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .reveal-word > * { display: inline-block; }
.hero__title .gold > span {
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  font-style: italic; font-weight: 700;
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 620px;
  color: var(--txt-inv-soft); margin-bottom: 2.4rem;
}
.hero__lead strong { color: var(--txt-inv); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.hero__badge { display: flex; flex-direction: column; }
.hero__badge b {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold-2);
}
.hero__badge span { font-size: .76rem; letter-spacing: .05em; color: var(--txt-inv-soft); text-transform: uppercase; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--txt-inv-soft);
}
.hero__scroll-dot {
  width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px;
  position: relative;
}
.hero__scroll-dot::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-2); border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }
.hero__scroll-txt { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }

/* ============================================================
   PAGE HERO (cabecera de páginas interiores)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: var(--txt-inv); background: var(--ink);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transform: scale(1.05); }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.72) 55%, rgba(10,10,12,.5) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .04em; color: var(--txt-inv-soft); margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--gold-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .5; }
.page-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -.5px;
}
.page-hero__title .gold { font-style: italic; }
.page-hero__lead { margin-top: 1.1rem; max-width: 620px; color: var(--txt-inv-soft); font-size: 1.05rem; }

/* Enlace "ver más" de bloques teaser */
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; max-width: none; flex-wrap: wrap; }
.link-more {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .88rem;
  color: var(--gold-3); white-space: nowrap;
}
.link-more span { transition: transform .3s var(--ease); }
.link-more:hover span { transform: translateX(6px); }
.galeria .link-more { color: var(--gold-2); }

.center-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink); color: var(--txt-inv);
  padding: 1.15rem 0; overflow: hidden; border-block: 1px solid var(--line);
}
.marquee__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: scrollX 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; white-space: nowrap; }
.marquee__track i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS GENERAL
   ============================================================ */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section__head { max-width: 640px; margin-bottom: 3.4rem; }
.kicker {
  display: inline-block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-3); font-weight: 700; margin-bottom: 1rem;
  position: relative; padding-left: 0;
}
/* Decorative dash removed from every section heading. */
.kicker::before { content: none; display: none; }
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.5px;
}
.section__title .gold { font-style: italic; }
.section__sub { margin-top: 1.1rem; color: var(--txt-soft); font-size: 1.02rem; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--paper); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.service {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius);
  padding: 2.2rem; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(212,175,55,.08), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.service:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.28); border-color: var(--line); }
.service:hover::before { opacity: 1; }
.service__icon {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--gold-3); width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: rgba(212,175,55,.06); margin-bottom: 1.3rem;
}
.service h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: .6rem; }
.service p { color: var(--txt-soft); font-size: .95rem; }

.service--feature {
  grid-row: span 2; grid-column: span 1;
  padding: 0; display: flex; flex-direction: column;
  background: var(--ink); color: var(--txt-inv); border: none;
}
.service--feature .service__media { position: relative; overflow: hidden; flex: 1; min-height: 240px; }
.service--feature .service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service--feature:hover .service__media img { transform: scale(1.08); }
.service--feature .service__body { padding: 2.2rem; }
.service__tag {
  display: inline-block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-grad); padding: .35rem .9rem; border-radius: 30px;
  font-weight: 700; margin-bottom: 1rem;
}
.service--feature h3 { color: var(--txt-inv); font-size: 1.7rem; }
.service--feature p { color: var(--txt-inv-soft); }
.service__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem;
  color: var(--gold-2); font-weight: 600; font-size: .88rem;
}
.service__link span { transition: transform .3s var(--ease); }
.service__link:hover span { transform: translateX(6px); }

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros { background: var(--ink); color: var(--txt-inv); position: relative; }
.nosotros__grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.nosotros__media { position: relative; }
.nosotros__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
.nosotros__img-wrap img { width: 100%; height: 480px; object-fit: cover; transition: transform .8s var(--ease); }
.nosotros__img-wrap:hover img { transform: scale(1.06); }
.nosotros__img-wrap--sm {
  position: absolute; bottom: -34px; right: -28px; width: 46%;
  border: 5px solid var(--ink);
}
.nosotros__img-wrap--sm img { height: 210px; }
.nosotros__exp {
  position: absolute; top: -26px; left: -26px;
  background: var(--gold-grad); color: var(--ink); border-radius: 16px;
  padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 20px 40px -18px rgba(212,175,55,.7);
}
.nosotros__exp b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.nosotros__exp b span { font-size: 1.3rem; }
.nosotros__exp > span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; line-height: 1.2; }

.nosotros__text .kicker {
  color: var(--gold-2);
  font-family: var(--font-body) !important;
}
/* Mantiene la historia con la misma tipografía y escala que el resto de la web. */
.nosotros__text .section__title {
  color: var(--txt-inv);
  font-family: var(--font-display) !important;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem) !important;
  font-weight: 700 !important;
  line-height: 1.14 !important;
  letter-spacing: -.5px !important;
}
.nosotros__text .section__title .gold {
  font-family: inherit !important;
}
.nosotros__text .gdsc-richtext,
.nosotros__text .gdsc-richtext p,
.nosotros__text > p {
  color: var(--txt-inv-soft);
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
}
.nosotros__text p { margin-top: 1.1rem; }
.nosotros__text p strong { color: var(--txt-inv); font-weight: 600; }

.values { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; }
.values li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--txt-inv); }
.values li span {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,175,55,.14); color: var(--gold-2);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}

@media (max-width: 620px) {
  .nosotros__text .section__title {
    font-size: clamp(1.7rem, 8vw, 2.15rem) !important;
    line-height: 1.16 !important;
  }
  .nosotros__text .gdsc-richtext,
  .nosotros__text .gdsc-richtext p,
  .nosotros__text > p {
    font-size: .95rem !important;
    line-height: 1.68 !important;
  }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--gold-grad); color: var(--ink); padding: 3.2rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; display: block; line-height: 1; }
.stat span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; opacity: .82; }
.stat + .stat, .stat { position: relative; }

/* ============================================================
   PROCESO
   ============================================================ */
.proceso { background: var(--paper-2); }
.proceso__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: #fff; padding: 2.2rem 1.8rem; border-radius: var(--radius);
  position: relative; overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.step__num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-3); opacity: .5;
  display: block; line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--txt-soft); font-size: .9rem; }

/* ============================================================
   GALERÍA
   ============================================================ */
.galeria { background: var(--ink); color: var(--txt-inv); }
.galeria .section__title { color: var(--txt-inv); }
.galeria .kicker { color: var(--gold-2); }
.galeria .section__sub { color: var(--txt-inv-soft); }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter {
  background: transparent; border: 1px solid rgba(255,255,255,.16);
  color: var(--txt-inv-soft); padding: .55rem 1.3rem; border-radius: 30px;
  font-family: var(--font-body); font-size: .82rem; font-weight: 500; cursor: pointer;
  transition: .3s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--txt-inv); }
.filter.is-active { background: var(--gold-grad); color: var(--ink); border-color: transparent; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gcard {
  position: relative; overflow: hidden; border-radius: 14px; cursor: pointer;
  transition: transform .5s var(--ease), opacity .4s;
}
.gcard:nth-child(1), .gcard:nth-child(6) { grid-row: span 2; }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gcard:hover img { transform: scale(1.09); }
.gcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,0) 55%);
  opacity: .7; transition: opacity .4s;
}
.gcard:hover::after { opacity: 1; }
.gcard figcaption {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  transform: translateY(8px); opacity: .85; transition: .4s var(--ease);
}
.gcard:hover figcaption { transform: translateY(0); opacity: 1; }
.gcard figcaption span { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.gcard figcaption b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #fff; }
.gcard.is-hidden { display: none; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-band__inner {
  background: var(--ink); border-radius: 26px; padding: clamp(2.4rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band__inner::before {
  content: ""; position: absolute; top: -50%; right: -10%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212,175,55,.22), transparent 65%);
}
.cta-band__inner h2 { font-family: var(--font-display); color: var(--txt-inv); font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
.cta-band__inner p { color: var(--txt-inv-soft); margin-top: .5rem; position: relative; }
.cta-band__inner > div { position: relative; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto { background: var(--paper); }
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contacto__lead { color: var(--txt-soft); margin: 1rem 0 2rem; }

.contact-list { display: grid; gap: 1.1rem; margin-bottom: 2.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.1rem;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(0,0,0,.3);
}
.contact-list small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-3); font-weight: 700; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--txt); font-weight: 500; font-size: .96rem; }
.contact-list a:hover { color: var(--gold-3); }

.contacto__form {
  background: #fff; border-radius: 22px; padding: clamp(1.8rem, 3.5vw, 2.6rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.4); border: 1px solid rgba(0,0,0,.05);
  align-content: start;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.1rem 1rem .5rem; border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px; font-family: var(--font-body); font-size: .92rem; color: var(--txt);
  background: #fdfcf9; transition: border-color .3s, box-shadow .3s; resize: none;
}
.field textarea { padding-top: 1.3rem; }
.field label {
  position: absolute; left: 1rem; top: .95rem; color: var(--txt-soft); font-size: .92rem;
  pointer-events: none; transition: .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.14);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label,
.field .label--select { top: .35rem; font-size: .66rem; letter-spacing: .04em; color: var(--gold-3); text-transform: uppercase; font-weight: 700; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-3) 50%), linear-gradient(135deg, var(--gold-3) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-note { grid-column: 1 / -1; font-size: .84rem; text-align: center; min-height: 1.2rem; }
.form-note.is-ok { color: #1c8c4a; font-weight: 600; }

/* ============================================================
   MAPA
   ============================================================ */
.map-section { line-height: 0; }
.map-section iframe {
  width: 100%; height: 420px; border: 0;
  filter: grayscale(.3) contrast(1.05);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--txt-inv-soft); padding-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand img { width: 74px; border-radius: 12px; margin-bottom: 1rem; }
.footer__brand p { font-size: .9rem; max-width: 300px; }
.footer__col h4 { color: var(--txt-inv); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1.1rem; font-weight: 600; }
.footer__col a, .footer__col span { display: block; font-size: .9rem; margin-bottom: .55rem; transition: color .3s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem;
}
.footer__legal a:hover { color: var(--gold-2); }
.footer__funding { background: #fff; border-top: 1px solid rgba(0,0,0,.08); }
.footer__funding-inner { display: flex; justify-content: center; align-items: center; padding: .75rem 0; }
.footer__funding img { display: block; width: 100%; max-width: 1024px; height: auto; margin: 0 auto; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-ico { width: 22px; height: 22px; display: inline-block; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 14.4c-.3-.2-1.8-.9-2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6.1-.1.3-.3.4-.5.2-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.7-1.6-.9-2.2-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4-.1-.1-.3-.2-.5-.4zM12 2a10 10 0 00-8.5 15.3L2 22l4.8-1.5A10 10 0 1012 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 14.4c-.3-.2-1.8-.9-2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6.1-.1.3-.3.4-.5.2-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.7-1.6-.9-2.2-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4-.1-.1-.3-.2-.5-.4zM12 2a10 10 0 00-8.5 15.3L2 22l4.8-1.5A10 10 0 1012 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) translateY(-2px); }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%{transform:scale(1);opacity:.6} 70%{transform:scale(1.5);opacity:0} 100%{opacity:0} }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9500; background: rgba(8,8,10,.94);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease; backdrop-filter: blur(6px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: .3s var(--ease);
}
.lightbox__close { top: 1.4rem; right: 1.4rem; width: 48px; height: 48px; font-size: 1.1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2rem; }
.lightbox__prev { left: 1.4rem; }
.lightbox__next { right: 1.4rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero__title .reveal-word > * { transform: translateY(110%); transition: transform 1s var(--ease); }
.hero__title.is-visible .reveal-word > * { transform: translateY(0); }
.hero__title .reveal-word:nth-child(2) > * { transition-delay: .12s; }
.hero__title .reveal-word:nth-child(3) > * { transition-delay: .24s; }

/* stagger for grids */
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* ============================================================
   MOBILE NAV PANEL
   ============================================================ */
@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: rgba(14,14,16,.97); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: .4rem; padding: 2rem 2.2rem; transform: translateX(100%);
    transition: transform .5s var(--ease); border-left: 1px solid var(--line);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; padding: .7rem 0; width: 100%; }
  .nav__link::after { left: 0; right: auto; width: 30px; bottom: .5rem; }
  .nav__link--cta { margin: .8rem 0 0; padding: .8rem 1.6rem; width: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service--feature { grid-row: span 1; grid-column: span 2; flex-direction: row; }
  .service--feature .service__media { min-height: auto; }
  .service--feature .service__body { flex: 1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nosotros__grid { grid-template-columns: 1fr; }
  .nosotros__media { max-width: 500px; margin: 0 auto 2rem; }
  .contacto__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .proceso__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .service--feature { flex-direction: column; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gcard:nth-child(1), .gcard:nth-child(6) { grid-row: span 1; }
  .contacto__form { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .hero__badges { gap: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__funding-inner { padding: .55rem 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   WORDPRESS + ELEMENTOR INTEGRATION
   ============================================================ */
body.gdsc-elementor-site .elementor-widget:not(:last-child) { margin-bottom: 0; }
body.gdsc-elementor-site .gdsc-elementor-section,
body.gdsc-elementor-site .gdsc-elementor-section > .elementor-container,
body.gdsc-elementor-site .gdsc-elementor-section .elementor-column,
body.gdsc-elementor-site .gdsc-elementor-section .elementor-widget-wrap,
body.gdsc-elementor-site .gdsc-elementor-section .elementor-widget,
body.gdsc-elementor-site .gdsc-elementor-section .elementor-widget-container {
  width: 100%; max-width: none; margin: 0; padding: 0;
}
body.gdsc-elementor-site .gdsc-elementor-section > .elementor-container { display: block; }
body.gdsc-elementor-site .gdsc-elementor-section .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
body.gdsc-elementor-site .elementor-section-wrap { overflow: visible; }
body.gdsc-elementor-site .gdsc-richtext > :first-child { margin-top: 1.1rem; }
body.gdsc-elementor-site .gdsc-richtext p + p { margin-top: 1.1rem; }
body.admin-bar.gdsc-elementor-site .header { top: 32px; }
body.admin-bar.gdsc-elementor-site .scroll-progress { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar.gdsc-elementor-site .header { top: 46px; }
  body.admin-bar.gdsc-elementor-site .scroll-progress { top: 46px; }
}
body.gdsc-elementor-site .gdsc-richtext { color: var(--txt-inv-soft); margin-top: 1.1rem; }
body.gdsc-elementor-site .gdsc-richtext strong { color: var(--txt-inv); font-weight: 600; }

/* ============================================================
   SELECCIÓN DE PROYECTOS RECIENTES
   ============================================================ */
.project-showcase { background: var(--paper); }
.project-showcase__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
.project-shot {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 24px 54px -38px rgba(0,0,0,.45);
}
.project-shot:nth-child(1),
.project-shot:nth-child(5) { grid-column: span 6; grid-row: span 2; }
.project-shot:nth-child(2),
.project-shot:nth-child(3),
.project-shot:nth-child(4),
.project-shot:nth-child(6) { grid-column: span 3; }
.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease), filter .5s var(--ease);
}
.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.04) 64%);
  transition: opacity .4s var(--ease);
}
.project-shot:hover img { transform: scale(1.07); }
.project-shot figcaption {
  position: absolute;
  z-index: 2;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  color: #fff;
}
.project-shot figcaption span {
  display: block;
  margin-bottom: .18rem;
  color: var(--gold-2);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-shot figcaption b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .project-showcase__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .project-shot,
  .project-shot:nth-child(1),
  .project-shot:nth-child(2),
  .project-shot:nth-child(3),
  .project-shot:nth-child(4),
  .project-shot:nth-child(5),
  .project-shot:nth-child(6) { grid-column: auto; grid-row: auto; }
}

@media (max-width: 620px) {
  .project-showcase__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal-page-section {
  background: var(--paper);
  padding-top: clamp(3.5rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}
.legal-content {
  width: min(100%, 980px);
  margin: 0 auto;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.85;
}
.legal-content h2,
.legal-content h3 {
  color: var(--ink);
  font-family: var(--font-display);
  text-wrap: balance;
}
.legal-content h2 {
  margin: 3.2rem 0 1.2rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.15;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  margin: 2rem 0 .75rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
}
.legal-content p { margin: 0 0 1.25rem; }
.legal-content ul,
.legal-content ol {
  margin: .5rem 0 1.6rem;
  padding-left: 1.35rem;
}
.legal-content li { margin: 0 0 .65rem; }
.legal-content a {
  color: #9a7200;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-content a:hover { color: var(--gold); }
.legal-note,
.legal-panel {
  margin: 1.5rem 0;
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(215, 168, 55, .08);
}
.legal-panel h3 { margin-top: 0; }
.legal-panel p:last-child { margin-bottom: 0; }
.legal-table-wrap {
  width: 100%;
  margin: 1.5rem 0 2.2rem;
  overflow-x: auto;
  border: 1px solid rgba(15, 15, 18, .13);
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .9rem;
  line-height: 1.55;
}
.legal-table th,
.legal-table td {
  padding: .85rem .9rem;
  border-right: 1px solid rgba(15, 15, 18, .1);
  border-bottom: 1px solid rgba(15, 15, 18, .1);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th:last-child,
.legal-table td:last-child { border-right: 0; }

@media (max-width: 620px) {
  .legal-page-section { padding-top: 3rem; }
  .legal-content { font-size: .96rem; line-height: 1.75; }
  .legal-content h2 { margin-top: 2.4rem; }
  .legal-table { min-width: 680px; font-size: .82rem; }
  .legal-table th,
  .legal-table td { padding: .7rem; }
}

/* ============================================================
   HERO — DISTRIBUCIÓN CORREGIDA v1.4.5
   Evita que el indicador "Descubre" se superponga a los datos
   y mantiene una distribución estable en escritorio y móvil.
   ============================================================ */
.hero {
  min-height: max(720px, 100svh);
  padding-bottom: clamp(6.5rem, 10vh, 8rem);
}

.hero__content {
  max-width: 900px;
}

.hero__actions {
  margin-bottom: 2.6rem;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  width: min(100%, 780px);
  gap: clamp(1.5rem, 3vw, 3.2rem);
}

.hero__badge {
  min-width: 0;
}

.hero__badge b {
  line-height: 1.08;
  white-space: nowrap;
}

.hero__badge span {
  display: block;
  margin-top: .35rem;
  line-height: 1.35;
  white-space: normal;
}

.hero__scroll {
  left: auto;
  right: clamp(1.5rem, 4vw, 4.5rem);
  bottom: 2.1rem;
  transform: none;
  z-index: 3;
}

/* La marquesina conserva el movimiento, pero los extremos dejan de verse cortados bruscamente. */
.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}

.marquee__track {
  gap: clamp(1.4rem, 2.2vw, 2rem);
  will-change: transform;
}

@media (max-width: 1024px) {
  .hero__content {
    max-width: 820px;
  }

  .hero__badges {
    width: min(100%, 720px);
    gap: 1.8rem;
  }

  .hero__badge b {
    font-size: 1.55rem;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 4.75rem;
  }

  .hero__badges {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .hero__badge b {
    font-size: 1.4rem;
  }

  .hero__badge span {
    font-size: .68rem;
    letter-spacing: .035em;
  }

  .hero__scroll {
    display: none;
  }

  .marquee__track span {
    font-size: 1.3rem;
  }
}

@media (max-width: 620px) {
  .hero__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }

  .hero__badge:last-child {
    grid-column: 1 / -1;
  }

  .hero__actions {
    margin-bottom: 2.2rem;
  }
}

@media (max-width: 420px) {
  .hero__badges {
    grid-template-columns: 1fr;
  }

  .hero__badge:last-child {
    grid-column: auto;
  }
}
