:root {
    --color-brand-primary: #008C99;
    --color-brand-dark: #006680;
    --color-brand-deep: #114B5F;
    --color-brand-light: #E6F3F5;
    --color-light-bg: #F8F9FA;

    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-serif: 'Playfair Display', ui-serif, Georgia, serif;
}

html {
    font-size: 14px;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: #1f2937;
    background-color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    margin: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    font-family: inherit;
}

/* Utilities */
.mb-6 {
    margin-bottom: 1.5rem;
}

.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}



.btn-primary {
    background-color: var(--color-brand-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 150ms ease;
}

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

.nav-bar {
    background-color: rgba(45, 45, 45, 0.7);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 3.5rem;
    left: 0;
    width: 100%;
    background-color: var(--color-brand-deep);
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    gap: 1.5rem;
}

.nav-links.active-mobile {
    display: flex;
}

.mobile-menu-btn {
    display: block;
    cursor: pointer;
    color: #ffffff;
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        gap: 2rem;
        font-size: 0.875rem;
    }

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

.nav-link-active {
    color: var(--color-brand-primary);
}

.nav-link {
    color: #ffffff;
    transition: color 150ms ease;
}

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

.social-links-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

@media (min-width: 768px) {
    .social-links-box {
        margin-left: 0;
    }
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    transition: color 150ms ease;
}

.social-icon:hover {
    color: var(--color-brand-primary);
}

.search-box {
    border-left: 1px solid #4b5563;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.btn-schedule {
    background-color: #008897;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
    transition: background-color 150ms ease, opacity 150ms ease;
}

.btn-schedule:hover {
    background-color: var(--color-brand-dark);
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 600px;
        aspect-ratio: 1920 / 802;
    }
}

/* Internal Pages Hero (no aspect-ratio, fixed height) */
.hero-internal {
    aspect-ratio: auto !important;
    min-height: 500px;
}

