/* ===== PSICOVALS 2.0 - PREMIUM STYLES ===== */
/* Optimized for 60fps animations */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --sage-green: #6B7E5E;
    --sage-light: #8A9A7A;
    --sage-dark: #4A5A40;
    --cream: #FAF7F2;
    --beige: #E8DDD3;
    --beige-warm: #D4C4B0;
    --brown-tan: #C4A484;
    --brown: #8B7355;
    --brown-dark: #5C4A3A;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.3;
}

/* ===== FALLING LEAVES ANIMATION ===== */
.leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.6;
    will-change: transform;
    animation: falling linear infinite;
}

.leaf svg {
    width: 100%;
    height: 100%;
    fill: var(--sage-light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.leaf:nth-child(1) {
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.leaf:nth-child(2) {
    left: 25%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.leaf:nth-child(3) {
    left: 40%;
    animation-duration: 20s;
    animation-delay: 4s;
}

.leaf:nth-child(4) {
    left: 55%;
    animation-duration: 17s;
    animation-delay: 1s;
}

.leaf:nth-child(5) {
    left: 70%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.leaf:nth-child(6) {
    left: 85%;
    animation-duration: 19s;
    animation-delay: 5s;
}

.leaf:nth-child(7) {
    left: 5%;
    animation-duration: 21s;
    animation-delay: 6s;
}

.leaf:nth-child(8) {
    left: 95%;
    animation-duration: 16s;
    animation-delay: 7s;
}

@keyframes falling {
    0% {
        transform: translateY(-50px) rotate(0deg) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(100vh) rotate(360deg) translateX(50px);
        opacity: 0;
    }
}

/* ===== LIQUID GLASS EFFECT ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brown-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--sage-green);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    color: var(--brown-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brown-tan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brown-tan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.float-btn.reserva {
    background: var(--sage-green);
    width: 56px;
    height: 56px;
    min-width: 56px;
    max-width: 56px;
    min-height: 56px;
    max-height: 56px;
    padding: 0;
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.scroll-top-btn {
    position: fixed;
    right: 30px;
    top: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    background: var(--white);
}

/* ===== SECTIONS BASE ===== */
section {
    position: relative;
    z-index: 2;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== HERO / SOBRE MI ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--sage-green);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--brown-dark);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--brown-tan);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    will-change: transform;
}

.hero-cta:hover {
    background: var(--sage-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 126, 94, 0.3);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--sage-light);
    border-radius: 30px;
    z-index: -1;
    /* Prevent overflow on small screens if logic fails */
    max-width: 100vw;
}

/* ===== TRAYECTORIA ===== */
.trayectoria {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--brown-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.trayectoria-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.trayectoria-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    padding: 30px;
    background: var(--cream);
    border-radius: 16px;
    border-left: 4px solid var(--sage-green);
    transition: all 0.3s ease;
    will-change: transform;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--sage-light);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== ATENCION SECTION ===== */
.atencion {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
}

.atencion-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.atencion-content h2 {
    font-size: 2.5rem;
    color: var(--brown-dark);
    margin-bottom: 25px;
}

.atencion-content>p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--sage-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.atencion-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* ===== RESERVA SECTION ===== */
.reserva {
    padding: 120px 0;
    background: var(--white);
}

.reserva-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-card {
    background: var(--cream);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--beige);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 4px rgba(107, 126, 94, 0.1);
}

.phone-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
}

/* ===== CALENDAR ===== */
.calendar-section {
    margin: 30px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--brown-dark);
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--sage-light);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--sage-green);
    transition: all 0.3s ease;
}

.calendar-nav button:hover {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sage-green);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--cream);
    will-change: transform;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--sage-light);
    color: white;
    transform: scale(1.1);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.selected {
    background: var(--sage-green);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 126, 94, 0.3);
}

.calendar-day.today {
    border: 2px solid var(--sage-green);
    font-weight: 600;
}

/* ===== TIME SLOTS ===== */
.time-slots-section {
    margin: 30px 0;
}

.time-slots-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brown-dark);
    margin-bottom: 15px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.time-slot {
    padding: 15px;
    text-align: center;
    background: var(--white);
    border: 2px solid var(--beige);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    will-change: transform;
}

.time-slot:hover:not(.past):not(.selected) {
    border-color: var(--sage-green);
    transform: translateY(-3px);
}

.time-slot.selected {
    background: var(--sage-green);
    border-color: var(--sage-green);
    color: white;
}

.time-slot.past {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
    border-color: #eee;
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
    margin: 30px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
}

.price-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.price-badge {
    padding: 10px 20px;
    background: var(--beige);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-dark);
}

