* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Variante activa: azul oscuro a mas oscuro (izquierda -> derecha) */
    --header-start: #1e3a8a;
    --header-end: #172554;

    /*
    Variantes para probar (copia y pega en --header-start / --header-end):
    1) Azul corporativo oscuro: #1e40af / #1e3a8a
    2) Azul profundo elegante: #1d4ed8 / #1e3a8a
    3) Azul balanceado: #2563eb / #1d4ed8
    4) Azul sobrio frio: #1e3a8a / #172554
    5) Azul claro (la anterior): #2b78e4 / #1f5fbe
    */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f7f7f7;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    background: linear-gradient(90deg, var(--header-start) 0%, var(--header-end) 100%);
    color: white;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 18px rgba(11, 37, 78, 0.28);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo img {
    height: 84px;
    width: auto;
    display: block;
    filter: drop-shadow(0 7px 14px rgba(8, 20, 45, 0.45));
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 10px;
}

nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.38rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(8, 20, 45, 0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

nav a:focus-visible,
.social-link:focus-visible,
.email-action-link:focus-visible,
.email-action-copy:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.contact-btn:focus-visible,
.contact-social-link:focus-visible,
.service-modal-btn:focus-visible,
.service-modal-close:focus-visible,
.whatsapp-float:focus-visible {
    outline: 3px solid rgba(191, 219, 254, 0.95);
    outline-offset: 3px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

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

.social-whatsapp {
    background-color: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.45);
}

.social-facebook {
    background-color: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.45);
}

.social-instagram {
    background: linear-gradient(135deg, rgba(245, 133, 41, 0.22), rgba(221, 42, 123, 0.22), rgba(129, 52, 175, 0.22));
    border-color: rgba(255, 255, 255, 0.2);
}

.social-email {
    background-color: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.42);
}

.social-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
}

.social-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.social-instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    border-color: transparent;
}

.social-email:hover {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

.social-email-wrap {
    position: relative;
}

.email-actions[hidden] {
    display: none;
}

.email-actions {
    position: absolute;
    top: 48px;
    right: 0;
    width: 176px;
    background: #ffffff;
    border: 1px solid #d1ddee;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
    padding: 8px;
    z-index: 1300;
    display: grid;
    gap: 6px;
}

.email-action-link,
.email-action-copy {
    width: 100%;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.email-action-link:hover,
.email-action-copy:hover {
    background: #dbeafe;
}

/* HERO */
.hero {
    background: linear-gradient(120deg, #eef4ff 0%, #f7faff 48%, #ffffff 100%);
    color: #0f172a;
    padding: 62px 0 74px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: center;
}

.hero-text {
    text-align: left;
    max-width: 560px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: none;
    background: none;
    color: #1e3a8a;
    font-weight: 800;
    font-size: 0.84rem;
    margin-bottom: 16px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.hero-tag::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
}

.hero h1 {
    font-size: clamp(2.35rem, 4.45vw, 4.3rem);
    line-height: 1.04;
    margin-bottom: 22px;
    color: #091734;
    letter-spacing: -1px;
    text-wrap: balance;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    color: #1d4ed8;
    padding: 0 6px 2px 2px;
}

.hero-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 14px;
    border-radius: 999px;
    background-color: rgba(37, 99, 235, 0.24);
    z-index: -1;
}

.hero-description {
    max-width: 560px;
    margin-bottom: 34px;
    font-size: clamp(1.04rem, 1.2vw, 1.28rem);
    line-height: 1.55;
    color: #31486f;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1f4aa8 0%, #173d8e 100%);
    color: white;
    border: 1px solid #16377d;
    box-shadow: 0 12px 24px rgba(23, 61, 142, 0.33);
    padding: 15px 34px;
    border-radius: 999px;
    letter-spacing: 0.6px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(23, 61, 142, 0.42);
    filter: brightness(1.06);
}

.btn-secondary {
    background-color: white;
    color: #0c1f4d;
    border: 2px solid #b9c7df;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #f8fbff;
    border-color: #8ea4c8;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.hero-image {
    width: 100%;
    justify-self: end;
}

.hero-image img {
    width: 100%;
    height: clamp(420px, 60vh, 680px);
    display: block;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

/* SECTIONS */
section {
    padding: 70px 0;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    color: #0f172a;
}

.section-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    color: #444;
}

/* SERVICES */
.services {
    background: linear-gradient(180deg, #f7faff 0%, #eef4fc 100%);
}

.services-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.services-showcase-image {
    background-color: #e5edf8;
    border: 1px solid #d5e1f1;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.services-showcase-image img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 26px rgba(13, 31, 67, 0.18));
}

.services-showcase-panel {
    background-color: #ffffff;
    border: 1px solid #d9e3f3;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.services-showcase-panel h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 14px;
}

.services-showcase-panel p {
    color: #334155;
    margin-bottom: 16px;
}

.services-points {
    list-style: none;
    display: grid;
    gap: 10px;
}

.services-points li {
    color: #1f365e;
    font-weight: 500;
    position: relative;
    padding-left: 22px;
}

.services-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.service-card {
    background-color: white;
    padding: 24px 24px 68px;
    border-radius: 14px;
    border: 1px solid #d7e1ef;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8 0%, #22c55e 100%);
}

.service-card::after {
    content: attr(data-cta);
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0b3b20;
    background-color: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 8px 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
    border-color: #b8c9e4;
}

.service-card:hover::after,
.service-card:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.service-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 2px;
}

.service-number {
    display: inline-block;
    min-width: 38px;
    text-align: center;
    line-height: 1;
    font-size: 1.02rem;
    color: #1e40af;
    background-color: #e8effb;
    border: 1px solid #c8d9f4;
    border-radius: 999px;
    padding: 5px 11px;
    font-weight: 800;
    margin-bottom: 10px;
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.service-card:hover .service-number,
.service-card:focus-visible .service-number {
    transform: translateY(-1px);
    background-color: #dbeafe;
    border-color: #93c5fd;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 1.45rem;
}

.service-card p {
    color: #334155;
}

/* WORKFLOW */
.workflow {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 28%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0) 26%),
        linear-gradient(135deg, #07111f 0%, #0a1730 52%, #071422 100%);
}

.workflow::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 420px;
    height: 420px;
    left: -180px;
    top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0) 72%);
    pointer-events: none;
}

