:root {
    --primary: #22879a;
    --primary-dark: #1a6977;
    --primary-soft: #e8f5f7;
    --text: #163040;
    --text-soft: #5f6f79;
    --bg: #f6f8fa;
    --white: #ffffff;
    --border: #dfe7ec;
    --shadow: 0 12px 30px rgba(20, 48, 64, 0.08);
    --radius: 22px;
    --container: 1160px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
html, body {
    background-color: #f6f8fa !important;
    color: #163040 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(223, 231, 236, 0.95);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

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

.desktop-nav {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 26px;
    font-weight: 600;
}

.desktop-nav a {
    color: var(--text);
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.social-row a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 0 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
    display: flex;
}

.hero {
    padding: 72px 0 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7f9 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    line-height: 1.06;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 14px;
}

.lead,
.section-head p,
.brand-section p,
.contact-section p {
    color: var(--text-soft);
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-circle {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

.btn-circle svg {
    width: 20px;
    height: 20px;
}

.btn-instagram {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

/* degradado Instagram */
.btn-instagram::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5);
    opacity: 0;
    transition: 0.3s ease;
    z-index: 0;
}

/* contenido por encima */
.btn-instagram span,
.btn-instagram svg {
    position: relative;
    z-index: 1;
}

/* hover */
.btn-instagram:hover::before {
    opacity: 1;
}

.btn-instagram:hover {
    color: white;
    border-color: transparent;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-points li,
.hero-badges span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(20, 48, 64, 0.04);
    color: var(--text);
    font-weight: 600;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    box-shadow: 0 4px 14px rgba(20, 48, 64, 0.04);
    font-weight: 600;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    /*background: var(--primary-soft);*/
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    color: var(--primary);
}

.point-icon svg {
    width: 16px;
    height: 16px;
}

.hero-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f3f4f6;
    color: var(--primary);
    transition: 0.2s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*color: white;*/
    transition: all 0.25s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

/* ICONOS */
.social-circle svg {
    width: 24px;
    height: 24px;
    display: block;
}

.social-circle.instagram {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.social-circle.tiktok {
    background: #000000;
    color: #ffffff;
}


.social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}


.section {
    padding: 84px 0;
}

.section-alt {
    background: #eef4f6;
}

.section-head {
    margin-bottom: 32px;
    max-width: 760px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card,
.brand-box,
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 26px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.service-card p,
.brand-box span {
    color: var(--text-soft);
}

.brand-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.brand-boxes {
    display: grid;
    gap: 16px;
}

.brand-box {
    padding: 22px;
}

.brand-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-modern {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 18px;
}

/* Imagen grande izquierda */
.gallery-big {
    grid-row: span 2;
    border-radius: 20px;
    overflow: hidden;
}

/* Columna derecha */
.gallery-side {
    display: grid;
    gap: 18px;
}

/* Imagen abajo ancho completo */
.gallery-wide {
    grid-column: span 2;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
}

/* Todas las imágenes */
.gallery-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover elegante */
.gallery-modern img:hover {
    transform: scale(1.05);
}

.gallery-head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: end;
}

.gallery-premium {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 260px 220px 260px;
    gap: 18px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 520px;
}

.gallery-card-small {
    min-height: 220px;
}

.gallery-card-text {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.gallery-copy {
    max-width: 320px;
}

.gallery-mini-title {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-copy h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.15;
}

.gallery-copy p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.gallery-card-wide {
    grid-column: 2 / 4;
    min-height: 260px;
}

.gallery-overlay {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 20px;
    z-index: 2;
    max-width: 420px;
    color: #ffffff;
}

.gallery-overlay-bottom {
    top: auto;
    bottom: 20px;
    max-width: 520px;
}

.gallery-overlay::before {
    content: "";
    position: absolute;
    inset: -16px;
    background: linear-gradient(180deg, rgba(8, 22, 30, 0.55) 0%, rgba(8, 22, 30, 0.15) 100%);
    border-radius: 20px;
    z-index: -1;
    backdrop-filter: blur(2px);
}

.gallery-overlay h3 {
    margin: 10px 0 10px;
    font-size: 1.7rem;
    line-height: 1.1;
}

.gallery-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@media (max-width: 980px) {
    .gallery-head {
        grid-template-columns: 1fr;
    }

    .gallery-premium {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-card-main {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 420px;
    }

    .gallery-card-wide {
        grid-column: 1 / 3;
        min-height: 220px;
    }

    .gallery-card-text {
        min-height: 220px;
    }
}

@media (max-width: 700px) {
    .gallery-premium {
        grid-template-columns: 1fr;
    }

    .gallery-card-main,
    .gallery-card-wide {
        grid-column: auto;
        min-height: 300px;
    }

    .gallery-card-small {
        min-height: 220px;
    }

    .gallery-card-text {
        min-height: auto;
    }

    .gallery-overlay {
        left: 16px;
        right: 16px;
        top: 16px;
    }

    .gallery-overlay-bottom {
        bottom: 16px;
    }

    .gallery-overlay h3 {
        font-size: 1.35rem;
    }
}
.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(13,32,43,0.08) 100%);
    pointer-events: none;
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-list p {
    margin-bottom: 10px;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    font-weight: 600;
}

.contact-form {
    padding: 28px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.field label {
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #fbfdfe;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid rgba(34, 135, 154, 0.15);
    border-color: var(--primary);
}

.site-footer {
    padding: 28px 0 36px;
    background: #f1f5f7;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-inner p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .brand-section,
    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .hero,
    .section {
        padding: 64px 0;
    }

    .hero-grid,
    .brand-section,
    .contact-grid,
    .service-grid,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        height: 50px;
    }

    .hero-card {
        max-width: none;
    }
}

/* Ajustes TecniRefinish - contenido final cliente */

.clean-list {
    margin: 14px 0 0;
    padding-left: 0;
    list-style: none;
    color: var(--text-soft);
}

.clean-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.clean-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

.header-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 32px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(20, 48, 64, 0.05);
}

.header-cert-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
}

.header-cert-img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.hero-cert-card {
    text-align: center;
}

.hero-cert-img {
    width: min(220px, 82%);
    margin: 0 auto 18px;
}

.cert-inline-box {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 16px;
}

.cert-mini-img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.brand-logo-card {
    min-height: 150px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.brand-logo-card img {
    max-height: 92px;
    width: auto;
    object-fit: contain;
}

.brand-logo-card img[alt="General Paint Refinish"] {
    max-height: 118px;
}

.brand-logo-text {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.brand-feature h3 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.brand-feature p {
    color: var(--text-soft);
}

.brand-feature-logo {
    min-height: 240px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f7fafb 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.brand-feature-logo img {
    width: min(100%, 330px);
    max-height: 150px;
    object-fit: contain;
}

.cert-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.cert-feature-img,
.iso-thumb {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(20, 48, 64, 0.08);
}

.cert-feature-img {
    padding: 12px;
    object-fit: contain;
}

.iso-thumb {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
}

.footer-certifications {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.footer-certifications img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-certifications span {
    padding: 7px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
}

@media (max-width: 1100px) {
    .header-cert {
        display: none;
    }

    .brand-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .brand-feature {
        grid-template-columns: 1fr;
    }

    .cert-stack {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .brand-logo-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-card {
        min-height: 130px;
    }

    .cert-inline-box {
        grid-template-columns: 64px 1fr;
    }

    .cert-mini-img {
        width: 64px;
        height: 64px;
    }

    .cert-stack {
        grid-template-columns: 1fr;
    }

    .brand-feature {
        padding: 24px;
    }
}

/* ===== IDENTIDAD DE MARCA MÁS VISIBLE ===== */
.header-inner {
    min-height: 92px;
    gap: 24px;
}

.brand {
    gap: 13px;
    min-width: 285px;
}

.brand-mark-wrap {
    width: 72px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brand-mark {
    width: 72px;
    height: auto;
    object-fit: contain;
}

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

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-tagline {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    max-width: 190px;
}

.desktop-nav {
    gap: 22px;
}

.hero {
    padding-top: 58px;
}

.hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding: 14px 18px 14px 16px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(20, 48, 64, 0.07);
}

.hero-brand-lockup img {
    width: 132px;
    height: auto;
    object-fit: contain;
}

.hero-brand-lockup div {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.hero-brand-lockup strong {
    color: var(--text);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero-brand-lockup span {
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 1180px) {
    .brand {
        min-width: 235px;
    }

    .brand-name {
        font-size: 1.12rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
        max-width: 160px;
    }

    .brand-mark-wrap,
    .brand-mark {
        width: 58px;
    }

    .desktop-nav {
        gap: 16px;
        font-size: 0.92rem;
    }
}

@media (max-width: 980px) {
    .brand {
        min-width: auto;
    }
}

@media (max-width: 700px) {
    .header-inner {
        min-height: 82px;
    }

    .brand-mark-wrap,
    .brand-mark {
        width: 54px;
    }

    .brand-name {
        font-size: 1.06rem;
    }

    .brand-tagline {
        display: none;
    }

    .hero-brand-lockup {
        width: 100%;
        align-items: center;
        gap: 14px;
        padding: 14px;
    }

    .hero-brand-lockup img {
        width: 96px;
    }

    .hero-brand-lockup strong {
        font-size: 1.7rem;
    }

    .hero-brand-lockup span {
        font-size: 0.72rem;
    }
}

/* ===== AJUSTE FINAL HEADER MARCA ===== */
.site-header {
    background: rgba(255, 255, 255, 0.96);
}

.header-inner {
    min-height: 118px;
    gap: 28px;
}

.brand-header-lockup {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 430px;
    flex: 0 0 auto;
}

.brand-header-symbol {
    width: 132px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-header-name {
    color: var(--text);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.brand-header-tagline {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.98rem;
    font-weight: 800;
    max-width: 300px;
}

.header-cert,
.hero-brand-lockup {
    display: none !important;
}

.hero {
    padding-top: 92px;
}

@media (max-width: 1180px) {
    .brand-header-lockup {
        min-width: 330px;
        gap: 14px;
    }

    .brand-header-symbol {
        width: 96px;
    }

    .brand-header-name {
        font-size: 1.55rem;
    }

    .brand-header-tagline {
        font-size: 0.82rem;
        max-width: 230px;
    }

    .desktop-nav {
        gap: 14px;
        font-size: 0.88rem;
    }
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 96px;
    }

    .brand-header-lockup {
        min-width: auto;
    }
}

@media (max-width: 700px) {
    .header-inner {
        min-height: 88px;
    }

    .brand-header-lockup {
        gap: 10px;
    }

    .brand-header-symbol {
        width: 70px;
    }

    .brand-header-name {
        font-size: 1.16rem;
    }

    .brand-header-tagline {
        display: none;
    }

    .hero {
        padding-top: 64px;
    }
}


/* Mensajes del formulario */
.form-alert {
    grid-column: 2;
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-weight: 700;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-alert-success {
    background: #e8f7ee;
    color: #16784d;
    border-color: #b9e7cb;
}

.form-alert-error {
    background: #fff0f0;
    color: #a32b2b;
    border-color: #f1c2c2;
}

@media (max-width: 700px) {
    .form-alert {
        grid-column: auto;
        width: 100%;
    }
}
