/* Reset and Variables */
:root {
    /* Color Palette derived from luxurious skin tone / sand aesthetic */
    --clr-bg: #ece2d4;
    /* Soft beige background */
    --clr-bg-light: #f7f2ed;
    /* Lighter off-white cream */
    --clr-bg-dark: #2a1f1a;
    /* Deep brownish black for strong contrast / footer */
    --clr-surface: #ffffff;
    /* Pure white */

    --clr-accent: #b58d6e;
    /* Camel / warm sand for accents */
    --clr-accent-light: #d8bfa7;
    --clr-accent-dark: #8c6a51;

    --clr-text-main: #3b2a22;
    /* Dark elegant brown */
    --clr-text-muted: #6b5c53;
    --clr-text-light: #fdfaf6;
    /* Text on dark backgrounds */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    /* Modern, geometric, futuristic yet elegant */
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-light);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.pt-4 {
    padding-top: 3rem;
}

.text-accent {
    color: var(--clr-accent);
}

.text-dark {
    color: var(--clr-text-main);
}

.light-bg {
    background-color: var(--clr-surface);
}

.dark-bg {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.light-text {
    color: var(--clr-text-light);
}

.section-padding {
    padding: 6rem 0;
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--clr-accent-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-tag.light {
    color: var(--clr-accent-light);
}

.section-tag::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: currentColor;
    margin-left: 10px;
    vertical-align: middle;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-title.light-text {
    color: var(--clr-text-light);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-text-light);
}

.btn-primary:hover {
    background-color: var(--clr-accent-dark);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent-dark);
}

.btn-outline:hover {
    background-color: var(--clr-accent);
    color: var(--clr-text-light);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(247, 242, 237, 0.85);
    /* Glassmorphism start */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(247, 242, 237, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--clr-accent);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    align-self: flex-start;
}

.footer-logo-img {
    height: 55px;
    max-width: 250px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-text-main);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--clr-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.blur-1 {
    width: 600px;
    height: 600px;
    background: #e2c0a9;
    top: -100px;
    right: -100px;
}

.blur-2 {
    width: 500px;
    height: 500px;
    background: #d8c3b7;
    bottom: -200px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.05);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.95);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.hero-image-wrapper {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.image-card img {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
}

.glass-float-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: var(--font-heading);
    font-weight: 600;
    animation: bounceSlow 4s infinite ease-in-out;
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ABOUT SECTION */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-accent);
    border-radius: 20px;
    z-index: 1;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

.highlight-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--clr-accent-dark);
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--clr-accent);
    font-style: italic;
}

/* SPECIALISTS */
.specialist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 680px;
    margin: 0 auto;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.specialist-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--clr-surface);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.specialist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-info {
    text-align: center;
}

.specialist-name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.specialist-role {
    color: var(--clr-accent-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.specialist-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    text-align: justify;
}

/* DIFFERENTIALS */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.diff-card {
    background: var(--clr-surface);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-base);
}

.diff-card:hover {
    background: var(--clr-accent);
    color: var(--clr-text-light);
    transform: translateY(-5px);
}

.diff-card:hover .diff-desc {
    color: rgba(255, 255, 255, 0.9);
}

.diff-card:hover .diff-icon {
    color: var(--clr-surface);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.diff-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.diff-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

/* TREATMENTS */
.treatment-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tab-btn i {
    font-size: 1.1rem;
    color: var(--clr-accent-light);
    transition: color var(--transition-base);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--clr-text-light);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-text-light);
    box-shadow: 0 8px 24px rgba(181, 141, 110, 0.3);
}

.tab-btn.active i {
    color: var(--clr-text-light);
}

/* Tab Contents & Animation */
.tab-contents {
    position: relative;
    width: 100%;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.tab-content.active {
    display: block;
    animation: fadeInTab 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subcategory Grid & Cards */
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.subcategory-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
}

.subcategory-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.subcategory-card.has-bg {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
}

.subcategory-card.has-bg h4,
.subcategory-card.has-bg .treatment-list {
    position: relative;
    z-index: 2;
}

.subcategory-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.subcategory-card.has-bg:hover .card-bg {
    transform: scale(1.06);
}

/* Gradient overlay to match the original treatment-card gradient but adjusted for lists */
.subcategory-card.has-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    transition: background var(--transition-base);
}

.subcategory-card.has-bg:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.subcategory-card h4 {
    color: var(--clr-accent-light);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.subcategory-card h4 i {
    font-size: 1.1rem;
    color: var(--clr-accent);
}

.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.treatment-list li {
    font-size: 0.95rem;
    opacity: 0.85;
    padding-left: 1.5rem;
    position: relative;
    color: var(--clr-text-light);
    line-height: 1.4;
}

.treatment-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    transition: transform var(--transition-fast);
}

.subcategory-card:hover .treatment-list li::before {
    transform: translateX(3px);
}

/* RESULTS BANNER */
.results-banner {
    background: linear-gradient(rgba(42, 31, 26, 0.8), rgba(42, 31, 26, 0.8)), url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&q=80') center/cover;
    background-attachment: fixed;
    color: var(--clr-text-light);
    text-align: center;
}

