/* Estilos del sitio publico, extraidos de app/Views/contacto.php (antes en <style> en linea). */
:root {
    --marketing-max: 1240px;
    --marketing-copy: #5a6578;
    --marketing-surface: rgba(255, 255, 255, 0.82);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(11, 110, 79, 0.09), transparent 28%),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 30%, #f2f5fb 100%);
    color: var(--cs-gray-900);
}

a:hover { text-decoration: none; }

.shell {
    width: min(100%, var(--marketing-max));
    margin: 0 auto;
    padding-left: clamp(1.15rem, 3vw, 2rem);
    padding-right: clamp(1.15rem, 3vw, 2rem);
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.9rem 0;
    background: #F6F8FC;
    border-bottom: 1px solid rgba(28, 36, 56, 0.06);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand img { height: 54px; width: auto; }
.footer-logo img { height: 58px; width: auto; }

.header-actions,
.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(11, 110, 79, 0.08);
    color: var(--cs-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero {
    padding: clamp(1.5rem, 3.4vw, 2.6rem) 0 2.4rem;
}

.hero h1 {
    margin: 1rem 0 0.9rem;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 20ch;
}

.lead {
    margin: 0;
    max-width: 56ch;
    color: var(--marketing-copy);
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-section {
    padding: 0 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
    gap: 1.5rem;
    align-items: start;
}

.intent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.intent-chip {
    font: inherit;
    cursor: pointer;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(28, 36, 56, 0.12);
    background: #fff;
    color: var(--cs-gray-900);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.intent-chip:hover {
    border-color: var(--cs-blue);
}

.intent-chip.is-active {
    background: var(--cs-blue);
    border-color: var(--cs-blue);
    color: #fff;
}

.card {
    background: var(--marketing-surface);
    border: 1px solid rgba(28, 36, 56, 0.08);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 18px 48px rgba(17, 25, 43, 0.06);
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.75rem 0 0.35rem;
}

label:first-of-type { margin-top: 0; }

input,
textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(28, 36, 56, 0.16);
    border-radius: 12px;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--cs-blue);
    box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.12);
}

textarea { min-height: 140px; resize: vertical; }

.alert {
    margin: 0 0 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.ok { background: #e8f8ee; border: 1px solid #bde8cb; color: #166534; }
.err { background: #fdecec; border: 1px solid #f5c2c2; color: #7f1d1d; }

.contact-aside {
    display: grid;
    gap: 1.25rem;
}

.aside-card h2 {
    margin: 0 0 0.9rem;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.steps-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}

.steps-list .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(11, 110, 79, 0.1);
    color: var(--cs-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

.steps-list strong {
    display: block;
    color: var(--cs-gray-900);
    font-size: 0.95rem;
}

.steps-list span {
    display: block;
    margin-top: 0.15rem;
    color: var(--marketing-copy);
    font-size: 0.88rem;
    line-height: 1.5;
}

.meta-card p {
    margin: 0.55rem 0;
    color: var(--marketing-copy);
    font-size: 0.92rem;
    line-height: 1.55;
}

.meta-card strong { color: var(--cs-gray-900); }

.links-card {
    display: grid;
    gap: 0.6rem;
}

.links-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cs-blue);
    font-weight: 700;
    font-size: 0.92rem;
}

.trust-band {
    border-top: 1px solid rgba(28, 36, 56, 0.08);
    border-bottom: 1px solid rgba(28, 36, 56, 0.08);
    background: rgba(255, 255, 255, 0.6);
}

.trust-band-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.6rem 0;
}

.trust-band-row div {
    text-align: center;
    border-left: 1px solid rgba(28, 36, 56, 0.08);
    padding: 0.2rem 0.5rem;
}

.trust-band-row div:first-child { border-left: none; }

.trust-band-row strong {
    display: block;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.03em;
    color: var(--cs-gray-900);
}

.trust-band-row span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: var(--marketing-copy);
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0 2.6rem;
    background: var(--cs-navy);
}

.footer-links a,
.footer span { color: rgba(255,255,255,0.74); }

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .trust-band-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.1rem;
    }
    .trust-band-row div:nth-child(3) { border-left: none; }
}

@media (max-width: 760px) {
    .brand img { height: 42px; }
    .header-actions { width: 100%; justify-content: flex-end; gap: 0.45rem; }
    .header-actions a:not(.ios-btn) { display: none; }
    .header-actions .ios-btn { font-size: 12px; padding: 0.62rem 0.9rem; }
}

@media (max-width: 560px) {
    .header-inner { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; }
    .brand { flex-shrink: 0; min-width: 0; }
    .header-actions { width: auto !important; }
    .header-actions a:not(.ios-btn-primary) { display: none !important; }
}
