.map-embed {
    border: 0;
    border-radius: 12px;
    width: 100%;
    height: 400px;
    filter: grayscale(20%) sepia(15%) hue-rotate(145deg) saturate(140%) contrast(110%);
}

@media (max-width: 768px) {
    .map-embed {
        height: 320px;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #57889b;
    --primary-dark: #57889b;
    --secondary-color: #57889b;
    --accent-color: #debfa1;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --teal-main: #57889b;
    --teal-light: #57889b;
    --gold-accent: #debfa1;
    --section-padding: 4rem;
    --section-padding-tablet: 3rem;
    --section-padding-mobile: 2.5rem;
    --section-title-spacing: 1.5rem;
    
    /* Typography Scale */
    --heading-1: 3.5rem;
    --heading-2: 2.2rem;
    --heading-3: 1.5rem;
    --text-large: 1.3rem;
    --text-regular: 1.1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--teal-main);
    padding-top: var(--header-height, 80px);
}

main {
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-family: 'Barlow', sans-serif;
    margin-bottom: 1rem;
    font-size: var(--text-regular);
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--primary-color);
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-dark);
}

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

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

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

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

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

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

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

.btn-white:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* Keep link-style buttons readable on the teal hero */
.hero-centered .btn,
.hero-centered .btn-primary,
.hero-centered .btn-secondary,
.hero-centered .btn-outline,
.hero-centered .btn-white,
.hero-centered .btn-outline-white,
.hero-centered .btn-outline-light {
    color: var(--white);
}

.hero-centered .btn:hover,
.hero-centered .btn-primary:hover,
.hero-centered .btn-secondary:hover,
.hero-centered .btn-outline:hover,
.hero-centered .btn-white:hover,
.hero-centered .btn-outline-white:hover,
.hero-centered .btn-outline-light:hover {
    color: var(--gold-accent);
}

/* Header and Navigation */
header {
    background-color: var(--teal-main);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transform: translateY(0);
    transition: transform 0.25s ease;
    will-change: transform;
}

header.header-hidden {
    transform: translateY(-110%);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-name {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
}

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

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--gold-accent);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-family: 'Barlow', sans-serif;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-centered {
    grid-template-columns: 1fr;
    text-align: left;
    background-color: var(--teal-main);
    background-image: url('images/ppp_hero.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: calc(100vh - var(--header-height, 80px));
    padding: 4rem 0;
    margin: 0;
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

/* Subtle overlay to ensure text readability on left side */
/* .hero-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, rgba(87, 136, 155, 0.85) 0%, rgba(87, 136, 155, 0.6) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
} */

.hero-centered .hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

@media (min-width: 1024px) {
    .hero-centered .hero-content {
        width: 100%;
        max-width: 1200px;
    }
}

.hero-logo {
    width: clamp(340px, 36vw, 700px);
    max-width: 100%;
    height: auto;
    display: block;
    
}

.hero-logo .logo-mark {
    display: block;
}

@media (max-width: 900px) {
    .hero-centered .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: flex-start;
    }

    .hero-logo {
        width: min(70vw, 360px);
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-logo .logo-mark {
        display: none;
    }
}

/* Ensure text stays on the left side of the screen */
.hero-centered .hero-content h1,
.hero-centered .hero-content .hero-subtitle {
    max-width: 450px;
}

.hero-centered .hero-content,
.hero-centered h1,
.hero-centered .hero-subtitle {
    text-align: left;
}

.hero.hero-centered h1,
.hero-centered h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.hero.hero-centered .hero-subtitle,
.hero-centered .hero-subtitle {
    color: var(--white);
    opacity: 0.85;
    font-size: clamp(1rem, 1.8vw, 1.6rem);
    line-height: 1.2;
}

.hero-centered .hero-buttons {
    justify-content: center;
}

.hero-centered .btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    border: 2px solid transparent;
}

.hero-centered .btn-primary {
    background: transparent;
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero-centered .btn-primary:hover {
    background: transparent;
    background-color: var(--gold-accent);
    color: var(--primary-color);
    border-color: var(--gold-accent);
}

.hero-centered .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-centered .btn-outline:hover {
    background: transparent;
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: var(--heading-1);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--text-large);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--teal-main) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: var(--section-title-spacing);
    text-align: center;
}

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

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