.results-banner .section-title {
    color: var(--clr-text-light);
}

.results-container {
    max-width: 800px;
}

.results-text p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* HOW IT WORKS TIMELINE */
.steps-timeline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(181, 141, 110, 0.3);
    z-index: 0;
}

@media (max-width: 768px) {
    .steps-timeline::before {
        display: none;
    }

    .steps-timeline {
        flex-direction: column;
        align-items: flex-start;
    }
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .step {
        display: flex;
        text-align: left;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

.step-num {
    width: 64px;
    height: 64px;
    background: var(--clr-surface);
    border: 2px solid var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-accent);
    box-shadow: 0 0 0 10px var(--clr-bg-light);
}

@media (max-width: 768px) {
    .step-num {
        margin: 0;
        box-shadow: none;
        flex-shrink: 0;
    }
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* BEFORE AND AFTER GALLERY */
/* BEFORE AND AFTER GALLERY CAROUSEL */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 0 3.5rem;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
    transition: transform 0.4s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

@media (min-width: 769px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--clr-accent-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-text-light);
    box-shadow: 0 6px 16px rgba(181, 141, 110, 0.3);
}

.prev-btn {
    left: 0.5rem;
}

.next-btn {
    right: 0.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(181, 141, 110, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--clr-accent);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 576px) {
    .carousel-container {
        padding: 0 1rem;
    }
    .carousel-btn {
        display: none; /* Hide buttons on mobile for swipe/cleaner interface, or keep them smaller if needed. Let's hide them and keep dots */
    }
}

/* FOOTER & CTA */
.cta-banner {
    background: var(--clr-accent);
    padding: 4rem 1.5rem;
    color: var(--clr-text-light);
}

.cta-banner h2 {
    color: var(--clr-text-light);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background: var(--clr-bg-dark);
    border: 1px solid var(--clr-bg-dark);
}

.cta-banner .btn-primary:hover {
    background: transparent;
    border-color: var(--clr-text-light);
}

.footer-content {
    padding: 5rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    color: #a0938b;
    margin-bottom: 0.5rem;
}

.footer-contact h4 {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: #a0938b;
}

.contact-list i {
    color: var(--clr-accent);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-list a:hover {
    color: var(--clr-accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b5c53;
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS 
========================================= */

/* Body hidden on load, smoothly fades in via JS */
body {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
}

.active .fade-up,
.active.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.active .reveal-stagger {
    opacity: 1;
    transform: translateY(0);
}

/* We will use JS to assign transition delays to stagger children elements */

/* Responsive Media Queries */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 80%;
        margin: 0 auto 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
        width: 80%;
        margin: 0 auto;
    }

    .about-text {
        order: 1;
        text-align: center;
    }

    .highlight-quote {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    /* Mobile menu toggle */
    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .glass-float-badge {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        left: -10px;
    }

    /* Reduce vertical spacing by 50% on mobile */
    .section-padding {
        padding: 3rem 0;
    }

    .pt-4 {
        padding-top: 1.5rem;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }
}

/* Mobile Menu Active State */
.nav-links.active-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--clr-surface);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    align-items: center;
    border-top: 1px solid var(--glass-border);
}

.nav-cta.active-menu {
    display: block;
    position: absolute;
    top: calc(100% + 180px);
    /* Adjust based on nav items */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}

/* Floating CTA (Mobile Only) */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    background: #31251e;
    /* Dark brown to match reference */
    color: #ffffff;
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    display: none;
    /* Hidden on desktop */
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: max-content;
    text-decoration: none;
}

.floating-cta .wa-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ebb48f;
    /* Bronze outline */
    border-radius: 50%;
    width: 22px;
    height: 22px;
}

.floating-cta i {
    font-size: 1.1rem;
    color: #ffffff;
    /* keep icon white on dark background */
}

/* Styling of "Agendar Consulta" CTA buttons globally (Desktop & Mobile) */
.hero-cta-group a.btn,
.cta-banner a.btn {
    background: #31251e !important;
    color: #ffffff !important;
    padding: 1rem 2.8rem !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border-radius: 50px !important;
    border: none !important;
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    transition: background var(--transition-base), transform var(--transition-fast) !important;
}

.hero-cta-group a.btn::after,
.cta-banner a.btn::after {
    display: none !important;
}

.hero-cta-group a.btn:hover,
.cta-banner a.btn:hover {
    background: #1e1612 !important;
    transform: translateY(-2px) !important;
}

/* Header Navbar CTA (keeps same style but smaller size for desktop header layout) */
.nav-cta a.btn {
    background: #31251e !important;
    color: #ffffff !important;
    padding: 0.6rem 1.6rem !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 50px !important;
    border: none !important;
    transition: background var(--transition-base), transform var(--transition-fast) !important;
}

.nav-cta a.btn::after {
    display: none !important;
}

.nav-cta a.btn:hover {
    background: #1e1612 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .floating-cta {
        display: flex;
        /* Show on mobile */
    }

    /* Make the active mobile menu CTA full-size */
    .nav-cta.active-menu a.btn {
        padding: 1rem 2.8rem !important;
        font-size: 1.1rem !important;
    }
}