/* ═══════════════════════════════════════════════
   MILLÁN ARQUITECTURA · Demo CSS
   Blueprint navy / amber accent
   ═══════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────── */
:root {
    --bg:          oklch(0.12 0.025 240);
    --surface:     oklch(0.16 0.030 238);
    --surface-2:   oklch(0.20 0.035 236);
    --bp-line:     oklch(0.50 0.110 220);
    --bp-dim:      oklch(0.36 0.085 222);
    --bp-bright:   oklch(0.68 0.130 215);
    --ink:         oklch(0.92 0.014 220);
    --ink-muted:   oklch(0.56 0.040 220);
    --amber:       oklch(0.80 0.150 72);
    --amber-dark:  oklch(0.66 0.130 72);
    --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-quart:  cubic-bezier(0.25, 1, 0.5, 1);
    --font-head:   'Antonio', sans-serif;
    --font-body:   'Barlow', sans-serif;
    --font-tech:   'Rajdhani', sans-serif;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── Blueprint grid background ───────────────── */
.ar-page {
    background-color: var(--bg);
    background-image:
        linear-gradient(oklch(0.18 0.03 240 / 0.6) 1px, transparent 1px),
        linear-gradient(90deg, oklch(0.18 0.03 240 / 0.6) 1px, transparent 1px),
        linear-gradient(oklch(0.16 0.025 240 / 0.35) 1px, transparent 1px),
        linear-gradient(90deg, oklch(0.16 0.025 240 / 0.35) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

/* ── Navigation ──────────────────────────────── */
.ar-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 clamp(24px, 5vw, 60px);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.ar-nav.scrolled {
    background: oklch(0.12 0.025 240 / 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid oklch(0.25 0.04 238);
}
.ar-nav-brand {
    font-family: var(--font-head);
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--ink);
    white-space: nowrap;
}
.ar-nav-brand span { color: var(--amber); }
.ar-nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.ar-nav-links a {
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    transition: color 0.2s ease;
    position: relative;
}
.ar-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--amber);
    transition: width 0.25s ease;
}
.ar-nav-links a:hover { color: var(--ink); }
.ar-nav-links a:hover::after { width: 100%; }
.ar-nav-cta {
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bg) !important;
    background: var(--amber);
    padding: 9px 20px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    transition: background 0.2s ease !important;
}
.ar-nav-cta::after { display: none !important; }
.ar-nav-cta:hover { background: var(--ink) !important; color: var(--bg) !important; }
.ar-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.ar-nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.ar-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ar-nav-toggle.open span:nth-child(2) { opacity: 0; }
.ar-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────── */
.ar-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px clamp(24px, 5vw, 60px) 60px;
    gap: clamp(40px, 5vw, 80px);
    position: relative;
    overflow: hidden;
}
.ar-hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.ar-hero-coords {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--bp-line);
}
.ar-hero-heading {
    font-family: var(--font-head);
    font-size: clamp(42px, 5.5vw, 80px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}
.ar-hero-heading em {
    font-style: normal;
    color: var(--amber);
}
.ar-hero-sub {
    font-size: clamp(14px, 1.3vw, 17px);
    color: var(--ink-muted);
    max-width: 38ch;
    line-height: 1.7;
    text-wrap: pretty;
}
.ar-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.ar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    transition: background 0.2s ease, color 0.2s ease, outline-color 0.2s ease;
}
.ar-btn-solid {
    background: var(--amber);
    color: var(--bg);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.ar-btn-solid:hover { background: var(--ink); }
.ar-btn-outline {
    background: transparent;
    color: var(--ink-muted);
    outline: 1px solid oklch(0.30 0.05 230);
    outline-offset: 0;
}
.ar-btn-outline:hover { color: var(--ink); outline-color: var(--bp-line); }
.ar-hero-meta {
    display: flex;
    gap: 32px;
    padding-top: 8px;
    border-top: 1px solid oklch(0.22 0.04 238);
}
.ar-hero-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}
.ar-hero-stat span {
    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
}

/* Blueprint SVG frame */
.ar-blueprint-wrap {
    position: relative;
}
.ar-blueprint-frame {
    position: relative;
    background: oklch(0.14 0.03 240);
    border: 1px solid oklch(0.25 0.05 232);
    padding: 0;
    overflow: hidden;
}
.ar-blueprint-frame::before {
    content: 'PLANTA BAJA · VIVIENDA TIPO A · ESC. 1:50';
    position: absolute;
    top: 10px; left: 14px;
    font-family: var(--font-tech);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--bp-dim);
    z-index: 2;
}
.ar-blueprint-frame::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 0.5px solid oklch(0.25 0.05 232);
    pointer-events: none;
    z-index: 1;
}
.ar-blueprint-svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--bp-line);
}

