:root {
    --ink: #20302d;
    --ink-soft: #2c403c;
    --muted: #66746f;
    --paper: #f8f7f2;
    --white: #fffefa;
    --coral: #e76f51;
    --coral-dark: #c8583d;
    --sage: #dce8dd;
    --sage-soft: #eef3ec;
    --line: #dfe5df;
    --shadow: 0 16px 45px rgba(32, 48, 45, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 20; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 4px; }

/* ---------- topbar + nav ---------- */
.topbar { background: var(--ink); color: #cfdcd5; font-size: 12px; letter-spacing: .02em; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar span { display: flex; align-items: center; gap: 7px; }
.nav { position: absolute; top: 34px; left: 0; right: 0; z-index: 6; color: var(--white); }
.nav-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 38px; height: 38px; flex: none; color: currentColor; }
.logo-type { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; display: flex; flex-direction: column; }
.logo-type em { font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .72; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-links a { opacity: .86; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions .solid { background: var(--coral); padding: 12px 18px; border-radius: 4px; font-size: 13.5px; font-weight: 600; transition: background .2s; }
.nav-actions .solid:hover { background: var(--coral-dark); }
.menu-button { display: none; background: none; border: 0; color: inherit; padding: 6px; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; color: var(--white);
    background: radial-gradient(120% 130% at 12% 8%, #2f4a44 0%, #1c2b28 52%, #172321 100%); padding: 150px 0 84px; }
.hero:before { content: ''; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 76px 76px; }
.hero-art { position: absolute; right: -20px; bottom: 0; width: min(46%, 520px); opacity: .85; pointer-events: none; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-content { position: relative; z-index: 1; max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #f7b09d; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: 20px; }
.eyebrow:before { content: ''; width: 28px; height: 1px; background: var(--coral); }
.eyebrow-dark { color: var(--coral-dark); margin-bottom: 16px; }
h1, h2, h3, h4 { margin: 0; font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; max-width: 15ch; }
.hero-copy { margin: 24px 0 0; max-width: 50ch; color: #e2e9e4; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; background: var(--coral); color: var(--white); padding: 15px 22px; border-radius: 4px; font-size: 14px; font-weight: 600; border: 0; transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 4px; border: 1px solid rgba(255,255,255,.4); font-size: 14px; font-weight: 600; transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin: 52px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stats div { max-width: 190px; }
.hero-stats dt { font-family: 'Playfair Display', serif; font-size: 32px; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #bccdc4; }

/* ---------- trust ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 30px; flex-wrap: wrap; }
.trust-intro { font-family: 'Playfair Display', serif; font-size: 19px; }
.trust-points { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 34px; color: var(--muted); font-size: 13px; }
.trust-point { display: flex; align-items: center; gap: 9px; }
.trust-point i { color: var(--coral); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.alt-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(31px, 3.7vw, 46px); line-height: 1.06; max-width: 22ch; }
.section-heading p { max-width: 38ch; margin: 0 0 4px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.text-link { display: inline-flex; gap: 6px; align-items: center; color: var(--coral-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---------- properties ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-visual { position: relative; height: 168px; display: grid; place-items: center; color: rgba(255,255,255,.5);
    background: linear-gradient(140deg, #2c403c 0%, #38534c 100%); }
.property-visual:after { content: ''; position: absolute; inset: 0; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; }
.property-visual i { position: relative; z-index: 1; width: 40px; height: 40px; }
.property-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--coral); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.property-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.property-body h3 { font-size: 21px; }
.property-specs { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 9px; color: var(--muted); font-size: 13.5px; }
.property-specs li { display: flex; align-items: center; gap: 9px; }
.property-specs i { color: var(--coral-dark); flex: none; }
.property-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.status { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 3px; }
.status-ask { background: var(--sage-soft); color: var(--ink-soft); }
.property-note { display: flex; align-items: center; gap: 9px; margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.property-note i { color: var(--coral-dark); flex: none; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: var(--coral-dark); display: grid; place-items: center; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; margin-bottom: 11px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.62; margin: 0; }

/* ---------- steps ---------- */
.how-section { background: var(--sage); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 17px 34px 10px 0; border-top: 1px solid rgba(32,48,45,.25); margin-right: 24px; }
.step:last-child { margin-right: 0; padding-right: 0; }
.step-number { color: var(--coral-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; }
.step h3 { font-size: 23px; margin: 18px 0 10px; }
.step p { color: #55625d; font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- candidatura ---------- */
.candidature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.candidature h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.07; margin-bottom: 18px; }
.candidature-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 40ch; margin: 0; }
.candidature-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.candidature-cta span { color: var(--muted); font-size: 13px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); padding: 20px 22px; }
.checklist li:first-child { border-radius: 6px 6px 0 0; }
.checklist li:last-child { border-radius: 0 0 6px 6px; }
.checklist li + li { border-top: 0; }
.checklist i { flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); color: var(--coral-dark); padding: 3px; }
.checklist strong { display: block; font-size: 15px; margin-bottom: 5px; }
.checklist div { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.07; margin-bottom: 16px; }
.faq-head p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 34ch; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 16.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; color: var(--coral-dark); transition: transform .25s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; padding-right: 40px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- contacto ---------- */
.contact-section { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(29px, 3.2vw, 40px); line-height: 1.08; max-width: 20ch; }
.contact-copy > p { color: #bccdc4; font-size: 15px; line-height: 1.65; max-width: 38ch; margin: 18px 0 0; }
.contact-details { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; font-size: 14px; color: #d5e0d9; }
.contact-details li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.contact-details i { color: var(--coral); flex: none; margin-top: 2px; }
.contact-details a:hover { color: var(--coral); }
.contact-form { background: var(--white); color: var(--ink); border-radius: 8px; padding: 30px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 4px; padding: 12px 13px; background: var(--paper); color: var(--ink); font-size: 14.5px; width: 100%; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8a2; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--coral); }
.contact-form .btn-primary { justify-content: center; }
.form-status { margin: 0; font-size: 13px; color: var(--coral-dark); min-height: 18px; }
.form-status.ok { color: #2f7a52; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #cfdcd5; font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: 40px; padding: 54px 0 40px; }
.footer-logo { font-size: 21px; color: var(--white); }
.footer-brand p { color: #a8b8b0; line-height: 1.65; margin: 16px 0 0; max-width: 42ch; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8fa39a; margin-bottom: 3px; }
.footer-col a:hover { color: var(--coral); }
.footer-col span { color: #a8b8b0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #a8b8b0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--coral); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .property-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 6px 0; }
    .candidature, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .menu-button { display: block; }
    .hero-art { width: 40%; opacity: .55; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 32px, 560px); }
    .topbar-inner { justify-content: center; padding: 8px 0; }
    .topbar-inner span:last-child { display: none; }
    .nav-inner { min-height: 70px; }
    .nav-actions { display: none; }
    .logo-type { font-size: 19px; }
    .mobile-menu[data-open="true"] { display: flex; flex-direction: column; gap: 4px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); padding: 14px 24px 20px; }
    .mobile-menu a { padding: 11px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .mobile-menu a.solid { border: 0; margin-top: 12px; background: var(--coral); text-align: center; border-radius: 4px; font-weight: 600; padding: 13px; }
    .hero { min-height: 0; padding: 130px 0 64px; }
    .hero-art { display: none; }
    h1 { font-size: clamp(34px, 9.5vw, 44px); max-width: none; }
    .hero-copy { font-size: 15.5px; }
    .hero-stats { gap: 22px; margin-top: 38px; }
    .hero-stats div { max-width: none; flex: 1 1 132px; }
    .hero-stats dt { font-size: 27px; }
    .trust-inner { flex-direction: column; align-items: flex-start; padding: 24px 0; gap: 16px; }
    section { padding: 66px 0; }
    .section-heading { display: block; margin-bottom: 32px; }
    .section-heading p { margin-top: 16px; }
    .property-grid, .service-grid, .steps, .field-row { grid-template-columns: 1fr; }
    .property-grid, .service-grid { gap: 18px; }
    .step { margin: 0; padding: 16px 0 12px; }
    .contact-form { padding: 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 30px; }
    .footer-inner { display: block; }
    .footer-links { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

.btn-primary:disabled { opacity: .6; cursor: progress; }
