/* ═══════════════════════════════════════════════════
   STARTER THEME – WebGen
   Limpio, profesional, mobile-first
   ═══════════════════════════════════════════════════ */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-success: #16a34a;
    --color-error: #dc2626;
    --color-whatsapp: #25d366;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --max-width: 1120px;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── BUTTONS ──────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; margin-top: 1rem; }
.btn--full { width: 100%; }

/* ── NAV ──────────────────────────────────────────── */

.nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}
.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav__brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-primary); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
    .nav__toggle { display: block; }
    .nav__links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
    }
    .nav__links.open { display: flex; }
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary);
    color: #fff;
    padding: 6rem 1.5rem 4rem;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.hero__subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── SECTIONS ─────────────────────────────────────── */

.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 3rem;
}

/* ── SERVICES ─────────────────────────────────────── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card__text { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 0.75rem; }
.service-card__price {
    display: inline-block;
    background: var(--color-bg-alt);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* ── GALLERY ──────────────────────────────────────── */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── HOURS ────────────────────────────────────────── */

.hours-table {
    max-width: 480px;
    margin: 0 auto;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}
.hours-row__day { font-weight: 600; }
.hours-row__time { color: var(--color-text-light); }

/* ── CONTACT ──────────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
}
.contact-info p { margin-bottom: 0.75rem; font-size: 1.05rem; }
.contact-info a { color: var(--color-text); }
.contact-info a:hover { color: var(--color-primary); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--color-bg);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ── FLASH MESSAGES ───────────────────────────────── */

.flash {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 500;
}
.flash--success { background: #dcfce7; color: var(--color-success); }
.flash--error { background: #fee2e2; color: var(--color-error); }

/* ── FOOTER ───────────────────────────────────────── */

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

/* ── WHATSAPP FLOAT ───────────────────────────────── */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    transition: transform 0.2s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
