/* ============================================================
   INTERNACIONALWEB - KIT DIGITAL 2026
   styles.css
   ============================================================ */

/* --------------------------------
   CSS VARIABLES
-------------------------------- */
:root {
    /* Colores ajustados para mejor contraste */
    --blue:        #005a9e;
    --blue-dark:   #004272;
    --blue-light:  #e3f2ff;
    --navy:        #12304a;
    --navy-mid:    #37517e;
    --gray-dark:   #2d3748;
    --gray-mid:    #4a5f73;
    --gray-light:  #f1f5f7;
    --gray-border: #dbe2e8;
    --white:       #ffffff;
    --text:        #2d3748;
    --text-muted:  #4a5f73;
    --green:       #22c55e;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md:   0 4px 16px rgba(18,48,74,.10);
    --shadow-lg:   0 8px 32px rgba(18,48,74,.14);
    --radius:      10px;
    --radius-lg:   16px;
    --transition:  .22s ease;
    --font:        'Inter', system-ui, -apple-system, sans-serif;
    --header-h:    72px;
}

/* --------------------------------
   RESET & BASE
-------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------
   SECTIONS
-------------------------------- */
.section-light  { padding: 96px 0; background: var(--white); }
.section-gray   { padding: 96px 0; background: var(--gray-light); }
.section-dark   { padding: 96px 0; background: var(--navy); color: var(--white); }
.section-contact { padding: 96px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--white); }

/* LOGOS NEXT GENERATION EU */
.section-logos {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}
.logos-title {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted);
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.linea_subrayado_kd {
    border-top: 1px solid var(--gray-mid);
    width: 190px;
    margin: 0 auto 32px;
}
.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.logos-grid img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.1; }
.section-header.light h2 { color: var(--white); }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.section-header.light .section-subtitle { color: rgba(255,255,255,.75); }

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-tag.light {
    color: var(--white);
    background: rgba(0,0,0,.35);
}

.brand-blue { color: var(--blue); }

/* --------------------------------
   BUTTONS
-------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(0,159,227,.3);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,159,227,.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid rgba(255,255,255,.5);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
}
.section-light .btn-secondary {
    color: var(--navy) !important;
    border-color: rgba(10,25,60,.35);
}
.section-light .btn-secondary:hover {
    background: rgba(10,25,60,.06);
    border-color: var(--navy);
}

.btn-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition);
}
.btn-link:hover { border-color: var(--blue); }

.btn-nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 100px;
    border: 2px solid var(--blue);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-nav-cta:hover {
    background: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font);
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: .02em;
}
.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,159,227,.35);
}

.mt-16 { margin-top: 16px; }

/* --------------------------------
   HEADER
-------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    background: rgba(18,48,74,.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 38px; width: auto; }

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.header-nav a:not(.btn-nav-cta) {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.header-nav a:not(.btn-nav-cta):hover {
    color: var(--white);
    background: rgba(255,255,255,.08);
}
.header-nav .btn-nav-cta { margin-left: 12px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------
   HERO
-------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4a72 50%, var(--navy-mid) 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009fe3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .6;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
.hero-content { color: var(--white); }

.badge-vuelta {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,159,227,.4); }
    50% { box-shadow: 0 0 0 8px rgba(0,159,227,0); }
}

.hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.hero h1 .highlight { color: #FDE20A; }

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    line-height: 1.65;
}
.hero-sub strong { color: var(--white); }

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

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.stat { }
.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #FDE20A;
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-top: 4px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    max-width: 480px;
    width: 100%;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.3));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* Hero form (card en la parte derecha del hero) */
.hero-form-card {
    max-width: 620px;
    width: 100%;
}
.hero-form-header {
    margin-bottom: 16px;
}
.hero-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.hero-form-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* --------------------------------
   LOGOS EU
-------------------------------- */
.logos-eu {
    padding: 48px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}
