/*
 * Tema visual Antenistas Asturias
 * Conserva la estructura de site.css y aporta una identidad más técnica.
 */

:root {
    --navy: #12393d;
    --navy-deep: #071d20;
    --blue: #17666b;
    --orange: #0b8f86;
    --orange-dark: #05655f;
    --orange-light: #5eead4;
    --sand: #e5efec;
    --cream: #f2f6f4;
    --white: #fff;
    --ink: #17272a;
    --muted: #596c6e;
    --line: #cbd9d6;
    --radius: 5px;
    --shadow: 0 22px 55px rgb(7 29 32 / 14%);
    --container: 1220px;
    --signal: #e8b93f;
}

body {
    background:
        linear-gradient(90deg, transparent 0, transparent calc(50% - 610px), rgb(11 143 134 / 4%) calc(50% - 610px), transparent calc(50% - 609px)),
        var(--cream);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

.skip-link:focus {
    outline: 3px solid var(--signal);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgb(255 255 255 / 92%);
    border-bottom: 1px solid rgb(18 57 61 / 12%);
    box-shadow: 0 12px 35px rgb(7 29 32 / 7%);
    backdrop-filter: blur(16px);
}

.trust-bar {
    background:
        repeating-linear-gradient(135deg, transparent 0 12px, rgb(255 255 255 / 3%) 12px 13px),
        var(--navy-deep);
    color: #d8e9e7;
}

.trust-bar__inner {
    justify-content: space-between;
    min-height: 32px;
}

.trust-bar span::before {
    width: 9px;
    height: 2px;
    margin-bottom: 4px;
    background: var(--signal);
    border-radius: 0;
}

.header-main {
    min-height: 78px;
}

.brand {
    gap: 15px;
}

.brand img {
    padding: 7px;
    background: var(--navy-deep);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgb(11 143 134 / 10%);
}

.brand__text strong {
    color: var(--navy-deep);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: .04em;
}

.brand__text span {
    color: var(--orange-dark);
    font-size: 12px;
    letter-spacing: .34em;
}

.main-nav {
    gap: 24px;
}

.main-nav a {
    color: var(--navy);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.main-nav a::after {
    height: 3px;
    background: var(--signal);
}

.phone-cta--header {
    min-width: 220px;
    border-radius: 3px;
    background: var(--navy);
    box-shadow: 6px 6px 0 rgb(11 143 134 / 17%);
}

.phone-cta__eyebrow {
    color: #cfe7e4;
    font-size: 13px;
    letter-spacing: .02em;
}

.hero {
    min-height: 610px;
    background: var(--navy-deep);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: -205px;
    left: -190px;
    width: 450px;
    height: 450px;
    border: 1px solid rgb(94 234 212 / 16%);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgb(94 234 212 / 5%),
        0 0 0 110px rgb(94 234 212 / 4%);
    pointer-events: none;
}

.hero__media {
    width: min(59%, 980px);
    margin-left: auto;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__media img {
    filter: saturate(.82) contrast(1.07);
}

.hero__shade {
    background: linear-gradient(90deg, var(--navy-deep) 0%, rgb(7 29 32 / 98%) 34%, rgb(7 29 32 / 72%) 54%, rgb(7 29 32 / 8%) 78%);
}

.hero__content {
    padding-block: 72px;
}

.hero__content > * {
    max-width: 585px;
}

.hero .eyebrow {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 7px 11px;
    color: var(--navy-deep);
    background: var(--signal);
    font-size: 11px;
    letter-spacing: .12em;
}

.hero h1 {
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
    font-size: clamp(54px, 6.4vw, 82px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .94;
}

.hero__lead {
    color: #d6e7e5;
    font-size: clamp(18px, 1.8vw, 21px);
}

.button {
    min-height: 54px;
    border-radius: 2px;
    letter-spacing: .025em;
}

.button--primary {
    background: var(--orange);
    box-shadow: 5px 5px 0 rgb(94 234 212 / 18%);
}

.button--primary:hover {
    background: #0aa79c;
}

.button--phone {
    gap: 12px;
    white-space: nowrap;
}

.button--phone span {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.button--phone strong {
    font-size: 18px;
    letter-spacing: .055em;
}

.button--ghost {
    border-color: rgb(255 255 255 / 34%);
    background: rgb(7 29 32 / 45%);
}

.phone-number-inline {
    width: auto;
    margin-inline: .18em;
    color: var(--orange-dark);
    font-weight: 850;
    letter-spacing: .035em;
    vertical-align: baseline;
}

.hero__proof {
    gap: 9px;
}

.hero__proof li {
    padding: 7px 11px;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgb(255 255 255 / 12%);
}

.hero__proof li::before {
    content: "+";
    color: var(--signal);
}

.content-section {
    padding: 0 0 105px;
}

.prose--intro {
    position: relative;
    z-index: 4;
    max-width: 1040px;
    margin-top: -48px;
    padding: 62px 72px;
    background: var(--white);
    border-top: 6px solid var(--orange);
    box-shadow: var(--shadow);
}

.prose .lede {
    color: var(--navy-deep);
    font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 650;
    line-height: 1.42;
}

.section-kicker {
    gap: 14px;
    color: var(--orange-dark);
    font-size: 12px;
    letter-spacing: .16em;
}

.section-kicker::after {
    content: "";
    width: 64px;
    height: 1px;
    background: currentColor;
    opacity: .35;
}

.section-kicker span {
    width: 38px;
    height: 28px;
    background: var(--navy-deep);
    border-radius: 0;
    color: var(--orange-light);
    font-size: 13px;
}

.callout {
    padding: 26px;
    background: #edf5f3;
    border: 1px solid #c8ddd9;
    border-left: 1px solid #c8ddd9;
    border-radius: 4px;
    box-shadow: inset 5px 0 0 var(--signal);
}

.callout__icon {
    background: var(--orange);
    border-radius: 50%;
}

.inline-cta {
    color: #dceae8;
    background:
        linear-gradient(120deg, rgb(11 143 134 / 18%), transparent 45%),
        var(--navy-deep);
    border: 0;
    border-radius: 3px;
    box-shadow: 8px 8px 0 rgb(11 143 134 / 15%);
}

.inline-cta__icon {
    color: var(--navy-deep);
    background: var(--signal);
    border-radius: 50%;
}

.inline-cta__title {
    color: var(--white);
    font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-weight: 750;
}

.inline-cta__meta {
    color: var(--orange-light);
}

.inline-cta__action {
    background: var(--orange);
    border-radius: 2px;
}

.service-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
}

.service-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(18 57 61 / 3%) 1px, transparent 1px);
    background-size: 100% 44px;
    pointer-events: none;
}

.service-card {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: var(--container);
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: start;
}

.service-card__image {
    position: sticky;
    top: 125px;
    margin: 0;
}

.service-card__image img {
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    box-shadow: 12px 12px 0 rgb(11 143 134 / 15%);
}

.service-card__image figcaption {
    padding-left: 14px;
    border-left: 3px solid var(--signal);
    font-style: normal;
}

.service-card__content {
    max-width: none;
    margin: 0;
}

.service-card h2,
.final-cta__title {
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
    font-size: clamp(39px, 4.5vw, 58px);
    font-weight: 750;
    letter-spacing: -.035em;
}

.service-section--warm {
    background: var(--sand);
}

.service-section--warm .service-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
}

.service-section--warm .service-card__image {
    order: 2;
}

.service-section--dark {
    background:
        radial-gradient(circle at 90% 15%, rgb(94 234 212 / 12%), transparent 24%),
        var(--navy-deep);
}

.service-section--dark .service-card__image img {
    box-shadow: 12px 12px 0 rgb(232 185 63 / 22%);
}

.text-link {
    padding-bottom: 5px;
    border-bottom: 2px solid currentColor;
}

.service-areas {
    background: #e9f1ef;
}

.service-areas h2 {
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
    font-weight: 750;
}

.service-area-card {
    border: 0;
    border-left: 5px solid var(--orange);
    border-radius: 2px;
    box-shadow: 6px 6px 0 rgb(18 57 61 / 9%);
}

.service-area-card__title {
    font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-weight: 750;
}

.final-cta {
    background:
        repeating-linear-gradient(135deg, transparent 0 18px, rgb(255 255 255 / 4%) 18px 19px),
        var(--orange-dark);
}

.final-cta .eyebrow {
    color: var(--signal);
}

.phone-cta--large {
    background: var(--navy-deep);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 2px;
}

.site-footer {
    background: #061719;
}

.brand--footer .brand__text strong {
    color: var(--white);
}

.footer-title {
    color: var(--orange-light);
}

.footer-bottom {
    border-top-color: rgb(94 234 212 / 16%);
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .hero__media {
        width: 70%;
    }

    .service-card,
    .service-section--warm .service-card {
        grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .site-header {
        position: relative;
    }

    .hero {
        min-height: 670px;
    }

    .hero__media {
        width: 100%;
        clip-path: none;
    }

    .hero__shade {
        background: linear-gradient(0deg, rgb(7 29 32 / 98%) 4%, rgb(7 29 32 / 78%) 61%, rgb(7 29 32 / 22%));
    }

    .hero__content > * {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 64px);
    }

    .hero__proof li {
        padding: 4px 0;
        background: transparent;
        border: 0;
    }

    .content-section {
        padding-bottom: 68px;
    }

    .prose--intro {
        margin-top: -26px;
        padding: 38px 22px;
    }

    .service-section {
        padding: 72px 0;
    }

    .service-card,
    .service-section--warm .service-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .service-section--warm .service-card__image {
        order: 0;
    }

    .service-card__image {
        position: static;
    }

    .service-card__image img {
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-radius: 2px;
        box-shadow: 7px 7px 0 rgb(11 143 134 / 16%);
    }

    .service-card h2,
    .final-cta__title {
        font-size: 38px;
    }

    .inline-cta {
        box-shadow: 5px 5px 0 rgb(11 143 134 / 15%);
    }

    .mobile-call {
        background: var(--orange-dark);
        border-top: 1px solid rgb(255 255 255 / 18%);
    }
}
