  :root {
      --primary: #1a3c6e;
      --accent: #e8a020;
      --light: #f4f7fb;
      --gray: #6b7280;
  }

  body {
      font-family: 'Segoe UI', Arial, sans-serif;
  }

  a {
      text-decoration: none;
  }

  /* ── TOPBAR ── */
  #topbar {
      background: var(--primary);
      font-size: .82rem;
      color: rgba(255, 255, 255, .80);
      padding: 7px 0;
  }

  #topbar a {
      color: rgba(255, 255, 255, .80);
  }

  #topbar a:hover {
      color: var(--accent);
  }

  .topbar-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .12);
      color: #fff;
      font-size: .78rem;
      transition: background .2s;
  }

  .topbar-social a:hover {
      background: var(--accent);
  }

  /* ── NAVBAR ── */
  .navbar {
      background: #fff;
      box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  }

  .navbar-brand .brand-name {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.3rem;
      letter-spacing: 1px;
  }

  .navbar-brand small {
      color: var(--gray);
      font-size: .75rem;
      display: block;
  }

  .logo-icon {
      width: 46px;
      height: 46px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.2rem;
      margin-right: 10px;
  }

  .nav-link {
      color: #333 !important;
      font-weight: 600;
      font-size: .88rem;
      text-transform: uppercase;
      letter-spacing: .4px;
      padding: 8px 14px !important;
  }

  .nav-link:hover,
  .nav-link.active {
      color: var(--accent) !important;
  }

  .navbar-toggler {
      border-color: var(--primary);
  }

  .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a3c6e' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* ── HERO ── */
  #inicio {
      min-height: 92vh;
      background: linear-gradient(135deg, var(--primary) 0%, #2a5298 60%, #1a3c6e 100%);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
  }

  #inicio::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1400&q=80') center/cover;
      opacity: .12;
  }

  .hero-content {
      position: relative;
      z-index: 1;
  }

  .hero-content h1 {
      font-size: clamp(2rem, 5vw, 3.4rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.15;
  }

  .hero-content p {
      color: rgba(255, 255, 255, .80);
      font-size: 1.1rem;
      margin: 18px 0 30px;
  }

  .btn-hero {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 13px 32px;
      border-radius: 8px;
      font-weight: 700;
      font-size: .95rem;
      transition: background .2s, transform .15s;
  }

  .btn-hero:hover {
      background: #cf8c12;
      color: #fff;
      transform: translateY(-2px);
  }

  .hero-dots {
      display: flex;
      gap: 8px;
      margin-top: 36px;
  }

  .hero-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .3);
  }

  .hero-dots span.active {
      background: var(--accent);
  }

  /* ── SECTION TITLES ── */
  .section-title {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--primary);
  }

  .section-divider {
      width: 50px;
      height: 3px;
      background: var(--accent);
      border-radius: 2px;
      margin: 10px auto 40px;
  }

  /* ── SERVICIOS ── */
  #servicios {
      background: var(--light);
      padding: 80px 0;
  }

  .service-card {
      background: #fff;
      border-radius: 12px;
      padding: 32px 24px;
      text-align: center;
      box-shadow: 0 4px 18px rgba(26, 60, 110, .08);
      transition: transform .2s, box-shadow .2s;
      height: 100%;
  }

  .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 28px rgba(26, 60, 110, .15);
  }

  .service-icon {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: var(--light);
      margin: 0 auto 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      color: var(--primary);
      transition: background .2s;
  }

  .service-card:hover .service-icon {
      background: var(--primary);
      color: #fff;
  }

  .service-card h5 {
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 10px;
  }

  .service-card p {
      font-size: .87rem;
      color: var(--gray);
      line-height: 1.6;
  }

  .btn-service {
      margin-top: 16px;
      padding: 7px 20px;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: 6px;
      font-size: .82rem;
      font-weight: 600;
      transition: background .2s, color .2s;
      display: inline-block;
  }

  .btn-service:hover {
      background: var(--primary);
      color: #fff;
  }

  /* ── NOTICIAS ── */
  #noticias {
      padding: 80px 0;
      background: #fff;
  }

  .news-card {
      border: none;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
      transition: transform .2s;
      height: 100%;
  }

  .news-card:hover {
      transform: translateY(-4px);
  }

  .news-card .card-img-top {
      height: 180px;
      object-fit: cover;
  }

  .news-card .card-body {
      padding: 20px;
  }

  .news-card .card-title {
      font-weight: 700;
      color: var(--primary);
      font-size: .97rem;
  }

  .news-card .card-text {
      font-size: .84rem;
      color: var(--gray);
  }

  .news-date {
      font-size: .78rem;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 8px;
  }

  .btn-news {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 7px 18px;
      border-radius: 6px;
      font-size: .82rem;
      font-weight: 600;
      transition: background .2s;
  }

  .btn-news:hover {
      background: #cf8c12;
      color: #fff;
  }

  /* ── CONTACTO ── */
  #contacto {
      background: var(--light);
      padding: 80px 0;
  }

  .map-placeholder {
      background: #d1d9e6;
      border-radius: 12px;
      height: 100%;
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gray);
      font-size: 2rem;
      overflow: hidden;
  }

  .map-placeholder iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 12px;
      min-height: 320px;
  }

  .contact-form .form-control,
  .contact-form .form-select {
      border: 1.5px solid #d1d9e6;
      border-radius: 8px;
      font-size: .9rem;
      padding: 10px 14px;
  }

  .contact-form .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(26, 60, 110, .10);
  }

  .contact-info-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
      font-size: .88rem;
  }

  .contact-info-item i {
      color: var(--accent);
      font-size: 1rem;
      margin-top: 2px;
      flex-shrink: 0;
  }

  .btn-send {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 11px 28px;
      border-radius: 8px;
      font-weight: 700;
      transition: background .2s;
  }

  .btn-send:hover {
      background: #2a5298;
      color: #fff;
  }

  /* ── FOOTER ── */
  footer {
      background: var(--primary);
      color: rgba(255, 255, 255, .80);
      padding: 52px 0 0;
  }

  footer h5 {
      color: var(--accent);
      font-size: .85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 16px;
  }

  footer p,
  footer li,
  footer a {
      font-size: .84rem;
      color: rgba(255, 255, 255, .75);
  }

  footer ul {
      list-style: none;
      padding: 0;
  }

  footer ul li {
      margin-bottom: 6px;
  }

  footer ul li a:hover {
      color: var(--accent);
  }

  .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .12);
      color: #fff;
      margin-right: 6px;
      transition: background .2s;
  }

  .footer-social a:hover {
      background: var(--accent);
  }

  .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, .12);
      padding: 16px 0;
      margin-top: 40px;
      font-size: .8rem;
      color: rgba(255, 255, 255, .45);
      text-align: center;
  }

  .newsletter-input {
      display: flex;
      gap: 8px;
  }

  .newsletter-input input {
      flex: 1;
      padding: 9px 12px;
      border-radius: 6px;
      border: none;
      font-size: .85rem;
  }

  .newsletter-input button {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 9px 16px;
      border-radius: 6px;
      font-size: .85rem;
      font-weight: 600;
      white-space: nowrap;
  }

  .newsletter-input button:hover {
      background: #cf8c12;
  }
