/* Essen brand palette (All You Need Dental, Zahnarztpraxis Mousa)
   --brand        #00B597  logo teal: large headings, shapes, icons, borders (2.6:1 on white, decorative only)
   --brand-strong #00796B  buttons with white text + small teal text (5.3:1 on white, 4.9:1 on --aqua)
   --brand-deep   #005E53  headings, hover states (7.7:1 on white)
   --charcoal     #5B5B5B  logo grey
   --aqua         #EEF8F9  pale aqua backgrounds
   --amber        #FFB400  small warm accents only (never text) */
:root {
    --brand: #00B597;
    --brand-strong: #00796B;
    --brand-deep: #005E53;
    --charcoal: #5B5B5B;
    --aqua: #EEF8F9;
    --aqua-light: #F7FCFC;
    --amber: #FFB400;
    --text: #3C3C3C;
}

/* Cairo (SIL Open Font License), self-hosted variable font: Arabic + Latin subsets */
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url(assets/fonts/cairo-arabic.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url(assets/fonts/cairo-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #3C3C3C;
    direction: rtl;
    text-align: right;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.primary-btn {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 181, 151, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 181, 151, 0.4);
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-strong));
}

.secondary-btn {
    background: #FFFFFF;
    color: var(--brand-deep);
    border: 2px solid var(--brand-deep);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--brand-deep);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(60, 60, 60, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

/* Navigation */
.nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    max-height: 0;
    overflow: hidden;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1030;
    pointer-events: none;
}

.nav.active .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
    background: #FFFFFF;
    border-radius: 0 0 15px 15px;
    position: relative;
    z-index: 1041;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;

    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 181, 151, 0.3) transparent;
}

.nav-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 181, 151, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 181, 151, 0.5);
}

.nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1042;
    background: #FFFFFF;
    cursor: pointer;
    border: none;
    outline: none;
}

.nav-link:hover {
    color: var(--brand-strong);
    background: linear-gradient(90deg, rgba(0, 181, 151, 0.08), transparent);
    transform: translateX(-3px);
}

.nav-link.active {
    color: var(--brand-strong);
    background: linear-gradient(90deg, rgba(0, 181, 151, 0.12), transparent);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-strong);
    z-index: 1043;
}

/* Scroll fade indicators */
.nav-menu::before,
.nav-menu::after {
    content: '';
    position: sticky;
    display: block;
    height: 8px;
    background: transparent;
    z-index: 1044;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-menu::before {
    top: 0;
    background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.nav-menu::after {
    bottom: 0;
    background: linear-gradient(to top, white 0%, transparent 100%);
}

/* Smooth scrolling for touch devices */
.nav-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Visual indicator for scrollable content */

/* Navigation Toggle */
.nav-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px 0;
    margin-left: 10px;
    z-index: 1002;
}

.nav-toggle-bar {
    width: 100%;
    height: 3px;
    background: #3C3C3C;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.phone-btn {
    background: var(--brand-strong);
    color: #FFFFFF;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: var(--brand-deep);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--aqua-light) 0%, var(--aqua) 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-deep);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.phone-cta-btn {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 94, 83, 0.25) !important;
}

.phone-cta-btn:hover {
    background: linear-gradient(135deg, var(--brand-deep) 0%, #004D44 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 94, 83, 0.32) !important;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--brand-deep);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    max-width: 600px;
    margin: 0 auto;
}

.service-link {
    margin-top: 20px;
    color: var(--brand-strong);
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
    transform: translateY(0);
}

.service-link i {
    margin-right: 5px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #FFFFFF;
}



/* Opening Hours Section */

/* Removed hover animation for performance */

.day {
    font-weight: 600;
    color: var(--brand-deep);
}

.time {
    color: #3C3C3C;
    font-weight: 500;
}

/* Location & Contact Section */
.location-contact {
    padding: 80px 0;
    background: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-icon i {
    color: #FFFFFF;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: var(--brand-deep);
    margin-bottom: 10px;
}

.contact-details p {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 0;
}

.phone-link {
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--brand-deep);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--aqua-light) 0%, var(--aqua) 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--brand-deep);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 60px 0 0;
    border-top: 1px solid #e9ecef;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Footer Titles */
.footer-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--brand);
    padding-bottom: 10px;
}

