body {
      font-family: 'Inter', sans-serif;
      background: #fafcff;
      color: #1a2c3e;
      margin: 0;
      padding: 0;
    }
    .header {
      background: #fff;
      box-shadow: 0 2px 15px rgba(0,0,0,0.05);
      padding: 1rem 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo-img { height: 48px; }
    .nav-links { display: flex; gap: 2rem; }
    .nav-links a { text-decoration: none; color: #1a2c3e; font-weight: 600; }
    .nav-links a.active, .nav-links a:hover { color: #1e4a76; }
    .container { max-width: 1200px; margin: 2rem auto; padding: 2rem; }
    .section-title { font-size: 2.2rem; font-weight: 800; color: #0b2b5c; text-align: center; margin-bottom: 0.5rem; }
    .subtitle { text-align: center; color: #2c3e50; margin-bottom: 2rem; }
    .sucursales-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
    .sucursal-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(0,70,100,0.08);
      padding: 1.5rem;
      width: 340px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: box-shadow 0.2s;
      cursor: pointer;
      position: relative;
    }
    .sucursal-card:hover { box-shadow: 0 16px 32px rgba(0,70,100,0.16); }
    .sucursal-title { font-size: 1.3rem; font-weight: 700; color: #1e4a76; margin-bottom: 0.5rem; }
    .sucursal-direccion {
      color: #2c3e50;
      font-size: 0.95rem;
      margin-bottom: 1rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
    }
    .dir-line { line-height: 1.45; }
    .dir-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #1e4a76;
      margin-bottom: 0.15rem;
    }
    .modal-direccion .dir-line { margin-bottom: 0.5rem; }
    .map-preview { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 1rem; border: 1px solid #e2e8f0; }
    .map-preview iframe { width: 100%; height: 100%; border: 0; }
    /* Modal */
    .modal-bg {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.35);
      z-index: 9999;
      align-items: center;
      justify-content: center;
    }
    .modal-bg.active { display: flex; }
    .modal-content {
      background: #fff;
      border-radius: 18px;
      max-width: 700px;
      width: 95vw;
      padding: 2rem;
      box-shadow: 0 12px 32px rgba(0,70,100,0.18);
      position: relative;
      animation: modalIn 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    @keyframes modalIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .modal-close {
      position: absolute;
      top: 18px; right: 18px;
      background: #e2e8f0;
      border: none;
      border-radius: 50%;
      width: 36px; height: 36px;
      font-size: 1.2rem;
      color: #1a2c3e;
      cursor: pointer;
      transition: background 0.2s;
    }
    .modal-close:hover { background: #cfd8e3; }
    .modal-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #1e4a76;
      margin-bottom: 0.5rem;
      text-align: center;
      width: 100%;
    }
    .modal-direccion {
      color: #2c3e50;
      margin-bottom: 1rem;
      text-align: center;
      width: 100%;
    }
    .modal-map-fotos-row {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      gap: 1rem;
      flex-direction: column;
    }
    .modal-map {
      width: 50%;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      height: 260px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .modal-map iframe { width: 100%; height: 100%; border: 0; }
    .modal-fotos {
      width: 50%;
      max-width: 90%;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      align-items: center;
      text-align: center;
      height: 260px;
      overflow-y: auto;
      margin: 0 auto;
    }
    .modal-fotos img {
      width: 120px;
      height: 90px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid #e2e8f0;
      margin: 6px;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      display: inline-block;
    }
    .modal-fotos img:hover {
      transform: scale(1.08);
      box-shadow: 0 8px 24px rgba(0,70,100,0.18);
    }
    /* Lightbox para imagen ampliada */
    .lightbox-bg {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.7);
      z-index: 10000;
      align-items: center;
      justify-content: center;
    }
    .lightbox-bg.active { display: flex; }
    .lightbox-img {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: 16px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.4);
      background: #fff;
      padding: 10px;
    }
    @media (max-width: 800px) {
      .sucursales-grid { flex-direction: column; align-items: center; }
      .container { padding: 1rem; }
      .modal-content { padding: 1rem; }
    }