:root{
  --site-primary:#0F3D64;
  --site-secondary:#1FA67A;
  --site-bg:#F4F7FB;
  --site-card:#ffffff;
  --site-text:#1f2937;
  --site-muted:#6b7280;
  --site-border:rgba(15,61,100,.08);
  --site-radius:24px;
  --site-radius-sm:16px;
  --site-shadow:0 18px 50px rgba(15,61,100,.10);
  --site-shadow-soft:0 10px 30px rgba(15,61,100,.06);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--site-text);
  background:var(--site-bg);
  line-height:1.65;
}

h1,h2,h3,h4,h5,h6{
  font-family:'Poppins',sans-serif;
  letter-spacing:-.02em;
  color:#142235;
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
}

.fw-800{
  font-weight:800;
}

/* =========================
   NAVBAR
========================= */
.site-navbar{
  background:linear-gradient(135deg, rgba(15,61,100,.96), rgba(31,166,122,.90));
  backdrop-filter:blur(10px);
  box-shadow:0 10px 28px rgba(0,0,0,.10);
  padding:.85rem 0;
}

.site-navbar .navbar-brand{
  color:#fff;
}

.site-navbar .nav-link{
  color:rgba(255,255,255,.88);
  font-weight:500;
  padding:.65rem .9rem;
  border-radius:999px;
  transition:all .25s ease;
}

.site-navbar .nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.site-navbar .nav-link.active{
  color:#fff;
  font-weight:700;
  background:rgba(255,255,255,.10);
}

.site-logo{
  width:50px;
  height:50px;
  object-fit:contain;
  border-radius:14px;
  background:#fff;
  padding:5px;
  display:block;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.site-logo-placeholder{
  width:50px;
  height:50px;
  border-radius:14px;
  background:#fff;
  display:grid;
  place-items:center;
  color:var(--site-primary);
  font-size:1.35rem;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.btn-site-accent{
  background:#fff;
  color:var(--site-primary);
  border:none;
  border-radius:999px;
  font-weight:700;
  padding:.6rem 1rem;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.btn-site-accent:hover{
  background:#f5fbff;
  color:var(--site-primary);
}

/* =========================
   HERO
========================= */
.hero-section{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(110deg, rgba(7,23,39,.78) 0%, rgba(15,61,100,.58) 45%, rgba(31,166,122,.18) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.65rem 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
  color:#fff;
  font-weight:500;
}

.hero-title{
  font-size:clamp(2.2rem, 5vw, 4.4rem);
  font-weight:800;
  line-height:1.03;
  color:#fff;
  max-width:880px;
  margin-bottom:1rem;
}

.hero-subtitle{
  max-width:760px;
  color:rgba(255,255,255,.88);
  font-size:1.08rem;
  margin-bottom:2rem;
}

.hero-section .btn-light{
  border-radius:999px;
  font-weight:700;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.hero-section .btn-outline-light{
  border-radius:999px;
  font-weight:700;
}

/* =========================
   SECCIONES
========================= */
.section-block{
  padding:78px 0;
}

.section-title{
  font-size:clamp(1.7rem, 3vw, 2.5rem);
  font-weight:800;
  margin-bottom:.35rem;
}

.section-text{
  color:var(--site-muted);
  max-width:760px;
}

.section-overlap{
  margin-top:-78px;
  position:relative;
  z-index:5;
}

.bg-white{
  background:#fff !important;
}

/* =========================
   CABECERAS DE SECCIÓN
========================= */
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
  margin-bottom:1.8rem;
  flex-wrap:wrap;
}

.section-head h2{
  margin:0 0 .25rem 0;
  font-size:clamp(1.7rem, 3vw, 2.5rem);
  font-weight:800;
}

.section-head p{
  margin:0;
  color:var(--site-muted);
}

/* =========================
   TARJETAS
========================= */
.soft-card{
  background:var(--site-card);
  border:1px solid var(--site-border);
  border-radius:var(--site-radius);
  box-shadow:var(--site-shadow);
}

.feature-card,
.news-card,
.board-card,
.tariff-card{
  height:100%;
  padding:1.6rem;
}

.feature-card-top{
  padding:1.75rem 1.5rem;
}

.feature-icon{
  width:60px;
  height:60px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(15,61,100,.09), rgba(31,166,122,.15));
  color:var(--site-primary);
  font-size:1.45rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}

/* =========================
   ABOUT
========================= */
.about-highlight{
  position:relative;
  overflow:hidden;
}

.about-highlight::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-100px;
  bottom:-90px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(31,166,122,.16), transparent 68%);
  pointer-events:none;
}

.mini-stat{
  background:#fff;
  border:1px solid var(--site-border);
  border-radius:18px;
  padding:1rem;
  height:100%;
  text-align:center;
  box-shadow:var(--site-shadow-soft);
}

.mini-stat-value{
  font-size:1.4rem;
  font-weight:800;
  color:var(--site-primary);
  margin-bottom:.35rem;
}

.mini-stat-label{
  color:var(--site-muted);
  font-size:.92rem;
}

/* =========================
   TARIFAS DESTACADAS
========================= */
.tariff-highlight-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  padding:1rem 1.1rem;
  border:1px solid var(--site-border);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:var(--site-shadow-soft);
}

.tariff-price{
  color:var(--site-primary);
  font-size:1.05rem;
}

/* =========================
   NOTICIAS
========================= */
.news-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}

.news-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(15,61,100,.14);
}

.news-image{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  background:#eaf0f6;
  transition:transform .4s ease;
}

.news-card:hover .news-image{
  transform:scale(1.035);
}

