:root {
    --color-primary: #176b87;
    --color-primary-dark: #0f4c61;
    --color-primary-light: #2296b6;
    --color-primary-soft: #eaf7fa;

    --color-accent: #25a6a0;
    --color-accent-soft: #e8f8f7;

    --color-secondary: #0f2744;
    --color-secondary-light: #193b61;

    --color-text: #35465a;
    --color-muted: #68798d;
    --color-border: #dce5ec;

    --color-background: #ffffff;
    --color-background-light: #f5f8fa;
    --color-background-dark: #0b1f35;

    --color-success: #168768;
    --color-danger: #c94b54;

    --shadow-small: 0 10px 30px rgba(15, 39, 68, 0.08);
    --shadow-medium: 0 24px 65px rgba(15, 39, 68, 0.14);

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 26px;

    --container-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-background);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

body,
button,
input,
textarea {
    font: inherit;
}

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

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

button {
    cursor: pointer;
}

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

h1,
h2,
h3 {
    color: var(--color-secondary);
    line-height: 1.2;
}

.container {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto;
}

.section {
    padding: 50px 0;
}

.section--light {
    background-color: var(--color-background-light);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.section-label--light {
    color: #bce7ed;
}

/* Botones */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-small);
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary)
        );
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(23, 107, 135, 0.15);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    border-color: var(--color-primary-dark);
    box-shadow: 0 12px 28px rgba(23, 107, 135, 0.22);
    transform: translateY(-2px);
}

.button--secondary {
    color: var(--color-secondary);
    border-color: var(--color-border);
    background: #ffffff;
    box-shadow: none;
}

.button--secondary:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
}

.button--small {
    min-height: 42px;
    padding: 0 18px;
}

.button--white {
    flex-shrink: 0;
    color: var(--color-primary-dark);
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: none;
}

.button--white:hover {
    color: var(--color-primary-dark);
    border-color: #d6f0f2;
    background: #d6f0f2;
}

/* Cabecera */

.header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(220, 229, 236, 0.85);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 18px rgba(15, 39, 68, 0.04);
    backdrop-filter: blur(16px);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

/* Logo */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-secondary);
    font-weight: 800;
}

.logo__symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary-light)
        );
    box-shadow: 0 8px 20px rgba(23, 107, 135, 0.2);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.logo__brand {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.logo__name {
    color: var(--color-secondary);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.logo__it {
    margin-left: 5px;
    color: var(--color-primary);
    font-size: 1.22rem;
    font-weight: 900;
}

/* Navegación */

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation > a:not(.button) {
    position: relative;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 650;
    transition: color 0.2s ease;
}

.navigation > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    margin-inline: auto;
    border-radius: 2px;
    background-color: var(--color-primary);
    content: "";
    transition: width 0.2s ease;
}

.navigation > a:not(.button):hover {
    color: var(--color-primary);
}

.navigation > a:not(.button):hover::after {
    width: 100%;
}

/* Botón móvil */

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background-color: transparent;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background-color: var(--color-secondary);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(34, 150, 182, 0.16),
            transparent 31%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(37, 166, 160, 0.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f3f8fa 100%
        );
}

.hero::before {
    position: absolute;
    top: -180px;
    right: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(23, 107, 135, 0.1);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    right: 60px;
    bottom: -220px;
    width: 360px;
    height: 360px;
    border: 70px solid rgba(37, 166, 160, 0.05);
    border-radius: 50%;
    content: "";
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 80px;
}

.hero h1 {
    max-width: 750px;
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: var(--color-primary);
}

.hero__description {
    max-width: 690px;
    margin-bottom: 32px;
    color: var(--color-muted);
    font-size: 1.15rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero__benefits li {
    position: relative;
    padding-left: 25px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 650;
}

.hero__benefits li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--color-success);
    content: "✓";
}

.hero__visual {
    display: flex;
    justify-content: center;
}

/* Tarjeta del hero */

.dashboard-card {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 236, 0.95);
    border-radius: var(--radius-large);
    background-color: #ffffff;
    box-shadow: var(--shadow-medium);
    transform: rotate(1.2deg);
}

.dashboard-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 25px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
    font-weight: 700;
}

.dashboard-card__header div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dashboard-card__status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 0 5px rgba(22, 135, 104, 0.12);
}