/* Footer Contact Information */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #6c757d;
}

.footer-logo .logo-img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--brand-strong);
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
}

.footer-phone {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--brand-strong);
}

/* Footer Hours */
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.footer-hours-row:last-child {
    border-bottom: none;
}

.footer-hours-row .day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.footer-hours-row .time {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Footer Social Media */

/* Dropdown Menu Styles */

/* Mobile dropdown behavior */

/* Desktop Navigation Styles */
@media (min-width: 1280px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        box-shadow: none;
        border-radius: 0;
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        max-height: none;
        overflow: visible;
    }

    .nav-overlay {
        display: none;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(6px, 1vw, 12px);
        padding: 0;
        width: 100%;
        min-width: 0;
        max-height: none;
        overflow: visible;
        flex-wrap: nowrap;
    }

    .nav-item {
        border-bottom: none;
    }

    .nav-link {
        padding: clamp(8px, 0.7vw, 10px) clamp(8px, 0.9vw, 12px);
        border-radius: 25px;
        font-size: clamp(12px, 0.95vw, 14px);
        background: none;
        transition: all 0.3s ease;
        white-space: nowrap;
        margin-left: 0;
    }

    .nav-link:hover {
        background: rgba(0, 181, 151, 0.1);
        color: var(--brand-strong);
        transform: none;
    }

    .nav-link.active {
        background: var(--brand-strong);
        color: #FFFFFF;
    }

    .nav-link.active::before {
        display: none;
    }

    .header-content {
        justify-content: space-between;
        gap: clamp(14px, 2vw, 32px);
    }
}

/* Specific adjustment for screens that are too small for 8 items but not mobile yet */
@media (min-width: 1280px) and (max-width: 1250px) {
    .nav-menu {
        gap: 6px;
    }

    .header-content {
        gap: 14px;
    }

    .nav-link {
        padding: 7px 9px;
        font-size: 12px;
    }
}

/* Enhanced mobile navigation for better scrolling */
@media (max-width: 480px) {
    .nav.active {
        max-height: 70vh;
    }

    .nav-menu {
        max-height: 65vh;
        padding: 10px 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Cosmetic Dentistry Hero Section */

/* Before/After Gallery Section */

/* Removed hover animation for performance */

/* Removed hover animation for performance */

/* Veneer Explanation Section */
.veneer-explanation {
    padding: 80px 0;
    background: #FFFFFF;
}

.veneer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.hollywood-smile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hollywood-smile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.veneer-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-strong);
    margin-bottom: 30px;
    line-height: 1.3;
}

.explanation-section {
    margin-bottom: 40px;
}

.explanation-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.explanation-section h3 i {
    color: var(--brand-strong);
}

.explanation-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3C3C3C;
    margin-bottom: 15px;
}

.process-steps {
    display: grid;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, var(--brand-strong), var(--brand-deep));
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-strong);
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.95rem;
    color: #3C3C3C;
    line-height: 1.5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--aqua);
    border-radius: 10px;
    border-right: 4px solid var(--brand);
}

.benefit-item i {
    color: var(--brand-strong);
    font-size: 1.1rem;
}

.benefit-item span {
    font-weight: 500;
    color: #3C3C3C;
}

.conditions-list {
    list-style: none;
    padding: 0;
}

.conditions-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--aqua);
    position: relative;
    padding-right: 30px;
}

.conditions-list li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--brand-strong);
    font-weight: bold;
    font-size: 1.1rem;
}

.conditions-list li:last-child {
    border-bottom: none;
}

.veneer-cta {
    margin-top: 40px;
    text-align: center;
}

/* Responsive Design for Cosmetic Page */
@media (max-width: 768px) {

    .service-hero {
        padding: 80px 0 60px;
    }

    .veneer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .veneer-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Map */

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
    background: #ffffff;
}