.workflow::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 460px;
    height: 460px;
    right: -180px;
    bottom: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0) 72%);
    pointer-events: none;
}

.workflow .container {
    position: relative;
    z-index: 2;
}

.workflow-heading {
    margin: 0 auto 34px;
    text-align: center;
}

.workflow h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 12px;
    color: #f8fbff;
    font-size: clamp(2.3rem, 3vw, 3.35rem);
    letter-spacing: -0.04em;
}

.workflow h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 92px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d4ed8 0%, #22c55e 100%);
}

.workflow-layout {
    display: grid;
    gap: 28px;
    align-items: stretch;
}

.workflow-media-panel {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, 0.14);
    background: #091324;
    box-shadow: 0 28px 60px rgba(2, 8, 23, 0.38);
}

.workflow-media-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.06) 0%, rgba(7, 17, 31, 0.24) 60%, rgba(7, 17, 31, 0.74) 100%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 30%);
    z-index: 1;
    pointer-events: none;
}

.workflow-media-display {
    position: absolute;
    inset: 0;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.workflow-media-display.is-fading {
    opacity: 0.22;
}

.workflow-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.workflow-step {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
    border: 1px solid rgba(191, 219, 254, 0.24);
    border-radius: 24px;
    padding: 28px 26px 24px 92px;
    box-shadow: 0 18px 34px rgba(2, 8, 23, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.workflow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 24px 0 0 24px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 38px rgba(2, 8, 23, 0.24);
}

.workflow-step:nth-child(2)::before {
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
}

.workflow-step:nth-child(3)::before {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}

.workflow-step-number {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    font-size: 0.96rem;
    color: #1e3a8a;
    background-color: #eaf1fc;
    border: 1px solid #c3d5f0;
    border-radius: 14px;
    font-weight: 800;
}

.workflow-step:nth-child(2) .workflow-step-number {
    color: #075985;
    background-color: #e0f2fe;
    border-color: #bae6fd;
}

.workflow-step:nth-child(3) .workflow-step-number {
    color: #166534;
    background-color: #dcfce7;
    border-color: #86efac;
}

.workflow-step-tag {
    margin: 0 0 12px;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.workflow-step:nth-child(2) .workflow-step-tag {
    color: #0284c7;
}

.workflow-step:nth-child(3) .workflow-step-tag {
    color: #16a34a;
}

.workflow-step h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1.18;
    padding-right: 0;
}

.workflow-step > p:not(.workflow-step-tag) {
    margin: 0;
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

/* CONTACT */
.contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7faff 0%, #eaf2fb 100%);
}

.contact::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -140px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.14) 0%, rgba(30, 58, 138, 0) 72%);
    pointer-events: none;
}

