/* =====================================================
   BOZZO CHOCOLATES — Estilos personalizados
   Landing Page · Registro Exclusivo
   ===================================================== */

/* ── Variables de diseño ─────────────────────────── */
:root {
    /* Paleta */
    --chocolate-dark:   #1a0a00;
    --chocolate-medium: #3d1c00;
    --chocolate-light:  #6b3a2a;
    --chocolate-accent: #8b4513;
    --gold:             #c9a84c;
    --gold-light:       #e8c97d;
    --gold-dark:        #9a7c30;
	--grey:             #f9f9f9;
    --cream:            #F3EAE2;
    --cream-dark:       #e8dcc8;
    --cream-deeper:     #d4c4a8;
    --text-dark:        #1a0a00;
    --text-muted:       #7a6a55;
    --white:            #ffffff;
	--black:            #000000;
	--salmon:           #ee7651;

    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--font-hand: 'Allison', cursive;

    /* Sombras y transiciones */
    --shadow-soft:   0 8px 40px rgba(26, 10, 0, 0.10);
    --shadow-medium: 0 16px 60px rgba(26, 10, 0, 0.16);
    --transition:    all 0.3s ease;
    --radius:        15px;
}

/* ── Reset base ──────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   HERO
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* Imagen real: reemplazar por ruta correcta */
    background-image: url('img/fondo-base.webp');
    background-size: cover;
    background-position: top center;
   /* background-attachment: fixed;*/
	background-repeat: no-repeat;
	background-color: var(--grey);
    color: var(--white);
    overflow: hidden;
}

/* Fondo fallback con gradiente chocolate cuando no hay imagen */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background:
        radial-gradient(ellipse at 20% 60%, rgba(61, 28, 0, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 10, 0, 0.40) 0%, transparent 50%),
        linear-gradient(145deg, #0d0500 0%, #2d1200 30%, #5a2800 60%, #3d1c00 80%, #1a0800 100%);*/
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(
        to bottom,
        rgba(8, 3, 0, 0.55) 0%,
        rgba(8, 3, 0, 0.42) 50%,
        rgba(8, 3, 0, 0.72) 100%
    );*/
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    /*max-width: 760px;*/
}

.hero-pretitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--chocolate-medium);
	margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    /*text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);*/
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.95rem, 2vw, 1.30rem);
    color: var(--black);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.logoBozzo{max-width:320px;}
.selloBozzo{max-width:320px;}
.icosvg{width:64px;padding-top:10px; padding-bottom:25px;}

.feature-icon {
	margin:0 auto;
	width: 80px;
    height: 80px;
    background-color: #F4EADD;
	border-radius: 50%;text-align:center;
    position:relative;
}

.num{position:absolute;
	width: 24px;
    height: 24px;
	line-height: 24px;
	color:#fff;
	font-weight:700;
	font-size:12px;
    background-color: #333;
	border-radius: 50%;
	text-align:center;
	top:0;left:-14px;

}

/* Botón hero */
.btn-hero {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--gold-dark);
    border: 1.5px solid var(--gold-dark);
    padding: 1rem 2.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.btn-hero:hover,
.btn-hero:focus-visible {
    color: var(--black);
    background-color: transparent;
    border-color: var(--black);
    box-shadow: 0 0 32px rgba(201, 168, 76, 0.35);
    transform: translateY(-2px);
    outline: none;
}

.btn-hero:hover::after {
    transform: scaleX(1);
}

/* Línea de scroll animada */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll span {
    display: block;
    width: 2px;
    height: 52px;
    background: linear-gradient(to bottom, transparent, var(--black));
    margin: 0 auto;
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
    40%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
    60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =====================================================
   SECCIÓN INFORMATIVA
   ===================================================== */
.info-section {
    background-color: var(--white);
    padding: 6.5rem 0;
}

.info-ornament {
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: 0.4em;
}

.info-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 600;
    color: var(--chocolate-medium);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.info-text {
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.95;
    margin-bottom: 1rem;
	font-family: var(--font-display);
}

/* Divisor decorativo */
.info-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem auto;
    max-width: 280px;
}

.info-divider span:first-child,
.info-divider span:last-child {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    display: block;
}

.info-divider .diamond {
    color: var(--gold);
    font-size: 0.55rem;
    flex: none;
    letter-spacing: 0;
}

.hand {
    font-family: var(--font-hand);
    font-size: clamp(2.6rem, 7.5vw, 4.5rem);
    font-weight: 400;
    line-height: 0.78;
    color: var(--gold);
	margin-top: 1.75rem;
}

/* Feature pills */
.feature-item {
    padding: 1.5rem 0.75rem;
}

.feature-icon {
    color: var(--black);
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.25em;
}

.feature-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin: 0;
}

/* =====================================================
   SECCIÓN FORMULARIO
   ===================================================== */
.form-section {
    background-color: var(--cream);
    padding: 6.5rem 0;
    position: relative;
}

.form-section2 {
    background-color: #F5F1EF;
	background-image: url('img/back1.webp');
    background-size: cover;
    background-position: center center;
   /* background-attachment: fixed;*/
	background-repeat: no-repeat;
    padding: 9.5rem 0;
    position: relative;
}


/* Línea dorada superior */
.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /*background: linear-gradient(to right, transparent 5%, var(--salmon) 40%, var(--salmon) 50%, var(--salmon) 60%, transparent 95%);*/
}

