/* ==========================================================================
   Seguros M&C — Tema ejecutivo
   ========================================================================== */

:root {
    --navy-950: #071426;
    --navy-900: #0b1d36;
    --navy-800: #11294b;
    --navy-700: #1a3a66;
    --brand-blue: #1f4e8c;
    --burgundy: #8c1c24;
    --burgundy-dark: #6d141b;
    --ink: #1b2330;
    --muted: #5d6878;
    --line: #e2e5ea;
    --paper: #f6f5f1;
    --white: #ffffff;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(11, 29, 54, .06), 0 2px 8px rgba(11, 29, 54, .04);
    --shadow-md: 0 10px 30px rgba(11, 29, 54, .10);
}

/* Base ------------------------------------------------------------------- */
body {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -.01em;
    line-height: 1.2;
}

h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--navy-900);
}

a {
    color: var(--brand-blue);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a:hover {
    color: var(--burgundy);
    text-decoration: none;
}

.section {
    padding: 96px 0;
    scroll-margin-top: 90px;
}

.section-sm {
    padding: 64px 0;
}

.bg-paper {
    background: var(--paper);
}

.bg-navy {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .78);
}

.bg-navy h2, .bg-navy h3, .bg-navy h4 {
    color: var(--white);
}

.text-justify {
    text-align: justify;
}

/* Eyebrow + section titles ---------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.eyebrow-light {
    color: #d9b8bb;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 680px;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-center .eyebrow::after {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

/* Buttons ---------------------------------------------------------------- */
.btn-exec {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 2px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}

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

.btn-exec-primary:hover, .btn-exec-primary:focus {
    background: var(--burgundy-dark);
    color: var(--white);
}

.btn-exec-outline-light {
    border-color: rgba(255, 255, 255, .45);
    color: var(--white);
    background: transparent;
}

.btn-exec-outline-light:hover, .btn-exec-outline-light:focus {
    background: var(--white);
    color: var(--navy-900);
}

.btn-exec-outline {
    border-color: var(--navy-900);
    color: var(--navy-900);
    background: transparent;
}

.btn-exec-outline:hover, .btn-exec-outline:focus {
    background: var(--navy-900);
    color: var(--white);
}

.btn-exec-sm {
    padding: 10px 18px;
    font-size: .75rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.link-arrow i {
    transition: transform .2s ease;
}

/* Top bar ---------------------------------------------------------------- */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    padding: 9px 0;
}

.topbar a {
    color: rgba(255, 255, 255, .8);
}

.topbar a:hover {
    color: var(--white);
}

.topbar-items {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.topbar-items i {
    color: #c9868b;
    margin-right: 8px;
}

.topbar-social {
    display: flex;
    gap: 18px;
}

/* Navbar ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-header .navbar-brand img {
    height: 52px;
    width: auto;
}

.site-header .nav-link {
    position: relative;
    padding: 10px 18px !important;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--navy-900) !important;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 2px;
    height: 2px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-item.active .nav-link::after {
    transform: scaleX(1);
}

.site-header .navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 8px 12px;
    color: var(--navy-900);
}

/* Hero (inicio) ---------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% 20%, rgba(31, 78, 140, .55), transparent 60%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
    color: rgba(255, 255, 255, .82);
    padding: 110px 0 120px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3.4rem;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: #e3c3c6;
}

.hero-lead {
    font-size: 1.2rem;
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-media {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
}

.hero-media video {
    display: block;
    width: 100%;
}

.hero-media::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 90px;
    height: 90px;
    border-top: 2px solid var(--burgundy);
    border-right: 2px solid var(--burgundy);
}

/* Page header (páginas internas) ---------------------------------------- */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
    color: rgba(255, 255, 255, .8);
    padding: 88px 0 80px;
}

.page-header::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 120px rgba(255, 255, 255, .015);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 18px;
}

.page-header p.lead {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 640px;
    margin-bottom: 0;
}

.header-mascot {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.header-mascot img {
    position: relative;
    display: block;
    width: auto;
    max-width: 100%;
    height: 380px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .28));
}

