/* Valores por defecto (fallback) */
body {
  --brand-primary: #003b73;      /* ajusta la paleta de Costa */
  --brand-primary-700: #0087CA;
  --brand-surface: #003b73;
  --brand-muted: #e9f0f4;
  --brand-card: #ffffff;
  --brand-cta: #9ec1b7;
  --brand-cta-700: #7fa79b;
}







:root{
      --brand-primary: <?= $cfg['primary']; ?>;
      --brand-primary-700: <?= $cfg['primary-700']; ?>;
      --brand-surface: <?= $cfg['surface']; ?>;
      --brand-muted: <?= $cfg['muted']; ?>;
      --brand-card: <?= $cfg['card']; ?>;
      --brand-cta: <?= $cfg['cta']; ?>;
      --brand-cta-700: <?= $cfg['cta-700']; ?>;
    }

    /* Reset pequeño sobre el contenido de la landing */
    .seccion-contenido-landing { padding: 0; margin: 0; }

    /* Banner */
    .bf-hero img{ width:100%; height:auto; display:block; }

    /* Intro */
    .bf-intro{
      padding: 24px 18px 10px;
      max-width: 1120px;
      margin: 0 auto;
    }
    .bf-intro h1{
      color: var(--brand-primary);
      font-size: clamp(22px, 2.8vw, 36px);
      line-height: 1.2;
      margin: 8px 0 6px;
      font-weight: 800;
    }
    .bf-intro .sub{
      color:#4b5e6d;
      font-size: clamp(15px,1.6vw,19px);
      font-style: italic;
      margin: 0 0 18px;
    }
    .bf-intro p{
      color:#2e3b45;
      font-size: 16px;
      line-height: 1.6;
      max-width: 980px;
    }
    .bf-intro b, .bf-intro strong{ color: var(--brand-primary); }

    /* Icon cards row */
    .bf-icons{
      background: linear-gradient(180deg, #fff 0, #fff 40%, var(--brand-surface) 40%, var(--brand-surface) 100%);
      padding: 12px 18px 38px;
    }
    .bf-icons .grid{
      max-width: 1120px; margin: 0 auto; display:grid; gap:14px;
      grid-template-columns: repeat(5, 1fr);
    }
    .bf-card{
      background: var(--brand-card);
      border-radius: 14px;
      padding: 18px 16px;
      box-shadow: 0 4px 18px rgba(0,0,0,.08);
      display:flex; gap:12px; align-items:flex-start;
      min-height: 120px;
    }
    .bf-card svg{ flex: 0 0 28px; }
    .bf-card h4{ margin:4px 0 6px; font-size:16px; color:#15232d; }
    .bf-card p{ margin:0; font-size:14px; color:#536471; line-height:1.4; }

    /* Beneficios */
    .bf-benefits{
      background: var(--brand-surface);
      padding: 36px 18px 40px;
      color: #fff;
    }
    .bf-benefits .wrap{ max-width:1120px; margin:0 auto; }
    .bf-benefits h2{
      font-size: clamp(20px,2.2vw,28px);
      margin: 0 0 18px;
      color:#fff;
      font-weight: 800;
    }
    .bf-benefits .grid{
      display:grid; gap:24px; grid-template-columns: 1.2fr .8fr;
      align-items: start;
    }
    .bf-list li{
      margin: 10px 0; line-height: 1.5; list-style: none; display:flex; gap:10px;
    }
    .bf-list svg{ flex:0 0 20px; }
    .bf-destinos h3{
      margin: 0 0 8px; font-size: 16px; color: #cfe4f2; font-weight:700;
    }
    .bf-destinos ul{ columns: 1; padding-left: 0; }
    .bf-destinos li{ list-style: none; margin: 6px 0; display:flex; gap:10px; }
    .bf-ctas{ display:flex; gap:16px; margin-top: 18px; flex-wrap:wrap; }
    .btn{
      
    }
    .botones{
        background: var(--brand-cta);
      color:#0b2a3f;
      border: none; border-radius: 12px; font-weight: 700; cursor: pointer;
      box-shadow: 0 6px 16px rgba(0,0,0,.12);
      text-decoration:none; display:inline-block;
      padding: 10 8; 
    }
    .btn:hover{ background: var(--brand-cta-700); }
    .btn-outline{
      background: transparent; color:#eaf4ff; border:2px solid #eaf4ff;
    }
    .btn-outline:hover{ background: rgba(255,255,255,.12); }

    /* Tabla de rutas existente */
    .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .column { display: flex; flex-direction: column; }
    .header-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: bold; }
    .header { width: 50%; text-align: center; background-color: #117a8b; color: #fff; border: 2px solid #d7ebf6; padding: 5px; }
    .route-item { display: flex; justify-content: space-between; border: 1px solid #ddd; padding: 10px; border-radius: 5px; margin-bottom: 10px; }
    .route-item .origen, .route-item .destino { width: 50%; text-align: center; }
    .route-item:nth-child(even) { background-color: #d7ebf6; }
    .route-item:nth-child(odd) { background-color: #fff; }

    @media (max-width: 1024px){
      .bf-icons .grid{ grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px){
      .bf-icons{ padding-bottom: 24px; }
      .bf-icons .grid{ grid-template-columns: repeat(2, 1fr); }
      .bf-benefits .grid{ grid-template-columns: 1fr; }
      .bf-destinos ul{ columns: 2; }
    }
    @media (max-width: 520px){
      .bf-icons .grid{ grid-template-columns: 1fr; }
      .bf-destinos ul{ columns: 1; }
    }


.bf-terms {
  background: #f7f9fb;
  padding: 3rem 1.5rem;
  border-top: 4px solid var(--brand-primary);
}
.bf-terms .wrap {
  max-width: 1100px;
  margin: 0 auto;
  color: #333;
}
.bf-terms h2 {
  text-align: center;
  color: var(--brand-primary);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  margin-bottom: 2rem;
}
.bf-terms h2 span {
  color: var(--brand-cta);
}
.term-block {
  background: #fff;
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.8rem;
}
.term-block h3 {
  color: var(--brand-primary);
  margin-bottom: 0.8rem;
  font-size: 18px;
  border-left: 4px solid var(--brand-cta);
  padding-left: 10px;
}
.term-block ol {
  margin: 0;
  padding-left: 1.2rem;
}
.term-block li {
  margin: 8px 0;
  line-height: 1.5;
}
.term-block a {
  color: var(--brand-cta-700);
  text-decoration: underline;
}
.term-block a:hover {
  color: var(--brand-primary);
}
@media (max-width: 768px) {
  .term-block {
    padding: 1rem 1.2rem;
  }
}