.footer-copyright {
    color: #6c757d;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

/* Legal Links Styling */
.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.legal-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-link:hover {
    color: var(--brand-strong);
    border-bottom-color: var(--brand);
}

/* Simple Content Styles for Impressum */
.simple-content {
    padding: 20px 0 80px;
    background: #FFFFFF;
    min-height: calc(100vh - 200px);
    margin-top: 60px;
    /* Account for compact header */
}

.simple-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.simple-content h1 {
    font-size: 2.5rem;
    color: var(--brand-deep);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.simple-content h2 {
    color: var(--brand-deep);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.simple-content h3 {
    color: var(--brand-strong);
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.simple-content p {
    color: #3C3C3C;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.simple-content ul {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 15px 0;
    padding-left: 25px;
}

.simple-content li {
    margin-bottom: 8px;
}

.simple-content strong {
    color: var(--brand-deep);
    font-weight: 600;
}

.simple-content a {
    color: var(--brand-strong);
    text-decoration: none;
}

.simple-content a:hover {
    text-decoration: underline;
}

.simple-content em {
    font-style: italic;
    color: #6c757d;
}

/* Legal Pages Styles */

@media (max-width: 768px) {

    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Footer Action Buttons */

.footer-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-call-btn {
    background: var(--brand-strong);
    color: #FFFFFF;
}

.footer-call-btn:hover {
    background: #2c3e50;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Additional Contact Section Hours Table */



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header-content {
        padding: 10px 0;
    }

    .footer-logo .logo-img {
        height: 50px;
    }

    /* Hero Mobile */
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    /* Services Mobile */
    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }



    /* Opening Hours Mobile */

    /* Contact Mobile */
    .location-contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon .icon {
        width: 25px;
        height: 25px;
    }

    .map-container {
        height: 300px;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        padding: 12px 25px;
        font-size: 15px;
    }



    /* Footer Mobile Styles */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section {
        gap: 15px;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
    }

    .footer-call-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .footer-contact-item {
        gap: 12px;
    }

    .footer-contact-item i {
        font-size: 1rem;
    }

    .footer-hours-row {
        padding: 6px 0;
    }

    .footer-hours-row .day,
    .footer-hours-row .time {
        font-size: 0.85rem;
    }
}

/* Pricing Section Styles */

/* Removed hover animation for performance */

/* Pricing Mobile Responsiveness */
@media (max-width: 768px) {

    /* Benefits Section Mobile */
    .orthodontic-benefits {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 25px 20px;
        text-align: right;
    }

    .benefit-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }



    .primary-btn,
    .secondary-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, var(--aqua-light) 0%, var(--aqua) 100%);
    padding: 90px 0 80px;
    text-align: center;
}

.nav-link {
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--brand-deep);
}

/* Service Details */
.service-details {
    padding: 80px 0;
    background: #FFFFFF;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.treatment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--aqua);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.treatment-item:hover {
    background: var(--aqua);
    transform: translateX(-5px);
}

.treatment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.treatment-info h3 {
    color: var(--brand-deep);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.treatment-info p {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 0;
}

.details-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Veneer Result Image */
.veneer-result-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 181, 151, 0.2);
    transition: all 0.3s ease;
    border: 3px solid var(--brand);
}

.veneer-result-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 181, 151, 0.3);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--aqua);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.step-content h3 {
    color: var(--brand-deep);
    margin-bottom: 15px;
}

.step-content p {
    color: #3C3C3C;
    line-height: 1.6;
}

/* Before/After Section */

/* Child-Friendly Section */

/* Age Groups Section */

/* Safety Section */
.safety-section {
    padding: 80px 0;
    background: var(--aqua);
}

/* Orthodontic Benefits */
.orthodontic-benefits {
    padding: 80px 0;
    background: var(--aqua);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-item {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--brand);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 181, 151, 0.2);
    border-left-color: var(--brand-deep);
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--brand-deep);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #3C3C3C;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Treatment Timeline */
.treatment-timeline {
    padding: 80px 0;
    background: #FFFFFF;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .treatment-item {
        padding: 20px;
    }

    .treatment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

}



/* Smooth scrolling for all internal links */
html {
    scroll-behavior: smooth;
}

/* Ensure proper RTL layout */
[dir="rtl"] .contact-grid {
    direction: rtl;
}



/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    z-index: 2147483647;
    /* stay above overlays */
    padding: 0.9rem 0;
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
    display: none;
    /* Shown via JS */
    border-top: 2px solid var(--brand-deep);
    pointer-events: auto;
}

.cookie-banner .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-banner .cookie-text h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: var(--brand-deep);
}

.cookie-banner .cookie-text p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color, #3C3C3C);
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner .cookie-btn {
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    font-family: inherit;
}