.dashboard-card__body {
    display: grid;
    gap: 15px;
    padding: 30px;
    background-color: var(--color-background-light);
}

.dashboard-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 19px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background-color: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.dashboard-item:hover {
    border-color: #b9dce5;
    box-shadow: var(--shadow-small);
    transform: translateY(-2px);
}

.dashboard-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: var(--color-primary);
    background-color: var(--color-primary-soft);
    font-weight: 800;
}

.dashboard-item strong,
.dashboard-item span {
    display: block;
}

.dashboard-item span {
    color: var(--color-muted);
    font-size: 0.85rem;
}

.dashboard-item__check {
    color: var(--color-success) !important;
    font-size: 1.15rem !important;
    font-weight: 800;
}

/* Servicios */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    padding: 35px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background-color: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.service-card:hover {
    border-color: #afd8e2;
    box-shadow: var(--shadow-small);
    transform: translateY(-5px);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    border-radius: 15px;
    color: var(--color-primary);
    background:
        linear-gradient(
            135deg,
            var(--color-primary-soft),
            var(--color-accent-soft)
        );
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.service-card p {
    color: var(--color-muted);
}

.service-card ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 23px;
    font-size: 0.95rem;
}

.service-card li::before {
    position: absolute;
    left: 0;
    color: var(--color-success);
    content: "✓";
}

/* Pasos */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.step {
    padding: 35px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background-color: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.step:hover {
    border-color: #afd8e2;
    box-shadow: var(--shadow-small);
    transform: translateY(-4px);
}

.step__number {
    display: block;
    margin-bottom: 25px;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 900;
}

.step h3 {
    margin-bottom: 14px;
}

.step p {
    margin-bottom: 0;
    color: var(--color-muted);
}

/* Sección de límites */

.limits {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 70px;
}

.limits__content h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.limits__content p {
    margin-bottom: 28px;
    color: var(--color-muted);
}

.limits__lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.limits-card {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
}

.limits-card--yes {
    border-color: #cce9df;
    background-color: #f0fbf7;
}

.limits-card--no {
    border-color: #efd4d7;
    background-color: #fff6f6;
}

.limits-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.limits-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.limits-card li {
    position: relative;
    padding-left: 25px;
    font-size: 0.92rem;
}

.limits-card--yes li::before {
    position: absolute;
    left: 0;
    color: var(--color-success);
    content: "✓";
}

.limits-card--no li::before {
    position: absolute;
    left: 0;
    color: var(--color-danger);
    content: "×";
}

/* Preguntas frecuentes */

.faq {
    max-width: 850px;
    margin-inline: auto;
}

.faq__item {
    margin-bottom: 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background-color: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.faq__item:hover,
.faq__item[open] {
    border-color: #b9dce5;
    box-shadow: 0 8px 22px rgba(15, 39, 68, 0.06);
}

.faq__item summary {
    position: relative;
    padding: 22px 55px 22px 24px;
    color: var(--color-secondary);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    position: absolute;
    top: 18px;
    right: 24px;
    color: var(--color-primary);
    content: "+";
    font-size: 1.5rem;
}

.faq__item[open] summary::after {
    content: "−";
}

.faq__item p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--color-muted);
}

/* Llamada a la acción */

.contact-cta {
    padding: 75px 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--color-secondary),
            var(--color-primary-dark)
        );
}

.contact-cta__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-cta h2 {
    max-width: 700px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contact-cta p {
    max-width: 650px;
    margin-bottom: 0;
    color: #d7edf0;
}

/* Pie de página */

.footer {
    color: #cbd7e3;
    background:
        linear-gradient(
            145deg,
            var(--color-background-dark),
            var(--color-secondary)
        );
}

.footer__content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-top: 70px;
    padding-bottom: 55px;
}

.logo--footer {
    margin-bottom: 20px;
}

.logo--footer .logo__name {
    color: #ffffff;
}

.logo--footer .logo__it {
    color: #67d0d2;
}