.about-intro-text h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-intro-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: var(--text-regular);
}

.about-intro-text .btn {
    margin-top: 1rem;
}

/* Images */
.hero-img, .about-image, .doctor-portrait, .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-img,
.bio-image,
.doctor-portrait,
.contact-image,
.team-image,
.team-image-placeholder {
    border-bottom: 3px solid var(--gold-accent);
}

.bio-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--gold-accent);
    display: block;
}

.about-image {
    display: inline-block;
    line-height: 0;
}

.doctor-portrait {
    border-radius: 20px;
    max-height: 500px;
    border-bottom: 3px solid var(--gold-accent);
}

.service-image {
    border-radius: 0;
    min-height: 350px;
}

/* Warum PP Physio section */
.why-section {
    background: #ffffff;
    padding: var(--section-padding) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.why-section .section-title {
    margin-bottom: var(--section-title-spacing);
}

.bio-section.section {
    padding: var(--section-padding) 0;
}

.bio-section .section-title,
.why-section .section-title {
    margin-bottom: var(--section-title-spacing);
}

.why-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 2.5rem;
    align-items: start;
}

.why-text {
    display: flex;
    flex-direction: column;
}

.why-media {
    width: 400px;
    justify-self: end;
}

.why-list {
    max-width: none;
    margin: 0;
    padding-left: 0;
    color: var(--text-light);
    font-size: var(--text-regular);
    line-height: 1.8;
}

.why-item {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.why-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--text-regular);
}

.why-list p {
    margin-bottom: 1rem;
}

.why-list .bio-subtitle {
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.why-list li p:last-child {
    margin-bottom: 0;
}

.why-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .why-content {
        grid-template-columns: 1fr;
    }

    .why-media {
        width: 100%;
        justify-self: stretch;
    }

    .why-media .about-carousel {
        width: 100%;
    }
}

/* Image placeholders (fallback) */
.image-placeholder {
    background: linear-gradient(135deg, var(--teal-main) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    min-height: 400px;
    max-height: 400px;
    border-bottom: 3px solid var(--gold-accent);
}

.image-placeholder .subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.image-placeholder.large {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-accent);
}

/* About-us carousel */
.about-carousel {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--teal-main);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--gold-accent);
}

.about-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.about-carousel-slide.active {
    opacity: 1;
}

.about-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    z-index: 2;
}

.about-carousel-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.about-carousel-prev {
    left: 12px;
}

.about-carousel-next {
    right: 12px;
}

.about-carousel:hover .about-carousel-arrow {
    opacity: 0.6;
    pointer-events: auto;
}

.about-carousel-arrow:hover {
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.4);
}

.home-video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: 580px;
    border-radius: 20px;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-accent);
    display: block;
    object-fit: cover;
    background: var(--primary-color);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: var(--white);
}

/* Services Cards */
.services-section .section-title {
    margin-bottom: var(--section-title-spacing);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--gold-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: var(--heading-3);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: var(--text-regular);
    margin-bottom: 1.5rem;
}

.card-link {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--teal-main) 0%, var(--primary-dark) 100%);
    padding: var(--section-padding) 0;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cta-card {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    border-left: 4px solid var(--primary-color);
}

.cta-card.accent {
    background: var(--gold-accent);
    color: var(--primary-color);
}

.cta-card.accent h3 {
    color: var(--primary-color);
}