.breadcrumb-exec {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.breadcrumb-exec a {
    color: rgba(255, 255, 255, .75);
}

.breadcrumb-exec a:hover {
    color: var(--white);
}

.breadcrumb-exec li + li::before {
    content: "/";
    margin-right: 10px;
    color: rgba(255, 255, 255, .35);
}

/* Cards ------------------------------------------------------------------ */
.card-exec {
    position: relative;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-exec::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

a.card-exec {
    display: flex;
    flex-direction: column;
    color: inherit;
}

a.card-exec:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    color: inherit;
}

a.card-exec:hover::before {
    transform: scaleX(1);
}

a.card-exec:hover .link-arrow {
    color: var(--burgundy);
}

a.card-exec:hover .link-arrow i {
    transform: translateX(4px);
}

.card-exec h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.card-exec p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.card-exec-compact {
    padding: 32px 26px;
}

.card-exec-compact h3 {
    font-size: 1.25rem;
}

.card-exec .link-arrow {
    margin-top: auto;
}

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--navy-800);
    font-size: 1.35rem;
}

a.card-exec:hover .icon-tile {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

/* Tarjeta de servicio ---------------------------------------------------- */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 16px;
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(11, 29, 54, .18);
}

.service-card-photo {
    background: var(--white);
}

.service-card-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -2;
    width: 100%;
    height: 70%;
    object-fit: cover;
    object-position: center bottom;
    transform-origin: center bottom;
    transition: transform .6s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.06);
}

.service-card-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .7) 42%, rgba(255, 255, 255, 0) 54%);
}

.service-card-brand {
    background:
        radial-gradient(420px 320px at 100% 100%, rgba(140, 28, 36, .45), transparent 70%),
        linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
}

.service-card-watermark {
    position: absolute;
    right: -24px;
    bottom: -18px;
    z-index: -1;
    font-size: 15rem;
    line-height: 1;
    color: rgba(255, 255, 255, .07);
    transition: transform .6s ease, color .3s ease;
}

.service-card-brand:hover .service-card-watermark {
    transform: scale(1.06) rotate(-4deg);
    color: rgba(255, 255, 255, .11);
}

.service-card-body {
    padding: 32px 30px 0;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.service-card-photo h3,
.service-card-photo p {
    color: var(--navy-950);
}

.service-card-brand h3 {
    color: var(--white);
}

.service-card-brand p {
    color: rgba(255, 255, 255, .78);
}

.service-card-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(7, 20, 38, .3);
    transition: background-color .3s ease, transform .3s ease;
}

.service-card-brand .service-card-arrow {
    background: var(--white);
    color: var(--navy-900);
}

.service-card:hover .service-card-arrow {
    background: var(--burgundy);
    color: var(--white);
    transform: translateX(4px);
}

.value-card {
    cursor: default;
    justify-content: flex-end;
}

.value-card .service-card-bg {
    top: 0;
    height: 100%;
    object-position: center 22%;
}

.value-card .service-card-body {
    padding: 56px 30px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .55) 36px, rgba(255, 255, 255, .78) 100%);
}

.value-card h3 {
    font-size: 1.7rem;
}

.value-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.value-card:hover .service-card-bg {
    transform: none;
}

.value-card.service-card-photo::before {
    background: none;
}

/* Quiénes somos ---------------------------------------------------------- */
.about-quote {
    position: relative;
    padding: 40px 40px 40px 44px;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .85);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.45;
}

.about-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--burgundy);
}

.about-quote small {
    display: block;
    margin-top: 20px;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.statement {
    height: 100%;
    padding: 48px 44px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
}

.statement h3 {
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.statement p {
    margin-bottom: 0;
    font-size: 1.08rem;
}

.statement .statement-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #d9b8bb;
    margin-bottom: 14px;
}

/* Clientes --------------------------------------------------------------- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 28px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .3s ease, opacity .3s ease;
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
}

/* Servicio: detalle ------------------------------------------------------ */
.service-figure {
    position: relative;
    margin: 0;
}

.service-figure img {
    display: block;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.service-figure::before {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .25);
}

.respaldo-benefits {
    margin-top: 48px;
    scroll-margin-top: 100px;
}

.respaldo-benefits h3 {
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 18px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.benefit-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.benefit-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    font-size: .9rem;
}

.benefit-item h3 {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--navy-900);
    margin: 2px 0 4px;
}

