/* ==========================================================================
   FICA — Sitio público del tenant
   CSS plano, sin build, cargado como archivo estático (rápido, cacheable).
   Los colores de marca del tenant se sobrescriben inline en el <head>
   de cada página vía variables CSS (ver layouts/public.blade.php).
   ========================================================================== */

:root {
    --brand-primary: #155c9e;
    --brand-primary-dark: #0f4577;
    --brand-secondary: #6c757d;
    --ink: #1a2332;
    --text: #45505c;
    --muted: #6b7684;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --border: #e6e9ee;
    --radius: 14px;
    --radius-sm: 10px;
    --whatsapp: #25d366;
    --shadow-sm: 0 1px 3px rgba(20, 30, 50, 0.06), 0 1px 2px rgba(20, 30, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(20, 30, 50, 0.08), 0 2px 6px rgba(20, 30, 50, 0.04);
    --shadow-lg: 0 16px 40px rgba(20, 30, 50, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    overflow-x: hidden; /* evita scroll horizontal por el .full-bleed del banner */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .15s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(24px, 6vw, 32px); }

/* Rompe el ancho del contenedor padre, ocupa todo el viewport */
.full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

h1, h2, h3 { color: var(--ink); margin: 0 0 12px; font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 5vw, 40px); }
h2 { font-size: clamp(22px, 3.5vw, 28px); }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.65; }

/* ---- Botones ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 10px;
    font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
    transition: transform .1s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-primary-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { filter: brightness(0.96); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---- Navbar ---- */
.navbar {
    position: sticky; top: 0; z-index: 50;
    width: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 18px; padding-bottom: 18px;
}
.navbar-brand img { height: 38px; width: auto; max-width: none; flex-shrink: 0; display: block; }
.navbar-brand-text { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.navbar-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.navbar-links a:hover { color: var(--brand-primary); }

.navbar-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; border: none; background: none; cursor: pointer;
    padding: 0;
}
.navbar-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 720px) {
    .navbar-toggle { display: flex; }
    .navbar-links {
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .navbar-links.open { display: flex; }
    .navbar-links a {
        padding: 14px clamp(20px, 5vw, 32px);
        border-top: 1px solid var(--border);
        font-size: 15px;
    }
    .navbar-inner { position: relative; padding: 18px 28px; }
}

/* ---- Hero de asesor ---- */
.agent-hero {
    background: var(--bg-soft);
    padding: 64px 0 40px;
}
.agent-hero-inner { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.agent-avatar {
    width: 148px; height: 148px; border-radius: 50%; object-fit: cover;
    border: 5px solid #fff; box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}
.agent-avatar-fallback {
    width: 148px; height: 148px; border-radius: 50%;
    background: linear-gradient(145deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff; border: 5px solid #fff; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 52px; font-weight: 800; flex-shrink: 0;
}
.agent-headline {
    font-size: 14px; color: var(--brand-primary); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
}
.agent-bio { max-width: 560px; color: var(--text); font-size: 16px; }
.agent-social { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #fff;
    box-shadow: var(--shadow-sm);
    transition: all .15s ease;
}
.social-icon:hover { transform: translateY(-2px) scale(1.06); box-shadow: var(--shadow-md); filter: brightness(1.08); }

/* ---- Buscador de texto (home + listado) — pastilla unificada ---- */
.search-bar {
    display: flex; gap: 0; flex-wrap: nowrap; margin-top: 4px;
    background: #fff; border: 1px solid var(--border); border-radius: 999px;
    box-shadow: var(--shadow-md); padding: 6px; max-width: 640px;
}
.search-bar input[type="text"] {
    flex: 1; min-width: 0; padding: 12px 18px; border: none; outline: none;
    font-size: 15px; color: var(--text); background: transparent; border-radius: 999px;
}
.search-bar .btn { border-radius: 999px; flex-shrink: 0; }
@media (max-width: 560px) {
    .search-bar { flex-wrap: wrap; border-radius: var(--radius); padding: 10px; max-width: 100%; }
    .search-bar input[type="text"] { width: 100%; padding: 10px 12px; }
    .search-bar .btn { width: 100%; border-radius: var(--radius-sm); }
}

/* ---- Grid de propiedades ---- */
.section { padding: 64px 15px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section-eyebrow {
    font-size: 13px; color: var(--brand-primary); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
}
.section-title-featured h2 { font-size: clamp(26px, 4vw, 34px); }
.properties-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
/* Grilla de "destacadas": cantidad exacta de columnas, siempre en una
   sola línea en desktop (3 se ve igual que antes, 4-6 se achican para
   entrar todas juntas). */
.properties-grid-count-1 { grid-template-columns: minmax(270px, 380px); }
.properties-grid-count-2 { grid-template-columns: repeat(2, 1fr); }
.properties-grid-count-3 { grid-template-columns: repeat(3, 1fr); }
.properties-grid-count-4 { grid-template-columns: repeat(4, 1fr); }
.properties-grid-count-5 { grid-template-columns: repeat(5, 1fr); }
.properties-grid-count-6 { grid-template-columns: repeat(6, 1fr); }

.properties-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .properties-grid-4,
    .properties-grid-count-4, .properties-grid-count-5, .properties-grid-count-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 560px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .properties-grid-4,
    .properties-grid-count-1, .properties-grid-count-2, .properties-grid-count-3,
    .properties-grid-count-4, .properties-grid-count-5, .properties-grid-count-6 {
        grid-template-columns: repeat(2, 1fr); gap: 12px;
    }
}
.property-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease;
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.property-card-photo {
    aspect-ratio: 4/3; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 13px; position: relative;
    overflow: hidden;
}
.property-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.property-card:hover .property-card-photo img { transform: scale(1.04); }
.property-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,0.95); color: var(--brand-primary); backdrop-filter: blur(4px);
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.favorite-btn {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); cursor: pointer; box-shadow: var(--shadow-sm);
    transition: transform .15s ease, color .15s ease;
}
.favorite-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.favorite-btn:hover { transform: scale(1.1); }
.favorite-btn.active { color: #e0245e; }
.favorite-btn.active svg { fill: currentColor; }

.property-status-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 20, 30, 0.55);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em;
}
.property-card-inactive .property-card-photo img { filter: grayscale(40%); }
.property-card-inactive .property-card-price { color: var(--muted); }

.detail-status-banner {
    background: #fff3cd; color: #856404; border: 1px solid #ffe69c;
    border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px;
    margin: 12px 0;
}

.action-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; display: flex; align-items: center; justify-content: center;
    color: var(--text); cursor: pointer; transition: all .15s ease;
}
.action-btn svg { fill: none; stroke: currentColor; }
.action-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.action-btn.favorite-btn-detail.active { color: #e0245e; border-color: #e0245e; }
.action-btn.favorite-btn-detail.active svg { fill: currentColor; stroke: none; }

.share-menu {
    position: absolute; top: 100%; right: 0; margin-top: 6px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md); padding: 6px; z-index: 20; min-width: 180px;
}
.share-menu button {
    display: block; width: 100%; text-align: left; padding: 9px 12px;
    border: none; background: none; font-size: 14px; border-radius: 6px; cursor: pointer;
}
.share-menu button:hover { background: var(--bg-soft); }