.cta-card h3 {
    font-size: var(--heading-3);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Features/Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.feature h4 {
    font-size: var(--text-regular);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    font-size: var(--text-regular);
}

/* Contact Section (Home) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-box h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    margin: 2rem 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-regular);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.contact-list a {
    color: var(--text-color);
}

.contact-list a:hover {
    color: var(--primary-color);
}

.map-placeholder {
    background: var(--light-bg);
    border-radius: 16px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Source Sans 3', sans-serif;
}

.map-placeholder.large {
    height: 400px;
}

.map-wrapper {
    position: relative;
}

.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-indent: -9999px;
    background: transparent;
}

/* Page Header */
.page-header {
    background: var(--teal-main);
    color: var(--white);
    padding: var(--section-padding) 0;
    text-align: center;
}

.page-header h1 {
    font-size: var(--heading-1);
    margin-bottom: 0.5rem;
    color: var(--white);
}

.breadcrumb {
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* Page Intro */
.intro-text {
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.intro-text p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: var(--text-regular);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.about-intro-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-intro-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--gold-accent);
    display: block;
}

.page-intro {
    max-width: 900px;
    margin: 0 auto;
}

.page-intro .lead {
    font-size: var(--text-regular);
    color: var(--primary-color);
    font-weight: 500;
}

.page-intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--text-regular);
}

.intro-text.center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text .lead {
    font-size: var(--text-regular);
    color: var(--text-color);
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    height: fit-content;
}

.about-text h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.bio-content h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bio-content .lead {
    font-size: var(--text-regular);
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.bio-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--text-regular);
}

