/* Constructora CIMA — sistema visual propio: azul del logo, amarillo de señal, papel de plano y retícula de ejes estructurales. */
:root {
  --ink: #12143A;
  --navy: #282972;
  --blue: #223E8F;
  --yellow: #F6EB00;
  --yellow-d: #E2D700;
  --paper: #EFEFE9;
  --paper-2: #E6E6DE;
  --white: #FFFFFF;
  --steel: #5A6078;
  --steel-l: #9AA0B4;
  --line: rgba(18, 20, 58, .13);
  --line-l: rgba(255, 255, 255, .16);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1520px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --head-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 99px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Botones y píldoras ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; padding: 0 22px; border-radius: 99px;
  font-weight: 650; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--yellow:hover { background: #FFF45C; box-shadow: 0 10px 30px -10px rgba(246, 235, 0, .7); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--ink); box-shadow: 0 12px 30px -12px rgba(18, 20, 58, .6); }
.btn--glass { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-navy { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--line-navy:hover { background: var(--navy); color: var(--white); }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; font-weight: 500; }
.pill--glass { background: rgba(18, 20, 58, .45); color: var(--white); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(246,235,0,.22); }

/* Etiqueta de eje estructural: burbuja con letra + línea */
.axis { display: flex; align-items: center; gap: 12px; color: var(--steel); font-weight: 500; margin-bottom: 18px; }
.axis i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid currentColor; font-style: normal; font-size: .8rem; color: var(--navy); font-weight: 600;
}
.axis::after { content: ''; flex: 0 1 72px; height: 1px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px); opacity: .6; }
.axis--light { color: var(--steel-l); }
.axis--light i { color: var(--yellow); border-color: var(--yellow); }

/* ---------- Cabecera ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h);
  transition: background-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.head__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo img { width: 150px; height: auto; border-radius: 3px; }
.logo__tag { font-weight: 800; font-stretch: 125%; font-size: .8rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--white); transition: color .3s; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 11px 18px; border-radius: 99px; font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,.88); transition: background-color .25s, color .25s; }
.nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav a.is-active { background: rgba(255,255,255,.16); color: var(--white); }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }
.head__cta { height: 52px; padding: 0 24px; font-size: 1.05rem; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; place-items: center; color: var(--white); background: rgba(255,255,255,.12); }
.burger .ico { width: 22px; height: 22px; }

.head.is-solid, body:not(.page-inicio) .head { background: #FFFFFF; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(18,20,58,.35); }
.head.is-solid .logo__tag, body:not(.page-inicio) .logo__tag { color: var(--navy); }
.head.is-solid .nav a, body:not(.page-inicio) .nav a { color: var(--ink); }
.head.is-solid .nav a:hover, body:not(.page-inicio) .nav a:hover { background: rgba(40,41,114,.07); }
.head.is-solid .nav a.is-active, body:not(.page-inicio) .nav a.is-active { background: var(--navy); color: var(--white); }
.head.is-solid .burger, body:not(.page-inicio) .burger { color: var(--ink); background: rgba(40,41,114,.08); }
.head.is-hidden { transform: translateY(-100%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,20,58,.55) 0%, rgba(18,20,58,0) 22%),
    linear-gradient(90deg, rgba(18,20,58,.86) 0%, rgba(18,20,58,.55) 45%, rgba(18,20,58,.1) 100%),
    linear-gradient(0deg, rgba(18,20,58,.75) 0%, rgba(18,20,58,0) 45%);
}
.hero__in { padding: calc(var(--head-h) + 56px) 0 48px; }
.hero__h {
  margin: 22px 0 22px; font-weight: 850; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.7rem, 8.4vw, 7.4rem); line-height: .9; letter-spacing: -.035em;
}
.hero__h span { display: block; }
.hero__h em { font-style: normal; color: var(--yellow); }
.hero__lead { max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__foot { border-top: 1px solid var(--line-l); background: rgba(18,20,58,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__specs { display: flex; align-items: center; gap: 0; height: 58px; color: rgba(255,255,255,.75); }
.hero__specs span { display: inline-flex; align-items: center; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-l); height: 22px; }
.hero__specs span:first-child::before { content: ''; width: 8px; height: 8px; background: var(--yellow); margin-right: 12px; }
.hero__play { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); color: var(--white); transition: background-color .25s; }
.hero__play:hover { background: rgba(255,255,255,.12); }
.hero__play .ico { width: 14px; height: 14px; }

/* ---------- Secciones ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec--tight { padding-top: clamp(32px, 5vw, 56px); }
.sec--paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px; background-position: -1px -1px;
}
.sec--paper::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(239,239,233,0) 0%, var(--paper) 75%); pointer-events: none; }
.sec--paper > .wrap { position: relative; }
.sec--ink { background: var(--ink); color: var(--white); }
.sec__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.sec__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec__head--row > div { max-width: 720px; }
.sec__h { font-weight: 780; font-stretch: 112%; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.sec__aside { max-width: 400px; color: var(--steel); font-size: 1rem; }
.sec--ink .sec__aside { color: var(--steel-l); }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area {
  position: relative; display: block; aspect-ratio: 3 / 4.3; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); color: var(--white); isolation: isolate;
}
.area__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85); }
.area::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,20,58,0) 35%, rgba(18,20,58,.92) 100%); transition: opacity .5s; }
.area:hover .area__img { transform: scale(1.07); filter: saturate(1.05); }
.area__num { position: absolute; top: 16px; left: 16px; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--yellow); color: var(--ink); font-weight: 600; }
.area__body { position: absolute; inset: auto 0 0; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.area__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.area__ico .ico { width: 24px; height: 24px; }
.area__name { font-weight: 780; font-stretch: 112%; font-size: 1.42rem; line-height: 1.08; letter-spacing: -.02em; }
.area__more { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); }
.area__more .ico { transition: transform .35s var(--ease); }
.area:hover .area__more .ico { transform: translate(3px, -3px); }

/* Intro / quiénes somos */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.intro__media { position: relative; }
.intro__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); }
.intro__copy p:not(.axis):not(.valor__k):not(.valor__t) { color: var(--steel); margin-top: 18px; max-width: 560px; }
.intro__copy .sec__h { margin-bottom: 8px; }
.intro__copy .btn { margin-top: 30px; }
.dim {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 14px; border-radius: 99px; background: var(--white); color: var(--ink); font-weight: 500;
  box-shadow: 0 10px 30px -12px rgba(18,20,58,.45);
}
.dim i { width: 10px; height: 10px; background: var(--yellow); border: 1.5px solid var(--ink); }
.valor { margin-top: 28px; padding: 20px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--yellow); max-width: 560px; }
.valor__k { color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.valor__t { font-weight: 600; font-size: 1.08rem; line-height: 1.45; color: var(--ink); }

/* Razones (ficha técnica) */
.specs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; }
.spec { position: relative; padding: 28px 24px 32px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 14px; transition: background-color .4s; }
.spec:hover { background: rgba(255,255,255,.04); }
.spec__n { color: var(--yellow); font-weight: 600; }
.spec__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.spec__ico .ico { width: 28px; height: 28px; }
.spec__t { font-weight: 750; font-stretch: 110%; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.015em; margin-top: 10px; }
.spec__d { color: var(--steel-l); font-size: .95rem; line-height: 1.55; }

