:root {
--red: #ff2f31;
--red-bright: #ff2f31;
--dark: #111111;
--beige: #F4EFE8;
--green: #00CA63;
--yellow: #f6ff00;
--border: rgb(3, 3, 3);
--text: #F0F0F0;
--muted: #888;
--white: #ffffff;
--radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--red);
    color: var(--black);
    font-family: 'Anton', sans-serif;
    font-style: italic;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: var(--red);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 0.8;
    color: var(--white);
    letter-spacing: -1px;
    text-decoration: none;
    user-select: none;
}

nav a.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
nav a.nav-link:hover { color: var(--dark); }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgb(250, 170, 170) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}


.hero h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s 0.1s ease both;
    color: var(--white)
}

.hero h1 .accent { 
    color: var(--white); 
    display: block; 
}

.hero p.sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--dark);
    max-width: 520px;
    margin: 0 auto 48px;
    font-weight: 300;
    animation: fadeUp 0.8s 0.2s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS GRID ── */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    width: 100%;
    animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 22px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    text-align: left;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn-icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.btn-label {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-desc {
    font-size: 0.78rem;
    font-weight: 300;
    opacity: 0.75;
    line-height: 1.4;
}

/* Primary - yellow */
.btn-primary {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 8px 32px rgba(255,215,0,0.3);
}
.btn-primary .btn-icon{
    color: var(--red);
    font-weight: 1000;
    line-height: 0.8;

}
.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); 
}
.btn-primary .btn-desc { 
    opacity: 0.8; 
}

/* WhatsApp */
.btn-whatsapp {
    background: var(--beige);
    color: var(--green);
    border: 1px solid rgba(0,202,99);
}
.btn-whatsapp:hover { 
    box-shadow: 0 12px 40px rgba(0, 202, 99, 0.45); 
}

/* ubicacion */
.btn-ubicacion {
    background: rgb(244, 241, 241);
    color: var(--dark);
    border: 1px solid rgba(74,222,128,0.2);
}
.btn-ubicacion:hover { 
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.45); 
}

/* telefonicos */
.btn-contactanos {
    background: var(--yellow);
    color: var(--dark);
    border: 1px solid rgba(215, 222, 74, 0.2);
}
.btn-contactanos:hover { 
    box-shadow: 0 12px 40px rgba(216, 237, 32, 0.45); 
}

/* ── SECTIONS ── */
section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 56px;
    font-weight: 300;
}

/* ── LOCATIONS ── */
#ubicaciones { 
    background: var(--white); 
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.location-card {
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.location-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.903);
}

.location-map-placeholder {
    width: 100%; height: 200px;
}

.location-map-placeholder img {
    width: 100%; height: 200px;
    border: none;
}

.location-info {
    padding: 20px 24px 24px;
}

.location-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.location-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--white);
}

.location-address {
    color: var(--white);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.location-hours {
    color: var(--white);
    opacity: 0.8; 
    font-size: 0.8rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.location-hours::before { content: '🕐'; font-size: 0.75rem; }

.location-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.location-cta:hover { 
    background: rgba(255, 255, 255, 0.8); 
    border-color: rgba(0, 0, 0, 0.4); 
    color: var(--red);
}

/* ── CONTACT ── */
#contacto {
    background: var(--red);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.contact-card:hover { 
    transform: translateX(4px); border-color: rgba(0, 0, 0, 0.35); 
}

.contact-card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.icon-yellow { background: var(--yellow); }
.icon-green { background: var(--green); }

.contact-card-label {
    font-size: 0.75rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 4px;
}
.contact-card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    opacity: 0.8;
}
.contact-card-sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.contact-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* Hours table */
.hours-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.hours-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--muted); }
.hours-time { font-weight: 500; color: var(--text); }
.hours-time.open { color: var(--green); }
.hours-time.closed { color: var(--red); }

/* ── FOOTER ── */
footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
}
.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 1000;
    color: var(--red);
    margin-bottom: 12px;
}
footer p {
    color: var(--white);
    font-size: 0.82rem;
}

/* ── DIVIDER ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 40px;
}

/* ── FLOATING CTA ── */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.float-btn {
    width: 130px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeUp 0.6s ease both;
    cursor: pointer;
}
.float-btn:hover { transform: scale(1.05); }

.float-wa {
    background: var(--green);
    color: #fff;
    animation-delay: 0.6s;
}
.float-app {
    background: var(--white);
    color: var(--red);
    animation-delay: 0.7s;
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav { padding: 8px 10px; }
    nav .nav-links { display: none; }
    .hero { padding: 120px 20px 60px; }
    .buttons-grid { grid-template-columns: 1fr; }
    .btn-primary { grid-column: span 1; }
    .contact-layout { grid-template-columns: 1fr; }
    .floating-cta { bottom: 20px; right: 16px; }
    .float-btn span.float-label { display: none; }
    section { padding: 70px 20px; }
}