:root {
    --bg: #f7f3eb;
    --bg-soft: #f0e8dd;
    --text-main: #1f2430;
    --text-soft: #5c6270;
    --gold: #caa86a;
    --gold-dark: #a5863e;
    --white: #ffffff;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: min(1120px, 84%);
    margin: 0 auto;
}

/* Más margen aún en celulares muy pequeños */
@media (max-width: 480px) {
    .container {
        width: 80%;
    }
}
/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 243, 235, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(202, 168, 106, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold-dark);
    text-transform: uppercase;
}

.logo-subtitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .15em;
    color: var(--text-soft);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    font-size: .9rem;
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
}

/* HERO */
.hero {
    padding: 4rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 2.5rem;
}

.hero-tag {
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .16em;
    color: var(--text-soft);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    margin: .7rem 0 1rem;
}

/* HERO Imagen */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    height: 300px; /* móvil */
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(202,168,106,.35);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HERO CARD */
.hero-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(202,168,106,0.25);
}

.hero-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: .5rem;
}
/* CONTADOR REGRESIVO EN HERO */
.hero-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.4rem 0 0.6rem;
}

.cd-item {
    min-width: 72px;
    padding: 0.45rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(202, 168, 106, 0.45);
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.cd-item span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.cd-item small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* Un poquito más compacto en pantallas chicas */
@media (max-width: 480px) {
    .cd-item {
        min-width: 64px;
        padding: 0.4rem 0.6rem;
    }

    .cd-item span {
        font-size: 1rem;
    }
}


/* BOTONES */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    padding: .65rem 1.4rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.btn-secondary {
    border: 1px solid #aaa;
    color: var(--text-main);
}

.btn-outline {
    border: 1px solid var(--gold-dark);
    color: var(--gold-dark);
}

/* SECCIONES */
.section {
    padding: 3.5rem 0;
}

.section-soft {
    background: var(--bg-soft);
}

/* ABOUT */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Imagen 2 – NAN */
.about-image-wrapper {
    width: 100%;
    height: 260px; /* ajustado para que NO corte la cara */
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(202,168,106,0.3);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* mueve el recorte hacia arriba */
}

.about-badge {
    margin-top: 1.2rem;
    padding: .9rem 1rem;
    border-left: 3px solid var(--gold-dark);
    background: rgba(255,255,255,.7);
}

/* AGENDA */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

/* Imagen 3 DJ */
.agenda-image-wrapper {
    width: 100%;
    height: 150px;
    border-radius: .9rem;
    overflow: hidden;
    margin: .4rem 0 .6rem;
}

.agenda-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROVEEDORES */
.providers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

/* FOOTER */
.footer {
    padding: 1.6rem 0;
    background: #f5eee4;
    border-top: 1px solid rgba(202,168,106,.25);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (min-width: 769px) {
    .hero-image-wrapper { height: 360px; }
    .about-image-wrapper { height: 280px; }
    .agenda-image-wrapper { height: 170px; }
}

/* Desktop grande */
@media (min-width: 1025px) {
    .hero-image-wrapper { height: 400px; }
    .about-image-wrapper { height: 320px; }
    .agenda-image-wrapper { height: 180px; }
}

/* Columnas apiladas */
@media (max-width: 900px) {
    .hero-grid,
    .two-columns,
    .agenda-grid {
        grid-template-columns: 1fr;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: absolute;
        inset: 56px 0 auto 0;
        padding: .8rem 4%;
        background: rgba(247,243,235,.98);
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    .nav-links.show { display: flex; }

    .hero { padding-bottom: 2rem; }
}
/* FORMULARIO DE REGISTRO */
.form-registro {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.form-group label {
  color: var(--text-soft);
}

.form-group input,
.form-group textarea {
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #faf6ef;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 1px rgba(202,168,106,0.35);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}
/* IMÁGENES DE SECCIÓN */
.section-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 300px;
  margin-bottom: 1.4rem;
}

.section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.2rem;
}
.section-img-wide {
  aspect-ratio: 16 / 9;
  max-height: 240px;
}
@media (min-width: 768px) {
  .section-img {
    max-height: 340px;
  }
  .section-img-wide {
    max-height: 300px;
  }
}

@media (min-width: 1024px) {
  .section-img {
    max-height: 380px;
  }
  .section-img-wide {
    max-height: 320px;
  }
}
/* FIX FINAL: imágenes de secciones (Chrome/Safari) */
.img-frame.section-img{
  width: 100%;
  height: 240px !important;
  overflow: hidden;
  border-radius: 1.2rem;
}

.img-frame.section-img img{
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Variante 16:9 */
.img-frame.section-img.section-img-wide{
  height: 210px !important;
}

/* Tablet */
@media (min-width: 769px){
  .img-frame.section-img{ height: 300px !important; }
  .img-frame.section-img.section-img-wide{ height: 260px !important; }
}

/* Desktop */
@media (min-width: 1025px){
  .img-frame.section-img{ height: 340px !important; }
  .img-frame.section-img.section-img-wide{ height: 300px !important; }
}