/* Tarjeta del formulario */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    padding: 3.25rem 3.25rem 3.75rem;
    border-top: 3px solid var(--black);
}

.form-card-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    /*border-bottom: 1px solid var(--cream-dark);*/
}

.form-pretitle {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 600;
    color: var(--chocolate-medium);
    margin-bottom: 0;
	line-height:1.4;
}

.form-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

.form-text{font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--chocolate-medium);
    margin-bottom: 0;
	line-height:1.5; 
	text-align:center; padding-bottom:2rem;}

/* Labels */
.form-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--chocolate-light);
    margin-bottom: 0.45rem;
}

.required-mark {
    color: var(--gold-dark);
    font-weight: 700;
}

/* Inputs y selects */
.form-control,
.form-select {
    border: 1px solid var(--text-muted);
    border-radius: var(--radius);
    padding: 0.45rem 1rem;
    font-size: 0.93rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--grey);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
}

.form-control::placeholder {
    color: var(--cream-deeper);
    font-weight: 300;
    font-size: 0.88rem;
}

/* Estados de validación personalizados */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #7a9e6e;
    background-image: none;
    background-color: #fafff8;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(122, 158, 110, 0.18);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #b56a6a;
    background-image: none;
    background-color: #fffafa;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(181, 106, 106, 0.18);
}

.invalid-feedback {
    font-size: 0.76rem;
    color: #a05050;
    font-style: italic;
    margin-top: 0.3rem;
    display: none;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Input tipo date */
input[type="date"].form-control {
    cursor: pointer;
    color: var(--text-dark);
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    opacity: 0.4;
    cursor: pointer;
}

/* Nota de privacidad */
.privacy-note {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
}

.privacy-link {
    color: var(--gold-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-dark);
    transition: var(--transition);
}

.privacy-link:hover,
.privacy-link:focus-visible {
    color: var(--chocolate-medium);
    border-color: var(--chocolate-medium);
    outline: none;
}

/* Botón submit premium */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold-dark);
    background-size: 200% auto;
    border: 1.5px solid var(--gold-dark);
    padding: 1.1rem 2.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    min-width: 220px;
    transition: background-position 0.45s ease, transform 0.22s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    background-position: right center;
    transform: translateY(-2px);
    color: var(--black);
	background-color: transparent;
    border-color: var(--black);
    box-shadow: 0 0 32px rgba(201, 168, 76, 0.35);
}

.btn-submit:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

.btn-submit:disabled {
    opacity: 0.68;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    width: 0.9em;
    height: 0.9em;
    border-width: 2px;
}

.form-check-input {border:1px solid #ccc;}
.form-check-label{font-size:12px}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    /*background-color: var(--gold-dark);*/
	/* Fallback for older browsers */
    background-color: var(--gold-dark); 
  
    /* Modern gradient utilizing both variables */
    /*background-image: linear-gradient(to bottom, var(--gold), var(--gold-dark));*/
    padding: 2rem 0;
    border-top: 5px solid var(--cream-dark);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.35em;
    display: block;
    line-height: 1.2;
}

.footer-brand-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.45);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    display: block;
    margin-top: 0.15rem;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--white);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.04em;
	line-height: 1rem;
}

.footer-link {
    font-size: 0.72rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.22s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--chocolate-medium);
    outline: none;
}

.footer-sep {
    color: rgba(201, 168, 76, 0.25);
    margin: 0 0.55rem;
    font-size: 0.65rem;
}

.footerbox{
	background-color:rgba(201, 168, 76, 0.25);
	border-radius:12px;
	padding:10px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .form-card {
        padding: 2.5rem 2rem 3rem;
    }
}

@media (max-width: 767px) {
	
	.logoBozzo{max-width:240px;}
	.selloBozzo{max-width:220px;}
    .hero-section {
    background-image: url('img/fondo-base-mob.jpg');
	background-position: center center;
}
	
	.form-section2 {
    background-color: #F5F1EF;
	background-image: url('img/back2.jpg');
    background-size: cover;
    background-position: bottom center;
	background-repeat: no-repeat;
    padding: 3rem 0 11rem 0;
    position: relative;
}

	.hero-content {
    padding: 2rem 3.5rem;
}
	
    .info-section,
    .form-section {
        padding: 4.5rem 0;
    }

    .hero-subtitle br {
        display: none;
    }

    .info-title br {
        display: none;
    }
	
	.info-divider {
    margin: 1.5rem auto;
}
	.feature-item {
    padding: .5rem 0.75rem;
}
	.footer-copy {
    margin-top: 1rem;
}

}

@media (max-width: 575px) {
    .form-card {
        padding: 2rem 1.25rem 2.5rem;
    }

    .btn-submit {
        width: 100%;
        min-width: unset;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .btn-hero {
        padding: 0.7rem 1.35rem;
    }

    .site-footer .text-md-start,
    .site-footer .text-md-end {
        text-align: center !important;
    }
}

.winners tr th{font-size:1rem; color:#4e342e; text-align:center; padding:12px 15px; border:1px solid #F3EAE2; border-bottom:1px solid #6b3a2a}
.winners td.par{font-size:.9rem; color:#4e342e;text-align:center; padding:12px 15px; border:1px solid #F3EAE2; border-bottom:1px solid #6b3a2a }


@media (max-width: 767px) {
.tabla .e-con {padding-inline-end: 0%;}
	.winners tr th{font-size:12px;padding:8px 5px;}
	.winners td.par, .winners td.impar{ font-size:12px; padding:8px 5px;}
}