.cookie-banner .cookie-btn-accept {
    background: var(--brand-strong);
    color: #ffffff;
}

.cookie-banner .cookie-btn-accept:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
}

.cookie-banner .cookie-btn-decline {
    background: #f0f0f0;
    color: var(--text-color, #3C3C3C);
}

.cookie-banner .cookie-btn-decline:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .cookie-banner .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner .cookie-btn {
        flex: 1;
    }
}

/* Hero Video Container */

/* Orthodontics Page Redesign Styles */

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--brand-deep);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 181, 151, 0.3);
    box-shadow: 0 4px 15px rgba(0, 181, 151, 0.1);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 3.5rem 0 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3C3C3C;
    background: #FFFFFF;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trust-badge i {
    color: var(--brand-strong);
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-hint {
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #555;
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
}

/* Problems Section */
.problems-section {
    padding: 60px 0;
    background: #FFFFFF;
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.problem-card {
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.problem-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--brand);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--brand-strong);
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin: 0;
}

/* Highlighted Benefits */
.highlights-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.benefit-item.highlight {
    background: #FFFFFF;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--brand-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 94, 83, 0.2);
}

.benefit-icon-wrapper i {
    color: #FFFFFF;
    font-size: 1.8rem;
}

/* Modern Steps */
.steps-section {
    padding: 80px 0;
}

.modern-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 40px auto 0;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--brand-strong);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 181, 151, 0.3);
}

.step-text h3 {
    color: var(--brand-deep);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.step-text p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.faq-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    border-right: 4px solid var(--brand-deep);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--brand-deep);
    margin-bottom: 12px;
}

.faq-item p {
    margin: 0;
    color: #555;
}

.final-cta {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-strong) 100%) !important;
}

.final-cta .cta-title,
.final-cta .cta-subtitle {
    color: #FFFFFF !important;
}