/* Proyectos destacados */
.destacados { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, clamp(280px, 22vw, 360px)); gap: 14px; }
.dest { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.dest--1 { grid-row: span 2; }
.dest--4 { grid-column: span 2; }
.dest__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.dest::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,20,58,0) 45%, rgba(18,20,58,.88) 100%); }
.dest:hover .dest__img { transform: scale(1.06); }
.dest__cap { position: absolute; inset: auto 0 0; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dest__cap strong { font-weight: 720; font-stretch: 108%; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; max-width: 440px; }
.dest--1 .dest__cap strong { font-size: 1.6rem; }

/* CTA final: bloque amarillo + banda azul, como el logo */
.cta { padding: 0 0 clamp(72px, 9vw, 120px); }
.sec + .cta, .sec--paper + .cta { padding-top: 0; }
.cta__box { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(18,20,58,.5); }
.cta__top { background: var(--yellow); color: var(--navy); padding: clamp(36px, 6vw, 72px); position: relative; }
.cta__top::after { content: 'CIMA'; position: absolute; right: -0.04em; bottom: -.22em; font-weight: 900; font-stretch: 125%; font-size: clamp(6rem, 18vw, 15rem); line-height: 1; color: rgba(40,41,114,.07); pointer-events: none; }
.cta__k { font-weight: 600; margin-bottom: 14px; }
.cta__h { font-weight: 850; font-stretch: 120%; text-transform: uppercase; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: .98; letter-spacing: -.03em; max-width: 820px; position: relative; z-index: 1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; position: relative; z-index: 1; }
.cta__band { background: var(--navy); color: var(--white); display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 18px clamp(36px, 6vw, 72px); letter-spacing: .14em; }
.cta__band a, .cta__band span { display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.cta__band a:hover { color: var(--yellow); }

/* ---------- Cabecera de páginas internas ---------- */
.phead { padding: calc(var(--head-h) + clamp(48px, 8vw, 96px)) 0 clamp(32px, 5vw, 56px); background: var(--paper); position: relative; overflow: hidden; }
.phead::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); }
.phead .wrap { position: relative; }
.phead__h { font-weight: 850; font-stretch: 122%; text-transform: uppercase; font-size: clamp(2.3rem, 6.4vw, 5.4rem); line-height: .94; letter-spacing: -.035em; max-width: 1000px; text-wrap: balance; }
.phead__h em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; }
.phead__lead { margin-top: 22px; max-width: 640px; color: var(--steel); font-size: 1.1rem; }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about__big { font-weight: 600; font-stretch: 104%; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; letter-spacing: -.012em; margin-bottom: 20px; }
.about__copy > p:not(.about__big) { color: var(--steel); }
.about__fig { margin: 0; position: relative; }
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
.about__fig figcaption { position: absolute; left: 18px; bottom: 18px; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--yellow); color: var(--ink); font-weight: 600; }
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cap:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(18,20,58,.45); }
.cap__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 600; }
.cap p { font-weight: 550; line-height: 1.45; }
.planta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, clamp(240px, 19vw, 320px)); gap: 14px; }
.planta__item { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.planta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.planta__item:hover img { transform: scale(1.05); }
.planta__item--1 { grid-row: span 2; }
.planta__item--4 { grid-column: span 2; }

/* Proyectos: filtros y galería */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.filtro { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.filtro span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: var(--paper); font-size: .72rem; }
.filtro:hover { border-color: var(--navy); }
.filtro.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filtro.is-active span { background: var(--yellow); color: var(--ink); }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.obra { position: relative; display: block; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--white); text-align: left; isolation: isolate; }
.obra[hidden] { display: none; }
.obra__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.obra::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,20,58,0) 40%, rgba(18,20,58,.9) 100%); }
.obra:hover .obra__img { transform: scale(1.06); }
.obra__cap { position: absolute; inset: auto 0 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.obra__cat { color: var(--yellow); font-size: .7rem; }
.obra__cap strong { font-weight: 700; font-stretch: 106%; font-size: 1.08rem; line-height: 1.22; }
.obra__n { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .7rem; font-weight: 600; }
.obra__n .ico { width: 12px; height: 12px; }
.obra.is-pop { animation: pop .55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Visor de fotos */
.visor { width: min(100% - 24px, 1200px); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ink); color: var(--white); overflow: hidden; }
.visor::backdrop { background: rgba(10, 11, 34, .82); backdrop-filter: blur(6px); }
.visor[open] { animation: visor .4s var(--ease); }
@keyframes visor { from { opacity: 0; transform: scale(.97); } }
.visor__in { display: flex; flex-direction: column; max-height: calc(100svh - 24px); }
.visor__fig { margin: 0; flex: 1; min-height: 0; display: grid; place-items: center; background: #0B0C24; }
.visor__fig img { max-width: 100%; max-height: calc(100svh - 110px); width: auto; height: auto; object-fit: contain; }
.visor__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px 14px 22px; }
.visor__t { flex: 1; font-weight: 650; line-height: 1.3; }
.visor__b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background-color .25s; }
.visor__b:hover { background: var(--yellow); color: var(--ink); }

