:root {
    --primary-color: #0b8b92;
    --primary-dark: #007383;
    --secondary-color: #f5f6f7;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --accent-gold: #c9a24a;
    --accent-gold-light: #ead7a3;
    --accent-gold-dark: #9a741a;
    --accent-gradient: linear-gradient(90deg, #9a741a 0%, #ead7a3 50%, #c9a24a 100%);
    --success: #28a745;
    --danger: #dc3545;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 12px;
    --site-bg-image: none;
    --site-bg-repeat: repeat;
    --site-bg-size: auto;
    --site-bg-position: top left;
    --site-bg-opacity: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--white);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: transparent;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--site-bg-image);
    background-repeat: var(--site-bg-repeat);
    background-size: var(--site-bg-size);
    background-position: var(--site-bg-position);
    opacity: var(--site-bg-opacity);
    pointer-events: none;
    z-index: 1;
}

.site-main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section--muted {
    background-color: var(--secondary-color);
}

.section-lead {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
}

.text-muted {
    color: var(--text-light);
}

.btn-block {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 115, 131, 0.25);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu.is-open {
    display: flex;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.btn-agendar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-agendar:hover {
    background-color: #005e68;
    color: var(--white);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(135deg, rgba(0, 74, 86, 0.92) 0%, rgba(0, 74, 86, 0.78) 55%, rgba(0, 0, 0, 0.34) 100%), var(--hero-bg, url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=Clean%20aesthetic%20clinic%20reception%20bright%20welcoming%20teal%20and%20gold%20accents&image_size=landscape_16_9'));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 60vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero--slider {
    overflow: hidden;
    background-image: none;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    background-image: linear-gradient(135deg, rgba(0, 74, 86, 0.92) 0%, rgba(0, 74, 86, 0.78) 55%, rgba(0, 0, 0, 0.34) 100%), var(--hero-bg, url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=Clean%20aesthetic%20clinic%20reception%20bright%20welcoming%20teal%20and%20gold%20accents&image_size=landscape_16_9'));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    z-index: 5;
}

.hero-nav--prev { left: 16px; }
.hero-nav--next { right: 16px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.hero-dot.is-active {
    background: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.68);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero-content h1 {
        background-image: linear-gradient(90deg, #ffffff 0%, var(--accent-gold-light) 45%, var(--accent-gold) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.75));
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.btn-cta--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-cta--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

/* Institutional */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 115, 131, 0.12);
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(201, 162, 74, 0.32);
}

.highlight-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 115, 131, 0.16), rgba(201, 162, 74, 0.26));
    border: 1px solid rgba(201, 162, 74, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1rem;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.highlight-icon--image {
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
}

.highlight-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.values-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: stretch;
}

.values-featured {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-content: start;
}

@media (max-width: 1200px) {
    .mini-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .values-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mini-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .mini-cards-grid {
        grid-template-columns: 1fr;
    }
}

.mini-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    padding: 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.mini-card[data-mini-card="true"] {
    cursor: pointer;
}

.mini-card--featured {
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1.35rem 1.25rem;
    width: 100%;
    max-width: 440px;
    border-color: rgba(0, 115, 131, 0.16);
    background: linear-gradient(135deg, rgba(0, 115, 131, 0.06) 0%, rgba(201, 162, 74, 0.10) 100%);
}

.mini-card--featured .mini-card-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: rgba(0, 115, 131, 0.12);
    color: var(--primary-dark);
}

.mini-card--featured .mini-card-icon img {
    border-radius: 18px;
}

.mini-card-icon {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
    font-weight: 800;
    font-size: 2.1rem;
    flex: 0 0 auto;
}

.mini-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 999px;
}

.mini-card-text {
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.35;
}

.mini-card-more {
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-light);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
}

.mini-card-more[aria-expanded="true"] {
    background: rgba(0, 115, 131, 0.10);
    color: var(--primary-dark);
    border-color: rgba(0, 115, 131, 0.18);
}

.mini-card-small {
    margin-top: 0.35rem;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

.institutional-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

.institutional-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border: 1px solid #eee;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    padding: 0.9rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    color: var(--primary-dark);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    margin-top: 0.6rem;
    color: var(--text-light);
    line-height: 1.7;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #07280f;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #1fb859;
    color: #07280f;
}

.contact-actions .btn-block {
    margin-top: 0;
}

.about-gallery {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fafafa;
}

.about-gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
    transform: scale(1);
    will-change: transform;
}

.about-gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-featured {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 44px rgba(0,0,0,0.10);
}

.info-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.15rem;
}

.info-item span {
    display: block;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border: 1px solid #eee;
    text-align: center;
}

.team-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: rgba(0, 115, 131, 0.08);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-dark);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.team-role {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1200;
}

.floating-actions-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: var(--white);
    background: var(--primary-dark);
    cursor: pointer;
    pointer-events: auto;
}