/* ---- Modal de video ---- */
.fica-modal {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(15, 20, 30, 0.85);
    align-items: center; justify-content: center; padding: 20px;
}
.fica-modal.open { display: flex; }
.fica-modal-box {
    position: relative; width: 100%; max-width: 800px;
    background: #000; border-radius: var(--radius); overflow: hidden;
}
.fica-modal-close {
    position: absolute; top: -14px; right: -14px; z-index: 5;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: #fff; color: var(--ink); font-size: 20px; line-height: 1;
    cursor: pointer; box-shadow: var(--shadow-md);
}
.fica-modal-box[data-embed-type="instagram"] { max-width: 560px; background: #fff; }
.fica-modal-video[data-embed-type="iframe"] { aspect-ratio: 16/9; }
.fica-modal-video iframe { width: 100%; height: 100%; border: none; }
.fica-modal-instagram {
    max-height: 80vh; overflow-y: auto; background: #fff;
    display: flex; align-items: center; justify-content: center; padding: 8px;
}
.fica-modal-fallback {
    height: 100%; min-height: 240px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; color: #fff; text-align: center; padding: 24px;
}

/* ---- CTA "vender/alquilar tu propiedad" ---- */
.sell-cta { background: var(--ink); margin-top: 20px; }
.sell-cta-inner {
    padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 20px;
    justify-content: space-between; align-items: center;
}
.sell-cta-inner h2 { color: #fff; margin-bottom: 6px; }
.sell-cta-inner p { color: rgba(255,255,255,0.7); margin: 0; font-size: 15px; }
.sell-cta-inner .btn-primary { flex-shrink: 0; }
.property-card-body { padding: 18px; }
@media (max-width: 560px) {
    .property-card-body { padding: 12px; }
    .property-card-price { font-size: 16px; }
    .property-card-meta { gap: 8px; font-size: 11px; }
}
.property-card-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.property-card-location { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.property-card-price { font-size: 19px; font-weight: 800; color: var(--brand-primary); letter-spacing: -0.01em; }
.property-card-meta { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border);
    font-size: 13px; color: var(--muted);
    margin-top: 40px;
}
.footer-main {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px; padding-top: 44px; padding-bottom: 32px;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-brand-logo { height: 32px; width: auto; max-width: none; flex-shrink: 0; display: block; margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--brand-primary); }
.footer-col-title {
    font-size: 12px; font-weight: 700; color: var(--ink);
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
@media (max-width: 720px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-main { grid-template-columns: 1fr; }
}

.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; }
.footer-bottom-inner {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: space-between; align-items: center;
}
.footer-signature {
    display: flex; align-items: center; gap: 8px;
    color: var(--muted); font-size: 12px; transition: color .15s ease;
}
.footer-signature:hover { color: var(--brand-primary); }
.footer-signature img { height: 16px; width: auto; max-width: none; flex-shrink: 0; display: block; opacity: 0.8; transition: opacity .15s ease; }
.footer-signature:hover img { opacity: 1; }

/* ---- WhatsApp flotante ---- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px; border-radius: 50%; border: none;
    background: var(--whatsapp); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1500; transition: transform .15s ease;
    padding: 0; line-height: 0;
}
.whatsapp-float svg { display: block; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---- Carrusel de banners de home ---- */
.banner-carousel {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 1; background: var(--bg-soft);
}
.banner-track { display: flex; height: 100%; transition: transform .5s ease; }
.banner-slide { flex: 0 0 100%; height: 100%; display: block; position: relative; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-cta {
    position: absolute; left: 24px; bottom: 24px;
    background: var(--brand-primary); color: #fff;
    padding: 12px 24px; border-radius: 999px;
    font-weight: 700; font-size: 14px; box-shadow: var(--shadow-md);
    transition: transform .15s ease, filter .15s ease;
}
.banner-slide:hover .banner-cta { transform: translateY(-2px); filter: brightness(1.08); }
@media (max-width: 640px) {
    .banner-cta { left: 14px; bottom: 14px; padding: 9px 18px; font-size: 12px; }
}
.banner-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.85); color: var(--ink); font-size: 22px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm); transition: background .15s ease;
}
.banner-arrow:hover { background: #fff; }
.banner-arrow-prev { left: 14px; }
.banner-arrow-next { right: 14px; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dot {
    width: 9px; height: 9px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.6); cursor: pointer; padding: 0;
    transition: background .15s ease, transform .15s ease;
}
.banner-dot.active { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) {
    .banner-carousel { aspect-ratio: 2.4 / 1; }
    .banner-arrow { width: 32px; height: 32px; font-size: 18px; }
}

@media (max-width: 640px) {
    .agent-hero-inner { flex-direction: column; text-align: center; }
    .agent-social { justify-content: center; }
}

/* ---- Filtros de listado ---- */
.filters-bar {
    background: var(--bg-soft); border-radius: var(--radius);
    padding: 20px; margin-bottom: 32px; border: 1px solid var(--border);
}
.filters-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.filters-form select, .filters-form input {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 14px; background: #fff; color: var(--text);
    transition: border-color .15s ease;
}
.filters-form select:focus, .filters-form input:focus { border-color: var(--brand-primary); outline: none; }
.filters-form .filters-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }

.amenities-filter { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; background: #fff; }
.amenities-filter summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.amenities-filter-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.amenities-filter-grid label {
    display: inline-flex; align-items: center; padding: 7px 14px;
    border: 1px solid var(--border); border-radius: 999px;
    cursor: pointer; font-size: 13px; color: var(--text);
    transition: all .15s ease; background: #fff; user-select: none;
}
.amenities-filter-grid label:hover { border-color: var(--brand-primary); }
.amenities-filter-grid label:has(input:checked) {
    background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; font-weight: 600;
}
.amenities-filter-grid input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}

/* ---- Paginación ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 9px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text); transition: all .15s ease;
}
.pagination a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pagination .active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* ---- Ficha de detalle ---- */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--brand-primary); }

.gallery-main {
    aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-soft); margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img {
    width: 84px; height: 64px; object-fit: cover; border-radius: 8px;
    cursor: pointer; border: 2px solid transparent; flex-shrink: 0;
    transition: border-color .15s ease, opacity .15s ease;
    opacity: 0.7;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--brand-primary); opacity: 1; }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.detail-price { font-size: 32px; font-weight: 800; color: var(--brand-primary); margin: 8px 0 20px; letter-spacing: -0.01em; }
.detail-meta-row { display: flex; gap: 22px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.detail-meta-item { font-size: 13px; color: var(--muted); }
.detail-meta-item strong { display: block; font-size: 18px; color: var(--ink); font-weight: 700; }

.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 16px; }
.amenity-item { font-size: 14px; padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.amenity-item:before { content: "✓"; color: var(--brand-primary); font-weight: 800; }

.contact-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; position: sticky; top: 90px; box-shadow: var(--shadow-sm);
}
.contact-card .agent-avatar, .contact-card .agent-avatar-fallback { width: 64px; height: 64px; font-size: 24px; margin-bottom: 12px; border-width: 3px; }
.map-link { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--brand-primary); margin-top: 12px; font-weight: 600; }

@media (max-width: 860px) {
    .detail-layout { grid-template-columns: 1fr; }
    .contact-card { position: static; }
}

/* ---- Formulario de consulta/leads ---- */
.lead-form-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-top: 22px; box-shadow: var(--shadow-sm); }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form input, .lead-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; color: var(--text); resize: vertical;
    transition: border-color .15s ease;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--brand-primary); outline: none; }
.alert-success { background: #eafaf1; color: #1a7f4e; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }
.alert-error { background: #fdecea; color: #b3261e; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }

/* ---- Página de contacto general ---- */
.contact-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 720px) { .contact-page-layout { grid-template-columns: 1fr; } }