/* SVG animation keyframes */
@keyframes ar-draw { to { stroke-dashoffset: 0; } }
@keyframes ar-fade-in { to { opacity: 1; } }

/* Outer walls */
.ar-walls-outer path {
    stroke-dasharray: 1560;
    stroke-dashoffset: 1560;
    animation: ar-draw 2s var(--ease-expo) 0.5s forwards;
}
/* Inner walls – each has its own --len and --del CSS vars */
.ar-walls-inner line {
    stroke-dasharray: var(--len, 300);
    stroke-dashoffset: var(--len, 300);
    animation: ar-draw 0.75s var(--ease-quart) var(--del, 2.6s) forwards;
}
/* Door symbols */
.ar-doors line, .ar-doors path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ar-draw 0.5s ease var(--del, 3.5s) forwards;
}
/* Windows */
.ar-windows line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ar-draw 0.35s ease var(--del, 4.0s) forwards;
}
/* Dimension lines */
.ar-dims line, .ar-dims path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: ar-draw 0.6s ease var(--del, 4.5s) forwards;
}
/* Labels */
.ar-labels text,
.ar-labels circle,
.ar-labels rect,
.ar-labels path.ar-north-fill {
    opacity: 0;
    animation: ar-fade-in 0.4s ease var(--del, 5.0s) forwards;
}

/* Hero text animation */
.ar-hero-content .ar-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: ar-hero-rise 0.7s var(--ease-expo) var(--del, 5.4s) forwards;
}
@keyframes ar-hero-rise {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Proyectos ───────────────────────────────── */
.ar-section { padding: clamp(80px, 10vw, 130px) clamp(24px, 5vw, 60px); }
.ar-section-label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--bp-line);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ar-section-label::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--bp-line);
}
.ar-section-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
    margin-bottom: clamp(48px, 6vw, 80px);
}

/* Asymmetric project grid */
.ar-projects-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.ar-project {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
}
.ar-project:nth-child(1) { grid-row: 1 / 3; min-height: 560px; }
.ar-project:nth-child(2) { min-height: 260px; }
.ar-project:nth-child(3) { min-height: 260px; }

.ar-project-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-expo);
}
.ar-project:hover .ar-project-img { transform: scale(1.04); }

/* ── Placeholder backgrounds (CSS, no image files) ── */
.ar-project-ph--1 {
    background:
        radial-gradient(ellipse 65% 50% at 72% 18%, oklch(0.32 0.13 72 / 0.42) 0%, transparent 58%),
        repeating-linear-gradient(90deg, oklch(0.50 0.11 220 / 0.09) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(  0deg, oklch(0.50 0.11 220 / 0.09) 0 1px, transparent 1px 28px),
        linear-gradient(155deg, oklch(0.13 0.030 242) 0%, oklch(0.23 0.065 228) 100%);
}
.ar-project-ph--2 {
    background:
        radial-gradient(ellipse 55% 65% at 28% 42%, oklch(0.26 0.075 228 / 0.55) 0%, transparent 62%),
        radial-gradient(ellipse 40% 30% at 80% 75%, oklch(0.18 0.04 240 / 0.55) 0%, transparent 50%),
        repeating-linear-gradient(90deg, oklch(0.50 0.11 220 / 0.11) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(  0deg, oklch(0.50 0.11 220 / 0.11) 0 1px, transparent 1px 20px),
        linear-gradient(148deg, oklch(0.15 0.035 238) 0%, oklch(0.20 0.055 226) 100%);
}
.ar-project-ph--3 {
    background:
        radial-gradient(ellipse 85% 38% at 50% 28%, oklch(0.22 0.055 218 / 0.58) 0%, transparent 68%),
        repeating-linear-gradient(90deg, oklch(0.45 0.09 220 / 0.13) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(  0deg, oklch(0.45 0.09 220 / 0.13) 0 1px, transparent 1px 16px),
        linear-gradient(165deg, oklch(0.12 0.026 244) 0%, oklch(0.19 0.047 232) 100%);
}

/* Blueprint overlay on hover */
.ar-project::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(oklch(0.12 0.025 240 / 0) 40%, oklch(0.12 0.025 240 / 0.82) 100%),
        repeating-linear-gradient(90deg, oklch(0.50 0.11 220 / 0.06) 0, oklch(0.50 0.11 220 / 0.06) 1px, transparent 1px, transparent 16px),
        repeating-linear-gradient(0deg, oklch(0.50 0.11 220 / 0.06) 0, oklch(0.50 0.11 220 / 0.06) 1px, transparent 1px, transparent 16px);
    z-index: 1;
}
.ar-project-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 22px 20px;
    z-index: 2;
}
.ar-project-year {
    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--amber);
    margin-bottom: 6px;
}
.ar-project-name {
    font-family: var(--font-head);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}
