  :root {
    --navy: #0e1030;
    --navy-rgb: 14, 16, 48;
    --blue: #4166b0;
    --blue-rgb: 65, 102, 176;
    --blue-light: #5a7fc4;
    --blue-light-rgb: 90, 127, 196;
    --blue-lighter: #7fa8d8;
    --blue-pale: #d8e4f5;
    --white: #ffffff;
    --white-rgb: 255, 255, 255;
    --off-white: #f4f6fb;
    --surface: #f0f2f8;
    --gray: #6b7280;
    --gray-light: #e8ecf4;
    --text: #0e1030;
    --text-muted: #555;
    --text-soft: #b0b8c9;
    --border: #c8cfe0;
    --success-bg: #e8f5e9;
    --warning: #f59e0b;
    --accent: #c8973a;
  }
  /* Fallback fonts metric-matched to DM Sans / Syne to prevent CLS on web font swap. */
  @font-face {
    font-family: 'DM Sans Fallback';
    src: local('Arial');
    size-adjust: 100.06%;
    ascent-override: 99.21%;
    descent-override: 25.99%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: 'Syne Fallback';
    src: local('Arial');
    size-adjust: 100.36%;
    ascent-override: 95.65%;
    descent-override: 23.91%;
    line-gap-override: 0%;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
  h1,h2,h3,h4,h5 { font-family: 'Syne', 'Syne Fallback', sans-serif; }

  /* ── NAV ── */
  nav {
    position: fixed; top: calc(16px + var(--apc-banner-h, 0px)); left: 50%; transform: translateX(-50%);
    transition: top 0.2s ease;
    z-index: 100; width: calc(100% - 48px); max-width: 1100px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px; height: 65px;
    background: rgba(var(--white-rgb), 0.97); backdrop-filter: blur(16px);
    border-radius: 99px;
    border: 1px solid rgba(var(--navy-rgb), 0.08);
    box-shadow: 0 4px 24px rgba(var(--navy-rgb), 0.10);
    transition: box-shadow .3s;
  }
  nav:hover { box-shadow: 0 6px 32px rgba(var(--navy-rgb), 0.14); }
  .nav-logo img { height: 40px; mix-blend-mode: multiply; display: block; margin: auto 0; }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a { color: rgba(var(--navy-rgb), 0.6); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .02em; transition: color .2s; }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta { background: var(--navy); color: var(--white); border: none; padding: 9px 20px; border-radius: 99px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .2s; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; white-space: nowrap; }
  .nav-cta:hover { background: var(--blue); }
  .nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: transparent; border: 0; padding: 0; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

  /* ── NAV DROPDOWN ── */
  .nav-dropdown { position: relative; }
  .nav-dropdown-toggle { cursor: pointer; }
  .nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 12px); left: 0;
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: 12px; padding: 8px 0; min-width: 380px; list-style: none;
    box-shadow: 0 8px 32px rgba(var(--navy-rgb), 0.12); z-index: 200;
    grid-template-columns: 1fr 1fr;
  }
  .nav-dropdown-menu li a {
    display: block; padding: 9px 18px; font-size: 13px; font-weight: 500;
    color: rgba(var(--navy-rgb), 0.7); text-decoration: none; transition: background .15s, color .15s;
    white-space: nowrap;
  }
  .nav-dropdown-menu li a:hover { background: var(--off-white); color: var(--navy); }
  .nav-dropdown:hover .nav-dropdown-menu { display: grid; }
  /* bridge para cubrir el gap entre el toggle y el menú */
  .nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0;
    width: 100%; height: 14px;
  }

  /* ── HERO ── */
  #inicio {
    min-height: 100vh; display: flex; align-items: center;
    background: var(--navy);
    padding: 140px 5% 80px;
    position: relative; overflow: hidden;
  }
  .hero-inner-wrap{ max-width:1100px;margin:0 auto;width:100%;position:relative;z-index:1; }
  .hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle 300px at var(--mx, 70%) var(--my, 40%), rgba(var(--blue-rgb), 0.22) 0%, transparent 70%);
    transition: background 0.05s;
  }
  .hero-glow-static {
    position: absolute; bottom: -60px; right: 80px;
    width: 280px; height: 280px; pointer-events: none;
    background: radial-gradient(circle, rgba(var(--blue-rgb), 0.12) 0%, transparent 70%);
  }
  .hero-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .025;
    background-image: linear-gradient(rgba(var(--white-rgb), .5) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--white-rgb), .5) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-content { position: relative; max-width: 620px; }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(var(--blue-rgb), 0.2); border: 1px solid rgba(var(--blue-rgb), 0.4);
    color: var(--blue-pale); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 99px; margin-bottom: 28px;
  }
  .hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--blue-light); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; letter-spacing: -.02em; }
  .hero h1 span { color: var(--blue-light); }
  .hero p { font-size: 17px; color: rgba(var(--white-rgb), 0.6); line-height: 1.7; margin-bottom: 40px; max-width: 500px; font-weight: 300; }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary { background: var(--blue); color: var(--white); padding: 14px 30px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border: none; cursor: pointer; transition: all .2s; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; display: inline-block; }
  .btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
  .btn-whatsapp { background: transparent; color: var(--white); padding: 14px 30px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid rgba(var(--white-rgb), 0.25); cursor: pointer; transition: all .2s; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; display: inline-flex; align-items: center; gap: 8px; }
  .btn-whatsapp:hover { border-color: rgba(var(--white-rgb), 0.6); background: rgba(var(--white-rgb), 0.06); }
  .btn-sumate { background: transparent; color: rgba(var(--white-rgb), 0.75); padding: 14px 30px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid rgba(var(--white-rgb), 0.15); cursor: pointer; transition: all .2s; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .01em; }
  .btn-sumate:hover { color: var(--white); border-color: rgba(var(--white-rgb), 0.4); background: rgba(var(--white-rgb), 0.06); }
  

  /* floating card */
  #inicio .hero-card {
    display: block;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    background: rgba(var(--white-rgb), 0.05); border: 1px solid rgba(var(--white-rgb), 0.1);
    border-radius: 16px; padding: 24px 28px; width: 280px;
    backdrop-filter: blur(10px);
    animation: floatCard 4s ease-in-out infinite;
  }
  @keyframes floatCard { 0%,100%{transform:translateY(-50%) translateY(0)} 50%{transform:translateY(-50%) translateY(-10px)} }
  .hero-card-title { color: rgba(var(--white-rgb), 0.5); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
  .hero-card-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .hero-card-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .hero-card-text { color: rgba(var(--white-rgb), 0.75); font-size: 13px; }
  .hero-card-text strong { color: var(--white); font-weight: 500; }

  /* ── SECTION BASE ── */
  section { padding: 80px 5%; }
  .section-tag { font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; text-align: center; }
  .section-title { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 8px; letter-spacing: -.02em; text-align: center; }
  .section-sub { font-size: 16px; color: var(--gray); line-height: 1.7; max-width: 520px; font-weight: 300; text-align: center; margin-top: 0; margin-bottom: 0; margin-left: auto; margin-right: auto; }

  /* ── PRODUCTOS ── */
  #productos { background: var(--off-white); }
  .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 48px; }
  .product-card {
    background: var(--white); border-radius: 16px; padding: 22px 20px 20px;
    border: 1px solid var(--gray-light); transition: all .25s; cursor: pointer;
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  }
  .product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
  }
  .product-card-bg {
    position: absolute; bottom: -16px; right: -16px;
    width: 90px; height: 90px; border-radius: 50%;
    background: var(--off-white);
    transition: background .25s, transform .35s;
    z-index: 0;
  }
  @media (hover: hover) {
    .product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(var(--blue-rgb), 0.12); border-color: var(--blue-pale); }
    .product-card:hover::before { transform: scaleX(1); }
    .product-card:hover .product-card-bg { background: var(--blue-pale); transform: scale(1.5); }
  }
  .product-icon { width: 38px; height: 38px; background: var(--blue-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; font-size: 17px; position: relative; z-index: 1; flex-shrink: 0; transition: background .25s; }
  @media (hover: hover) { .product-card:hover .product-icon { background: var(--blue); } }
  .product-name { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); position: relative; z-index: 1; line-height: 1.3; }
  .product-desc { font-size: 12px; color: var(--gray); line-height: 1.55; flex: 1; position: relative; z-index: 1; }
  .product-link {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--off-white); color: var(--navy);
    font-size: 12px; font-weight: 600; margin-top: 10px; text-decoration: none;
    padding: 7px 14px; border-radius: 99px; transition: background .25s, color .25s;
    font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; width: fit-content;
    position: relative; z-index: 1;
  }
  @media (hover: hover) { .product-card:hover .product-link { background: var(--navy); color: var(--white); } }

  /* ── COTIZAR ── */
  #cotizar { background: var(--white); }
  .cotizar-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
  .cotizar-info { padding-top: 8px; position: sticky; top: 100px; }

  .cotizar-info .section-title { margin-bottom: 20px; }
  .cotizar-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
  .cotizar-feat { display: flex; align-items: flex-start; gap: 12px; }
  .feat-icon { width: 36px; height: 36px; background: var(--blue-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); font-size: 16px; }
  .feat-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; font-family: 'Syne', 'Syne Fallback', sans-serif; }
  .feat-text span { font-size: 13px; color: var(--gray); }

  .cotizar-info .section-tag { text-align: left; }
  .cotizar-info .section-title { text-align: left; }
  .cotizar-info .section-sub { text-align: left; margin: 0; }
  .form-card { border-radius: 16px; border: 1px solid var(--gray-light); }
  #cotizar .form-card { background: var(--off-white); padding: 32px; }
  .form-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }

  /* ── COVERAGE SELECTOR ── */
  .coverage-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  @media (max-width: 768px) { .coverage-btns { justify-content: center; } }
  .cov-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 10px 12px; border-radius: 10px;
    border: 1.5px solid var(--gray-light); background: var(--white);
    cursor: pointer; transition: all .2s; min-width: 68px;
    font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  }
  .cov-btn:hover { border-color: var(--blue); background: var(--blue-pale); }
  .cov-btn.active { border-color: var(--blue); background: var(--blue-pale); }
  .cov-btn svg { width: 20px; height: 20px; color: var(--gray); transition: color .2s; }
  .cov-btn.active svg, .cov-btn:hover svg { color: var(--blue); }
  .cov-btn-title { font-size: 12px; font-weight: 700; color: var(--navy); }
  .cov-btn-sub { font-size: 10px; color: var(--gray); }
  .tab-btn {
    padding: 7px 14px; border-radius: 99px; border: 1px solid var(--gray-light);
    background: var(--white); color: var(--gray); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .2s; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  }
  .tab-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .tab-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
  .form-panel { display: none; }
  .form-panel.active { display: block; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
  .form-row.full { grid-template-columns: 1fr; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
  .form-group label > input, .form-group label > select, .form-group label > textarea { text-transform: none; letter-spacing: normal; font-weight: 400; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 10px 14px; border: 1px solid var(--gray-light); border-radius: 8px;
    font-size: 14px; color: var(--text); background: var(--white);
    font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; transition: border-color .2s; outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
  .form-group textarea { resize: vertical; min-height: 80px; }
  .form-submit { width: 100%; padding: 14px; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'Syne', 'Syne Fallback', sans-serif; transition: background .2s; margin-top: 8px; }
  .form-submit:hover { background: var(--blue); }
  .form-note { font-size: 11px; color: var(--gray); text-align: center; margin-top: 10px; }

  /* ── POR QUÉ APC ── */
  #porque { background: var(--navy) !important; }
  #porque .section-tag { color: var(--blue-light); text-align: center; }
  #porque .section-title { color: var(--white) !important; text-align: center; }
  #porque .section-sub { color: rgba(var(--white-rgb), 0.5); text-align: center; margin: 0 auto; }
  .porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  #porque .porque-card { background: rgba(var(--white-rgb), 0.04) !important; border: 1px solid rgba(var(--white-rgb), 0.08) !important; border-radius: 12px; padding: 28px; position:relative; overflow:hidden; transition:transform .25s cubic-bezier(.4,0,.2,1), background .25s, box-shadow .25s; }
  #porque .porque-card::after { content:''; position:absolute; top:0; left:0; width:3px; height:0; background:linear-gradient(to bottom,var(--blue-lighter),var(--blue-light)); border-radius:12px 0 0 12px; transition:height .4s cubic-bezier(.4,0,.2,1); }
  #porque .porque-card:hover { background: rgba(var(--white-rgb), 0.07) !important; transform:translateY(-6px); box-shadow:0 16px 40px rgba(0,0,0,0.25); }
  #porque .porque-card:hover::after { height:100%; }
  #porque .porque-num { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 11px; font-weight: 700; color: var(--blue-light) !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
  #porque .porque-title { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 16px; font-weight: 700; color: var(--white) !important; margin-bottom: 10px; }
  #porque .porque-text { font-size: 14px; color: rgba(var(--white-rgb), 0.5) !important; line-height: 1.7; font-weight: 300; }
  .metrics-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(var(--white-rgb), 0.08); }
  .metric { text-align: center; padding: 16px 12px; border-right: 1px solid rgba(var(--white-rgb), 0.1); }
  .metric:last-child { border-right: none; }
  .metric-num { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.02em; }
  .metric-label { font-size: 12px; color: rgba(var(--white-rgb), 0.65); margin-top: 6px; line-height: 1.4; }

  /* ── ASEGURADORAS SLIDER ── */
  #aseguradoras { background: var(--white); padding: 52px 0; overflow: hidden; }
  .aseguradoras-label { text-align: center; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 28px; padding: 0 5%; }
  .slider-track-wrap {
    position: relative; overflow: hidden;
  }
  .slider-track-wrap::before,
  .slider-track-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
  }
  .slider-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
  .slider-track-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
  .slider-track {
    display: flex; align-items: center; gap: 0;
    width: max-content;
    animation: slide 28s linear infinite;
  }
  .slider-track:hover { animation-play-state: paused; }
  @keyframes slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .aseg-logo {
    padding: 0 24px; margin: 0 10px;
    display: flex; align-items: center; justify-content: center;
    height: 60px;
  }
  .aseg-logo img { height: 36px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .6; transition: filter .3s, opacity .3s; }
  .aseg-logo:hover img { filter: grayscale(0%); opacity: 1; }
  /* Asociart's source still has padding — bump its rendered height a bit */
  .aseg-logo img[alt="Asociart ART"] { height: 50px; }
  /* Barbuss image has no internal padding — shrink so optical size matches the rest */
  .aseg-logo img[alt="Barbuss"] { height: 26px; }
  /* Federación Patronal new asset has lots of whitespace — bump its rendered height */
  .aseg-logo img[alt="Federación Patronal"] { height: 68px; }

  /* ── SUCURSALES ── */
  #sucursales { background: var(--off-white); }
  .sucursales-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
  .sucursal-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 14px; padding: 28px; transition: all .25s; display: flex; flex-direction: column; width: 100%; }
  .sucursal-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(var(--blue-rgb), 0.1); }
  .sucursal-name { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
  .sucursal-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
  .sucursal-rating-stars { color: var(--warning); font-size: 12px; letter-spacing: 1px; }
  .sucursal-rating-score { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 12px; font-weight: 800; color: var(--navy); }
  .sucursal-rating-count { font-size: 11px; color: var(--gray); }
  .sucursal-info { display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .sucursal-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--blue); }
  .sucursal-row svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
  .sucursal-row a { color: var(--blue); text-decoration: none; }
  .sucursal-row a:hover { text-decoration: underline; }
  .sucursal-wa { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; margin-top: 20px; transition: background .2s; }
  .sucursal-wa:hover { background: var(--blue); }

  /* ── FAQ ── */
  #faq { background: var(--off-white); }
  .faq-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; max-width: 860px; margin-left: auto; margin-right: auto; }
  .faq-item { background: var(--white); border: 1px solid var(--gray-light); border-radius: 12px; overflow: hidden; }
  .faq-q { padding: 18px 22px; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; font-family: 'Syne', 'Syne Fallback', sans-serif; }
  .faq-q:hover { background: var(--off-white); }
  .faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--blue); }
  .faq-item.open .faq-q { background: var(--off-white); }
  .faq-item.open .faq-q svg { transform: rotate(180deg); }
  .faq-grid .faq-a { display: none; }
  .faq-grid .faq-item.open .faq-a { display: block; }
  .faq-a-inner { padding: 14px 22px 18px; font-size: 14px; color: var(--gray); line-height: 1.7; border-top: 1px solid var(--gray-light); }

  /* ── SINIESTROS ── */
  #siniestros { background: var(--white); }
  #siniestros .section-tag { color: var(--blue); text-align: center; }
  #siniestros .section-title { color: var(--navy); text-align: center; }
  #siniestros .section-sub { color: var(--gray); text-align: center; margin: 0 auto; }
  .siniestros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
  .siniestro-step {
    background: var(--off-white); border-radius: 16px; padding: 32px 28px;
    border: 1px solid var(--gray-light);
    display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden;
    transition: box-shadow .25s, transform .25s;
  }
  .siniestro-step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(var(--blue-rgb), 0.12); border-color: var(--blue-pale); }
  .siniestro-step::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
  }
  .step-num {
    width: 48px; height: 48px; background: var(--navy); color: var(--white);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 22px; font-weight: 800; flex-shrink: 0;
  }
  .step-title { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); }
  .step-desc { font-size: 14px; color: var(--gray); line-height: 1.75; font-weight: 300; flex: 1; }

  /* ── FOOTER ── */
  footer { background: var(--navy); padding: 60px 5% 32px; }
  .footer-grid { display: grid; grid-template-columns: 1.8fr 1.6fr 0.8fr 0.8fr; gap: 12px 20px; margin-bottom: 48px; }
  .footer-brand { margin-top: -15px; }
  .footer-brand img { height: 72px; margin-bottom: 16px; }
  .footer-brand p { font-size: 13px; color: rgba(var(--white-rgb), 0.65); line-height: 1.8; font-weight: 300; max-width: 260px; }
  .footer-ssn { display: block; margin-top: 18px; opacity: .55; transition: opacity .2s; text-align: left; }
  .footer-ssn:hover { opacity: .9; }
  .footer-ssn img { height: 44px; width: auto; display: inline-block; filter: brightness(0) invert(1); }
  .footer-col h5 { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul.footer-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; flex-direction: unset; }
  .footer-col h5 { display: block; width: 100%; }
  .footer-col ul a { color: rgba(var(--white-rgb), 0.55); text-decoration: none; font-size: 14px; transition: color .2s; }
  .footer-col ul a:hover { color: var(--white); }
  .footer-social{ display:flex;gap:12px;margin-top:20px;flex-wrap:wrap; }
  .footer-social-btn{ width:38px;height:38px;border-radius:8px;background:rgba(var(--white-rgb), 0.08);border:1px solid rgba(var(--white-rgb), 0.12);display:flex;align-items:center;justify-content:center;transition:background .2s;text-decoration:none; }
  .footer-social-btn:hover{ background:rgba(var(--white-rgb), 0.16); }
  .footer-wa-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--white-rgb), 0.08); color: rgba(var(--white-rgb), 0.8) !important; border: 1px solid rgba(var(--white-rgb), 0.12); padding: 6px 12px; border-radius: 6px; font-size: 13px !important; transition: background .2s, border-color .2s !important; }
  .footer-wa-btn:hover { background: rgba(var(--white-rgb), 0.14) !important; border-color: rgba(var(--white-rgb), 0.25) !important; color: var(--white) !important; }
  .footer-arrow-link { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 0.5px solid rgba(var(--white-rgb), 0.07); color: rgba(var(--white-rgb), 0.55) !important; text-decoration: none; font-size: 14px; transition: color .2s; }
  .footer-arrow-link:hover { color: var(--white) !important; }
  .footer-arrow-link:hover .footer-arrow { color: rgba(var(--white-rgb), 0.6); }
  .footer-arrow { color: rgba(var(--white-rgb), 0.2); font-size: 13px; transition: color .2s; }
  .footer-bottom { border-top: 1px solid rgba(var(--white-rgb), 0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
  .footer-bottom p { font-size: 13px; color: rgba(var(--white-rgb), 0.6); }

  /* ── WA FLOAT ── */
  .wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform .2s;
    text-decoration: none;
  }
  .wa-float:hover { transform: scale(1.1); }

  /* ── SUCCESS MODAL ── */
  .modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(var(--navy-rgb), 0.7); align-items: center; justify-content: center; }
  .modal.show { display: flex; }
  .modal-box { background: var(--white); border-radius: 16px; padding: 40px; max-width: 380px; width: 90%; text-align: center; }
  .modal-icon { width: 60px; height: 60px; background: var(--success-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; }
  .modal-title { font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
  .modal-text { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
  .modal-close { background: var(--navy); color: var(--white); border: none; padding: 12px 28px; border-radius: 8px; cursor: pointer; font-family: 'Syne', 'Syne Fallback', sans-serif; font-size: 14px; font-weight: 600; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    /* Anchor hero content to the top so font-swap reflows don't recenter the whole block (CLS). */
    #inicio { align-items: flex-start; }
    /* Reserve space for the hero copy so font-swap line-wrap differences don't shift buttons (CLS). */
    #inicio .hero-content > p { min-height: 230px; }
    #inicio .hero-content { min-height: 470px; }
    #inicio .hero-card { display: none; }
    #hero > div[id$="Wrap"] { display: none !important; }
    #hero > div[id$="Wrapper"] { display: none !important; }
    .cotizar-wrap { grid-template-columns: 1fr; }
    .cotizar-info { z-index: 0; }
    #cotizar .form-card { position: relative; z-index: 1; }
    .cotizar-info .section-tag { text-align: center; }
    .cotizar-info .section-title { text-align: center; }
    .cotizar-info .section-sub { text-align: center; margin: 0 auto; }
    .cotizar-features { align-items: flex-start; }
    .cotizar-feat { align-items: flex-start; }

    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px 24px; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand p { max-width: 480px; margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }

    .siniestros-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .porque-grid { grid-template-columns: 1fr; }
    .sucursales-grid { grid-template-columns: 1fr; }
    /* Nav mobile desde 900px */
    nav { padding: 0 5%; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 72px; left: 0; right: 0;
      background: var(--white); padding: 20px 24px; gap: 16px;
      border-radius: 24px; box-shadow: 0 8px 32px rgba(var(--navy-rgb), 0.12);
      margin-top: 8px; z-index: 99;
    }
    .nav-links.open .nav-dropdown-menu {
      display: none; flex-direction: column; position: static;
      box-shadow: none; border: none; padding: 8px 0 0 12px;
      min-width: unset; border-radius: 0;
    }
    .nav-links.open .nav-dropdown-menu.open {
      display: flex;
    }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
  }
  @media (max-width: 600px) {
    nav { padding: 0 4%; }
    section { padding: 60px 4%; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-col { text-align: center; }
    .footer-col ul { align-items: center; }
    .footer-col ul.footer-prod-grid { grid-template-columns: 1fr 1fr; justify-items: center; }
    .footer-social { justify-content: center !important; }
    .footer-brand div { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-ssn { text-align: center; }
    .metrics-row { grid-template-columns: 1fr; }
    .metric { border-right: none; border-bottom: 1px solid rgba(var(--white-rgb), 0.08); padding: 20px 0; }
    .metric:last-child { border-bottom: none; }
    .metric-num { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    #inicio .hero-card { display: none !important; }
  }

  .fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
  .fade-up.visible { opacity: 1; transform: none; }