/* Contacto */
.contacto { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contacto__datos { display: grid; gap: 12px; }
.dato { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease); }
a.dato:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 18px 40px -28px rgba(18,20,58,.5); }
.dato > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.dato small { color: var(--steel); font-size: .7rem; }
.dato strong { font-weight: 650; font-size: 1.08rem; overflow-wrap: anywhere; }
.dato__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--navy); }
.dato__ico .ico { width: 22px; height: 22px; }
.dato--wa .dato__ico { background: var(--yellow); color: var(--ink); }
.dato__go { margin-left: auto; color: var(--steel); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.form__k { color: var(--blue); font-weight: 600; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 50px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(40,41,114,.12); }
.field.is-error input, .field.is-error textarea { border-color: #C2410C; }
.form .btn { justify-self: start; margin-top: 4px; }
.form__note { color: var(--steel); font-size: .88rem; }

/* ---------- Pie ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__logo img { width: 210px; height: auto; }
.foot__brand p { margin-top: 20px; max-width: 360px; color: var(--steel-l); }
.foot__h { color: var(--yellow); font-weight: 600; margin-bottom: 16px; }
.foot__list { display: grid; gap: 10px; }
.foot__list a:hover { color: var(--white); }
.foot__list--ico a, .foot__list--ico span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.foot__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-l); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--steel-l); }
.credit b { color: var(--white); font-weight: 700; letter-spacing: .02em; }
.credit i { font-style: normal; color: #F4320B; }
.credit:hover b { text-decoration: underline; text-underline-offset: 3px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: var(--white);
  box-shadow: 0 14px 34px -10px rgba(18,20,58,.55); transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.07) rotate(-4deg); }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- Entradas animadas ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transform: translateY(34px); }
.js .hero .reveal:nth-child(2) { transition-delay: 90ms; }
.js .hero .reveal:nth-child(3) { transition-delay: 180ms; }
.js .hero .reveal:nth-child(4) { transition-delay: 270ms; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .specs { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  :root { --head-h: 80px; }
  .logo img { width: 128px; }
  .burger { display: grid; margin-left: auto; }
  .head__cta { margin-left: auto; }
  .head__cta + .burger { margin-left: 0; }
  .nav {
    position: fixed; inset: var(--head-h) 12px auto; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 60px -20px rgba(18,20,58,.45);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a, .head.is-solid .nav a { color: var(--ink); padding: 14px 16px; font-size: 1.05rem; }
  .nav a.is-active { background: var(--navy) !important; color: var(--white) !important; }
  .nav__tel { margin-left: 0; }
}
@media (max-width: 980px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .about, .contacto { grid-template-columns: 1fr; }
  .intro__img { aspect-ratio: 4 / 3; }
  .destacados { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 240px 240px; }
  .dest--1 { grid-column: span 2; grid-row: auto; }
  .dest--4 { grid-column: span 2; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .planta { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .planta__item--1 { grid-column: span 2; grid-row: auto; }
  .planta__item--4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { width: 112px; }
  .logo__tag { display: none; }
  .head__cta span { display: none; }
  .head__cta { width: 50px; height: 50px; padding: 0; }
  .hero__in { padding-bottom: 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__specs span { padding-right: 16px; margin-right: 16px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area { aspect-ratio: 3 / 4.4; border-radius: var(--r-md); }
  .area__body { padding: 14px; gap: 8px; }
  .area__ico { width: 38px; height: 38px; border-radius: 12px; }
  .area__name { font-size: 1.08rem; }
  .area__num { top: 10px; left: 10px; height: 26px; padding: 0 10px; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding: 24px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
  .spec__n { grid-column: 1 / -1; }
  .spec__ico { grid-row: span 2; width: 48px; height: 48px; }
  .spec__t { margin-top: 0; }
  .destacados { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .dest--1, .dest--4 { grid-column: auto; }
  .galeria { grid-template-columns: 1fr; }
  .planta { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .planta__item--1, .planta__item--4 { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .foot__base { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
