/* An Hòa Mỹ Các - Vietnamese Section - Optimized CSS */
/* Font loaded via <link> in HTML for render-blocking optimization */

:root {
    --primary: #c8556d;
    --primary-light: #e8899a;
    --primary-dark: #a84458;
    --accent: #d4a574;
    --accent-dark: #c49464;
    --secondary: #2d3436;
    --text: #555;
    --text-light: #888;
    --light-bg: #fdf8f6;
    --white: #fff;
    --border: #f0e8e4;
    --shadow: 0 2px 15px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-display: swap;
    line-height: 1.7;
    color: var(--text);
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HEADER & NAV */
header {
    background: var(--white);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo span { color: var(--secondary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-switch:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    padding: 4px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #fff5f7 0%, #fce4ec 30%, #f8e8e0 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,85,109,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}
.hero h1 .highlight { color: var(--primary); }
.hero .subtitle {
    font-size: 1rem;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,85,109,0.3);
}
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(212,165,116,0.3); }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* SECTIONS */
section { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 1.5rem; color: var(--secondary); margin-bottom: 8px; font-weight: 700; }
.section-header p { color: var(--text-light); font-size: 15px; }
.section-header .divider { width: 50px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

/* ADVANTAGE CARDS */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.advantage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-top-color: var(--primary); }
.advantage-icon { font-size: 2.4rem; margin-bottom: 14px; }
.advantage-card h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 8px; font-weight: 600; }
.advantage-card p { font-size: 14px; color: var(--text); line-height: 1.6; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 20px 24px;
    color: var(--white);
}
.service-card-header h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 2px; }
.service-card-header .en-name { font-size: 13px; opacity: 0.85; }
.service-card-body { padding: 20px 24px; }
.service-card-body p { font-size: 14px; color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.service-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    background: var(--light-bg);
    border-radius: 12px;
    color: var(--text);
}

/* PROCESS / STEPS */
.process-steps { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 700px; margin: 0 auto; }
.process-step { display: flex; gap: 20px; padding: 24px 0; position: relative; }
.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}
.step-content { flex: 1; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.process-step:last-child .step-content { border-bottom: none; }
.step-content h3 { font-size: 1rem; color: var(--secondary); margin-bottom: 6px; font-weight: 600; }
.step-content p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* INFO CARDS */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-hover); }
.info-card .card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.info-card h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 8px; font-weight: 600; }
.info-card p, .info-card ul { font-size: 14px; color: var(--text); line-height: 1.7; }
.info-card ul { padding-left: 18px; margin-top: 8px; }
.info-card li { margin-bottom: 6px; }

/* TESTIMONIALS */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.testimonial-card .stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; }
.testimonial-card .quote { font-size: 14px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 12px; }
.testimonial-card .author { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .toggle-icon { font-size: 18px; transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-question .toggle-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 20px 18px; max-height: 500px; }
.faq-answer p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* CONTACT SECTION */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.contact-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.contact-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.contact-box .box-icon { font-size: 2rem; margin-bottom: 10px; }
.contact-box h3 { font-size: 1rem; color: var(--secondary); margin-bottom: 6px; font-weight: 600; }
.contact-box p { font-size: 14px; color: var(--text); }
.contact-box .value { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-top: 4px; }

/* FORM */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--secondary); font-weight: 500; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--light-bg);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
.form-group textarea { min-height: 100px; resize: vertical; }

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, #fff5f7 0%, #fce4ec 30%, #f8e8e0 100%);
    padding: 40px 0;
    text-align: center;
}
.page-header h1 { font-size: 1.8rem; color: var(--secondary); margin-bottom: 8px; font-weight: 700; }
.page-header p { color: var(--text); font-size: 1rem; }

/* BREADCRUMB */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* CONTENT AREA */
.content-wrapper { padding: 30px 0 50px; }
.content-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.content-block h2 { font-size: 1.3rem; color: var(--secondary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); font-weight: 700; }
.content-block h3 { font-size: 1.1rem; color: var(--secondary); margin: 20px 0 10px; font-weight: 600; }
.content-block p { margin-bottom: 12px; line-height: 1.8; font-size: 15px; }
.content-block ul, .content-block ol { margin: 10px 0 16px 20px; line-height: 1.8; }
.content-block li { margin-bottom: 6px; font-size: 15px; }

/* TABLE */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.styled-table thead { background: var(--primary); color: var(--white); }
.styled-table th, .styled-table td { padding: 12px 16px; text-align: left; }
.styled-table tbody tr { background: var(--white); border-bottom: 1px solid var(--border); }
.styled-table tbody tr:nth-child(even) { background: var(--light-bg); }