.final-cta .secondary-btn {
    background: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.final-cta .secondary-btn:hover {
    background: #FFFFFF;
    color: var(--brand-deep);
}

@media (min-width: 992px) {

    
    .hero-badge-top,
    .hero-actions {
        grid-column: 1;
    }

    .hero-actions {
        align-items: flex-start;
        margin-top: 1.5rem;
        gap: 20px;
    }

    .hero-trust-badges {
        justify-content: flex-start;
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .cta-hint {
        text-align: right;
        margin-right: 15px;
        /* Slight indent relative to button */
    }
}

@media (max-width: 768px) {

    .hero-trust-badges {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin: 3.5rem 0 2rem;
    }

    .trust-badge {
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 15px;
    }

    .hero-badge-top {
        font-size: 0.8rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .modern-steps {
        gap: 50px;
    }
}

/* =========================================
   Global Redesign Styles (Generic)
   ========================================= */

/* Generic Split Hero */
.split-hero {
    padding: 120px 0 80px !important;
    background: linear-gradient(135deg, var(--aqua-light) 0%, var(--aqua) 100%) !important;
}

.split-hero .hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.split-hero .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a4a4a;
}

/* Generic Hero Image Container */
.hero-image-container {
    max-width: 1000px;
    margin: 3.5rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    border: 4px solid #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 181, 151, 0.2);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsive adjustments for image container */
@media (max-width: 768px) {
    .hero-image-container {
        margin: 2rem 5px;
        border-radius: 16px;
        border-width: 2px;
    }
}

/* Modern Service Card */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card-modern {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 94, 83, 0.1);
    border-color: var(--brand);
}

.service-card-modern .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--brand-deep);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon {
    background: var(--brand-deep);
    color: #FFFFFF;
}

.service-card-modern h3 {
    font-size: 1.3rem;
    color: #3C3C3C;
    margin-bottom: 10px;
}

.service-card-modern p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card-modern .service-link {
    margin-top: auto;
    color: var(--brand-deep);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-card-modern:hover .service-link {
    gap: 12px;
}

/* Desktop Split Layout for Generic Pages */
@media (min-width: 992px) {
    .split-hero .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: right;
    }

    .split-hero .hero-image-container {
        grid-column: 2;
        grid-row: 1 / span 5;
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .split-hero .hero-title,
    .split-hero .hero-subtitle,
    .hero-badge-top,
    .hero-actions {
        grid-column: 1;
    }

    .split-hero .hero-title {
        font-size: 3.2rem;
        margin-right: 0;
        max-width: 100%;
    }

    .split-hero .hero-subtitle {
        margin-right: 0;
        max-width: 100%;
    }

    /* Adjust features list for split layout */

    .hero-actions {
        align-items: flex-start;
        margin-top: 1.5rem;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .cosmetic-landing-hero {
        padding: 100px 0 60px !important;
    }

    .cosmetic-landing-hero .hero-title {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.75rem;
        line-height: 1.35;
        padding: 0 10px;
        text-align: center;
        overflow-wrap: break-word;
    }

    .cosmetic-landing-hero .hero-subtitle {
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        padding: 0 10px;
        text-align: center;
    }
}

/* Essen: small warm accent (decorative icon only, never text) */
.hero-badge-top svg,
.hero-badge-top i {
    color: var(--amber);
}

/* Essen: German legal text inside the Arabic page frame */
.simple-content.legal-de {
    margin-top: 0;
    padding-top: 130px;
    direction: ltr;
    text-align: left;
    font-family: 'Cairo', sans-serif;
}

.simple-content.legal-de ul {
    padding-left: 25px;
    padding-right: 0;
}

.simple-content.legal-de a {
    word-break: break-word;
}

/* Essen: portrait photo in the split hero (team page) */
.hero-image-container.portrait img {
    max-height: 620px;
    object-fit: cover;
    object-position: center top;
}

/* Essen: "meet the dentist" block on the home page */
.about-dentist .about-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-dentist .about-more {
    margin-top: 1.5rem;
}

.about-dentist .about-portrait {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center top;
}

/* =====================================================================
   v2 (Nov 2026): call-first, mobile-first layer
   Phone CTAs, sticky call bar, inline SVG icons, compact cookie banner,
   kids-braces / aligner page components, reviews, click-to-load map.
   ===================================================================== */

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

body {
    font-size: 16px;
    line-height: 1.6;
    background: #FFFFFF;
}

img,
picture,
svg {
    max-width: 100%;
}

h1,
h2,
h3 {
    overflow-wrap: break-word;
    text-wrap: balance;
}

a {
    color: var(--brand-strong);
}

/* Inline SVG icons (generated by tools/build.py from Font Awesome Free, CC BY 4.0) */
.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
    vertical-align: -0.125em;
}

.ico svg {
    display: block;
    height: 1em;
    width: auto;
    overflow: visible;
}

.skip-link {
    position: absolute;
    top: -60px;
    right: 8px;
    z-index: 3000;
    background: var(--brand-strong);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 8px;
}

/* ---------- Header ---------- */
.header {
    transition: box-shadow 0.2s ease;
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(60, 60, 60, 0.14);
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.phone-btn {
    width: auto;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.phone-btn .ico {
    font-size: 1.15rem;
}

.phone-btn:hover {
    transform: none;
}

.nav-toggle {
    width: 48px;
    height: 48px;
    padding: 12px 10px;
    margin: 0;
    border-radius: 12px;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-item-call {
    padding: 16px 20px 20px;
    text-align: center;
}

.nav-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--brand-deep);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.nav-call-note {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: var(--text);
}

@media (max-width: 1279px) {
    .nav-link {
        display: flex;
        align-items: center;
        min-height: 52px;
        font-size: 1.05rem;
        color: #2c3e50;
    }

    .nav-link-featured {
        color: var(--brand-deep);
        font-weight: 700;
    }

    .nav-link-featured::after {
        content: 'جديد';
        margin-right: 10px;
        padding: 2px 10px;
        border-radius: 999px;
        background: var(--amber);
        color: #3C3C3C;
        font-size: 0.8rem;
        font-weight: 700;
    }

    .nav.active,
    .nav-menu {
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
    }
}

@media (min-width: 1280px) {
    .nav-item-call {
        display: none;
    }

    .nav-link-featured {
        box-shadow: inset 0 0 0 2px var(--brand);
    }
}

@media (max-width: 767px) {
    .header-content {
        padding: 8px 0;
    }

    .logo-img {
        height: 48px;
    }

    .phone-btn {
        width: 48px;
        padding: 0;
    }

    .phone-btn-number {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }
}

/* ---------- Call CTA buttons ---------- */
.call-cta {
    justify-content: center;
    min-height: 58px;
    width: 100%;
    max-width: 460px;
    padding: 10px 22px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%);
    box-shadow: 0 6px 20px rgba(0, 94, 83, 0.28);
}

.call-cta .ico {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.call-cta-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
}

.call-cta-label {
    font-size: 1.08rem;
    font-weight: 700;
}

.call-cta-number {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.call-cta:hover {
    transform: none;
}

.final-cta .call-cta-light {
    background: #FFFFFF;
    color: var(--brand-deep);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.final-cta .call-cta-light:hover {
    background: var(--aqua);
}

.cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Opening hours hint + "open now" status */
.hours-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.hours-compact .ico {
    color: var(--brand-strong);
    margin-left: 4px;
}

.open-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}

.open-status[hidden] {
    display: none;
}

.open-status::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.open-status.is-open {
    background: #E3F5F0;
    color: #00624F;
}

.open-status.is-closed {
    background: #FFF3D6;
    color: #6B4500;
}

.final-cta .hours-hint {
    color: #FFFFFF;
}

.final-cta .hours-compact .ico {
    color: #FFFFFF;
}

.open-status-line {
    margin: 12px 0 0;
}

.cta-hint {
    margin: 0;
    font-style: normal;
    font-size: 1rem;
    color: var(--text);
}

.trust-badge .ico {
    font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero-badge-top .ico {
    color: var(--amber);
}

@media (min-width: 992px) {
    .split-hero .hero-actions .call-cta {
        margin-inline-start: 0;
    }

    .split-hero .hours-hint {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .hero.split-hero {
        padding: 80px 0 36px !important;
    }

    .hero-badge-top {
        margin-bottom: 12px;
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .split-hero .hero-title,
    .hero-title {
        font-size: 1.65rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .split-hero .hero-subtitle,
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 auto 4px;
    }

    .hero-actions {
        margin-top: 14px;
        gap: 12px !important;
    }

    .hero-trust-badges {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px !important;
        margin: 6px 0 0 !important;
    }

    .trust-badge {
        width: auto !important;
        max-width: none !important;
        padding: 6px 12px !important;
        font-size: 0.95rem !important;
        gap: 6px;
    }

    .hero-image-container {
        margin: 20px 0 0 !important;
    }

    .hero-image-container img {
        max-height: 240px;
        object-fit: cover;
    }

    .hero-image-container.portrait img {
        max-height: 320px;
    }

    .hero-image-container:hover {
        transform: none;
    }
}

/* ---------- Sections on phones: tighter spacing, readable text ---------- */
@media (max-width: 767px) {
    .services,
    .problems-section,
    .service-details,
    .orthodontic-benefits,
    .steps-section,
    .faq-section,
    .location-contact,
    .cta-section,
    .process-section,
    .treatment-timeline,
    .kasse-section,
    .compare-section,
    .reviews-section,
    .implant-info,
    .sedation-info,
    .symptoms-section,
    .prevention-section,
    .veneer-explanation {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title,
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .section-subtitle,
    .cta-subtitle {
        font-size: 1rem;
    }

    .service-card-modern p,
    .footer-description,
    .footer-hours-row .day,
    .footer-hours-row .time,
    .footer-copyright,
    .legal-link,
    .step-text p,
    .treatment-info p,
    .benefit-item p,
    .problem-card p,
    .faq-item p {
        font-size: 1rem;
    }

    .services-grid-modern,
    .problems-grid,
    .benefits-grid {
        gap: 14px;
        margin-top: 0;
    }

    .service-card-modern {
        padding: 22px 18px;
    }

    .benefit-item.highlight {
        padding: 24px 18px;
    }

    .modern-steps {
        gap: 24px;
        margin-top: 0;
    }

    .step-item {
        flex-direction: row !important;
        text-align: right !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .step-circle {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .step-text h3 {
        font-size: 1.15rem;
    }

    .veneer-result-image {
        height: 280px;
    }
}

.problem-card p {
    margin: 10px 0 0;
    color: #4a4a4a;
}

.section-note {
    max-width: 720px;
    margin: 24px auto 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--aqua);
    color: var(--brand-deep);
    font-weight: 600;
    text-align: center;
}

/* Home: featured service card */
.service-card-modern {
    position: relative;
}

.service-card-featured {
    border: 2px solid var(--brand);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--aqua-light) 100%);
}

.card-flag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 2px 12px;
    border-radius: 999px;
    background: var(--amber);
    color: #3C3C3C;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ---------- Kids braces: insurance info box ---------- */
.kasse-section {
    padding: 72px 0;
    background: var(--aqua);
}

.info-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px;
    background: #FFFFFF;
    border: 2px solid var(--brand);
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(0, 94, 83, 0.08);
}

.info-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.info-box-head .ico {
    font-size: 1.8rem;
    color: var(--brand-strong);
}

.info-box-head h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--brand-deep);
}

.info-box-lead {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--brand-deep);
    line-height: 1.7;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 18px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list .ico {
    color: var(--brand-strong);
    font-size: 1.15rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.info-box-note {
    font-size: 0.95rem;
    color: #4a4a4a;
    padding: 12px 14px;
    background: var(--aqua-light);
    border-radius: 10px;
}

.info-box .call-cta {
    margin: 6px auto 0;
    display: flex;
}

@media (max-width: 767px) {
    .info-box {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .info-box-head h2 {
        font-size: 1.35rem;
    }

    .info-box-lead {
        font-size: 1.05rem;
    }

    .info-box-note {
        font-size: 1rem;
    }
}

/* ---------- Comparison cards ---------- */
.compare-section {
    padding: 72px 0;
    background: #FFFFFF;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.compare-card {
    padding: 26px 24px;
    border-radius: 18px;
    background: var(--aqua-light);
    border: 1px solid rgba(0, 181, 151, 0.25);
}

.compare-card-main {
    border: 2px solid var(--brand);
    background: #FFFFFF;
}

.compare-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-deep);
    font-size: 1.25rem;
}

.compare-card h3 .ico {
    color: var(--brand-strong);
}

.compare-card ul {
    padding-right: 20px;
    margin: 0;
}

.compare-card li {
    margin-bottom: 8px;
}

.compare-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 8px;
    font-weight: 700;
    color: var(--brand-strong);
}

/* ---------- FAQ accordion (native <details>) ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-list .faq-item {
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--brand-deep);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--aqua);
    color: var(--brand-deep);
    font-size: 1.3rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-list .faq-item p {
    padding: 0 18px 18px;
    margin: 0;
    line-height: 1.7;
}

/* ---------- Google reviews ---------- */
.reviews-section {
    padding: 72px 0;
    background: var(--aqua-light);
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.reviews-summary strong {
    font-size: 1.3rem;
    color: var(--brand-deep);
}

.reviews-asof,
.reviews-note {
    color: #555;
    font-size: 0.95rem;
}

.reviews-note {
    margin: 0;
}

.review-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--amber);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.review-card {
    margin: 0;
    padding: 22px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-card blockquote {
    margin: 0;
    text-align: left;
    font-family: 'Cairo', system-ui, sans-serif;
    color: #333;
    line-height: 1.65;
}

.review-card blockquote p {
    margin: 0;
}

.review-card figcaption {
    margin-top: auto;
    font-weight: 700;
    color: var(--brand-deep);
    font-size: 0.95rem;
}

.reviews-more {
    text-align: center;
    margin: 24px 0 0;
}

.reviews-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-weight: 700;
    color: var(--brand-strong);
}

/* ---------- Click-to-load map ---------- */
.map-embed {
    background: var(--aqua);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
}

.map-placeholder > .ico {
    font-size: 2.4rem;
    color: var(--brand-strong);
}

.map-address {
    margin: 0;
    font-weight: 700;
}

.map-load-btn {
    min-height: 48px;
    cursor: pointer;
    font-family: inherit;
}

.map-open-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-weight: 700;
}

.map-privacy {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ---------- Footer ---------- */
.footer-logo {
    text-decoration: none;
    margin-bottom: 0;
}

.footer-logo .logo-img {
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.15rem;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #2c3e50;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand-strong);
}

.footer-call-btn {
    min-height: 52px;
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 14px;
    align-self: flex-start;
}

.footer-contact-item .ico {
    color: var(--brand-strong);
    margin-top: 6px;
}

.footer-phone,
.footer-maps-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-maps-link {
    color: var(--brand-strong);
    font-weight: 600;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6b73;
}

.legal-links {
    margin-top: 0;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: #5f6b73;
}

@media (max-width: 767px) {
    .footer-bottom {
        align-items: flex-start;
        text-align: right;
        gap: 8px;
    }

    .legal-links {
        flex-direction: row;
        gap: 20px;
    }

    .footer-call-btn {
        align-self: stretch;
        justify-content: center;
    }
}

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }

    .call-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 56px;
        padding: 8px 16px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        background: var(--brand-deep);
        color: #FFFFFF;
        font-weight: 700;
        font-size: 1.12rem;
        text-decoration: none;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    }

    .call-bar .ico {
        font-size: 1.2rem;
    }

    .call-bar:active {
        background: #004D44;
    }
}

