/* Design System & Tokens */
:root {
    --primary: #115e59; /* Emerald/Teal Dark Premium */
    --primary-dark: #0f4c47;
    --primary-light: #14b8a6;
    --primary-ultra-light: #f0fdfa;
    --secondary: #0ea5e9; /* Light Blue */
    --accent: #d97706; /* Warm Amber */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --error: #ef4444;
    --success: #10b981;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    animation: pageTransition 0.5s ease-out forwards;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 1rem; text-align: center; color: var(--primary); }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    gap: 0.5rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-ultra-light);
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: #edf2f7;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    width: 2rem;
    height: 0.25rem;
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    transform-origin: 1px;
}

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

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, var(--primary-ultra-light) 0%, var(--bg-white) 60%);
    text-align: center;
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-ultra-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-specialties {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--text-dark);
}

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

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-light);
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.3;
}

.profile-img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.profile-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.highlight-card span {
    font-size: 2.5rem;
    color: var(--primary);
    background: var(--primary-ultra-light);
    padding: 1rem;
    border-radius: var(--radius);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-detail {
    display: flex;
    gap: 1.5rem;
}

.location-detail span {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--primary-ultra-light);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.contact-card p {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--white);
}

.contact-icon.whatsapp { background-color: #25d366; }
.contact-icon.email { background-color: var(--secondary); }
.contact-icon.linkedin { background-color: #0077b5; }
.contact-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* FAQ Section */
.help-section { background-color: var(--bg-light); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.faq-answer ol, .faq-answer ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.app-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.app-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--primary-ultra-light);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* Booking Section */
.booking-section {
    background-color: var(--bg-white);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.03);
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#date-picker {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    transition: var(--transition);
}

#date-picker:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-ultra-light);
}

/* Flatpickr Customization */
.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    background: var(--white) !important;
    margin-top: 0.5rem;
}

.flatpickr-months {
    margin-bottom: 1rem;
}

.flatpickr-current-month {
    font-size: 1.25rem !important;
    font-weight: 700;
}

.flatpickr-weekday {
    color: var(--text-muted) !important;
    font-weight: 700 !important;
}

.flatpickr-day {
    border-radius: var(--radius) !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 2px !important;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-sm);
}

.flatpickr-day:hover:not(.selected):not(.flatpickr-disabled) {
    background: var(--primary-ultra-light) !important;
    border-color: var(--primary-ultra-light) !important;
    color: var(--primary) !important;
}

.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1 !important;
    background: transparent !important;
    border-color: transparent !important;
}

.flatpickr-day.today {
    border-color: var(--primary-light) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--primary) !important;
}

/* Slot Grid */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.slot-btn {
    padding: 1.25rem;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.slot-btn:hover:not(.occupied) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.slot-btn.occupied {
    background: #fed7d7;
    color: #c53030;
    border-color: #feb2b2;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.9);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    margin: auto;
    position: relative;
}

.modal-content input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
}

/* Footer */
footer {
    background: #0f172a;
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 { color: var(--white); font-size: 1.75rem; margin-bottom: 1rem; }
.footer-brand p { color: #94a3b8; }

.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links a, .footer-contact a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover { color: var(--primary-light); }

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p { color: #64748b; font-size: 0.9rem; margin-top: 0.5rem; }

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}

.floating-btn .material-symbols-outlined {
    font-size: 1.75rem;
    z-index: 2;
}

.floating-btn .floating-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    padding-left: 0;
}

.floating-btn:hover {
    width: 9rem;
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.floating-btn:hover .floating-text {
    max-width: 100px;
    opacity: 1;
    padding-left: 0.5rem;
}

/* Highlight Contact Card */
.highlight-contact {
    border: 2px solid var(--primary-light);
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-ultra-light) 100%);
}

.highlight-contact:hover {
    border-color: var(--primary);
}

.contact-icon.schedule {
    background-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image-wrapper::before {
        display: none;
    }
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section { padding: 3rem 0; }
    h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
    h2 { font-size: 1.75rem; }
    .section-subtitle { margin-bottom: 2.5rem; font-size: 1rem; }

    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        visibility: hidden;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a { font-size: 1.25rem; }

    .btn-nav-cta { display: none; }

    .hero { padding: 3rem 0 2rem; }
    .hero-badge { margin-bottom: 1rem; padding: 0.4rem 1rem; font-size: 0.75rem; }
    .hero-subtitle { font-size: 1.15rem; margin-bottom: 0.75rem; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.4; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 2rem; }
    .hero-actions .btn { width: 100%; padding: 0.75rem 1.5rem; }
    .hero-specialties { display: none; }

    .about-content { gap: 1.5rem; }
    .about-section { padding-top: 2rem; }
    .profile-img { max-width: 220px; margin: 0 auto; display: block; }
    
    .services-grid { gap: 1.5rem; }
    .service-card { padding: 1.5rem; }
    .service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
    .service-card h3 { font-size: 1.25rem; }

    .location-info { gap: 1.5rem; }
    .location-detail { gap: 1rem; }
    .location-detail span { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }

    .contact-grid { gap: 1rem; }
    .contact-card { padding: 1.5rem 1rem; }
    .contact-card h4 { font-size: 1.1rem; }
    .contact-card p { font-size: 0.85rem; }
    .contact-icon { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; }

    .faq-list { gap: 0.75rem; }
    .faq-item summary { padding: 1.25rem; font-size: 1rem; }

    .booking-container { padding: 1.5rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    footer { padding: 4rem 0 2rem; }

    .floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .floating-btn:hover {
        width: 3.5rem;
        transform: translateY(-3px);
    }
    .floating-btn .floating-text {
        display: none;
    }
}