.footer__description {
    max-width: 380px;
    margin-bottom: 0;
    color: #9cafc1;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__links h2 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.footer__links a,
.footer__links span {
    color: #b9c7d5;
    font-size: 0.95rem;
}

.footer__links a {
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(185, 199, 213, 0.16);
}

.footer__bottom p {
    margin: 0;
    color: #94a7ba;
    font-size: 0.9rem;
}

/* Tablets */

@media (max-width: 1000px) {
    .navigation {
        gap: 20px;
    }

    .hero__content {
        gap: 50px;
    }
}

@media (max-width: 900px) {
    .menu-button {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 20px;
        border: 1px solid var(--color-border);
        border-radius: 14px;
        background-color: #ffffff;
        box-shadow: var(--shadow-medium);
    }

    .navigation--open {
        display: flex;
    }

    .navigation a {
        padding: 11px 12px;
    }

    .navigation > a:not(.button)::after {
        display: none;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__text {
        text-align: center;
    }

    .hero__description {
        margin-inline: auto;
    }

    .hero__actions,
    .hero__benefits {
        justify-content: center;
    }

    .hero__visual {
        width: 100%;
    }

    .services-grid,
    .limits {
        grid-template-columns: 1fr;
    }

    .limits {
        gap: 45px;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
    }

    .footer__content > div:first-child {
        grid-column: 1 / -1;
    }
}

/* Móviles */

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

    .section-heading {
        margin-bottom: 40px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .services-grid,
    .steps,
    .limits__lists {
        grid-template-columns: 1fr;
    }

    .contact-cta__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }

    .footer__content > div:first-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 2.05rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__benefits {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-card {
        transform: none;
    }

    .service-card,
    .step {
        padding: 27px;
    }

    .dashboard-card__body {
        padding: 18px;
    }

    .dashboard-item {
        padding: 15px;
    }

    .dashboard-item__icon {
        width: 40px;
        height: 40px;
    }

    .contact-cta .button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .logo__symbol {
        width: 40px;
        height: 40px;
    }

    .logo__name,
    .logo__it {
        font-size: 1.05rem;
    }

    .header__content {
        min-height: 70px;
    }

    .navigation {
        top: 70px;
        right: 14px;
        left: 14px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .dashboard-item {
        grid-template-columns: auto 1fr;
    }

    .dashboard-item__check {
        display: none;
    }
}

/* =====================================================
   PÁGINA DE CONTACTO
===================================================== */

.contact-page {
    min-height: 75vh;
    padding: 40px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(34, 150, 182, 0.12),
            transparent 30%
        ),
        var(--color-background-light);
}

.contact-page__heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-page__heading h1 {
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

.contact-page__heading p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 1.08rem;
}

/* =====================================================
   DISTRIBUCIÓN DE LA PÁGINA
===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 40px;
}

/* =====================================================
   INFORMACIÓN DE CONTACTO
===================================================== */

.contact-info {
    padding: 40px;
    border-radius: var(--radius-large);
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--color-secondary),
            var(--color-primary-dark)
        );
    box-shadow: var(--shadow-medium);
}

.contact-info h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 35px;
    color: #d4e5eb;
}

.contact-info__items {
    display: grid;
    gap: 18px;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.06);
}

.contact-info__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 12px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
    font-size: 0;
}

/* =====================================================
   ICONOS DE TELÉFONO, CORREO Y HORARIO
===================================================== */

.contact-info__icon::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

/* Teléfono */

.contact-info__item:nth-child(1) .contact-info__icon::before {
    content: "\260E";
    transform: translateY(-1px);
}

/* Correo electrónico */

.contact-info__item:nth-child(2) .contact-info__icon::before {
    content: "\2709";
    transform: translateY(-1px);
}

/* Horario */

.contact-info__item:nth-child(3) .contact-info__icon::before {
    content: "\23F1";
    transform: translateY(-1px);
}

.contact-info__item strong,
.contact-info__item a,
.contact-info__item span {
    display: block;
}

.contact-info__item strong {
    margin-bottom: 3px;
    color: #ffffff;
}

.contact-info__item a,
.contact-info__item div > span {
    color: #cde4e9;
    word-break: break-word;
}

.contact-info__item a:hover {
    color: #ffffff;
}

/* =====================================================
   TARJETA DEL FORMULARIO
===================================================== */

