/* =========================================
   Variables & Theme
   ========================================= */
:root {
    --primary-color: #2D6A4F; /* Deep Green */
    --primary-dark: #1B4332;
    --primary-light: #52B788;
    --secondary-color: #95D5B2; /* Sage Green */
    --bg-color: #EBE3D6; /* Warm cream, matching hero photo background */
    --bg-alt: #E0D6C4;
    --text-main: #212529;
    --text-light: #575F5B;
    --white: #F5EFE5; /* Warm off-white, softer than pure white */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --header-height: 80px;
    --section-padding: 5rem 0;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(45, 106, 79, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* =========================================
   Preloader
   ========================================= */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.preloader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: preloaderIn 0.9s ease-out forwards;
}

.preloader-logo {
    width: min(75vw, 460px);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

@keyframes preloaderIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4);
}

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

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

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 239, 229, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(27, 67, 50, 0.25));
    transition: var(--transition);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

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

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-data {
    max-width: 600px;
    animation: fadeUp 1s ease-out forwards;
}

.hero-logo {
    height: 160px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 6px 16px rgba(27, 67, 50, 0.2));
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

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

/* =========================================
   Sobre (About) Section - Premium Layout
   ========================================= */
.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.text-center.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle-small {
    display: block;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.sobre-description {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.sobre-list {
    margin: 2rem 0;
}

.sobre-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
}

.sobre-list i {
    color: var(--primary-color);
    background-color: rgba(45, 106, 79, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.9rem;
}

.sobre-quote-new {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-alt);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sobre-quote-new i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.sobre-quote-new p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.4;
}

/* Image Wrapper & Visuals */
.sobre-image-wrapper {
    position: relative;
    z-index: 1;
    perspective: 1000px;
    cursor: pointer;
    margin-left: 20px;
    margin-bottom: 20px;
}

.sobre-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 16px;
    z-index: -1;
    transition: transform 0.4s ease-out;
}

.sobre-image-wrapper:hover::before {
    transform: translate(-5px, 5px);
}

.sobre-carousel {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

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

.sobre-carousel-img.active {
    opacity: 1;
    z-index: 1;
    animation: kenburns 7s ease-in-out forwards;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.sobre-carousel-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 4;
}

.sobre-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
}

.sobre-dot.active {
    background-color: var(--white);
    width: 22px;
    border-radius: 4px;
}

.sobre-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.sobre-experience-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.sobre-experience-badge span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

.sobre-blob {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(149, 213, 178, 0.4) 0%, rgba(149, 213, 178, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(20px);
}


/* =========================================
   Serviços Section (Assessoria Gerontológica)
   ========================================= */
.servicos {
    background-color: var(--white);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem 2rem;
    margin-top: 2.5rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 1rem;
    color: var(--text-main);
}

.checklist-item i {
    color: var(--primary-color);
    background-color: rgba(45, 106, 79, 0.1);
    padding: 0.45rem;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* =========================================
   Centro Dia Section
   ========================================= */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #F4C542;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin: 0.5rem 0 1.5rem;
    box-shadow: var(--shadow-sm);
}

.centro-dia-subheading {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 3rem 0 0.5rem;
    text-align: center;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 2rem auto 0;
}

.plano-card {
    background-color: var(--white);
    border: 2px solid var(--bg-alt);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.plano-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.plano-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(149, 213, 178, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.plano-hours {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.plano-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.planos-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
}

/* =========================================
   Benefícios / Diferenciais Section
   ========================================= */
.beneficios {
    background-color: var(--white);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.beneficio-card {
    background-color: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    background-color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.beneficio-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(149, 213, 178, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.beneficio-card:hover .beneficio-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.beneficio-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.beneficio-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   Missão, Visão e Valores Section
   ========================================= */
.missao-visao-valores {
    background-color: var(--bg-alt);
}

.missao-visao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.mv-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.mv-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.valores-wrap {
    margin-top: 3rem;
    text-align: center;
}

.valores-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.valores-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.valor-pill {
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--bg-alt);
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-container {
    display: flex;
    justify-content: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-title::after {
    display: none;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background-color: var(--bg-alt);
    transform: scale(1.05);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--white);
    padding: 4rem 0 1rem 0;
    border-top: 1px solid var(--bg-alt);
}

.footer-container {
    display: flex;
    flex-direction: column;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-light);
    max-width: 400px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-alt);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =========================================
   WhatsApp Floating Widget
   ========================================= */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.whatsapp-float {
    width: 62px;
    height: 62px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    animation: whatsappPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(37, 211, 102, 0); }
}

.whatsapp-popup {
    width: min(320px, calc(100vw - 2.4rem));
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1.2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-right: 1rem;
}

.whatsapp-popup-avatar {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--bg-color);
    padding: 4px;
    flex-shrink: 0;
}

.whatsapp-popup-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.whatsapp-popup-header-text strong {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.whatsapp-popup-header-text span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.whatsapp-popup-message {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #25D366;
    color: var(--white);
    padding: 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.whatsapp-popup-btn:hover {
    background-color: #1ea952;
}

@media screen and (max-width: 768px) {
    .whatsapp-widget {
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }
}

/* =========================================
   Animations & Keyframes
   ========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   Media Queries (Responsive)
   ========================================= */
@media screen and (max-width: 992px) {
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sobre-images {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .missao-visao-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(245, 239, 229, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .nav.show-menu {
        right: 0;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        display: block;
    }

    .hero-bg {
        position: relative;
        height: 65vw;
        max-height: 380px;
        z-index: 0;
        overflow: hidden;
        border-radius: 0 0 28px 28px;
    }

    .hero-img {
        object-position: center 20%;
    }

    .hero-container {
        padding: 2.5rem 0 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}