/* TIMELINE */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 24px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px rgba(200,85,109,0.2);
}
.timeline-item h3 { font-size: 1rem; color: var(--secondary); margin-bottom: 4px; font-weight: 600; }
.timeline-item p { font-size: 14px; color: var(--text); line-height: 1.7; }
.timeline-item .time-label { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    color: var(--white);
    margin: 40px 0;
}
.cta-banner h2 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; }
.cta-banner p { font-size: 15px; opacity: 0.9; margin-bottom: 20px; }
.cta-banner .btn { background: var(--white); color: var(--primary); }
.cta-banner .btn:hover { background: #f5f5f5; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

/* DISCLAIMER */
.disclaimer {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}
.disclaimer strong { color: var(--secondary); }

/* FOOTER */
footer { background: var(--secondary); color: rgba(255,255,255,0.75); padding: 40px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 13px; }
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom a { color: var(--primary-light); text-decoration: none; }

/* Fixed Bottom Contact Bar - Vertical Stack */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.fixed-contact-bar .contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.2s;
    min-height: 44px;
    box-sizing: border-box;
}

.fixed-contact-bar .contact-row:hover {
    filter: brightness(1.1);
}

.fixed-contact-bar .contact-row:active {
    filter: brightness(0.95);
}

.fixed-contact-bar .wechat-row {
    background: #07C160;
}

.fixed-contact-bar .whatsapp-row {
    background: #25D366;
}

.fixed-contact-bar .phone-row {
    background: #c8556d;
}

.fixed-contact-bar .contact-icon {
    font-size: 18px;
    line-height: 1;
}

.fixed-contact-bar .contact-text {
    font-size: 14px;
    color: #fff;
}

.fixed-contact-bar .contact-text strong {
    color: #fff;
    font-weight: 700;
}

/* Body padding for contact bar height (3 rows ~132px) */
body {
    padding-bottom: 132px;
}

/* Desktop: smaller compact version */
@media (min-width: 769px) {
    .fixed-contact-bar .contact-row {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}
.copy-toast.show { opacity: 1; }



/* ===== Video Case Gallery ===== */
.case-gallery {
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(200,85,109,0.04), rgba(212,165,116,0.04));
    border-radius: var(--radius);
    border: 1px solid rgba(200,85,109,0.08);
}
.case-gallery h3 {
    margin-bottom: 6px;
    font-size: 1.15em;
    color: var(--text-dark);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.video-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 9/16;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s ease;
}
.video-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(200,85,109,0.18);
}
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-card .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.28);
    transition: background 0.35s ease, opacity 0.35s ease;
}
.video-card:hover .play-overlay {
    background: rgba(0,0,0,0.12);
}
.play-btn {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s ease;
}
.video-card:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 4px 18px rgba(200,85,109,0.25);
}
.play-btn::after {
    content: '';
    border-left: 18px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 5px;
}
.video-card .case-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Case Tabs */
.case-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.case-tab { padding: 10px 24px; border: 2px solid var(--border); border-radius: 25px; background: var(--white); color: var(--text); font-size: 15px; cursor: pointer; transition: var(--transition); font-family: inherit; }
.case-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.case-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.case-panel { display: none; }
.case-panel.active { display: block; }
/* WhatsApp button */
.whatsapp-btn { background: #25d366; color: var(--white); }
.whatsapp-btn:hover { background: #1da851; }
/* ===== COMPREHENSIVE MOBILE FIXES & CONTACT BEAUTIFICATION ===== */

/* Global overflow protection */
html, body { overflow-x: hidden; }

/* Touch-friendly targets - minimum 44px */
.nav-links a, .lang-switch, .btn, .btn-sm, .faq-question, .case-tab,
.contact-box .btn-sm {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Hero responsive font scaling */
.hero h1 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    line-height: 1.3;
}
.hero .subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    line-height: 1.7;
}

/* Page header responsive font */
.page-header h1 {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    line-height: 1.3;
}

/* Section header responsive */
.section-header h2 {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
}

/* ===== BEAUTIFUL CONTACT CARDS (inline page) ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.contact-card .contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.whatsapp-card .contact-icon { background: rgba(37, 211, 102, 0.12); }
.wechat-card .contact-icon { background: rgba(7, 193, 96, 0.12); }
.phone-card .contact-icon { background: rgba(200, 85, 109, 0.1); }
.contact-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.contact-card .contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.whatsapp-card .contact-label { color: #25D366; }
.wechat-card .contact-label { color: #07C160; }
.phone-card .contact-label { color: var(--primary); }
.contact-card .contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    word-break: break-all;
}
.contact-card .contact-hint {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== TABLE RESPONSIVE WRAPPER ===== */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}
.table-wrapper .styled-table {
    margin: 0;
    min-width: 500px;
}