/* ---------- Cookie banner: compact, above the call bar on phones ---------- */
.cookie-banner {
    display: block;
    z-index: 1025;
}

.cookie-banner .cookie-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.cookie-banner .cookie-text a {
    color: var(--brand-deep);
    text-decoration: underline;
}

.cookie-banner .cookie-content {
    align-items: center;
}

.cookie-banner .cookie-btn {
    min-height: 48px;
    min-width: 96px;
}

@media (max-width: 767px) {
    .cookie-banner {
        bottom: calc(56px + env(safe-area-inset-bottom));
        max-height: 35vh;
        overflow-y: auto;
        padding: 10px 0;
        border-top-width: 1px;
    }

    .cookie-banner .cookie-content {
        flex-direction: column;
        gap: 8px;
        text-align: right;
    }

    .cookie-banner .cookie-text {
        font-size: 0.85rem;
    }

    .cookie-banner .cookie-actions {
        flex-direction: row;
        width: 100%;
    }

    .cookie-banner .cookie-btn {
        flex: 1;
    }
}

/* Body scroll lock while the mobile menu is open */
body.nav-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .call-bar,
    .cookie-banner,
    .nav-toggle {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }
}

.hours-line {
    display: inline-block;
    white-space: nowrap;
    margin: 0 4px;
}