.ar-project-type {
    font-family: var(--font-tech);
    font-size: 11px;
    color: oklch(0.70 0.03 220);
    margin-top: 4px;
}
/* Blueprint corner mark */
.ar-project::after {
    content: '';
    position: absolute;
    top: 16px; right: 16px;
    width: 24px; height: 24px;
    border-top: 1px solid var(--bp-line);
    border-right: 1px solid var(--bp-line);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.ar-project:hover::after { opacity: 1; }

/* Entrada de proyectos — CSS puro, sin dependencia de JS */
@keyframes ar-proj-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
.ar-project {
    animation: ar-proj-in 0.85s var(--ease-expo) both;
}
.ar-project:nth-child(2) { animation-delay: 0.12s; }
.ar-project:nth-child(3) { animation-delay: 0.26s; }

/* ── Filosofía (About) ──────────────────────── */
.ar-about {
    background: var(--surface);
    border-top: 1px solid oklch(0.22 0.04 238);
    border-bottom: 1px solid oklch(0.22 0.04 238);
}
.ar-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.ar-about-text {}
.ar-about-quote {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 28px;
    max-width: 20ch;
    text-wrap: balance;
}
.ar-about-quote em {
    font-style: normal;
    color: var(--amber);
}
.ar-about-body {
    color: var(--ink-muted);
    max-width: 48ch;
    margin-bottom: 32px;
    line-height: 1.75;
    text-wrap: pretty;
}
.ar-about-creds {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ar-about-creds li {
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--bp-line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ar-about-creds li::before {
    content: '';
    width: 16px; height: 1px;
    background: var(--bp-dim);
    flex-shrink: 0;
}
/* Portrait */
.ar-about-portrait {
    position: relative;
}
.ar-portrait-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: grayscale(15%);
    background: var(--surface-2);
}
.ar-portrait-frame {
    position: absolute;
    top: -12px; right: -12px;
    bottom: 12px; left: 12px;
    border: 1px solid var(--bp-dim);
    pointer-events: none;
    z-index: -1;
}
.ar-portrait-label {
    position: absolute;
    bottom: -1px; left: 0;
    right: 0;
    background: var(--bg);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid oklch(0.22 0.04 238);
}
.ar-portrait-name {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.ar-portrait-title {
    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--bp-line);
}

/* ── Proceso ─────────────────────────────────── */
.ar-proceso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.ar-paso {
    padding: clamp(32px, 4vw, 52px);
    border-right: 1px solid oklch(0.20 0.04 238);
    position: relative;
}
.ar-paso:last-child { border-right: none; }
.ar-paso-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    color: var(--bp-line);
}
.ar-paso-icon svg {
    width: 100%;
    height: 100%;
}
/* Icon draw animation */
.ar-paso-icon path, .ar-paso-icon circle, .ar-paso-icon line, .ar-paso-icon rect {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    fill: none;
    animation: ar-draw 0.8s var(--ease-expo) var(--del, 0.1s) forwards;
}
.ar-paso.ar-visible .ar-paso-icon path,
.ar-paso.ar-visible .ar-paso-icon circle,
.ar-paso.ar-visible .ar-paso-icon line,
.ar-paso.ar-visible .ar-paso-icon rect { animation-play-state: running; }
.ar-paso-icon path,
.ar-paso-icon circle,
.ar-paso-icon line,
.ar-paso-icon rect { animation-play-state: paused; }

.ar-paso-num {
    position: absolute;
    top: clamp(24px, 3vw, 40px);
    right: clamp(20px, 3vw, 40px);
    font-family: var(--font-head);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: oklch(0.17 0.03 238);
    letter-spacing: -0.04em;
    pointer-events: none;
}
.ar-paso-title {
    font-family: var(--font-head);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.ar-paso-body {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.7;
    max-width: 30ch;
    text-wrap: pretty;
}

/* ── Localización + Contacto ─────────────────── */
.ar-contact-section {
    background: var(--surface);
    border-top: 1px solid oklch(0.22 0.04 238);
}
.ar-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.ar-contact-info {}
.ar-contact-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 36px;
    line-height: 1;
    text-wrap: balance;
}
.ar-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.ar-contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ar-contact-item-label {
    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--bp-line);
}
.ar-contact-item-value {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
}
.ar-contact-item-value a:hover { color: var(--amber); }
.ar-contact-hours {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    border-top: 1px solid oklch(0.22 0.04 238);
    padding-top: 20px;
    margin-top: 8px;
}

