/* Screen reader only - SEO H1 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sage: #8a9a76;
    --sage-light: #b8c5a3;
    --sage-bg: #e8ebe4;
    --dark: #333333;
    --dark-green: #4a5a3a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #999999;
    --beige: #c5b9a8;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Open Sans', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--sage);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: var(--white);
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--dark);
    transition: color 0.3s;
    position: relative;
}

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

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

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

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.icon-btn:hover {
    color: var(--sage);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 20px 0;
    background: var(--gray-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 19 / 5;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-shadow: none;
}

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

.btn-white:hover {
    background: var(--sage-bg);
}

.btn-sage {
    background: var(--sage);
    color: var(--white);
}

.btn-sage:hover {
    background: var(--dark-green);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.5);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

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

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

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

.hero-sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar-banner {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s;
}

.sidebar-banner:hover {
    transform: scale(1.02);
}

.sidebar-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== SERVICE CARDS ===== */
.service-cards {
    padding: 20px 0 40px;
    background: var(--gray-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--sage-bg);
}

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

.card-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== ORTOPEDIA SECTION ===== */
.ortopedia-section {
    padding: 0;
}

.ortopedia-bg {
    background: url('../img/ortopedia-especialistas.jpg') center/cover no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
}

.ortopedia-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.ortopedia-content {
    background: var(--white);
    max-width: 900px;
    padding: 50px 60px;
    text-align: center;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.ortopedia-content h2 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.ortopedia-content h2 strong {
    font-weight: 700;
}

.ortopedia-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.ortopedia-content .cta-text {
    font-size: 15px;
    color: var(--dark);
    margin-top: 20px;
}

.ortopedia-content .btn {
    margin-top: 15px;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 40px 0;
    background: var(--white);
    overflow: hidden;
}

.brands-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    flex: 0 0 auto;
}

.brand-item:hover {
    opacity: 0.7;
}

.brand-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 70px 0;
    background: var(--sage-bg);
    text-align: center;
}

.welcome-section h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-section p {
    font-size: 15px;
    color: #555;
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    font-size: 16px !important;
    color: var(--dark) !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    overflow: hidden;
    position: relative;
    height: 300px;
}

.gallery-item:hover {
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 70px 0;
    background: var(--white);
}

.blog-section > .container > h2 {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark);
}

.blog-meta {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 10px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.blog-tags span {
    font-size: 11px;
    color: var(--sage);
    text-decoration: underline;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ===== ONCOLOGY SECTION ===== */
.oncology-section {
    padding: 80px 0;
    background: var(--beige);
}

.oncology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.oncology-img {
    display: flex;
    justify-content: center;
}

.oncology-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
}

.oncology-content h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.oncology-content p {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
}

/* ===== MAP SECTION ===== */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
}

.map-link {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--sage);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.map-link:hover {
    background: var(--sage-bg);
}

.map-container iframe {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: #3a3a3a;
    color: var(--white);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    color: #bbb;
    line-height: 1.8;
}

.footer-col a {
    color: #bbb;
    transition: color 0.3s;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #bbb;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
}

/* ===== DROPDOWN MENU ===== */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.has-dropdown > a::before {
    content: '';
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.25s ease;
    z-index: 1002;
}

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

.dropdown li {
    border-bottom: none !important;
}

.dropdown a {
    display: block;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--dark) !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown a:hover {
    background: var(--sage-bg);
    color: var(--sage) !important;
}

.dropdown a::after {
    display: none !important;
}

/* ===== SUBPAGE HEADER ===== */
.subpage-header {
    background: var(--sage);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.subpage-header h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subpage-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== SUBPAGE CONTENT ===== */
.subpage-content {
    padding: 60px 0;
}

.subpage-content h2 {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subpage-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.subpage-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.two-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.two-col-text h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.two-col-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ===== THREE COLUMN GRID ===== */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* ===== ICON CARD ===== */
.icon-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--sage-bg);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-card img {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.icon-card h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.icon-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* ===== TEAM CARD ===== */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card-info {
    padding: 20px 15px;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: var(--sage);
}

.team-card p {
    font-size: 13px;
    color: #777;
}

/* ===== SERVICE CARD DETAIL ===== */
.service-card-detail {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-detail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-detail .card-body {
    padding: 25px;
}

.service-card-detail h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card-detail p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== STEPS GRID ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--sage);
    margin-bottom: 15px;
    line-height: 1;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--dark);
    transition: border-color 0.3s;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-form .checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--sage);
}

.contact-form .checkbox-group label {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
}

.contact-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

/* ===== PROMO GRID ===== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== BLOG LIST ===== */
.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ===== FULL WIDTH IMAGE ===== */
.full-width-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* ===== GALLERY ROW ===== */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-row img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.gallery-row img:hover {
    transform: scale(1.03);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--sage);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.cta-section .btn {
    background: var(--white);
    color: var(--sage);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--sage-bg);
}