.contact-shell {
    position: relative;
    z-index: 1;
}

.contact-logo {
    display: flex;
    justify-content: center;
    margin: -2px 0 18px;
}

.contact-logo img {
    height: 86px;
    width: auto;
    border: 1px solid #c6d6ee;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 6px 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-panel {
    background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #d3deef;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.contact-panel h3 {
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.contact-panel p {
    color: #334155;
}

.contact-panel-primary {
    border-left: 5px solid #1d4ed8;
}

.contact-phone-label {
    margin-top: 2px;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 0.94rem;
    font-weight: 600;
}

.contact-phone-link {
    color: #0f172a;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

.contact-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.96rem;
}

.contact-btn-call {
    background-color: #e2e8f0;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.contact-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff;
    border: 1px solid #16a34a;
}

.contact-panel-data h3 {
    margin-bottom: 12px;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-social-link {
    min-width: 145px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #d3deef;
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.contact-social-link svg {
    width: 22px;
    height: 22px;
}

.contact-social-whatsapp {
    border-color: #86efac;
    background: #f0fdf4;
    color: #15803d;
}

.contact-social-facebook {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.contact-social-instagram {
    border-color: #f5b1d1;
    background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%);
    color: #be185d;
}

.contact-social-email {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

.contact-social-whatsapp:hover {
    border-color: #4ade80;
    background: #dcfce7;
    color: #166534;
}

.contact-social-facebook:hover {
    border-color: #60a5fa;
    background: #dbeafe;
    color: #1d4ed8;
}

.contact-social-instagram:hover {
    border-color: #f472b6;
    background: linear-gradient(135deg, #ffe4e6 0%, #ffedd5 100%);
    color: #9d174d;
}

.contact-social-email:hover {
    border-color: #7dd3fc;
    background: #e0f2fe;
    color: #075985;
}

.service-modal[hidden] {
    display: none;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 20px;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 30, 0.52);
    backdrop-filter: blur(2px);
}

.service-modal-content {
    position: relative;
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #d7e1ef;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.28);
    padding: 28px;
}

.service-modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1.3rem;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .workflow-media-display.is-fading {
        opacity: 1;
    }
}

.service-modal-kicker {
    color: #1e3a8a;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-modal-content h3 {
    font-size: 1.7rem;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-modal-text {
    color: #334155;
    margin-bottom: 18px;
}

.service-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
}

.service-modal-btn-call {
    background-color: #e2e8f0;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.service-modal-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff;
    border: 1px solid #16a34a;
}

/* FOOTER */
footer {
    background-color: #0f172a;
    color: white;
    text-align: center;
    padding: 22px 0;
    font-size: 0.95rem;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #52f08f 0%, #25d366 65%, #16a34a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 3px solid #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(37, 211, 102, 0.22);
    z-index: 1200;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: whatsapp-float-motion 3s ease-in-out infinite, whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.26);
    filter: saturate(1.1);
}

.whatsapp-float svg {
    width: 46px;
    height: 46px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 108px;
    background-color: #0f172a;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-float-motion {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 0 0 24px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* TABLET */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-showcase-image {
        min-height: 390px;
    }

    .services-showcase-image img {
        max-height: 500px;
    }

    .services-showcase-panel {
        padding: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-layout {
        grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    }

    .workflow-media-panel {
        min-height: 540px;
    }

    .workflow-step h3 {
        font-size: 1.4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* CELULAR */
@media (max-width: 767px) {
    header .container {
        align-items: center;
    }

    .logo img {
        height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        background-color: var(--header-end);
        padding: 10px 0;
    }

    nav.show {
        display: flex;
    }

    nav a {
        padding: 10px 0;
        font-size: 1.18rem;
        font-weight: 700;
    }

    .header-socials {
        gap: 8px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .hero {
        padding: 42px 0 34px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-tag {
        font-size: 0.78rem;
        letter-spacing: 1.1px;
        padding: 0;
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 2.05rem;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        font-size: 1.02rem;
        padding: 13px 22px;
    }

    .hero-image img {
        height: auto;
        border-radius: 14px;
    }

    .services {
        padding-top: 34px;
    }

    .services h2 {
        margin-bottom: 24px;
    }

    .services-showcase {
        gap: 16px;
        margin-bottom: 18px;
    }

    .services-showcase-image {
        min-height: 210px;
        padding: 10px;
        border-radius: 14px;
    }

    .services-showcase-image img {
        max-height: 230px;
    }

    .services-showcase-panel {
        padding: 18px;
        border-radius: 14px;
    }

    .services-showcase-panel h3 {
        font-size: 1.14rem;
        margin-bottom: 10px;
    }

    .services-showcase-panel p {
        margin-bottom: 12px;
        font-size: 0.96rem;
        line-height: 1.56;
    }

    .services-points {
        gap: 8px;
    }

    .services-points li {
        padding-left: 18px;
        font-size: 0.93rem;
    }

    .services-grid {
        gap: 14px;
    }

    .service-card {
        padding: 18px 16px 18px;
        border-radius: 16px;
    }

    .service-card::after {
        display: none;
    }

    .service-number {
        min-width: 34px;
        font-size: 0.86rem;
        padding: 4px 9px;
        margin-bottom: 8px;
    }

    .service-card h3 {
        font-size: 1.16rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .workflow-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .workflow h2 {
        margin-bottom: 0;
        padding-bottom: 10px;
        font-size: 2rem;
    }

    .workflow h2::after {
        width: 72px;
    }

    .workflow-layout {
        gap: 18px;
    }

    .workflow-media-panel {
        min-height: 300px;
        border-radius: 18px;
    }

    .workflow-step {
        padding: 20px 18px 18px 72px;
        border-radius: 16px;
    }

    .workflow-step::before {
        width: 5px;
        border-radius: 16px 0 0 16px;
    }

    .workflow-step-number {
        top: 18px;
        left: 18px;
        min-width: 38px;
        height: 38px;
        font-size: 0.82rem;
        border-radius: 12px;
    }

    .workflow-step-tag {
        margin-bottom: 8px;
        font-size: 0.68rem;
    }

    .workflow-step h3 {
        font-size: 1.18rem;
    }

    .workflow-step > p:not(.workflow-step-tag) {
        font-size: 0.97rem;
    }

    .contact::before {
        width: 250px;
        height: 250px;
        right: -110px;
        top: -90px;
    }

    .contact-panel {
        padding: 18px;
        border-radius: 14px;
    }

    .contact-logo {
        margin-bottom: 14px;
    }

    .contact-logo img {
        height: 72px;
    }

    .contact-panel h3 {
        font-size: 1.22rem;
    }

    .contact-actions {
        gap: 10px;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-phone-link {
        font-size: 1.45rem;
    }

    .contact-socials {
        gap: 10px;
    }

    .contact-social-link {
        width: 100%;
    }

    .workflow::before {
        width: 260px;
        height: 260px;
        left: -120px;
        top: -90px;
    }

    .workflow::after {
        width: 280px;
        height: 280px;
        right: -130px;
        bottom: -130px;
    }

    .service-card::after {
        font-size: 0.8rem;
    }

    .service-modal-content {
        padding: 22px;
        border-radius: 14px;
    }

    .service-modal-content h3 {
        font-size: 1.35rem;
    }

    .service-modal-actions {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 82px;
        height: 82px;
        right: 16px;
        bottom: 16px;
        border-width: 2px;
    }

    .whatsapp-float svg {
        width: 40px;
        height: 40px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* PC */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 0.84fr 1.16fr;
        gap: 50px;
    }

    .hero-text {
        max-width: 100%;
        padding-right: 8px;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
    }

    .hero-image img {
        height: clamp(500px, 64vh, 700px);
        border-radius: 26px;
    }

    .services-showcase {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 28px;
        margin-bottom: 36px;
    }

    .services-showcase-image {
        min-height: 100%;
    }

    .services-showcase-image img {
        max-height: 560px;
    }

    .services-showcase-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .workflow-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    }

    .workflow-media-panel {
        min-height: 580px;
    }

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

@media (min-width: 560px) and (max-width: 767px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
