@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #1E3A5F;
    --primary-soft: rgba(30, 58, 95, 0.08);
    --secondary: #0F172A;
    --accent: #D4AF37;
    --accent-soft: rgba(212, 175, 55, 0.15);
    
    --bg: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-alt: #F1F5F9;
    --white: #FFFFFF;
    
    --text: #334155;
    --text-muted: #64748B;
    --text-dark: #0F172A;
    --border: rgba(0, 0, 0, 0.08);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-pill: 50px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 8px 30px rgba(212, 175, 55, 0.25);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body > * {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.min-h-svh { min-height: 100svh; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 800;
}

h1 { font-size: clamp(2rem, 6vw, 4.5rem); letter-spacing: -2px; }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); }

p, body {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.75rem, 2vw, 1.5rem);
    width: 100%;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 1.5vw, 1rem);
    width: 100%;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

section, .section {
    padding: clamp(2rem, 8vw, 6rem) clamp(1rem, 5%, 5%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.btn {
    padding: clamp(10px, 2vw, 14px) clamp(16px, 4vw, 28px);
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-dark);
}
.btn-accent:hover {
    background: #C9A227;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-admin {
    background: #111827;
    color: #fff;
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 3vw, 20px);
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
}

@media (max-width: 768px) {
    .btn:not(.btn-admin):not(.btn-nav) {
        width: 100%;
        justify-content: center;
    }
    .nav-actions .btn {
        width: auto !important;
        padding: 6px 10px;
        font-size: 0.65rem;
        gap: 5px;
    }
}

nav, .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: clamp(10px, 2.5vw, 20px) clamp(1rem, 5%, 5%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

nav.scrolled, .navbar.scrolled {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: clamp(8px, 1.5vw, 15px) clamp(1rem, 5%, 5%);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 900;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    transition: var(--transition);
    opacity: 0.8;
}
.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: clamp(8px, 1.5vw, 15px);
    align-items: center;
    z-index: 1001;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: none;
}
.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 992px) {
    .burger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80%, 320px);
        height: 100svh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: clamp(2rem, 6vw, 3rem);
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links a {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

.bento-card {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.img-premium {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.img-premium:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .img-premium {
        max-height: clamp(200px, 40vw, 350px);
    }
}

footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5%, 5%) clamp(1.5rem, 4vw, 2.5rem);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    margin-top: clamp(2rem, 6vw, 4rem);
}

footer a { color: #94a3b8; transition: var(--transition); }
footer a:hover { color: var(--primary); opacity: 1; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(1.5rem, 5vw, 3rem);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(2rem, 6vw, 3rem);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float {
    position: fixed;
    bottom: clamp(20px, 4vw, 28px);
    right: clamp(16px, 4vw, 28px);
    width: clamp(48px, 10vw, 60px);
    height: clamp(48px, 10vw, 60px);
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: pulse-ring 2.5s ease infinite;
}

@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.3); opacity: 0; }
    100% { opacity: 0; }
}

.tagline-strip {
    background: var(--primary);
    color: var(--white);
    padding: clamp(10px, 2vw, 14px) 0;
    overflow: hidden;
    white-space: nowrap;
}

.tagline-track {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.tagline-track span {
    padding: 0 clamp(20px, 4vw, 40px);
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tagline-track .dot {
    color: var(--accent);
    font-size: 1rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero {
    min-height: 85svh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg) 0%, #E2E8F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(30, 58, 95, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.hero h1 {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    max-width: 520px;
    color: var(--text-muted);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-buttons {
    display: flex;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: clamp(2rem, 5vw, 3.5rem);
    margin-top: clamp(2rem, 5vw, 3rem);
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-header h2 {
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.service-card {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem);
}

.service-icon {
    width: clamp(56px, 12vw, 72px);
    height: clamp(56px, 12vw, 72px);
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1rem, 2.5vw, 1.25rem);
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

.service-card .price {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.75rem;
}

.why-card {
    display: flex;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: flex-start;
}

.why-icon {
    width: clamp(44px, 10vw, 56px);
    height: clamp(44px, 10vw, 56px);
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.why-card h4 {
    margin-bottom: 0.35rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.testimonial-card {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-info h5 {
    font-weight: 600;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.testimonial-info span {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(10px, 2vw, 14px) clamp(12px, 2.5vw, 16px);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.map-container {
    width: 100%;
    height: clamp(300px, 50vw, 450px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    flex-wrap: wrap;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.filter-btn {
    padding: clamp(8px, 1.5vw, 10px) clamp(14px, 3vw, 20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    background: transparent;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-table th,
.pricing-table td {
    padding: clamp(12px, 2.5vw, 16px);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pricing-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background: var(--bg-alt);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--primary);
}

.pricing-table .note {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    color: var(--text-muted);
    font-style: italic;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.calendar-day.available {
    background: var(--white);
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.calendar-day.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-slot {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.time-slot:hover {
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.bg-white { background: var(--white); }
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .show-mobile { display: none !important; }
}