/* Aurora Alliance Alicante */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300 600;font-display:swap;src:url('../fonts/montserrat-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300 600;font-display:swap;src:url('../fonts/montserrat-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root {
  --black: #000;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e4e2dd;
  --paper: #fff;
  --sand: #f4f1ec;
  --dark-2: #0e0e0e;
  --radius: 20px;
  --header-h: 76px;
  --gutter: clamp(16px, 5vw, 76px);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 400; font-size: 15px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6.4vw, 84px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: 19px; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; line-height: 1.5; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 26px; border-radius: 50px; border: 1px solid currentColor; font: 500 13px/1 var(--font); letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: #000; }
.btn-dark { background: #000; color: #fff; border-color: #000; }
.btn-dark:hover { background: #fff; color: #000; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: transform .35s cubic-bezier(.65,0,.35,1), background-color .3s; }
.site-header.is-solid { background: #000; }
.site-header.is-scrolled { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: 14px; letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: #fff; }
.header-cta { min-height: 40px; padding: 0 22px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #000; color: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0 0 32px; padding: 0; }
.mobile-menu li { border-bottom: 1px solid #262626; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 22px; font-weight: 300; text-decoration: none; }
.mobile-phone { display: inline-flex !important; align-items: center; gap: 10px; font-size: 17px !important; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; }
.hero-small { min-height: 62svh; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.45) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 9vh, 110px); }
.hero h1 { max-width: 14em; margin-bottom: 22px; }
.hero-text { max-width: 560px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-404 { min-height: 80svh; }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 50px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* sections */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-dark { background: #000; color: #fff; }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); padding-top: 26px; border-top: 1px solid currentColor; border-color: rgba(127,127,127,.35); }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.split-media { align-items: center; }
.media img { width: 100%; border-radius: var(--radius); }
.prose h3 { margin-top: 1.6em; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid var(--line); }
.facts div { padding: 28px 24px 0 0; }
.facts strong { display: block; font-size: clamp(34px, 3.4vw, 52px); font-weight: 300; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 13px; }
.facts-list { margin: 28px 0 0; }
.facts-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.section-dark .facts-list div { border-color: #2a2a2a; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; text-align: right; font-weight: 500; }
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.values span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 50px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: currentColor; }
.section-dark .ticks li { border-color: #2a2a2a; }

/* project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #1a1a1a; }
.project-grid .project-card:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.project-grid .project-card:nth-child(2) { aspect-ratio: auto; min-height: 100%; }
.pc-img, .pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-img img { object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .pc-img img { transform: scale(1.05); }
.pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0) 60%); }
.pc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.pc-tag { align-self: flex-start; padding: 5px 12px; border-radius: 50px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pc-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.2; margin-top: 8px; }
.pc-place { font-size: 13px; opacity: .8; }

/* services */
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 110px); }
.service { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.service h3 { margin: 0 0 6px; }
.service p { grid-column: 2; margin: 0; color: var(--muted); }
.service-num { font-size: 13px; color: var(--muted); padding-top: 3px; }
.services-page { display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(20px, 4vw, 70px); padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-row h2 { font-size: clamp(24px, 2.4vw, 34px); }
.service-row p { color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-item { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; cursor: zoom-in; background: #1a1a1a; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.04); }
.section-sand .g-item { background: #fff; }
.section-sand .g-item img { object-fit: contain; }
.plan-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.plan-lists ol { margin: 0; padding-left: 20px; }
.plan-lists li { padding: 4px 0; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; font: 300 42px/1 var(--font); cursor: pointer; padding: 14px 20px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 13px; }

/* entorno */
.entorno { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.entorno li { padding: 22px 0; border-top: 1px solid var(--line); }
.entorno p { color: var(--muted); margin: 0; }

/* next project */
.next-project { padding: 0; }
.next-link { display: flex; flex-direction: column; gap: 10px; padding: clamp(48px, 7vw, 100px) 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.next-title { display: flex; align-items: center; gap: 16px; font-size: clamp(28px, 4vw, 56px); font-weight: 300; }
.next-link:hover .next-title svg { transform: translateX(8px); }
.next-title svg { transition: transform .3s; }

/* person */
.person { display: flex; gap: 28px; align-items: center; padding: 28px; background: #fff; border-radius: var(--radius); }
.person-mark { width: 120px; height: 120px; flex: none; border-radius: 16px; overflow: hidden; background: #000; }
.person-mark img { width: 100%; height: 100%; }
.person h3 { font-size: 26px; font-weight: 300; margin: 0 0 6px; }
.person p:last-child { margin: 0; color: var(--muted); }
.person .kicker { margin-bottom: 6px; color: var(--muted); }

/* CTA */
.cta-band { background: #000; color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-inner p { color: #bdbdbd; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 110px); }
.big-link { font-size: clamp(20px, 2vw, 26px); font-weight: 300; text-decoration: none; }
.contact-info h2 { font-size: clamp(24px, 2.4vw, 32px); }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid #cfcdc8; border-radius: 10px; background: #fff; font: 15px/1.4 var(--font); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #000; outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b00020; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; }
.check.is-invalid { color: #b00020; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 14px; }
.form-status[data-state="error"] { color: #b00020; }
.form-status[data-state="ok"] { color: #1d6b3a; }
.hp { position: absolute; left: -9999px; }

/* legal */
.legal { padding-top: calc(var(--header-h) + 70px); }
.legal h1 { font-size: clamp(34px, 4vw, 54px); }
.legal h2 { font-size: 22px; font-weight: 500; margin-top: 2em; }

/* footer */
.site-footer { background: #000; color: #d6d6d6; padding: 80px 0 30px; border-top: 1px solid #1e1e1e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; color: #9a9a9a; }
.site-footer .muted { color: #8c8c8c; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #222; font-size: 13px; color: #8c8c8c; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 20px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .entorno { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .split, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid .project-card:first-child { grid-column: span 2; }
  .project-grid .project-card:nth-child(2) { aspect-ratio: 4 / 5; min-height: 0; }
  .services { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .plan-lists { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .logo img { height: 38px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid .project-card:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .entorno { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom a { margin: 0 16px 0 0; }
  .person { flex-direction: column; align-items: flex-start; }
  .facts-list div { flex-direction: column; gap: 2px; }
  .facts-list dd { text-align: left; }
  .hero-actions .btn { flex: 1 1 auto; }
}