.details-image picture,
.hero-image-container picture,
.veneer-explanation picture {
    display: block;
    width: 100%;
}

/* Home services: compact, scannable cards on phones (whole card is the link) */
@media (max-width: 767px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .services .service-card-modern {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-areas: "icon title" "icon text";
        column-gap: 14px;
        align-items: start;
        text-align: right;
        padding: 16px;
        height: auto;
    }

    .services .service-card-modern .service-icon {
        grid-area: icon;
        width: 56px;
        height: 56px;
        margin: 0;
        font-size: 1.5rem;
    }

    .services .service-card-modern h3 {
        grid-area: title;
        font-size: 1.15rem;
        margin: 2px 0 4px;
    }

    .services .service-card-modern p {
        grid-area: text;
        margin: 0;
    }

    .services .service-card-modern .service-link {
        display: none;
    }

    .services .card-flag {
        position: static;
        grid-column: 2;
        justify-self: start;
        margin-bottom: 4px;
    }

    .services .service-card-featured {
        grid-template-areas: "icon flag" "icon title" "icon text";
    }
}

/* Desktop nav (>= 1280 px): the logo links home, so the "home" item is hidden to fit 9 links */
@media (min-width: 1280px) {
    .nav-menu .nav-item:first-child {
        display: none;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 9px;
        font-size: 13.5px;
    }
}

/* Desktop split hero: text column top-aligned, photo spans all rows */
@media (min-width: 992px) {
    .split-hero .hero-content {
        grid-template-rows: auto auto auto 1fr;
        align-items: start;
        row-gap: 0;
        column-gap: 4rem;
    }

    .split-hero .hero-badge-top {
        justify-self: start;
        margin-bottom: 1.25rem;
    }

    .split-hero .hero-image-container {
        grid-row: 1 / -1 !important;
        align-self: center;
    }

    .split-hero .hero-image-container img {
        max-height: 520px;
        object-fit: cover;
    }

    .split-hero .hero-title {
        font-size: 2.6rem;
    }

    .split-hero .hero-subtitle {
        margin-bottom: 0.5rem;
    }
}