.logos-eu-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}
.logos-eu-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.logos-eu-grid img {
    height: 64px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity var(--transition);
}
.logos-eu-grid img:hover { opacity: 1; }

/* --------------------------------
   TWO-COL LAYOUT
-------------------------------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.col-text { }
.col-text h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 20px;
}
.col-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.check-list {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 15px;
}
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--blue);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
}

.actions-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.col-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* --------------------------------
   BENEFICIARIOS
-------------------------------- */
.beneficiarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.beneficiario-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.beneficiario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
.beneficiario-card.featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px var(--blue), var(--shadow-md);
}
.beneficiario-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}
.beneficiario-icon svg { width: 100%; height: 100%; }
.beneficiario-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.1;
}
.beneficiario-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}
.importe-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--navy);
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0,159,227,.2);
}
.importe-badge strong { color: var(--blue); font-weight: 700; }

/* --------------------------------
   IMPORTES TABLE
-------------------------------- */
.table-wrapper {
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    margin-bottom: 48px;
}
.importes-table {
    width: 100%;
    border-collapse: collapse;
}
.importes-table thead tr {
    background: rgba(255,255,255,.08);
}
.importes-table th {
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    text-align: left;
}
.importes-table td {
    padding: 18px 24px;
    font-size: 15px;
    color: rgba(255,255,255,.85);
    border-top: 1px solid rgba(255,255,255,.07);
}
.importes-table td strong { color: var(--white); }
.importes-table tr:hover td { background: rgba(255,255,255,.04); }
.row-highlighted td {
    background: rgba(0,159,227,.12);
}

.segmento-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}
.segmento-badge.active {
    background: var(--blue);
}

.importe-tabla {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
}
.importe-tabla.active {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}

.table-cta {
    text-align: center;
    padding: 32px;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255,255,255,.15);
}
.table-cta p {
    color: rgba(255,255,255,.75);
    margin-bottom: 20px;
    font-size: 16px;
}

/* --------------------------------
   SERVICES GRID
-------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    border-radius: var(--radius);
    padding: 8px;
    flex-shrink: 0;
}
.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.service-icon svg { width: 36px; height: 36px; }
.service-body { flex: 1; display: flex; flex-direction: column; }
.service-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.1;
}
.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}
.service-amount {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.service-amount strong {
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}
.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    margin-top: auto;
    transition: gap var(--transition);
}
.service-link:hover { color: var(--blue-dark); }

/* --------------------------------
   STEPS
-------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}
.step-item {
    position: relative;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.step-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
.step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 40px;
    right: -22px;
    color: var(--blue);
    font-size: 20px;
    z-index: 1;
}
.step-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--blue);
    opacity: .15;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -.04em;
}
.step-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.1;
}
.step-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.step-body a { color: var(--blue); font-weight: 600; }

.steps-cta {
    text-align: center;
}
.agente-img {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* --------------------------------
   FAQ
-------------------------------- */
.faq-wrap {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 80px;
    align-items: start;
}
.faq-header { }
.faq-header h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.1;
}
.faq-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    user-select: none;
    transition: background var(--transition);
}
.faq-item summary:hover { background: var(--gray-light); }
.faq-item[open] summary { background: var(--blue-light); color: var(--blue); }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body {
    padding: 0 20px 20px;
    border-top: 1px solid var(--gray-border);
}
.faq-body p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    padding-top: 16px;
}

/* --------------------------------
   CONTACT
-------------------------------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}
.contact-info p {
    color: rgba(255,255,255,.75);
    font-size: 16px;
    margin-bottom: 32px;
}
.contact-info p strong { color: var(--white); }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
}
.contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.contact-list a { color: rgba(255,255,255,.9); font-weight: 500; }
.contact-list a:hover { color: #FDE20A; }

.contact-logos {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.contact-logos img {
    height: 44px;
    width: auto;
    object-fit: contain;
}
.contact-logos img:hover { opacity: .9; }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* CTA de contacto (columna derecha en sección contacto) */
.contacto-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.contacto-cta .contacto-banner {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 8px;
}
.contacto-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.1;
}
.contacto-cta p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.contacto-cta .btn-primary {
    align-self: flex-start;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .02em;
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    background: var(--gray-light);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,159,227,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab4bd; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-check input[type=checkbox] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--blue);
    cursor: pointer;
}
.form-check label {
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}
.form-check a { color: var(--blue); font-weight: 600; }