/* Map container */
.ar-map-wrap {
    position: relative;
    height: 440px;
    overflow: hidden;
    border: 1px solid oklch(0.25 0.05 232);
}
#ar-map {
    width: 100%;
    height: 100%;
}
.ar-map-label {
    position: absolute;
    top: 14px; left: 14px;
    background: oklch(0.12 0.025 240 / 0.9);
    padding: 6px 12px;
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--bp-bright);
    border: 1px solid oklch(0.28 0.06 232);
    z-index: 10;
    pointer-events: none;
}
/* Custom Leaflet marker */
.ar-map-marker {
    width: 28px;
    height: 42px;
}
.ar-map-marker svg {
    width: 100%;
    height: 100%;
}

/* ── Footer ──────────────────────────────────── */
.ar-footer {
    background: oklch(0.09 0.018 240);
    padding: 40px clamp(24px, 5vw, 60px);
    border-top: 1px solid oklch(0.20 0.04 238);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ar-footer-brand {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
}
.ar-footer-brand span { color: var(--amber); }
.ar-footer-copy {
    font-family: var(--font-tech);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: oklch(0.35 0.04 230);
}
.ar-footer-copy a { color: var(--bp-line); }
.ar-footer-copy a:hover { color: var(--amber); }

/* ── Demo badge ──────────────────────────────── */
.demo-badge {
    background: oklch(0.12 0.025 240);
    color: oklch(0.78 0.25 145); /* neon green */
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid oklch(0.22 0.04 238);
}
.demo-badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: oklch(0.78 0.25 145);
    box-shadow: 0 0 6px oklch(0.78 0.25 145);
    flex-shrink: 0;
}

/* ── Leaflet overrides ───────────────────────── */
.leaflet-container { background: oklch(0.09 0.018 240); }
.leaflet-control-attribution {
    background: oklch(0.12 0.025 240 / 0.85) !important;
    color: oklch(0.42 0.05 225) !important;
    font-size: 9px !important;
}
.leaflet-control-attribution a { color: var(--bp-dim) !important; }

/* ── Scroll reveal ───────────────────────────── */
.ar-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.ar-reveal.ar-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 960px) {
    .ar-hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }
    .ar-hero-content { order: 1; }
    .ar-blueprint-wrap { order: 2; }
    .ar-projects-grid {
        grid-template-columns: 1fr;
    }
    .ar-project:nth-child(1) { min-height: 380px; }
    .ar-project:nth-child(2), .ar-project:nth-child(3) { min-height: 240px; }
    .ar-about-inner { grid-template-columns: 1fr; }
    .ar-about-portrait { max-width: 360px; }
    .ar-proceso-grid { grid-template-columns: 1fr; }
    .ar-paso { border-right: none; border-bottom: 1px solid oklch(0.20 0.04 238); }
    .ar-paso:last-child { border-bottom: none; }
    .ar-contact-inner { grid-template-columns: 1fr; }
    .ar-nav-links { display: none; }
    .ar-nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: oklch(0.12 0.025 240 / 0.98);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid oklch(0.22 0.04 238);
        backdrop-filter: blur(12px);
    }
    .ar-nav-toggle { display: flex; }
}

@media (max-width: 600px) {
    .ar-hero-heading { font-size: clamp(36px, 10vw, 52px); }
    .ar-hero-meta { flex-wrap: wrap; gap: 20px; }
    .ar-map-wrap { height: 300px; }
    .ar-footer { flex-direction: column; text-align: center; }
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ar-walls-outer path,
    .ar-walls-inner line,
    .ar-doors line, .ar-doors path,
    .ar-windows line,
    .ar-dims line, .ar-dims path { animation: none; stroke-dashoffset: 0; }
    .ar-labels text, .ar-labels circle,
    .ar-labels rect, .ar-labels path.ar-north-fill { animation: none; opacity: 1; }
    .ar-hero-content .ar-reveal { animation: none; opacity: 1; transform: none; }
    .ar-reveal { transition: none; opacity: 1; transform: none; }
    .ar-project { animation: none !important; opacity: 1 !important; transform: none !important; }
    .ar-paso-icon path, .ar-paso-icon circle,
    .ar-paso-icon line, .ar-paso-icon rect {
        animation: none; stroke-dashoffset: 0;
    }
}