.benefit-item p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.45;
    color: var(--muted);
}

/* Aseguradoras ----------------------------------------------------------- */
.insurers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 64px;
    max-width: 960px;
    margin: 0 auto;
}

.insurer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 80px;
}

.insurer-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: .65;
    transition: filter .3s ease, opacity .3s ease;
}

.insurer-logo:hover img {
    filter: none;
    opacity: 1;
}

.insurer-logo span {
    text-align: center;
    line-height: 1.25;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #8a929e;
}

.respaldo-logos .insurers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    max-width: none;
    gap: 22px 12px;
}

.respaldo-logos .insurer-logo {
    width: 100%;
    height: 52px;
}

.respaldo-logos .insurer-logo img {
    max-height: 48px;
}

.quote-form {
    position: relative;
}

.quote-form.is-enhanced .quote-steps {
    display: grid;
}

.quote-form.is-enhanced .quote-step {
    grid-area: 1 / 1;
    align-self: start;
}

.quote-form.is-enhanced .quote-step:not(.is-active) {
    visibility: hidden;
    pointer-events: none;
}

.quote-progress {
    display: flex;
    align-items: flex-start;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.quote-progress-step {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 3px;
    border-radius: 2px;
    background: #d9dee6;
}

.quote-progress-step.is-complete:not(:last-child)::after {
    background: #6fbf45;
}

.quote-progress-bullet {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e6e9ee;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
}

.quote-progress-step.is-current .quote-progress-bullet {
    background: var(--navy-900);
    color: var(--white);
}

.quote-progress-step.is-complete .quote-progress-bullet {
    background: #e5f6dc;
    color: #4caf38;
}

.quote-progress-step .fa-check,
.quote-progress-step.is-complete .quote-progress-number {
    display: none;
}

.quote-progress-step.is-complete .fa-check {
    display: inline-block;
    font-size: .85rem;
}

.quote-progress-label {
    margin-top: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: #9aa3af;
}

.quote-progress-step.is-current .quote-progress-label {
    color: var(--navy-900);
}

.quote-progress-step.is-complete .quote-progress-label {
    color: #4caf38;
}

.quote-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
}

.quote-actions .btn-exec {
    flex: 1;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
}

.quote-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    font-size: .88rem;
    color: var(--muted);
}

.quote-trust i {
    width: 16px;
    margin-right: 8px;
    color: var(--navy-800);
}

/* CTA band --------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
    color: rgba(255, 255, 255, .8);
    padding: 64px 0;
}

.cta-band h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-band p {
    margin-bottom: 0;
}

/* Formularios ------------------------------------------------------------ */
.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 48px;
}

.form-panel h2 {
    font-size: 1.8rem;
}

.quote-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.quote-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    padding: 12px 10px;
    border: 0;
    border-radius: 6px;
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease;
}

.quote-tab:hover,
.quote-tab:focus {
    background: var(--navy-700);
    color: var(--white);
    outline: none;
}

.quote-tab.is-active {
    background: var(--burgundy);
}

.quote-tab.is-active:hover,
.quote-tab.is-active:focus {
    background: var(--burgundy-dark);
}

.quote-tab i {
    font-size: 1.15rem;
}

.quote-tab-panel[hidden] {
    display: none !important;
}

.form-exec label {
    display: block;
    margin-bottom: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-800);
}

.form-exec .form-control {
    height: auto;
    padding: 12px 14px;
    border: 1px solid #cfd5dd;
    border-radius: 2px;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    box-shadow: none;
}

.form-exec select.form-control {
    height: calc(1.5em + 26px);
}

.form-exec .form-control:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(31, 78, 140, .12);
}

.form-exec .form-group {
    margin-bottom: 22px;
}

