/* =========================================================
   ELITE FINISH DETAILING – HOJA DE ESTILOS PRINCIPAL
   ========================================================= */

/* ---------- RESET Y BASE ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:Arial,sans-serif; }

h1, h2, h3, h4, h5, h6 {
	color:white;
}

p {
	color:#F9FCD0;
}

/* ---------- ENCABEZADO ---------- */
header{
    background:#333; color:#fff; padding:10px;
    display:flex; justify-content:center; align-items:center; gap:10px;
}
header img{ height:200px; }

/* ---------- NAVEGACIÓN ---------- */
nav{
    position:sticky; top:0; z-index:1000; width:100%;
    background:#444; display:flex; justify-content:center; align-items:center; padding:10px 0;
}
nav a{ color:#fff; text-decoration:none; padding:10px 15px; transition:.2s; }
nav a:hover{ background:#555; }

/* Botón ☰ (hamburguesa) */
.menu-toggle{
    display:none; flex-direction:column; gap:5px; background:none; border:none;
    cursor:pointer; margin-right:15px;
}
.menu-toggle span{ width:25px; height:3px; background:#fff; transition:.3s; }
nav.open .menu-toggle span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
nav.open .menu-toggle span:nth-child(2){ opacity:0; }
nav.open .menu-toggle span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- SECCIONES ---------- */
section{ padding:60px 20px; position:relative; }

/* Colores de fondo */
/*
#inicio  { background:#f4f4f4; }
#seccion1{ background:#e2e2e2; }
#seccion2{ background:#d1d1d1; }
#seccion3{ background:#c0c0c0; }
#seccion4{ background:#b0b0b0; }
#seccion5{ background:#a0a0a0; } */
#inicio  { background:#000000; }
#seccion1{ background:#000000; }
#seccion2{ background:#000000; }
#seccion3{ background:#000000; }
#seccion4{ background:#000000; }
#seccion5{ background:#000000; }
#seccion6{ background:#000000; }

/* ---------- IMÁGENES Y FLECHA ---------- */
.section-img{ max-width:400px; width:100%; height:auto; object-fit:contain; }
.image-container{ position:relative; display:block; width:fit-content; margin:20px auto; }
.arrow-link{
    position:absolute; top:50%; right:-30px;
    transform:translateY(-50%); display:inline-block;
    transition:transform .2s ease;
}
.arrow-link img{ width:60px; height:auto; }
.arrow-link:active{ transform:translateY(-50%) scale(.9); }

/* ---------- ANIMACIONES PÁGINA ---------- */
@keyframes slideOutLeft  { to{ transform:translateX(-100%); opacity:0; } }
@keyframes slideOutRight { to{ transform:translateX( 100%); opacity:0; } }
body.slide-out-left  { animation:slideOutLeft  .4s ease-in forwards; }
body.slide-out-right { animation:slideOutRight .4s ease-in forwards; }

/* ---------- TÍTULO EN BARRA GRIS ---------- */
nav .nav-title{
    color:#fff; font-size:1.8rem; text-align:center; margin:0 auto; width:100%;
}

/* ---------- CONTENIDO ESTÁTICO ---------- */
.standard-content{ background:#000000; padding:60px 20px; text-align:center; }

/* ---------- BOTÓN OSCURO REUTILIZABLE ---------- */
.book-now{
    display:block; width:max-content; margin:20px auto;
    padding:10px 18px; background:#333; color:#fff;
    text-decoration:none; border-radius:4px; transition:background .2s;
}
.book-now:hover{ background:#555; }

/* ---------- FORMULARIO PRINCIPAL ---------- */
.form-section{ background:#000000; padding:60px 20px; }

form{
    max-width:420px; margin:0 auto;
    display:flex; flex-direction:column; gap:12px;
}
form input,
form select,
form textarea{
	color:#F9FCD0;
    width:100%; padding:8px;
    border:1px solid #bbb; border-radius:4px;
    font-family:inherit; box-sizing:border-box;
}
form button.btn-send{
    padding:10px; background:#333; color:#fff;
    border:none; border-radius:4px; cursor:pointer;
}
form button.btn-send:hover{ background:#555; }

/* === Color de texto general claro en formularios y checklist === */

form label,
form input,
form select,

form input::placeholder,
form textarea::placeholder {
    color: #F9FCD0;
    opacity: 0.8;
}

fieldset legend {
    color: #F9FCD0;
    font-weight: bold; /* opcional */
    font-size: 1.1rem; /* opcional: aumenta visibilidad */
}

.check-list li label,
.check-list li label span {
    color: #F9FCD0;
}

/* =========================================================
   CHECK-LIST – UNA COLUMNA, CASILLA + TEXTO MISMA LÍNEA
   ========================================================= */
.options-group{
    border:1px solid #aaa;
    border-radius:4px;
    padding:10px 14px;
}

.check-list{ list-style:none; margin:0; padding:0; }

.check-list li{
    margin:6px 0;
	text-align: left !important;
}

.check-list li label{
    display:inline-flex !important;  /* fuerza la alineación horizontal */
    align-items:center !important;
    gap:8px !important;
    white-space:nowrap !important;   /* evita saltos de línea */
    /* line-height:1.3; */
}

.check-list li label span {
	display: inline-block !important;
}

.check-list li input[type="checkbox"]{
    margin:0;
    vertical-align:middle;
}

/* ---------- OVERLAY DE CONFIRMACIÓN ---------- */
.overlay.hidden{ display:none; }
.overlay{
    position:fixed; inset:0; background:rgba(0,0,0,.6);
    display:flex; justify-content:center; align-items:center; z-index:2000;
}
.overlay-box{
    background:#fff; padding:40px 30px; border-radius:8px; text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.3);
}
.btn-ok{
    margin-top:20px; padding:8px 20px; background:#333; color:#fff;
    border:none; border-radius:4px; cursor:pointer;
}
.btn-ok:hover{ background:#555; }

/* ---------- RESPONSIVE ≤768 ---------- */
@media(max-width:768px){
    .menu-toggle{ display:flex; }
    nav{
        flex-direction:column; align-items:flex-start; padding:10px;
    }
    nav a{ display:none; width:100%; padding:12px 8px; }
    nav.open a{ display:block; }
    header img{ height:120px; }
    form{ max-width:90%; }
}

/* =============================================== */
/* FIX DEFINITIVO - ALINEACIÓN PERFECTA EN TODOS */
/* =============================================== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    margin: 8px 0;
}

.check-list li label {
    display: flex !important;
    align-items: center !important;  /* Alineación vertical */
    gap: 10px !important;
    cursor: pointer;
    line-height: 1.3 !important;  /* Altura de línea clave */
}

.check-list li input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #555;
    border-radius: 3px;
    margin: 0 !important;
    position: relative;
    flex-shrink: 0;  /* Evita que se encoja */
    top: 0;
}

.check-list li input[type="checkbox"]:checked {
    background: #333;
    border-color: #333;
}

.check-list li input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

/* sangría suave para los <li> dentro de .standard-content */
.standard-content li{
    margin-left: 1.2em;   /* ajusta el valor a tu gusto (por ejemplo 0.8em, 2em…) */

}

/* ---------- TABLA DE PRECIOS – 2 COLUMNAS ---------- */

.price-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin: 40px auto;
    overflow: hidden;
    max-width: 600px;
}

.price-header {
    padding: 20px;
    text-align: center;
    background: #f8f8f8;
}

.price-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
}

.price-header .sub {
    color: #666;
    margin: 5px 0 0;
    font-style: italic;
}

/* --- Encabezados de columna FIX --- */
.cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #333;
    color: white;
    padding: 12px 15px;
    gap: 10px; /* Espacio entre columnas */
}

.col-title {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

/* --- Lista de precios --- */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.price-list li:last-child {
    border-bottom: none;
}

.pill {
    display: block;
    margin: 0 auto;
    width: 80px;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
}

.pill.in {
    background: #e3f2fd;
    color: #0d47a1;
}

.pill.ex {
    background: #e8f5e9;
    color: #2e7d32;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cols,
    .price-list li {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 5px;
    }
    
    .col-title {
        left: 55%; /* Ajuste fino para mobile */
        font-size: 0.9rem;
    }
    
    .pill {
        width: 70px;
        font-size: 0.9rem;
    }
}

/* ESTILOS PARA ADDITIONAL OPTIONS */
/* =============================================== */

.additional-options {
    margin-top: 50px;
}

.additional-options .price-list li {
    grid-template-columns: minmax(150px, 2fr) 1fr; /* Ajuste para 2 columnas */
}

/* Mantiene el estilo de las píldoras pero con color neutral */
.additional-options .pill {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.additional-options .type {
	word-break: keep-all;
	white-space:normal;
	padding-right: 5px;
}

.additional-options li:nth-child(3) .type {
	display:inline-flex;
	flex-wrap: wrap;
	gap: 0 5px
	align-items:center;
}

/* Responsive */
@media (max-width: 400px) {
	.additional-options .price-list li {
		grid-template-columns: minmax(120px, 1.5fr) 1fr;
	}
	
	.additional-options li:nth-child(3) .type {
		font-size: 0.9rem;
	}
}

/* =============================================== */
/* NUEVOS ESTILOS DEL STICKER (VERSIÓN GRANDE - SAFARI/ANDROID) */
/* =============================================== */
.price-table {
    position: relative !important;
    overflow: visible !important;
}

.discount-sticker {
    position: absolute;
    width: 150px; /* Tamaño grande por defecto */
    bottom: -90px;
    right: 40px;
    z-index: 10;
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.sticker-img {
    width: 100% !important;
    height: auto !important;
    display: block;
    transition: all 0.3s ease;
}

/* Safari iOS */
@supports (-webkit-touch-callout: none) {
    .discount-sticker {
        width: 160px; /* Más grande en Safari */
		bottom: -95px;
        -webkit-transform: rotate(15deg) scale(1.1);
        transform: rotate(15deg) scale(1.1);
    }
}

/* Android Chrome */
@media (-webkit-min-device-pixel-ratio: 1.5) {
    .discount-sticker {
        width: 155px; /* Más grande en Android */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .discount-sticker {
        width: 130px;
        bottom: -90px;
        right: 30px;
    }
    @supports (-webkit-touch-callout: none) {
        .discount-sticker {
            width: 140px; /* Safari mobile */
        }
    }
}

/* =============================================== */
/* ESTILOS PARA EL TEXTO DE DESCUENTO */
/* =============================================== */
.discount-notice {
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.discount-notice p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff9900; /* Línea naranja lateral */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .discount-notice p {
        font-size: 1rem;
        padding: 12px;
    }
}

li {
	color:#00BFFF;
}

.feature-list li {
	color: #F9FCD0 !important; /* Azul solo para de tabla de precios */
}

.back-to-top {
    color: #fff !important;
    text-decoration: none;
}

.back-to-top:visited,
.back-to-top:hover,
.back-to-top:focus,
.back-to-top:active {
    color: #fff !important;
    text-decoration: underline; /* opcional */
}

/* Borde azul solo abajo y a la derecha para las imágenes de index */
.index-img-border {
    border-bottom: 6px solid #00BFFF;
    border-right: 6px solid #00BFFF;
    border-radius: 4px; /* opcional: suaviza las esquinas */
}