/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px) {
    /* Nav fixes */
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-links li { 
        padding: 0; 
        border-bottom: 1px solid var(--border); 
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { 
        font-size: 16px; 
        padding: 12px 0;
        display: flex;
        align-items: center;
        min-height: 44px;
        width: 100%;
    }
    /* Language switches in mobile nav */
    .nav-links .lang-switch {
        display: inline-flex;
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
        margin: 4px 0;
    }
    
    .menu-toggle { 
        display: block; 
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        font-size: 26px;
    }
    
    /* Hero mobile */
    .hero { padding: 36px 0 32px; }
    .hero h1 { line-height: 1.3; }
    .hero .subtitle { margin-bottom: 20px; }
    .hero-cta { gap: 10px; }
    
    /* Section padding */
    section { padding: 32px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { line-height: 1.35; }
    
    /* Grid adjustments */
    .advantages-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .advantage-card { padding: 18px 14px; }
    .advantage-icon { font-size: 1.8rem; margin-bottom: 8px; }
    .advantage-card h3 { font-size: 0.95rem; }
    .advantage-card p { font-size: 13px; line-height: 1.5; }
    
    .services-grid { grid-template-columns: 1fr; }
    .service-card-header { padding: 16px 20px; }
    .service-card-body { padding: 16px 20px; }
    .service-card-body p { font-size: 13px; }
    
    .info-grid { grid-template-columns: 1fr; }
    .info-card { padding: 20px; }
    
    .testimonials-slider { grid-template-columns: 1fr; }
    .testimonial-card { padding: 20px; }
    
    /* Contact page cards */
    .contact-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-box { padding: 20px; }
    .contact-cards { grid-template-columns: 1fr; gap: 12px; }
    .contact-card { padding: 14px 16px; }
    .contact-card .contact-icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .contact-card .contact-value { font-size: 13px; }
    
    /* Form */
    .contact-form { padding: 20px; }
    
    /* Content blocks */
    .content-block { padding: 18px; }
    .content-block h2 { font-size: 1.1rem; }
    .content-block p, .content-block li { font-size: 14px; }
    
    /* CTA banner */
    .cta-banner { padding: 24px 18px; margin: 30px 0; }
    .cta-banner h2 { font-size: 1.15rem; line-height: 1.3; }
    .cta-banner p { font-size: 14px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    footer { padding: 30px 0 16px; }
    .footer-bottom { font-size: 12px; }
    .footer-bottom p { line-height: 1.6; }
    
    /* Page header */
    .page-header { padding: 28px 0; }
    
    /* Table */
    .styled-table { font-size: 12px; }
    .styled-table th, .styled-table td { padding: 8px 10px; }
    
    /* Process steps */
    .process-step { gap: 14px; padding: 18px 0; }
    .step-number { width: 40px; height: 40px; font-size: 0.9rem; }
    
    /* FAQ */
    .faq-question { padding: 14px 16px; font-size: 14px; min-height: 44px; }
    .faq-answer p { font-size: 13px; }
    
    /* Case tabs */
    .case-tab { 
        padding: 8px 18px; 
        font-size: 13px; 
        min-height: 40px;
    }
    
    /* Floating bar mobile - vertical stack, no changes needed */
    body { padding-bottom: 132px; }
    
    /* Disclaimer */
    .disclaimer { padding: 16px; font-size: 12px; }
}

/* ===== RESPONSIVE 480px ===== */
@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .btn { width: 100%; justify-content: center; }
    
    /* Hero very small */
    .hero { padding: 30px 0 28px; }
    .hero h1 { font-size: 1.25rem; }
    .hero .subtitle { font-size: 13px; margin-bottom: 18px; }
    
    /* Service cards */
    .service-card-header { padding: 14px 16px; }
    .service-card-header h3 { font-size: 1rem; }
    .service-card-body { padding: 14px 16px; }
    
    /* Contact cards compact */
    .contact-card { 
        padding: 12px 14px; 
        gap: 10px;
    }
    .contact-card .contact-icon { 
        width: 40px; 
        height: 40px; 
        font-size: 1.2rem; 
        border-radius: 12px;
    }
    .contact-card .contact-label { font-size: 11px; }
    .contact-card .contact-value { font-size: 13px; }
    
    /* Contact boxes */
    .contact-box { padding: 16px; }
    .contact-box .btn-sm { 
        width: 100%; 
        justify-content: center; 
        min-height: 44px; 
    }
    /* For EN contact page with side-by-side buttons */
    .contact-box .btn-sm + .btn-sm {
        margin-top: 8px;
    }
    
    /* Video grid */
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .case-gallery { padding: 12px; margin: 20px 0; }
    .play-btn { width: 38px; height: 38px; }
    .play-btn::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 3px; }
    .video-card .case-label { font-size: 11px; padding: 20px 10px 8px; }
    
    /* Case tabs compact */
    .case-tabs { gap: 6px; }
    .case-tab { padding: 8px 14px; font-size: 12px; }
    
    /* Floating bar very compact - vertical stack */
    body { padding-bottom: 132px; }
    
    /* Footer */
    footer { padding: 24px 0 12px; margin-top: 30px; }
    .footer-bottom p { font-size: 11px; line-height: 1.5; }
}

/* ===== RESPONSIVE 375px (iPhone SE) ===== */
@media (max-width: 375px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 1.15rem; }
    .hero .subtitle { font-size: 12px; }
    .section-header h2 { font-size: 1.05rem; }
    .advantage-card h3 { font-size: 0.9rem; }
    .advantage-card p { font-size: 12px; }
    
    .contact-card .contact-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .contact-card .contact-value { font-size: 12px; }
    
    .fixed-contact-bar .contact-row { padding: 10px 14px; }
    body { padding-bottom: 132px; }
    
    .page-header h1 { font-size: 1.05rem; }
    .page-header { padding: 24px 0; }
    .content-block h2 { font-size: 1rem; }
    .content-block p, .content-block li { font-size: 13px; }
}