@media (min-width: 768px) {
    .hero-internal {
        min-height: 600px;
        aspect-ratio: auto !important;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

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

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, rgba(17, 75, 95, 0.9), rgba(17, 75, 95, 0.7) 50%, transparent);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-box {
    max-width: 38rem;
    color: #ffffff;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.625;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.btn-dark {
    background-color: var(--color-brand-dark);
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 150ms ease;
}

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

.hero-controls {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

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

.logo-hamano-site {
    display: block;
    max-width: 7.5rem;
    height: auto;
    margin-bottom: 4rem;
}

.control-btn {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.icon-white {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    top: 0;
    right: -8rem;
    width: 33.333%;
    height: 100%;
    background-color: rgba(230, 243, 245, 0.4);
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
    }
}

.about-image-col {
    width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .about-image-col {
        width: 50%;
    }
}

.image-wrapper {
    position: relative;
    z-index: 10;
    padding-right: 3rem;
    padding-bottom: 3rem;
}

.about-img {
    width: 10%;
    height: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    padding: 2rem;
    width: 14rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.badge-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.badge-text {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.375;
}

.image-border {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 140, 153, 0.2);
    z-index: -10;
}

.about-text-col {
    width: 100%;
}

@media (min-width: 768px) {
    .about-text-col {
        width: 50%;
    }
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-tag-line-below {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.tag-text {
    color: var(--color-brand-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.tag-line {
    height: 1px;
    background-color: var(--color-brand-primary);
    width: 3rem;
}

.section-tag-white .tag-text {
    color: #ffffff;
}

.section-tag-white .tag-line {
    background-color: #ffffff;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.25;
    color: var(--color-brand-deep);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-brand-deep);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.section-desc {
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.625;
}

.text-brand-alt {
    color: #006895;
}

.signatures {
    display: flex;
    gap: 4rem;
}

.sig-img-Lauanda {
    font-size: 0.875rem;
    color: var(--color-brand-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;

}

.sig-img-Luana {
    font-size: 0.875rem;
    color: var(--color-brand-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: rotate(180deg);
}

.sig-style {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.875rem;
    color: #1f2937;
    opacity: 0.8;

}

.sig-img {
    height: 3.5rem;
    width: auto;
    margin-top: 0.5rem;
    transform: rotate(180deg);
}

/* Telemedicine */
.telemed-section {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .telemed-section {
        flex-direction: row;
    }
}

.telemed-img-col {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .telemed-img-col {
        width: 50%;
        min-height: unset;
        display: flex;
    }
}

.telemed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transform: scale(1.2);
    transform-origin: top center;
}

.telemed-text-col {
    width: 100%;
    background-color: var(--color-brand-deep);
    color: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .telemed-text-col {
        width: 50%;
        padding: 4rem;
    }
}

.telemed-shape {
    position: absolute;
    top: 0;
    right: -12rem;
    margin-top: -12rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.telemed-content {
    position: relative;
    z-index: 10;
    max-width: 32rem;
}

.telemed-title {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .telemed-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.telemed-desc {
    color: #d1d5db;
    margin-bottom: 2.5rem;
    line-height: 1.625;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-icon-box {
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.625;
}

.telemed-btn {
    align-self: flex-start;
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 1rem 2rem;
}

/* Videos */
.videos-section {
    padding: 6rem 0;
    background-color: var(--color-light-bg);
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.section-tag-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.videos-title {
    font-size: 2.25rem;
    line-height: 1.25;
    color: var(--color-brand-deep);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .videos-title {
        font-size: 3rem;
    }
}

.videos-desc {
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.625;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 150ms ease;
    cursor: pointer;
}

.video-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(17, 75, 95, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease;
}

.video-card:hover .video-overlay {
    background-color: rgba(17, 75, 95, 0.4);
}

.play-btn {
    width: 4rem;
    height: 4rem;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 150ms ease;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

.play-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-brand-primary);
    margin-left: 0.25rem;
}

.video-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
}

.video-info {
    padding: 2rem;
}

.video-card-title {
    font-size: 1.25rem;
    color: var(--color-brand-deep);
    margin-bottom: 1.5rem;
    line-height: 1.375;
    transition: color 150ms ease;
}

.video-card:hover .video-card-title {
    color: var(--color-brand-primary);
}

.video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding-top: 1.5rem;
}

.video-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.date-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px solid #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.video-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-brand-lg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-brand-primary);
}

.action-btn {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-brand-deep);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease;
}

.action-btn:hover {
    background-color: var(--color-brand-primary);
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 768px) {
    .testimonials-container {
        flex-direction: row;
    }
}

.testimonials-header {
    width: 100%;
}

@media (min-width: 768px) {
    .testimonials-header {
        width: 33.333%;
    }
}

.testimonials-desc {
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.625;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.nav-btn {
    width: 3rem;
    height: 3rem;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
}

.nav-btn:hover {
    background-color: var(--color-brand-primary);
    color: #ffffff;
    border-color: var(--color-brand-primary);
}

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

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.testimonials-grid {
    width: 100%;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* Space for scrollbar if visible */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.testimonials-grid {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media (min-width: 768px) {
    .testimonials-grid {
        width: 66.666%;
    }
}

.testimonial-card {
    background-color: var(--color-light-bg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid transparent;
    transition: border-color 150ms ease;
    flex: 0 0 100%;
    /* Take full width on mobile by default */
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 cards visible with gap logic */
    }
}

.testimonial-card:hover {
    border-color: var(--color-brand-primary);
}

.testimonial-text {
    color: var(--color-brand-deep);
    font-weight: 500;
    line-height: 1.625;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.author-name {
    font-size: 1.125rem;
    color: var(--color-brand-deep);
}

.author-role {
    font-size: 0.875rem;
    color: #6b7280;
}

.quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: rgba(0, 140, 153, 0.2);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-brand-deep);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.cta-desc {
    color: #d1d5db;
    max-width: 42rem;
    margin: 0 auto;
    margin-bottom: 2.5rem;
    line-height: 1.625;
    font-size: 1.125rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
}

/* Footer */
.footer {
    background-color: #222222;
    color: #9ca3af;
    padding-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        column-gap: 6rem;
    }
}

.footer-col-main {
    grid-column: span 1;
}

.footer-logo {
    color: #ffffff;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}



.footer-desc {
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 2rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-creds {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}

.cred-name {
    color: var(--color-brand-primary);
    font-weight: 600;
}

.footer-links {
    grid-column: span 1;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-link {
    color: #9ca3af;
    transition: color 150ms ease;
}

.footer-link:hover {
    color: var(--color-brand-primary);
}

.footer-contact {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-contact {
        grid-column: span 2 / span 2;
    }
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-multiline {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-brand-primary);
    flex-shrink: 0;
}

.contact-icon-top {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-brand-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-text {
    line-height: 1.625;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 150ms ease;
}

.social-btn:hover {
    background-color: var(--color-brand-primary);
    color: #ffffff;
}

.social-icon-sm {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    background-color: #008897;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 1rem;
    width: 100%;
    margin-top: 2rem;
}

/* Specialties Page */
.hero-specialties {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-specialties {
        height: 550px;
    }
}

.hero-specialties-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, rgba(17, 75, 95, 0.95) 10%, rgba(17, 75, 95, 0.85) 50%, rgba(17, 75, 95, 0.5) 80%, transparent 100%);
}

.hero-specialties-title {
    margin-bottom: 1.5rem;
}

.hero-specialties-desc {
    max-width: 32rem;
    font-size: 1.125rem;
}

.specialties-grid {
    display: flex;
    flex-direction: column;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.spec-row {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .spec-row {
        flex-direction: row;
    }

    .spec-row-reverse {
        flex-direction: row-reverse;
    }
}

.spec-img-col {
    width: 100%;
    min-height: 350px;
}

@media (min-width: 768px) {
    .spec-img-col {
        width: 50%;
        min-height: 380px;
        display: flex;
    }
}

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

.spec-text-col {
    width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .spec-text-col {
        width: 50%;
        padding: 3rem 4rem;
    }
}

.spec-title {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--color-brand-deep);
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
}

@media (min-width: 768px) {
    .spec-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

.spec-desc {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.625;
    font-size: 0.9375rem;
}

.spec-desc.mb-6 {
    margin-bottom: 2rem;
}

.btn-specialty {
    align-self: flex-start;
}

/* Corpo Clinico */
.hero-staff {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .hero-staff {
        height: 550px;
    }
}

.staff-section {
    padding: 5rem 0;
    background-color: #fafbfc;
    position: relative;
    overflow: hidden;
}

.staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

.staff-card {
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.staff-img-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-img-accent {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 3px;
    height: 3rem;
    background-color: var(--color-brand-primary);
    z-index: 10;
}

.staff-crm-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    z-index: 10;
}

.staff-info {
    padding: 2rem;
}

.staff-name-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.staff-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-brand-primary);
    border-radius: 50%;
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.staff-name {
    font-size: 1.25rem;
    color: var(--color-brand-deep);
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 0.25rem;
}

.staff-role {
    font-size: 0.8125rem;
    color: var(--color-brand-primary);
    font-weight: 700;
}

.staff-socials {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.staff-social-link {
    width: 1.75rem;
    height: 1.75rem;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease;
}

.staff-social-link:hover {
    background-color: var(--color-brand-deep);
}

.share-icon-adjust {
    /* O ícone share-2 pesa pra direita por conta dos nós, isto centraliza visualmente */
    transform: translateX(-1px);
}

/* Locacao de Salas */
.hero-rooms {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .hero-rooms {
        height: 550px;
    }
}

.rooms-section {
    padding: 5rem 0;
    background-color: #fafbfc;
}

.rooms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.room-card {
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.room-img-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.room-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.25rem;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.room-info {
    padding: 1rem;
}

.room-tag {
    font-size: 0.65rem;
    color: var(--color-brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.room-title {
    color: var(--color-brand-primary);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
}

.pricing-section {
    padding: 4rem 0 6rem 0;
    background-color: #fafbfc;
}

.pricing-title {
    color: var(--color-brand-primary);
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: #ffffff;
}

.pricing-table th {
    background-color: #e5e5e5;
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

.pricing-table td {
    padding: 1.25rem 0.5rem;
    border-bottom: 1px dashed #e5e7eb;
    color: #4b5563;
    font-size: 0.875rem;
}

.pricing-table tr td:first-child {
    font-weight: 600;
    color: #1f2937;
    text-align: left;
    padding-left: 2rem;
}

/* Contato */
.hero-contact {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .hero-contact {
        height: 550px;
    }
}

.contact-page-section {
    padding: 4rem 0;
    background-color: #fafbfc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.contact-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
    }
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    background-color: #f3f4f6;
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1f2937;
    outline: none;
    transition: background-color 150ms ease;
}

.form-input:focus {
    background-color: #e5e7eb;
}

.form-input.mb-4 {
    margin-bottom: 1rem;
}

.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    background-color: #f3f4f6;
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1f2937;
    outline: none;
    min-height: 150px;
    resize: vertical;
    margin-bottom: 1rem;
    transition: background-color 150ms ease;
}

.form-textarea:focus {
    background-color: #e5e7eb;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.form-submit-btn:hover {
    background-color: var(--color-brand-dark);
}

.form-terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: #6b7280;
    margin-top: 1rem;
}

.form-checkbox {
    width: 0.875rem;
    height: 0.875rem;
    accent-color: var(--color-brand-primary);
}

/* --- ROOMS CAROUSEL --- */
.rooms-carousel-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-bottom: 4rem;
    overflow: hidden;
    width: 100%;
}

.room-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.room-header {
    text-align: center;
    margin-bottom: 2rem;
}

.room-title-main {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-brand-deep);
    margin-bottom: 0.5rem;
}

.room-subtitle {
    font-size: 1.125rem;
    color: var(--color-brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
    padding: 0;
    margin-bottom: 2rem;
    border-radius: 12px;
    cursor: zoom-in;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    margin-left: -100%;
    padding: 0;
    width: max-content;
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    width: min(600px, 100vw);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
    /* Let wrapper catch clicks */
}

/* Lightbox Mode (Pop-up) */
.carousel-wrapper.lightbox-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw !important;
    /* <--- Fixes half screen cutoff */
    z-index: 9999;
    background-color: rgba(15, 20, 25, 0.85);
    /* Dark cinematic tint */
    backdrop-filter: blur(15px);
    margin: 0;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    cursor: zoom-out;
}

/* The 'X' Close button */
.carousel-wrapper.lightbox-active::before {
    content: '×';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    color: white;
    font-weight: 300;
    font-family: Arial, sans-serif;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.8;
}

.carousel-wrapper.lightbox-active .carousel-track-container {
    width: 100%;
    margin: auto;
}

.carousel-wrapper.lightbox-active .carousel-track {
    margin-left: -70vw;
    /* Restore mobile 'half-slide' visibility logic */
}

@media (min-width: 768px) {
    .carousel-wrapper.lightbox-active .carousel-track {
        margin-left: -40vw;
        /* Restore desktop 'half-slide' visibility logic */
    }
}

.carousel-wrapper.lightbox-active .carousel-slide {
    width: 80vw;
    padding: 0 0.5rem;
    filter: blur(6px);
    opacity: 0.3;
    transform: scale(0.9) translateZ(0);
}

@media (min-width: 768px) {
    .carousel-wrapper.lightbox-active .carousel-slide {
        width: 60vw;
        padding: 0 1rem;
    }
}

.carousel-wrapper.lightbox-active .carousel-slide.focused {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1) translateZ(0);
    /* Removed scaling up to avoid bugs, just scale 1 */
    z-index: 10;
}

.carousel-wrapper.lightbox-active .carousel-slide img {
    height: auto;
    max-height: 80vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    /* Full un-cropped image */
    background-color: transparent;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1 !important;
}

.prev-btn {
    left: -3.5rem;
}

.next-btn {
    right: -3.5rem;
}

/* Lightbox Specific Arrow Placement */
.carousel-wrapper.lightbox-active .carousel-btn {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--color-brand-primary);
    opacity: 0.9;
}

.carousel-wrapper.lightbox-active .prev-btn {
    left: 5vw !important;
}

.carousel-wrapper.lightbox-active .next-btn {
    right: 5vw !important;
}