/* Opciones de soluciones en el formulario del hero */
.options-soluciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.option-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.option-chip input[type="checkbox"] {
    accent-color: var(--blue);
}
.option-chip span {
    white-space: nowrap;
}
.option-chip:hover {
    border-color: var(--blue);
    color: var(--text);
}

.form-error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
}
.form-error-msg a { color: #dc2626; font-weight: 600; }

.form-success {
    text-align: center;
    padding: 48px 24px;
}
.form-success svg { margin: 0 auto 24px; }
.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.1;
}
.form-success p { color: var(--text-muted); font-size: 16px; }

/* --------------------------------
   FOOTER
-------------------------------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    padding-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand img { margin-bottom: 20px; }
.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    margin-bottom: 16px;
    line-height: 1.1;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,.82);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: #FDE20A; }

.footer-bar {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}
.footer-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bar span { font-size: 13px; color: rgba(255,255,255,.75); }
.footer-bar span a {
    color: rgba(255,255,255,.82);
    margin-left: 20px;
    transition: color var(--transition);
}
.footer-bar span a:hover { color: #FDE20A; }

/* --------------------------------
   FLOATING BUTTONS
-------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all var(--transition);
}
.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,.5);
    color: var(--white);
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--navy-mid);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    opacity: 0;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.scroll-top:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* --------------------------------
   SCROLL ANIMATIONS
-------------------------------- */
.anim-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.anim-hidden.visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .beneficiarios-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-item:nth-child(2)::after { display: none; }
    .step-item:nth-child(3)::after { display: none; }
    .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .section-light, .section-gray, .section-dark, .section-contact { padding: 72px 0; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 300px; margin: 0 auto; }
    .hero-form-card { max-width: 100%; margin: 0 auto; text-align: left; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .two-col { grid-template-columns: 1fr; gap: 48px; }
    .col-image { order: -1; }
    .col-image img { max-width: 400px; margin: 0 auto; }
    .actions-row { justify-content: center; }
    .check-list { align-items: flex-start; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .header-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        background: rgba(18,48,74,.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        z-index: 1001;
    }
    .header-nav.open { display: flex; }
    .header-nav a:not(.btn-nav-cta) {
        font-size: 20px;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
    .header-nav .btn-nav-cta {
        margin-top: 16px;
        font-size: 16px;
        padding: 14px 32px;
    }
    .services-grid { grid-template-columns: 1fr; }
    .beneficiarios-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-item::after { display: none !important; }
    .hero-stats { flex-direction: column; gap: 16px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: auto; }
    .logos-eu-grid { gap: 24px; }
    .logos-eu-grid img { height: 48px; }
    .footer-bar .container { flex-direction: column; text-align: center; gap: 8px; }
    .footer-bar span { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .footer-bar span a { margin-left: 0; }
    .importes-table th, .importes-table td { padding: 12px 14px; font-size: 13px; }
    .importe-tabla { font-size: 16px; }
    .importe-tabla.active { font-size: 18px; }
    .section-header { margin-bottom: 40px; }
    .faq-header .btn-secondary { display: block; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }
    .badge-vuelta { font-size: 10px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }
    .contact-form-wrap { padding: 20px 16px; }
    .table-wrapper { overflow-x: auto; }
    .importes-table { min-width: 500px; }
    .options-soluciones { gap: 6px; grid-template-columns: 1fr; }
    .option-chip { min-width: 0; }
    .option-chip span { white-space: normal; }
}