/* ===== PRINT STYLES ===== */
@media print {
    .fixed-contact-bar, .menu-toggle { display: none !important; }
    body { padding-bottom: 0 !important; }
}

/* ===== SMOOTH SCROLL OFFSET for sticky header ===== */
html { scroll-padding-top: 70px; }

/* ===== INTERACTIVE STATES ===== */
.contact-card:active {
    transform: scale(0.97);
}
.fixed-contact-bar .contact-row:active {
    filter: brightness(0.95);
}
.btn:active {
    transform: scale(0.97);
}

/* ===== WHATSAPP FLOATING BUTTON (optional widget) ===== */
.whatsapp-float {
    position: fixed;
    bottom: 140px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 998;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}
@media (min-width: 769px) {
    .whatsapp-float { display: none; }
}


/* ===== NEW PAGES: Doctor Profile, Rating Summary, Warning Box ===== */

/* Doctor Profile */
.doctor-profile {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: var(--transition);
}
.doctor-profile:hover { box-shadow: var(--shadow-hover); }
.doctor-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    background: linear-gradient(135deg, #fff5f7 0%, #fce4ec 30%, #f8e8e0 100%);
    border-bottom: 2px solid var(--border);
}
.doctor-avatar {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(200,85,109,0.15);
    flex-shrink: 0;
}
.doctor-intro h2 { font-size: 1.3rem; color: var(--secondary); margin-bottom: 4px; font-weight: 700; }
.doctor-title { font-size: 14px; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.doctor-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: 500;
}
.doctor-body { padding: 24px 30px; }
.doctor-body h3 { font-size: 1.05rem; color: var(--secondary); margin: 20px 0 10px; font-weight: 600; }
.doctor-body h3:first-child { margin-top: 0; }
.doctor-body p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 12px; }
.doctor-body ul { margin: 10px 0 16px 20px; line-height: 1.8; }
.doctor-body li { margin-bottom: 6px; font-size: 15px; }
.doctor-specialties { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.specialty-item {
    padding: 12px 16px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
    border-left: 3px solid var(--primary);
}

/* Rating Summary */
.rating-summary {
    padding: 30px;
    margin: 10px auto;
}
.rating-score {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.rating-stars {
    font-size: 1.5rem;
    color: #f5a623;
    margin-bottom: 8px;
}
.rating-count {
    font-size: 14px;
    color: var(--text-light);
}

/* Warning Box */
.warning-box {
    background: #fff8f0;
    border-left: 4px solid #e67e22;
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-top: 10px;
}
.warning-box p { font-size: 15px; color: var(--secondary); font-weight: 600; margin-bottom: 10px; }
.warning-box ul { margin: 0 0 0 20px; line-height: 1.8; }
.warning-box li { font-size: 14px; color: var(--text); margin-bottom: 6px; }

/* Doctor Profile Mobile Responsive */
@media (max-width: 768px) {
    .doctor-header { flex-direction: column; text-align: center; padding: 20px; gap: 12px; }
    .doctor-tags { justify-content: center; }
    .doctor-body { padding: 18px; }
    .doctor-specialties { grid-template-columns: 1fr; }
    .rating-score { font-size: 2.5rem; }
    .rating-stars { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .doctor-avatar { width: 56px; height: 56px; font-size: 1.6rem; }
    .doctor-intro h2 { font-size: 1.1rem; }
    .doctor-tag { font-size: 11px; padding: 3px 10px; }
    .specialty-item { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 375px) {
    .doctor-body { padding: 14px; }
    .doctor-body p, .doctor-body li { font-size: 13px; }
}