.contact-form-card {
    width: 100%;
    padding: 32px 40px;
    margin-top: 0;
    align-self: start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background-color: #ffffff;
    box-shadow: var(--shadow-small);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-group label {
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    background-color: #ffffff;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    min-height: 44px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 115px;
    padding: 12px 15px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(23, 107, 135, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #99a7b5;
}

.form-required {
    margin: -2px 0 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.contact-form__button {
    width: 100%;
    min-height: 46px;
    border: 0;
}

/* =====================================================
   MENSAJES DEL FORMULARIO
===================================================== */

.alert {
    padding: 18px 20px;
    margin-bottom: 25px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 0.95rem;
}

.alert ul {
    padding-left: 20px;
    margin: 10px 0 0;
}

.alert--success {
    color: #11674f;
    border-color: #bce3d6;
    background-color: #edf9f5;
}

.alert--error {
    color: #9d343d;
    border-color: #efc7cb;
    background-color: #fff3f4;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        margin-top: 0;
    }
}

/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 650px) {

    .contact-page {
        padding: 70px 0;
    }

    .contact-page__heading {
        margin-bottom: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-card {
        padding: 28px;
    }

    .contact-info__item {
        padding: 16px;
    }

    .contact-info__icon {
        width: 44px;
        height: 44px;
    }

    .contact-form {
        gap: 14px;
    }

    .form-row {
        gap: 14px;
    }

    .form-group textarea {
        min-height: 110px;
    }
}

@media (max-width: 400px) {

    .contact-info,
    .contact-form-card {
        padding: 22px;
    }

    .contact-info__item {
        align-items: center;
        padding: 14px;
    }

    .contact-info__icon {
        width: 42px;
        height: 42px;
    }

    .contact-info__icon::before {
        font-size: 1.15rem;
    }
}
.admin-link{
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.admin-link:hover{
    color: inherit;
}
/* =====================================================
   AVISO DE COOKIES
===================================================== */

.cookie-banner {
    position: fixed;
    z-index: 5000;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: none;
    max-width: 760px;
    padding: 22px;
    margin-inline: auto;
    border: 1px solid rgba(220, 229, 236, 0.95);
    border-radius: var(--radius-medium);
    color: var(--color-text);
    background-color: #ffffff;
    box-shadow: var(--shadow-medium);
}

.cookie-banner--visible {
    display: block;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__text {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.cookie-banner__text strong {
    color: var(--color-secondary);
}

.cookie-banner__text a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
    color: var(--color-primary-dark);
}

.cookie-banner__button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-small);
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary)
        );
    font-weight: 700;
    cursor: pointer;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.cookie-banner__button:hover {
    box-shadow: 0 10px 25px rgba(23, 107, 135, 0.22);
    transform: translateY(-2px);
}

.cookie-banner__button:focus-visible {
    outline: 3px solid rgba(34, 150, 182, 0.25);
    outline-offset: 3px;
}

@media (max-width: 650px) {
    .cookie-banner {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 20px;
    }

    .cookie-banner__content {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

/* =====================================================
   WHATSAPP FLOTANTE
===================================================== */

.whatsapp-float {
    position: fixed;
    z-index: 4500;
    right: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    border-radius: 50%;
    background-color: #ffffff;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 58px;
        height: 58px;
    }

    .whatsapp-float img {
        width: 43px;
        height: 43px;
    }
}
/* =====================================================
   PRE-CHAT WHATSAPP
===================================================== */

.whatsapp-widget {
    position: fixed;
    z-index: 4500;
    right: 24px;
    bottom: 24px;
}

.whatsapp-widget__toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-widget__toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.whatsapp-widget__toggle img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.whatsapp-widget__panel {
    position: absolute;
    right: 0;
    bottom: 78px;

    width: min(360px, calc(100vw - 32px));

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 18px;

    background-color: #ffffff;
    box-shadow: var(--shadow-medium);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-widget__panel--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-widget__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 20px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary)
        );
}

.whatsapp-widget__header strong,
.whatsapp-widget__header span {
    display: block;
}

.whatsapp-widget__header strong {
    margin-bottom: 3px;
    font-size: 1rem;
}

.whatsapp-widget__header span {
    color: #d7edf0;
    font-size: 0.78rem;
}

.whatsapp-widget__close {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    padding: 0;
    border: 0;
    border-radius: 8px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);

    font-size: 1.45rem;
    line-height: 1;
}

