/* ============================================
   Dr. Gastón Berbel — Cirugía Corporal
   Optimized CSS — Web + Mobile
   ============================================ */

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

:root {
    --primary: #1a3a52;
    --primary-light: #2d5a7b;
    --primary-dark: #0f1f2e;
    --accent: #c9a961;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --gray-light: #f5f5f5;
    --gray-medium: #999999;
    --bg-white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --header-h: 64px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header / Navbar
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    border-bottom: 1px solid rgba(15,31,46,0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
    background: rgba(255,255,255,0.94);
    box-shadow: 0 8px 30px rgba(15,31,46,0.10);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.58rem;
    color: var(--accent);
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Manrope', sans-serif;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.cta-btn {
    background: var(--primary-dark);
    color: white;
    padding: 0.7rem 1.7rem;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.02em;
    min-height: 44px;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    margin-top: var(--header-h);
    color: white;
    padding: 7rem 2rem;
    text-align: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15,31,46,0.82), rgba(15,31,46,0.88)), url('images/dr-berbel-crop.jpg');
    background-size: cover;
    background-position: center 30%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,82,0.45) 0%, rgba(15,31,46,0.65) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    padding: 0.55rem 1.3rem;
    border: 1px solid rgba(201,169,97,0.45);
    border-radius: 999px;
    background: rgba(201,169,97,0.10);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    margin-bottom: 1.2rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.02em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(201,169,97,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.02em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

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

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Main Container & Sections
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--gray-light);
}

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

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,169,97,0.5);
    border-radius: 18px;
    pointer-events: none;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.85;
    font-size: 1rem;
    font-weight: 400;
}

.credentials {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-left: 3px solid var(--accent);
    border-radius: 2px;
    box-shadow: var(--shadow);
}

.credentials h4 {
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-family: 'Sora', sans-serif;
}

.credentials ul {
    list-style: none;
    color: var(--text-light);
}

.credentials li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,169,97,0.55);
}

.service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
}

.service-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-height: 44px;
}

.service-link:hover {
    color: var(--accent);
    gap: 1rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: var(--gray-light);
}

.faq-container {
    max-width: 750px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.8rem;
    background: white;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--primary-dark);
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    gap: 1rem;
    min-height: 44px;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: var(--gray-light);
    color: var(--accent);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.8rem 1.8rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.85;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
}

/* ============================================
   Map
   ============================================ */
.map-wrapper {
    max-width: 900px;
    margin: 3.5rem auto 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255,255,255,0.1);
    aspect-ratio: 16/9;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(135deg, #1a3a52 0%, #0f1f2e 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.2rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.contact-method:hover {
    transform: translateY(-6px);
    border-color: rgba(201,169,97,0.65);
    background: rgba(255,255,255,0.10);
}

.contact-action {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
}

.contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: white;
}

/* ============================================
   Video Showcase Section
   ============================================ */
.video-showcase {
    background: linear-gradient(180deg, var(--gray-light) 0%, #e8e4df 50%, var(--gray-light) 100%);
    text-align: center;
    padding: 5rem 2rem;
}

.video-showcase-header {
    margin-bottom: 3rem;
}

.video-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(201,169,97,0.4);
    border-radius: 999px;
    background: rgba(201,169,97,0.08);
}

.video-showcase h2 {
    margin-top: 1rem;
}

.video-showcase .section-subtitle {
    margin-bottom: 0;
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,31,46,0.18), 0 4px 16px rgba(0,0,0,0.08);
    background: #000;
    position: relative;
    aspect-ratio: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-cta {
    margin-top: 2.5rem;
}

/* Modal video */
.modal-video {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.modal-video p {
    margin-bottom: 0.8rem;
}

.modal-video video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    display: block;
    max-height: 400px;
    object-fit: contain;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

@keyframes waPulse {
    0% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.45); }
    70% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: #0f1f2e;
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.85rem;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.3px;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    position: relative;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-light);
    transition: color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
    font-size: 1.9rem;
    letter-spacing: -0.5px;
    padding-right: 2rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.85;
    font-size: 0.95rem;
    font-weight: 400;
}

.modal-content ul {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin: 1rem 0;
    margin-left: 1.5rem;
}

.modal-content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    section {
        padding: 4.5rem 1.5rem;
    }

    .about-content {
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-top: 1px solid var(--border);
    }

    .nav-menu.open {
        max-height: 75vh;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: flex;
        padding: 1.1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .nav-menu a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        transition: all 0.3s ease;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-height: 400px;
    }

    section {
        padding: 4rem 1.5rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        margin-bottom: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        min-height: auto;
        padding: 2rem;
    }

    .service-card:hover {
        transform: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    .faq-question {
        padding: 1.4rem;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.4rem 1.4rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 14px;
        max-height: 85vh;
        max-height: 85dvh;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }

    .map-wrapper {
        margin-top: 2.5rem;
        aspect-ratio: 4/3;
    }

    .credentials {
        padding: 1.5rem;
    }

    .video-showcase {
        padding: 3.5rem 1.5rem;
    }

    .video-showcase-header {
        margin-bottom: 2rem;
    }

    .video-container {
        border-radius: 12px;
    }

    .video-cta {
        margin-top: 2rem;
    }

    .video-cta .btn-primary {
        width: 100%;
    }

    .modal-video video {
        max-height: 220px;
        border-radius: 8px;
    }
}

/* ============================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 0.9rem;
        letter-spacing: 0.12em;
    }

    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-eyebrow {
        font-size: 0.6rem;
        padding: 0.4rem 1rem;
        letter-spacing: 0.2em;
    }

    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 0.92rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .contact-method {
        padding: 1.5rem 1rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    footer {
        padding: 2rem 1rem;
        font-size: 0.8rem;
    }

    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }

    .modal-content p,
    .modal-content ul {
        font-size: 0.88rem;
    }

    .video-showcase {
        padding: 2.5rem 1rem;
    }

    .video-eyebrow {
        font-size: 0.58rem;
        padding: 0.35rem 0.8rem;
        letter-spacing: 0.2em;
    }

    .video-container {
        border-radius: 10px;
    }

    .modal-video video {
        max-height: 280px;
    }
}

/* ============================================
   Safe area (notch / dynamic island)
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: calc(24px + env(safe-area-inset-bottom));
    }

    footer {
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
    }
}