/* ===== FEATURE SECTION ===== */
.feature-section {
    padding: 60px 0;
    background: var(--sage-bg);
}

/* ===== SCHEDULE BOX ===== */
.schedule-box {
    background: var(--sage-bg);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--sage);
    margin: 20px 0;
}

.schedule-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.schedule-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

/* ===== CAROUSEL SIMPLE ===== */
.carousel-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.carousel-row img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-sidebar {
        display: none;
    }

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

    .cards-grid .service-card:last-child {
        grid-column: 1 / -1;
    }

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

    .blog-grid .blog-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .oncology-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s;
        z-index: 1001;
        padding: 80px 30px 30px;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid #eee;
    }

    .nav a {
        display: block;
        padding: 15px 0;
        font-size: 15px;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero-slider {
        aspect-ratio: 16 / 8;
    }

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

    .cards-grid .service-card:last-child {
        grid-column: auto;
    }

    .ortopedia-content {
        padding: 30px 20px;
    }

    .ortopedia-content h2 {
        font-size: 16px;
    }

    .brand-item img {
        height: 35px;
    }

    .welcome-section h2 {
        font-size: 22px;
    }

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

    .blog-grid .blog-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .oncology-content h2 {
        font-size: 24px;
    }

    .oncology-content p {
        font-size: 16px;
    }

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

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

    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .hero-slider {
        aspect-ratio: 16 / 9;
    }

    .service-card {
        height: 160px;
    }

    .oncology-grid {
        gap: 30px;
    }

    .oncology-img img {
        max-width: 280px;
    }
}

/* ===== DROPDOWN MENU ===== */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

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

.dropdown li {
    border-bottom: none;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: 0;
}

.dropdown a:hover {
    background: var(--sage-bg);
    color: var(--sage);
}

.dropdown a::after {
    display: none !important;
}

/* ===== SUBPAGE STYLES ===== */
.subpage-header {
    background: var(--sage);
    padding: 50px 0;
    text-align: center;
}

.subpage-header h1 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.subpage-content {
    padding: 60px 0;
}

.subpage-content .container {
    max-width: 1100px;
}

.intro-text {
    font-size: 18px;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 50px 0 30px;
    color: var(--dark);
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.two-col .col {
    flex: 1;
}

.two-col.reverse {
    flex-direction: row-reverse;
}

.two-col img.rounded {
    border-radius: 12px;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Three Column Layout */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Icon Cards */
.icon-cards-section {
    padding: 50px 0;
    background: var(--sage-bg);
}

.icon-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.icon-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.icon-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Team Section */
.team-section {
    padding: 50px 0;
}

.full-width-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0 5px;
    color: var(--sage);
    letter-spacing: 1px;
}

.team-card p {
    font-size: 13px;
    color: #666;
    padding: 0 15px 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.service-detail-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: var(--white);
    transition: transform 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-detail-card h3 {
    padding: 15px 20px 5px;
    font-size: 16px;
    color: var(--dark);
}

.service-detail-card p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    display: inline-block;
    font-size: 36px;
    font-weight: 800;
    color: var(--sage);
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-card p {
    font-size: 14px;
    color: #666;
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: 40px;
    background: var(--sage-bg);
    border-radius: 12px;
    margin-top: 40px;
}

.cta-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.cta-box p {
    font-size: 16px;
    color: #555;
}

.cta-box a {
    color: var(--sage);
}

/* Schedule Box */
.schedule-box {
    text-align: center;
    padding: 30px;
    background: var(--sage-bg);
    border-radius: 12px;
    margin-top: 30px;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: var(--white);
}

.promo-card img {
    width: 100%;
    height: auto;
}

.promo-info {
    padding: 15px;
    text-align: center;
}

/* Contact Form */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.3s;
}

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 3px;
}

.form-group.checkbox label {
    font-weight: 400;
    font-size: 13px;
}

.contact-info-side {
    padding: 30px;
    background: var(--sage-bg);
    border-radius: 12px;
}

.contact-info-side h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-info-side p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.contact-info-side i {
    color: var(--sage);
    width: 20px;
    margin-right: 8px;
}

/* Feature Cards */
.feature-card {
    display: block;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: var(--white);
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--dark);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 15px;
    font-size: 16px;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

.benefits-list i {
    color: var(--sage);
    margin-right: 10px;
}

/* Legal Content */
.legal-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Gallery 3 and 4 cols */
.gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== SUBPAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .two-col {
        flex-direction: column;
    }
    .two-col.reverse {
        flex-direction: column;
    }
    .three-col {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .gallery-3 {
        grid-template-columns: 1fr 1fr;
    }
    .subpage-header h1 {
        font-size: 24px;
    }
    .nav .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 15px;
        background: var(--gray-light);
        border-radius: 0;
    }
}

/* ===== OVERLAY for mobile menu ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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