.whatsapp-widget__body {
    padding: 22px;
}

.whatsapp-widget__body p {
    margin-bottom: 10px;
}

.whatsapp-widget__body label {
    display: block;

    margin-top: 18px;
    margin-bottom: 7px;

    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.whatsapp-widget__body textarea {
    width: 100%;
    min-height: 105px;

    padding: 12px 14px;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    color: var(--color-text);
    background-color: #ffffff;

    resize: vertical;
    outline: none;
}

.whatsapp-widget__body textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(23, 107, 135, 0.1);
}

.whatsapp-widget__send {
    width: 100%;
    min-height: 46px;

    margin-top: 15px;

    border: 0;
    border-radius: 10px;

    color: #ffffff;
    background-color: #25d366;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-widget__send:hover {
    background-color: #1fb95a;
    transform: translateY(-1px);
}

@media (max-width: 650px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-widget__toggle {
        width: 58px;
        height: 58px;
    }

    .whatsapp-widget__toggle img {
        width: 43px;
        height: 43px;
    }

    .whatsapp-widget__panel {
        bottom: 72px;
    }
}

/* =====================================================
   POLÍTICA DE PRIVACIDAD DEL FORMULARIO
===================================================== */

.form-privacy {
    margin-top: 4px;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.privacy-check span {
    display: block;
}

.privacy-check a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.privacy-check a:hover {
    text-decoration: underline;
}

/* Logo gráfico ServCompyre IT */
.logo__image {
    display: block;
    width: auto;
    height: 62px;
    max-width: 430px;
    object-fit: contain;
}
@media (max-width: 1000px) {
    .logo__image { height: 56px; max-width: 370px; }
}
@media (max-width: 700px) {
    .logo__image { height: 50px; max-width: min(68vw, 320px); }
}
@media (max-width: 480px) {
    .logo__image { height: 44px; max-width: min(70vw, 275px); }
}
@media (max-width: 380px) {
    .logo__image { height: 40px; max-width: 245px; }
}


/* =====================================================
   AJUSTE VISUAL SUAVE - SERVCOMPYRE IT
   Títulos y espacios ligeramente más compactos
   ===================================================== */

@media (min-width: 701px) {
    /* Título principal: reducción moderada */
    .hero h1 {
        font-size: clamp(2.10rem, 3.6vw, 3.35rem);
    }

    /* Títulos de secciones */
    .section-heading h2,
    .limits__content h2,
    .contact-cta h2 {
        font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    }

    /* Menos aire entre encabezado y contenido */
    .section-heading {
        margin-bottom: 46px;
    }

    /* Tarjetas: un poco más compactas, sin cambiar su diseño */
    .service-card,
    .step {
        padding: 32px;
    }

    .service-card__icon {
        margin-bottom: 21px;
    }

    .step__number {
        margin-bottom: 21px;
    }

    /* CTA ligeramente menos alta */
    .contact-cta {
        padding: 64px 0;
    }

    /* Footer algo más compacto */
    .footer__content {
        padding-top: 58px;
        padding-bottom: 46px;
    }

    /* Página de contacto */
    .contact-page__heading {
        margin-bottom: 46px;
    }

    .contact-page__heading h1 {
        font-size: clamp(2.00rem, 3.6vw, 3.10rem);
    }
}

/* Ajuste móvil muy leve: conserva comodidad táctil y legibilidad */
@media (max-width: 700px) {
    .section {
        padding: 64px 0;
    }

    .section-heading h2 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }

    .hero {
        padding: 68px 0;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .contact-page {
        padding: 60px 0;
    }

    .contact-page__heading h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 1.90rem;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.75rem;
    }
}

/* =====================================================
   CONTACTO - IGUALAR ALTURA DE LAS DOS TARJETAS
===================================================== */
@media (min-width: 901px) {
    .contact-grid {
        align-items: stretch;
    }

    .contact-info,
    .contact-form-card {
        height: 100%;
    }
}

/* =====================================================
   WHATSAPP - ICONO SIN CÍRCULO BLANCO EXTERIOR
   ===================================================== */
.whatsapp-float,
.whatsapp-widget__toggle {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.whatsapp-float:hover,
.whatsapp-widget__toggle:hover {
    box-shadow: none !important;
}