.bio-subtitle {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.bio-text .bio-subtitle,
.why-text .bio-subtitle {
    color: var(--primary-color);
}

/* Memberships */
.memberships-section .section-title {
    margin-bottom: var(--section-title-spacing);
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.membership-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.membership-card h4 {
    font-size: var(--heading-3);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.membership-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Services Page */
.services-cards.large {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.service-card-large.reverse {
    direction: rtl;
}

.service-card-large.reverse > * {
    direction: ltr;
}

.service-card-image .image-placeholder {
    border-radius: 0;
    height: 100%;
    min-height: 400px;
    width: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.service-card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-content h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: var(--text-regular);
}

/* Procedures */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.procedure-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.procedure-card h3 {
    font-size: var(--heading-3);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.procedure-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: var(--text-regular);
}

.procedure-card p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid var(--accent-color);
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    font-size: var(--text-regular);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.info-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Price Tables */
.pricing-section {
    padding-bottom: 3rem;
}

.price-category {
    margin-bottom: 3rem;
}

.price-category h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    border-top: 1px solid var(--border-color);
}

.price-table.full {
    margin-bottom: 0;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background-color: transparent;
}

.price-table td {
    padding: 1rem 1.5rem;
    font-size: var(--text-regular);
}

.price-table td:first-child {
    width: 70%;
    color: var(--text-color);
}

.price-table td.price {
    text-align: right;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Detailed Service Row (for usluge.html) */
.service-detail-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.service-detail-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-img {
    flex: 0 0 50%;
    width: 50%;
    background-color: var(--teal-main);
    min-height: 300px;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail-content {
    flex: 0 0 50%;
    width: 50%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .service-detail-row,
    .service-detail-row:nth-child(even) {
        flex-direction: column;
    }
    
    .service-detail-img {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .service-detail-content {
        flex: 1 1 auto;
        width: 100%;
        padding: 2rem;
    }
}

/* Service Cards Grid (Updated for Home) */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-img-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--teal-main); /* Blue background placeholder */
    display: block;
}

.service-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.price-preview {
    max-width: 800px;
    margin: 0 auto;
}

.price-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Page CTA */
.page-cta {
    text-align: center;
}

.page-cta .btn,
.page-cta .btn-primary,
.page-cta .btn-secondary,
.page-cta .btn-outline,
.page-cta .btn-white,
.page-cta .btn-outline-white,
.page-cta .btn-outline-light {
    color: var(--white);
}

.page-cta .btn:hover,
.page-cta .btn-primary:hover,
.page-cta .btn-secondary:hover,
.page-cta .btn-outline:hover,
.page-cta .btn-white:hover,
.page-cta .btn-outline-white:hover,
.page-cta .btn-outline-light:hover {
    color: var(--gold-accent);
}

.page-cta h2 {
    font-size: var(--heading-2);
    margin-bottom: 1rem;
    color: var(--white);
}

.page-cta p {
    font-size: var(--text-regular);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 10;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-details h2 {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-items {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-item.clickable {
    text-decoration: none;
    color: inherit;
    width: 100%;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-info-item.clickable:hover {
    background-color: rgba(87, 136, 155, 0.08);
    transform: translateY(-1px);
}

.contact-info-item.clickable:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

.contact-info-item .contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-info-item .contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-info-item h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-regular);
}

.contact-hours-item h4 {
    margin-bottom: 0.35rem;
}

.contact-hours-line {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.3;
    margin-top: 0.25rem;
}

.contact-info-item a {
    color: var(--text-color);
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* Booking Form */
.booking-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.booking-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.form-submit .btn {
    padding: 14px 40px;
}

/* Footer */
footer.site-footer {
    background: var(--teal-main);
    color: var(--white);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 0;
    border-top: 0;
    box-shadow: none;
    min-height: 200px;
    padding: 0;
}

.footer-group {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    gap: 0rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
}

.footer-logo-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
    align-self: stretch;
}

.footer-side-logo {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: fill;
    object-position: left top;
    
    margin: 0;
    padding: 0;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 1200px;
    margin: 0;
    padding: 0.75rem 20px 1.25rem 2rem;
    min-height: auto;
}

@media (max-width: 1024px) {
    .site-footer-inner {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    footer.site-footer {
        display: block; /* Stack on mobile */
    }

    /* On smaller screens, logo might need to be hidden or content re-centered */
    .footer-group {
        display: block;
    }

    .footer-logo-wrapper,
    .footer-side-logo {
        display: none;
    }
    
    .site-footer-inner {
        padding-left: 20px;
        min-height: auto;
    }
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-secondary-logo-wrap {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 1.5rem 0;
}

.footer-secondary-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.footer-columns {
    display: flex;
    justify-content: flex-start;
    gap: 4rem; /* Brings columns closer than grid 1fr */
    padding-bottom: 0;
}

.footer-hours-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-icon {
    color: var(--gold-accent); /* Changed from accent-color to ensure visibility/brand consistency */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.footer-list a,
.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 300;
}

.footer-list a:hover,
.footer-links a:hover {
    color: var(--white);
    transform: translateX(2px);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.footer-hours-col .footer-list {
    gap: 0.4rem;
    margin-bottom: 0;
}

.footer-hours-col .footer-list li:first-child {
    margin-bottom: 0;
}

/* Compact Social Icons */
.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.social-icon {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    color: var(--gold-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-hours-col .footer-list li,
.footer-hours-col .footer-contact-text {
    line-height: 1.2;
}

.footer-hours-col h4:not(:first-child) {
    margin-top: 0.75rem !important;
    margin-bottom: 0.35rem !important;
}

.footer-hours-col .footer-list {
    margin-bottom: 0 !important;
}

.footer-hours-col .footer-links {
    gap: 0.15rem;
    margin-top: 0 !important;
}

.footer-hours-col .footer-links li,
.footer-hours-col .footer-links a {
    line-height: 1;
}

.footer-hours-col .footer-list li:nth-child(2),
.footer-hours-col .footer-list li:nth-child(4),
.footer-hours-col .footer-list li:nth-child(5) {
    padding-left: calc(18px + 0.75rem);
}

.footer-bottom-nav {
    padding: 0 0 1rem;
    margin-top: 1.5rem;
}

.footer-links-horizontal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
}

.footer-links-horizontal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.2s ease;
}

.footer-links-horizontal a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    margin-top: 0;
}

.footer-legal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    align-items: center;
}

.footer-legal-copyright {
    margin-left: auto;
}

.footer-legal a,
.footer-legal span {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-logo {
        width: 240px;
    }
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .site-footer-inner {
        padding: 2rem 20px 1.5rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .footer-list li {
        align-items: flex-start;
    }

    .footer-contact-icon {
        margin-top: 0.1rem;
    }

    .footer-bottom-nav {
        margin-top: 1rem;
    }

    .footer-legal ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-legal-copyright {
        margin-left: 0;
    }
    
    .footer-links-horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Large screens - keep text from covering people */
@media (min-width: 1400px) {
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 500px;
    }
    
    .hero.hero-centered h1,
    .hero-centered h1 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1600px) {
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 550px;
    }
    
    .hero.hero-centered h1,
    .hero-centered h1 {
        font-size: 5rem;
    }
    
    .hero.hero-centered .hero-subtitle,
    .hero-centered .hero-subtitle {
        font-size: 1.7rem;
    }
}

@media (min-width: 1900px) {
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 600px;
    }
    
    .hero.hero-centered h1,
    .hero-centered h1 {
        font-size: 5.5rem;
    }
    
    .hero.hero-centered .hero-subtitle,
    .hero-centered .hero-subtitle {
        font-size: 1.9rem;
    }
}

@media (min-width: 2400px) {
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 650px;
    }
    
    .hero.hero-centered h1,
    .hero-centered h1 {
        font-size: 6rem;
    }
    
    .hero.hero-centered .hero-subtitle,
    .hero-centered .hero-subtitle {
        font-size: 2.1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-centered {
        background-position: 70% center;
    }
    
    .hero-centered::before {
        width: 65%;
    }
    
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 400px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .about-intro-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .cta-cards {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* footer responsive handled in Footer section */

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

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

    .service-card-large {
        grid-template-columns: 1fr;
    }

    .service-card-large.reverse {
        direction: ltr;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--teal-main);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin-left: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu > li > a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--white);
        font-size: 1rem;
        background: transparent;
    }

    .nav-menu > li > a:hover {
        background: transparent;
        color: var(--gold-accent);
    }

    .nav-menu > li > a.active {
        color: var(--gold-accent);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0.5rem 0;
        background: var(--teal-main);
    }

    .dropdown-menu li a {
        padding: 0.65rem 2.25rem;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.75);
    }

    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--white);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Hero image responsive for tablets */
    .hero-centered {
        background-position: 75% center;
        min-height: 70vh;
    }
    
    .hero-centered::before {
        width: 75%;
        background: linear-gradient(to right, rgba(87, 136, 155, 0.9) 0%, rgba(87, 136, 155, 0.7) 50%, transparent 100%);
    }
    
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        max-width: 350px;
    }

    .section {
        padding: var(--section-padding-tablet) 0;
    }

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

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

    /* footer responsive handled in Footer section */

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .price-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile content adjustments (keep tablet+ unchanged) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: var(--section-padding-mobile) 0;
    }

    .page-header {
        padding: var(--section-padding-mobile) 0;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .intro-text {
        text-align: left;
    }

    .intro-text p {
        font-size: var(--text-regular);
        line-height: 1.7;
    }

    .hero {
        gap: 2rem;
        padding: 2.5rem 0 3.5rem;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-centered .hero-content {
        justify-content: center;
    }

    .hero-logo {
        width: min(80vw, 320px);
        max-width: 320px;
        margin: 0 auto;
    }

    .hero.hero-centered h1,
    .hero-centered h1 {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .hero-placeholder {
        height: 280px;
    }

    .service-card {
        padding: 1.75rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-card {
        padding: 1.75rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .memberships-grid {
        gap: 1rem;
    }

    .membership-card {
        padding: 1.5rem;
    }

    .services-cards.large {
        gap: 2rem;
    }

    .service-card-content {
        padding: 1.75rem;
    }

    .service-card-image img,
    .service-card-image .image-placeholder {
        min-height: 240px;
    }

    .service-image {
        min-height: 220px;
    }

    .image-placeholder {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
    }

    .image-placeholder.large {
        height: 320px;
        min-height: 320px;
        max-height: 320px;
    }

    .procedures-grid {
        gap: 1.5rem;
    }

    .procedure-card {
        padding: 1.5rem;
    }

    .contact-page-grid {
        gap: 2rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    /* Make pricing readable on narrow screens */
    .price-table tbody tr {
        display: block;
        padding: 0.75rem 0;
    }

    .price-table td {
        display: block;
        padding: 0.25rem 0;
    }

    .price-table td.price {
        text-align: left;
    }
}

/* Mobile hero adjustments */
@media (max-width: 576px) {
    .hero-centered {
        background-position: 80% center;
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-centered::before {
        width: 100%;
        background: linear-gradient(to right, rgba(87, 136, 155, 0.92) 0%, rgba(87, 136, 155, 0.75) 70%, rgba(87, 136, 155, 0.4) 100%);
    }
    
    .hero-centered .hero-content h1,
    .hero-centered .hero-content .hero-subtitle {
        display: block;
    }
    
    .hero.hero-centered h1,
    .hero-centered h1 {
        font-size: 2rem;
    }
    
    /* Ensure the about section headline remains visible on mobile */
    .desktop-title {
        display: block !important;
        font-size: 1.7rem;
        line-height: 1.3;
        width: 360px;
        max-width: 100%;
        height: auto;
        margin: 0 0 0.5rem;
    }
}

/* Default: hide mobile title, show desktop title */
.mobile-hero-title {
    display: none;
}

.desktop-title {
    display: block;
    width: 560px;
    max-width: 100%;
    height: auto;
    margin: 0 0 0.5rem -10px; /* Tiny negative margin for optical alignment */
}
/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(87, 136, 155, 0.1);
}

.team-image,
.team-image-placeholder {
    width: 100%;
    height: auto;
    max-width: 240px;
    background-color: var(--teal-light);
    border-radius: 20px;
    margin-bottom: 2rem;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-image {
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-image,
.team-image-placeholder {
    border-bottom-color: var(--gold-accent);
    border-bottom-width: 3px;
    border-bottom-style: solid;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1), inset 0 -3px 0 var(--gold-accent);
}

.team-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-details {
    text-align: left;
    margin: 1.5rem 0;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
}

.team-details p strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.team-details ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-regular);
    line-height: 1.7;
}

.team-details ul li {
    margin-bottom: 0.5rem;
}

.team-style {
    font-style: italic;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
    width: 100%;
}

.team-style strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 2rem 1.5rem;
    }
}

/* Practice Section Styles */
.practice-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title.text-center {
    text-align: center;
    margin-bottom: var(--section-title-spacing);
}

.practice-card {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    max-width: 90%;
    margin: 0 auto;
}

.practice-card::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 2rem auto;
}

.practice-card p {
    font-size: var(--text-regular);
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
    font-family: 'Source Sans 3', sans-serif;
}

@media (max-width: 768px) {
    .practice-card {
        padding: 2rem 1.5rem;
    }
    
    .practice-card p {
        font-size: var(--text-regular);
    }
}

/* Legal Pages */
.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-card h2,
.legal-card h3 {
    color: var(--primary-color);
    margin: 0 0 1rem;
    font-size: var(--heading-3);
}

.legal-card h2 {
    margin-top: 0;
}

.legal-card h3 {
    margin-top: 2rem;
    font-size: 1.2rem;
}

.legal-card p,
.legal-card ul {
    font-size: var(--text-regular);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-card ul {
    padding-left: 1.25rem;
}

.legal-card a {
    color: var(--primary-color);
}

/* Career Page Styles */
.job-listing-container {
    max-width: 1000px;
    margin: 0 auto;
}

.job-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.job-title {
    font-size: var(--heading-2);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-intro {
    font-size: var(--text-regular);
    line-height: 1.8;
    color: var(--text-light);
}

.job-highlight {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.job-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.job-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--gold-accent);
}

.job-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.job-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    color: var(--text-light);
    font-size: var(--text-regular);
    line-height: 1.7;
}

.job-list li {
    margin-bottom: 0.6rem;
}

.job-cta {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    margin-top: 2.5rem;
}

.cta-text {
    font-size: var(--text-regular);
    margin-bottom: 0;
    color: var(--text-light);
}

.cta-button-wrapper {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .job-title {
        font-size: 1.8rem;
    }
    
    .job-content-grid {
        grid-template-columns: 1fr;
    }
    
    .job-section {
        padding: 1.5rem;
    }
}
