@import url('https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
    --brand-red: #FC4444;
    --brand-red-dark: #E13232;
    --cocoa: #3B2417;
    --text-body: #5b5b5b;
    --gold: #E8A33D;
    --pink-soft: #FFE1D6;
    --cream: #FFF6EF;
    --card-shadow: 0 12px 28px rgba(59, 36, 23, 0.08);
}

html { scroll-behavior: smooth; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 100%;
    background: #ffffff;
    overflow-x: hidden;
    font-family: "Nunito Sans", sans-serif;
    color: var(--cocoa);
}

h1, h2, h3 {
    font-family: "Sansita", sans-serif;
    margin: 0;
}

p { margin: 0; }

/* ===== NAVBAR (igual al resto del sitio) ===== */
.navbar {
    background-color: var(--brand-red);
    max-width: 100%;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 100px;
    position: relative;
    margin: 0 auto;
    max-width: 1500px;
    border-bottom: 2px solid #ffffff;
}

.logo {
    cursor: pointer;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    position: relative;
    font-family: "Nunito Sans", sans-serif;
    transition: all 0.3s ease;
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #eeeeee;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-red);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    font-family: "Nunito Sans", sans-serif;
}

.btn-nav:hover { transform: scale(1.1); }

/* --- Estilos base para el botón hamburguesa (Oculto en PC) --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff; /* Cambia al color de tu texto/icono */
    transition: 0.3s ease;
}

.nav-btn-mobile {
    display: none; /* Oculto en PC */
}

/* --- Media Query para Celulares (Pantallas menores a 768px) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Muestra las 3 líneas */
    }

    .button {
        display: none; /* Oculta el botón exterior */
    }

    /* Color de las líneas de la X cuando el menú está ABIERTO */
    .hamburger.active .bar {
        background-color: #000000; /* Puedes cambiar #000000 por el color oscuro que quieras */
    }

    .nav-btn-mobile {
        display: block; /* Muestra el botón dentro de la lista */
    }

    .btn-nav-cel {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    background-color: #FC4444;
    }

    .btn-nav-cel:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 24px rgba(252, 68, 68, 0.35);
    }

    /* REVISIÓN DEL CUADRO: Forzamos la visualización y el diseño */
    .nav-links {
        display: flex !important; /* Asegura que el contenedor se pinte */
        flex-direction: column !important; /* Los enlaces se apilan verticalmente */
        justify-content: flex-start;
        align-items: center;
        gap: 2.5rem;
        padding-top: 4rem;

        /* Posicionamiento para el deslizamiento lateral */
        position: fixed; /* 'fixed' evita que se mueva si haces scroll */
        top: 0;
        right: -100%; /* Empieza escondido totalmente a la derecha */
        width: 70%; /* Ocupará el 70% del ancho de la pantalla del celular */
        height: 100vh; /* Ocupa todo el alto de la pantalla */
        
        /* Apariencia del cuadro */
        background-color: #ffffff; /* ¡Cambia este color si tu fondo es oscuro! */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); /* Sombra lateral */
        z-index: 99; /* Se posiciona debajo del botón hamburguesa */
        
        /* Animación suave de deslizamiento */
        transition: right 0.4s ease-in-out; 
    }

    /* Color del enlace activo dentro del menú móvil */
    .nav-links a.active {
    color: #373030 !important; /* Un gris casi negro muy legible */
    font-weight: bold;         /* Opcional: lo hace resaltar un poco más */
    border-bottom: 2px solid #000000; /* Opcional: una línea abajo para marcar dónde está */
    padding-bottom: 4px;
    }

    /* Cuando se activa, se desliza hacia la pantalla */
    .nav-links.active {
        right: 0; /* Se pega al borde derecho */
    }

    /* Ajuste para los elementos de la lista */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 16px;
        color: #292929; /* Color del texto de tus enlaces */
        text-decoration: none;
    }

    .nav-links a:hover{
        display: block;
        font-size: 16px;
        color: #2b2b2b; /* Color del texto de tus enlaces */
        text-decoration: none;
    }

    /* Animación de la hamburguesa en "X" (se mantiene igual) */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* ===== HERO DE TIPS ===== */
.tips-hero {
    width: 100%;
    background: var(--brand-red);
    padding: 90px 24px 110px;
}

.tips-hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: "Sansita", sans-serif;
    font-style: italic;
    font-weight: 700;
    color: #f1f1f1;
    margin-bottom: 12px;
    font-size: 15px;
}

.tips-hero h1 {
    font-size: 46px;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.tips-hero-sub {
    color: #f3eeee;
    font-size: 17px;
    line-height: 1.6;
}

/* ===== OLA DECORATIVA ===== */
.target-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--brand-red);
    margin-top: -1px;
}

.target-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* ===== TIP DESTACADO ===== */
.section-featured {
    background-color: var(--cream);
    padding: 100px 24px 80px;
    display: flex;
    justify-content: center;
}

.featured-card {
    max-width: 800px;
    background-color: #fff;
    border: 3px solid var(--gold);
    border-radius: 25px;
    padding: 40px 44px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.featured-tag {
    display: inline-block;
    background-color: var(--gold);
    color: var(--cocoa);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.featured-card h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.featured-card p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== TITULOS DE SECCION ===== */
.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 15px;
}

/* ===== TIPS ===== */
.section-tips {
    background-color: var(--cream);
    padding: 70px 24px;
}

.section-tips--alt {
    background-color: var(--pink-soft);
}

.tip-cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tip-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
}

.tip-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 14px;
}

.tip-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.tip-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.55;
}

.cta-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--pink-soft);
    margin-top: -1px;
}

.cta-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* ===== CTA FINAL ===== */
.section-cta {
    background-color: var(--cocoa);
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.cta-card {
    max-width: 620px;
    text-align: center;
}

.cta-card h2 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 14px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.25s ease;
}

.btn-cta:hover {
    background-color: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(252, 68, 68, 0.35);
}

/* ===== FOOTER ===== */
.site-footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--cocoa);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 30px 24px;
    font-size: 13px;
}

.footer-note { margin-top: 6px; font-size: 12px; }

.footer-bottom {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
 
  .footer-brand p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-top: 14px;
    max-width: 280px;
    text-align: start;
  }
 
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
 
  .footer-logo-text {
    font-family: "Sansita", sans-serif;
    font-size: 22px;
    color: #ffffff;
  }
 
  .footer-logo-text span { color: #ffd044; }
 
  .footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
  }
 
  .social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }
 
  .social-btn:hover {
    background: #FC4444;
    transform: translateY(-3px);
  }
 
  .social-btn svg { width: 16px; height: 16px; fill: #ffffff; }
 
  .footer-col h4 {
    font-family: "Sansita", sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    text-align: start;
  }
 
  .footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: #FC4444;
    border-radius: 2px;
  }
 
  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: start;
  }
 
  .footer-col ul li a {
    text-decoration: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    transition: color 0.3s ease;

  }
 
  .footer-col ul li a:hover { color: #ffd044; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .navbar-content { padding: 10px 24px; }
    .nav-links { gap: 24px; }
    .tips-hero h1 { font-size: 34px; }
    .tip-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer-bottom { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .tip-cards { grid-template-columns: 1fr; }
    .featured-card { padding: 30px 24px; }
}