.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.payment-tab-btn {
    flex: 1;
    padding: 15px;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.payment-tab-btn.active {
    background: var(--sage-green);
    color: white;
}

.payment-tab-btn:hover:not(.active) {
    border-color: var(--sage-green);
}

.payment-content {
    display: none;
    padding: 20px 0;
}

.payment-content.active {
    display: block;
}

.payment-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.paypal-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #0070ba;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-2px);
}

.pago-movil-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: center;
}

.pago-movil-grid img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--beige);
}

.pago-movil-info ul {
    list-style: none;
}

.pago-movil-info li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pago-movil-info li strong {
    display: block;
    font-size: 0.85rem;
    color: var(--sage-green);
    margin-bottom: 3px;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--sage-green);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    will-change: transform;
}

.submit-btn:hover {
    background: var(--sage-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 126, 94, 0.3);
}

/* ===== FOOTER ===== */
footer {
    padding: 40px;
    background: var(--brown-dark);
    color: white;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Base scroll animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade from left - for left-side images */
.fade-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade from right - for right-side images */
.fade-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in - for cards and items */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Fade up with delay classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ===== NEON CREDIT LINK ===== */
.neon-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #0ff,
            0 0 30px #0ff,
            0 0 40px #0ff;
        color: #e0ffff;
    }

    to {
        text-shadow:
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #0ff,
            0 0 15px #0ff,
            0 0 20px #0ff;
        color: #fff;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .hero-grid,
    .trayectoria-grid,
    .atencion-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .section-container {
        padding: 0 25px;
    }

    .booking-card {
        padding: 30px;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-image::before {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .pago-movil-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pago-movil-grid img {
        max-width: 150px;
        margin: 0 auto;
    }

    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }

    .scroll-top-btn {
        right: 20px;
        top: 80px;
        width: 44px;
        height: 44px;
    }

    .payment-tabs {
        flex-direction: column;
    }

    .price-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    /* STRICT OVERFLOW CONTROL */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* Hero improvements */
    .hero {
        padding: 80px 20px 40px;
        text-align: center;
        overflow: hidden;
        /* Contain ANY overflow from hero */
    }

    .hero-title {
        font-size: 1.8rem;
        /* Reduced from 2.5/2rem */
        line-height: 1.2;
        margin-bottom: 25px;
        word-wrap: break-word;
        /* Prevent text overflow */
        padding: 0 10px;
    }

    .hero-image {
        margin: 0 auto 30px;
        width: 100%;
        max-width: 280px;
    }

    /* FORCE HIDE DECORATION ON MOBILE */
    .hero-image::before {
        display: none !important;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    /* Adjust buttons to not touch edges */
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        max-width: calc(100% - 30px);
        z-index: 1000;
    }

    .section-container {
        padding: 0 20px;
        overflow-x: hidden;
    }



    /* Sections */
    .section-container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .trayectoria,
    .atencion,
    .reserva {
        padding: 70px 0;
    }

    /* Timeline */
    .timeline-item {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.05rem;
    }

    .timeline-desc {
        font-size: 0.9rem;
    }

    /* Service cards */
    .service-card {
        padding: 20px;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-icon {
        width: 44px;
        height: 44px;
    }

    /* Booking */
    .booking-card {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .calendar-section {
        padding: 20px 15px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .calendar-day-header {
        font-size: 0.75rem;
        padding: 8px 5px;
    }

    .calendar-title {
        font-size: 1.1rem;
    }

    .calendar-nav button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Time slots */
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .time-slot {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    /* Form */
    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .phone-row {
        grid-template-columns: 110px 1fr;
        gap: 8px;
    }

    /* Payment */
    .payment-section {
        padding: 20px 15px;
    }

    .payment-tab-btn {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .price-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .paypal-btn {
        display: block;
        text-align: center;
        padding: 14px 20px;
    }

    /* Submit button */
    .submit-btn {
        padding: 18px;
        font-size: 1rem;
    }

    /* Floating buttons */
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
    }

    .float-btn.reserva {
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
    }

    .float-btn svg {
        width: 20px;
        height: 20px;
    }

    .scroll-top-btn {
        right: 15px;
        top: 75px;
        width: 40px;
        height: 40px;
    }

    /* Footer */
    footer {
        padding: 30px 20px;
    }

    footer p {
        font-size: 0.8rem;
    }

    /* Atencion section */
    .atencion-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .atencion-content>p {
        text-align: center;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .time-slots {
        grid-template-columns: 1fr 1fr;
    }

    .calendar-day {
        font-size: 0.7rem;
    }

    .booking-card {
        padding: 15px 12px;
    }
}