.news-card h5{
  font-size:1.18rem;
  margin-bottom:.6rem;
}

.news-card p{
  flex-grow:1;
}

.news-card .btn-link{
  color:var(--site-primary);
  font-weight:700;
}

.news-content{
  font-size:1.03rem;
  line-height:1.85;
  color:var(--site-text);
}

.news-content p{
  margin-bottom:1rem;
}

.news-content h2,
.news-content h3,
.news-content h4{
  margin-top:1.6rem;
  margin-bottom:.8rem;
}

/* =========================
   DOCUMENTOS
========================= */
.doc-card{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}

.doc-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(15,61,100,.10), rgba(31,166,122,.15));
  color:var(--site-primary);
  font-size:1.45rem;
}

.doc-cat{
  font-size:.85rem;
  color:var(--site-muted);
}

/* =========================
   GALERÍA
========================= */
.gallery-tile{
  padding:0;
  overflow:hidden;
  border-radius:20px;
}

.gallery-tile img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.gallery-tile:hover img{
  transform:scale(1.06);
}

/* =========================
   DIRECTIVA
========================= */
.board-card{
  display:flex;
  flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
}

.board-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 45px rgba(15,61,100,.13);
}

.board-photo{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:18px;
  background:#edf3f8;
}

/* =========================
   CTA CONTACTO
========================= */
.contact-cta-section{
  padding-top:12px;
}

.contact-cta-box{
  background:linear-gradient(135deg, rgba(15,61,100,.97), rgba(31,166,122,.88));
  color:#fff;
  border-radius:30px;
  padding:2.2rem 2.4rem;
  box-shadow:0 24px 55px rgba(15,61,100,.18);
}

.contact-cta-box h2{
  color:#fff;
}

.text-white-75{
  color:rgba(255,255,255,.80);
}

/* =========================
   PÁGINAS INTERNAS
========================= */
.page-hero{
  padding:74px 0 46px;
  background:linear-gradient(135deg, rgba(15,61,100,.08), rgba(31,166,122,.10));
  border-bottom:1px solid rgba(15,61,100,.05);
}

.contact-box{
  padding:1.5rem;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--site-border);
  box-shadow:var(--site-shadow);
  height:100%;
}

/* =========================
   TABLAS
========================= */
.tariff-table{
  border-radius:18px;
  overflow:hidden;
}

.tariff-table thead th{
  background:var(--site-primary);
  color:#fff;
  border:none;
  padding:1rem .9rem;
}

.tariff-table tbody td{
  vertical-align:middle;
  padding:1rem .9rem;
}

/* =========================
   FORMULARIOS
========================= */
.form-control,
.form-select{
  border-radius:15px;
  padding:.9rem 1rem;
  border:1px solid #d7e1ea;
  background:#fff;
}

.form-control:focus,
.form-select:focus{
  border-color:var(--site-secondary);
  box-shadow:0 0 0 .2rem rgba(31,166,122,.12);
}

.btn-primary-site{
  background:linear-gradient(135deg, var(--site-primary), var(--site-secondary));
  border:none;
  border-radius:14px;
  padding:.88rem 1.2rem;
  font-weight:700;
  box-shadow:0 10px 22px rgba(15,61,100,.14);
}

.btn-primary-site:hover{
  color:#fff;
  filter:brightness(.98);
}

/* =========================
   FOOTER
========================= */
.site-footer{
  margin-top:80px;
  background:linear-gradient(180deg, #11263c 0%, #0a1c2d 100%);
  color:#fff;
}

.footer-title,
.footer-subtitle{
  font-weight:800;
  color:#fff;
}

.footer-links li{
  margin-bottom:.4rem;
}

.footer-links a{
  color:rgba(255,255,255,.74);
  transition:all .2s ease;
}

.footer-links a:hover{
  color:#fff;
}

.site-footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.72);
}

/* =========================
   WHATSAPP
========================= */
.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:#25D366;
  box-shadow:0 15px 34px rgba(37,211,102,.34);
  font-size:1.7rem;
  z-index:999;
  transition:transform .2s ease;
}

.whatsapp-float:hover{
  color:#fff;
  transform:translateY(-2px);
}

/* =========================
   UTILIDADES
========================= */
.rounded-4{
  border-radius:1rem !important;
}

/* =========================
   NOTICIAS A LO ANCHO
========================= */
.container-fluid .news-card{
  max-width:100%;
}

.container-fluid .news-image{
  height:250px;
}

@media (min-width: 1400px){
  .container-fluid.px-xl-5{
    padding-left:3.5rem !important;
    padding-right:3.5rem !important;
  }

  .container-fluid .news-image{
    height:270px;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px){
  .section-overlap{
    margin-top:0;
  }

  .hero-section{
    min-height:540px;
  }

  .board-photo{
    height:240px;
  }
}

@media (max-width: 767.98px){
  .section-block{
    padding:58px 0;
  }

  .hero-title{
    font-size:2.4rem;
  }

  .hero-subtitle{
    font-size:1rem;
  }

  .contact-cta-box{
    padding:1.6rem;
  }

  .section-head{
    align-items:flex-start;
  }

  .container-fluid .news-image{
    height:220px;
  }
}

@media (max-width: 575.98px){
  .hero-section{
    min-height:500px;
  }

  .site-logo,
  .site-logo-placeholder{
    width:44px;
    height:44px;
  }

  .news-image{
    height:200px;
  }

  .gallery-tile img{
    height:180px;
  }

  .container-fluid .news-image{
    height:200px;
  }
}