.floating-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 131, 0.25), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.floating-btn--top {
    background: var(--primary-dark);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.floating-btn--whatsapp {
    background: #25d366;
    text-decoration: none;
}

.floating-btn--chat {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .floating-actions {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .services-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.services-grid--three .service-card--horizontal {
    flex-direction: column;
    min-height: 0;
}

.services-grid--three .service-card-media--horizontal {
    width: 100%;
    height: 190px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.services-grid--three .service-info {
    padding: 1.25rem 1.25rem 1.35rem;
}

.services-grid--three .service-title {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.services-grid--three .service-meta {
    margin: 0.6rem 0 1rem;
}

.services-grid--three .service-desc {
    -webkit-line-clamp: 4;
    margin-bottom: 1.1rem;
}

.services-grid--three .service-actions {
    margin-top: auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--horizontal {
    display: flex;
    min-height: 200px;
    align-items: stretch;
}

.service-card-media--horizontal {
    width: 200px;
    flex: 0 0 200px;
    position: relative;
    overflow: hidden;
}

.service-card-media--horizontal .service-img--horizontal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-card--horizontal .service-card-media--horizontal .service-img--horizontal {
    transition: transform 0.25s ease;
}

.service-card--horizontal:hover .service-card-media--horizontal .service-img--horizontal {
    transform: scale(1.04);
}

.service-card--horizontal .service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card--horizontal .service-actions {
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.service-info {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.service-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.1rem;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 115, 131, 0.08);
    color: var(--primary-dark);
}

.service-actions {
    margin-top: 1rem;
}

.sidebar-card--sticky {
    position: sticky;
    top: 96px;
}

.service-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.75rem;
}

.service-summary-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    padding: 1rem 1.25rem;
}

.service-summary-label {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.service-summary-value {
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.content-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    padding: 1.5rem;
}

.content-card + .content-card {
    margin-top: 1.5rem;
}

.content-card h2,
.content-card h3 {
    color: var(--primary-dark);
    margin-top: 0;
}

.service-media {
    padding: 0;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.service-text {
    color: #555;
    line-height: 1.8;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.service-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    background: #fff;
}

.faq-item h4 {
    margin: 0 0 0.5rem;
    color: var(--primary-dark);
}

.faq-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.medics-list {
    display: grid;
    gap: 1rem;
}

.medic-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .services-grid--two {
        grid-template-columns: 1fr;
    }

    .services-grid--three {
        grid-template-columns: 1fr;
    }

    .service-card--horizontal {
        flex-direction: column;
    }

    .service-card-media--horizontal {
        width: 100%;
        height: 200px;
        flex: 0 0 auto;
    }

    .sidebar-card--sticky {
        position: static;
        top: auto;
    }

    .service-summary {
        grid-template-columns: 1fr;
    }

    .service-media img {
        height: 220px;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 2.6rem 0 1.25rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(150px, 0.9fr) minmax(180px, 1fr) minmax(210px, 0.95fr) minmax(260px, 1.2fr);
    gap: 1.75rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-col {
    min-width: 0;
}

.footer-col h3 {
    color: var(--accent-gold-light);
    margin-bottom: 0.75rem;
    font-size: 1.08rem;
}

.footer-col--brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-logo {
    width: 190px;
    height: 190px;
    object-fit: contain;
    max-width: 100%;
    display: block;
    margin: 0 auto 0.75rem;
}

.footer-hours {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.footer-contact {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.footer-contact-link {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.footer-contact-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.14);
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-link--whatsapp .footer-contact-icon {
    background: rgba(37, 211, 102, 0.18);
    color: #bff5cf;
}

.footer-contact-text strong {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 0.1rem;
}

.footer-contact-text span {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.footer-col--services .footer-links a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.footer-link-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover .footer-link-icon {
    color: var(--accent-gold-light);
}

.footer-links a:hover {
    color: var(--accent-gold-light);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.footer-social-btn svg {
    width: 18px;
    height: 18px;
}

.footer-social-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    color: var(--accent-gold-light);
}

.footer-social-btn--whatsapp {
    background: #25d366;
    color: #07280f;
}

.footer-social-btn--whatsapp:hover {
    background: #1fb859;
    color: #07280f;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
    color: #999;
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row > div {
    flex: 1;
    min-width: 240px;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 131, 0.18);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #005e68;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    nav {
        width: 100%;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        text-align: left;
        gap: 0.75rem;
        padding: 0.75rem 0 0.25rem;
    }

    .nav-menu.is-open {
        padding: 0.9rem;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .hero {
        height: clamp(420px, 62vh, 640px);
        min-height: 420px;
        padding: 0;
    }

    .hero--slider {
        padding-bottom: 0;
    }

    .hero-nav {
        width: 38px;
        height: 38px;
    }

    .hero-nav--prev { left: 10px; }
    .hero-nav--next { right: 10px; }

    .hero-dots {
        bottom: 14px;
    }

    .btn-cta {
        padding: 0.9rem 1.6rem;
        font-size: 1rem;
    }

    .section-lead {
        margin: 0 auto 2.25rem;
        font-size: 1rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .institutional-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-gallery-item img {
        height: 120px;
    }

    .page-header-brand {
        padding: 1.25rem 0 1.75rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row > div {
        min-width: 0;
    }
}

/* Sidebar Layout & Enhanced UI */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 70%, var(--accent-gold) 140%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header-brand {
    display: flex;
    justify-content: center;
    padding: 1.75rem 0 2.25rem;
    margin: 0;
}

.page-header-logo {
    height: clamp(110px, 14vw, 200px);
    width: auto;
    max-width: min(760px, 95%);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.sidebar-card h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.price-tag {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.medic-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    border: 1px solid #f0f0f0;
}

.medic-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
}

/* Steps Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
}