.form-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.form-section-title h3 {
    font-size: 1.35rem;
    margin: 0;
}

.table-exec {
    margin-bottom: 0;
}

.table-exec th {
    border-top: 0 !important;
    border-bottom: 2px solid var(--navy-900) !important;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-900);
    white-space: nowrap;
}

.table-exec td {
    vertical-align: middle;
    min-width: 140px;
}

.table-exec td:last-child {
    min-width: 0;
}

.btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    color: var(--burgundy);
    background: var(--white);
}

.btn-remove:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.alert-exec {
    border-radius: 2px;
    border: 0;
    border-left: 4px solid;
    padding: 16px 20px;
}

.alert-exec.alert-success {
    border-left-color: #2f7a4f;
}

.alert-exec.alert-danger {
    border-left-color: var(--burgundy);
}

/* Contacto --------------------------------------------------------------- */
.contact-item {
    display: flex;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:first-of-type {
    padding-top: 0;
}

.contact-item i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--white);
}

.contact-item h3 {
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-900);
}

.contact-item a:hover {
    color: var(--burgundy);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.directory-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
}

.directory-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
}

.directory-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-weight: 600;
    color: var(--navy-900);
}

.directory-card a:hover {
    color: var(--burgundy);
}

.directory-card i {
    width: 18px;
    text-align: center;
    color: var(--navy-800);
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .65);
    font-size: .98rem;
}

.site-footer .footer-main {
    padding: 80px 0 56px;
}

.site-footer h2 {
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, .7);
}

.site-footer a:hover {
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, .85);
    margin: 22px 0 26px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.footer-social a:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

.footer-bottom img {
    height: 22px;
    width: auto;
    opacity: .75;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 72px 0 80px;
    }

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

    .hero-media {
        margin-top: 56px;
    }

    .page-header h1 {
        font-size: 2.4rem;
    }

    .header-mascot {
        justify-content: center;
        margin-top: 28px;
    }

    .header-mascot img {
        height: 260px;
    }

    .site-header .navbar-collapse {
        padding: 12px 0 8px;
        border-top: 1px solid var(--line);
        margin-top: 14px;
    }

    .site-header .nav-link {
        padding-left: 0 !important;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .site-header .nav-item.active .nav-link {
        color: var(--burgundy) !important;
    }

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

    .service-figure {
        margin-top: 48px;
    }

    .service-figure img, .service-figure::before {
        margin: 0 auto;
    }

    .service-figure::before {
        display: none;
    }

    .form-panel {
        padding: 32px 24px;
    }

    .quote-tab {
        flex-direction: column;
        gap: 6px;
        min-height: 72px;
        font-size: .82rem;
        padding: 10px 6px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.9rem;
    }

    .benefit-list-grid {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }
}

/* WhatsApp flotante ------------------------------------------------------ */
.wa-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.wa-widget-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(320px, calc(100vw - 40px));
    max-height: min(70vh, 520px);
    margin: 0;
    padding: 2px;
    overflow-y: auto;
}

.wa-widget-menu[hidden] {
    display: none !important;
}

.wa-widget-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #25d366;
    border-radius: 16px;
    background: var(--white);
    color: var(--navy-900);
    transition: background-color .2s ease, color .2s ease;
}

.wa-widget-option:hover {
    background: #d8f6e4;
    border-color: #25d366;
    color: var(--navy-900);
}

.wa-widget-option-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-size: 1.15rem;
}

.wa-widget-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.wa-widget-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-size: 1.9rem;
    box-shadow: 0 10px 24px rgba(18, 140, 126, .35);
    cursor: pointer;
}

.wa-widget-toggle:focus {
    outline: 2px solid var(--navy-900);
    outline-offset: 3px;
}

.wa-widget-toggle .fa-times {
    display: none;
    font-size: 1.35rem;
}

.wa-widget-toggle[aria-expanded="true"] .fa-whatsapp {
    display: none;
}

.wa-widget-toggle[aria-expanded="true"] .fa-times {
    display: inline-block;
}

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