/* ==========================================================================
   BIENESTAR FEM - Premium Design System & Stylesheet
   Matronería, Salud, Bienestar & Estética Femenina (Puerto Montt, Chile)
   ========================================================================== */

/* 1. Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --color-bg-base: #FBF5F1;        /* Warm warm-white */
    --color-bg-alt: #F3E7DF;         /* Soft rose warm-white */
    --color-bg-card: #FFFFFF;        /* Pure card white */
    --color-bg-beige: #F3E7DF;       /* Warm sand beige */
    
    --color-primary: #B96F58;        /* Terracota sofisticado */
    --color-primary-light: #F4D6CC;  /* Coral empolvado claro */
    --color-primary-medium: #D88A76; /* Coral empolvado medio */
    --color-primary-dark: #A95643;   /* Terracota profundo */
    
    --color-text-main: #3B2C28;      /* Café oscuro elegante */
    --color-text-muted: #7A625A;     /* Taupe / gris cálido */
    --color-text-light: #8E7A73;     /* Light warm grey */
    
    --color-white: #FFFFFF;
    --color-success: #88A890;        /* Soft sage green for confidence */
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 100px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-subtle: 0 4px 20px rgba(59, 44, 40, 0.04);
    --shadow-medium: 0 10px 30px rgba(59, 44, 40, 0.08);
    --shadow-premium: 0 20px 40px rgba(185, 111, 88, 0.08);
    
    --glass-bg: rgba(251, 245, 241, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--border-radius-pill);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Typography Defaults */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-main);
}

p {
    font-family: var(--font-body);
    color: var(--color-text-muted);
}

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

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

/* 2. Global Utilities & Layout Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7.5rem 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--color-bg-alt);
}

.section-bg-beige {
    background-color: var(--color-bg-beige);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-primary-medium);
    margin: 1.25rem auto 0 auto;
    border-radius: var(--border-radius-pill);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-premium);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(169, 86, 67, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border-color: var(--color-primary-light);
}

.btn-secondary:hover {
    background-color: rgba(185, 111, 88, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Badge tags */
.badge {
    background-color: rgba(185, 111, 88, 0.08);
    color: var(--color-primary-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* 3. Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    transition: var(--transition-smooth);
}

.navbar-scrolled .container {
    height: 4.25rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.navbar-logo-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-scrolled .navbar-logo-icon {
    width: 52px;
    height: 52px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.navbar-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    border-radius: var(--border-radius-pill);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-cta {
    display: flex;
    align-items: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-text-main);
    fill: none;
}

/* 4. Hero Section */
.hero {
    padding-top: 11.5rem;
    padding-bottom: 7.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(244, 214, 204, 0.45) 0%, rgba(251, 245, 241, 0) 60%);
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.15;
    max-width: 950px;
}

.hero-title span {
    color: var(--color-primary);
    font-style: italic;
    font-family: var(--font-heading);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 580px;
    line-height: 1.6;
}

.hero-footer {
    width: 100%;
    margin-top: 4.5rem;
    border-top: 1px solid rgba(110, 93, 87, 0.1);
    padding-top: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 4.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

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

.stat-item h4 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 8px solid var(--color-white);
    transform: rotate(1deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite alternate;
}

.hero-floating-card-1 {
    bottom: 2rem;
    left: -2rem;
}

.hero-floating-card-2 {
    top: 2rem;
    right: -2rem;
    animation-delay: 2s;
}

.floating-icon-box {
    width: 42px;
    height: 42px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary-dark);
    fill: none;
}

.floating-text h5 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.floating-text p {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* 5. Value Proposition (Propuesta de Valor) */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(185, 111, 88, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Elegant growing top-accent line on hover */
.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-medium), var(--color-primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(185, 111, 88, 0.15) !important;
    border-color: var(--color-primary-light);
}

.value-card-title {
    font-size: 1.35rem;
    margin-top: 0.5rem;
    transition: var(--transition-smooth);
}

.value-card:hover .value-card-title {
    color: var(--color-primary-dark);
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(185, 111, 88, 0.08);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon-wrapper {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-4px) scale(1.05) rotate(5deg);
}

.value-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
}

.value-card-title {
    font-size: 1.35rem;
    margin-top: 0.5rem;
}

.value-card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* 6. Interactive Services Section */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    background-color: rgba(110, 93, 87, 0.05);
    padding: 0.5rem;
    border-radius: var(--border-radius-pill);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-subtle);
}

.mobile-category-container,
.carousel-arrow {
    display: none;
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
}

.services-content {
    position: relative;
    min-height: 400px;
}

.services-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-panel.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(185, 111, 88, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(185, 111, 88, 0.15) !important;
    border-color: var(--color-primary-medium);
}

.service-card:hover .service-title {
    color: var(--color-primary-dark);
}

.service-card:hover .service-btn {
    color: var(--color-primary-dark);
}

.service-card:hover .service-btn svg {
    transform: translateX(4px);
}

.service-header-banner {
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark));
}

.service-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1.25rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    font-weight: 700;
}

.service-title {
    font-size: 1.6rem;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    flex-grow: 1;
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.service-bullets li {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1rem;
    line-height: 1.4;
}

.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(110, 93, 87, 0.08);
    padding-top: 1.25rem;
    margin-top: auto;
}

.service-pricing {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-weight: 500;
    line-height: 1.3;
}

.service-pricing strong {
    font-size: 0.95rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.service-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-fast);
}

.service-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: var(--transition-fast);
}

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

.service-btn:hover svg {
    transform: translateX(3px);
}

/* 7. Emotional Highlight Section */
.emotional-block {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.emotional-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 8px solid var(--color-white);
    transform: rotate(-1deg);
    transition: var(--transition-smooth);
}

.emotional-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.emotional-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emotional-title {
    font-size: 2.5rem;
}

.emotional-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.emotional-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

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

.emotional-item-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.emotional-item-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.emotional-item-text h5 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.emotional-item-text p {
    font-size: 0.9rem;
}

/* 8. Trust, Founder & Testimonials */
.trust-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.founder-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(185, 111, 88, 0.08);
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2rem;
    align-items: center;
}

.founder-img-box {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 4px solid var(--color-bg-beige);
    box-shadow: var(--shadow-subtle);
    height: 200px;
}

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

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.founder-role {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.founder-name {
    font-size: 1.8rem;
}

.founder-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text-muted);
}

.founder-signature {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.testimonials-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
    border-left: 4px solid var(--color-primary-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateX(6px);
    border-left-color: var(--color-primary);
    box-shadow: var(--shadow-medium);
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    color: #F39C12; /* Gold rating stars */
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text-muted);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(110, 93, 87, 0.05);
    padding-top: 0.75rem;
}

.author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.author-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* 9. Intermediate CTA Banner */
.cta-banner {
    position: relative;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-medium) 100%);
    padding: 5rem 3rem;
    color: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    z-index: 1;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.cta-banner-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cta-banner-title {
    font-size: 2.75rem;
    color: var(--color-white);
}

.cta-banner-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 10px 25px rgba(58, 49, 46, 0.15);
}

.cta-banner .btn-primary:hover {
    background-color: var(--color-bg-base);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(58, 49, 46, 0.25);
}

.cta-banner .btn-whatsapp {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 10. Contact & Appointment Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: flex-start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 700;
}

.contact-info-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-beige);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
}

.contact-detail-text h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    font-size: 1rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.contact-map-card {
    margin-top: 1rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(185, 111, 88, 0.1);
    box-shadow: var(--shadow-subtle);
    background-color: var(--color-bg-card);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.map-mini-illustration {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.map-mini-illustration svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.map-mini-text h6 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.map-mini-text p {
    font-size: 0.8rem;
}

/* Appointment Form Card */
.form-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(185, 111, 88, 0.08);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: var(--color-bg-base);
    border: 1px solid rgba(110, 93, 87, 0.15);
    border-radius: var(--border-radius-md);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(185, 111, 88, 0.08);
}

textarea.form-control {
    resize: none;
    min-height: 110px;
}

/* Success Form Feedback */
.form-success-feedback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInUp 0.5s ease forwards;
}

.success-icon-box {
    width: 72px;
    height: 72px;
    background-color: rgba(136, 168, 144, 0.15);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon-box svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* 11. Footer */
.footer {
    background-color: #312724; /* Darker warm coffee tone */
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.footer-logo-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    margin: 0 auto;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary-light);
    transform: translateX(3px);
}

/* Footer Conectemos Column Styles */
.col-conectemos {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.col-conectemos .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.col-conectemos a.contact-item {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.col-conectemos a.contact-item:hover {
    color: var(--color-primary-light);
}

.col-conectemos .contact-icon {
    color: var(--color-primary-light);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-conectemos .contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.col-conectemos .contact-icon svg.stroke-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Footer CTA Card (Similar to fonogiselle-app but adapted to Bienestar Fem palette) */
.hablemos-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.hablemos-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 214, 204, 0.3); /* Using primary-light */
    box-shadow: var(--shadow-premium);
    background: rgba(255, 255, 255, 0.06);
}

.hablemos-card .card-heart {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(185, 111, 88, 0.15); /* primary with transparency */
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hablemos-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.hablemos-card .card-divider {
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin: 0 auto 0.75rem;
}

.hablemos-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.hablemos-card .btn-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--border-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hablemos-card .btn-card-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(185, 111, 88, 0.3);
}

.hablemos-card .btn-card-cta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.hablemos-card .btn-card-cta:hover svg {
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--color-primary-light);
}

.footer-attribution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-attribution span {
    font-size: 0.85rem;
}

.attribution-logo {
    display: inline-flex;
    align-items: center;
}

.attribution-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

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

/* 12. Keyframes & Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(1deg);
    }
    100% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal helper class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 13. Responsive Styles */
@media (max-width: 1024px) {
    .hero-header {
        align-items: center;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        margin: 0 auto;
    }
    
    .hero-footer {
        margin-top: 3.5rem;
        padding-top: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 3rem;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-floating-card-1 {
        left: -1rem;
    }
    
    .hero-floating-card-2 {
        right: -1rem;
    }
    
    .emotional-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .emotional-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .trust-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .navbar .container {
        height: 4.5rem;
    }
    
    .navbar-logo {
        font-size: 1.3rem;
    }

    .navbar-logo-icon {
        width: 52px;
        height: 52px;
    }

    .navbar-scrolled {
        padding: 0;
    }

    .navbar-scrolled .container {
        height: 4.5rem;
    }

    .navbar-scrolled .navbar-logo-icon {
        width: 52px;
        height: 52px;
    }
    
    .navbar-menu {
        display: none; /* Hide standard menu on mobile */
    }
    
    .navbar-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 8.5rem;
        padding-bottom: 5rem;
    }
    
    .hero-header {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-left {
        display: contents;
    }

    .hero-visual {
        order: 1;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-tagline {
        order: 2;
        margin: 0 auto;
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .btn-group {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-footer {
        margin-top: 2.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(110, 93, 87, 0.08);
        width: 100%;
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.5rem;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .stat-item {
        flex: 1;
        text-align: center;
        padding: 0.6rem 0.4rem;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(185, 111, 88, 0.08);
        border-radius: var(--border-radius-sm);
    }

    .stat-item h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.15rem;
        color: var(--color-primary-dark);
    }

    .stat-item p {
        font-size: 0.62rem !important;
        white-space: nowrap;
        letter-spacing: 0;
        text-transform: none;
        color: var(--color-text-muted);
    }
    
    .section-title,
    .emotional-title,
    .contact-title {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }

    .section-description,
    .emotional-text,
    .contact-info-text,
    .hero-tagline {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: var(--color-text-muted) !important;
    }
    
    .emotional-block {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .emotional-content {
        display: contents;
    }

    .emotional-block .section-subtitle {
        order: 1;
        text-align: center;
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .emotional-title {
        order: 2;
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .emotional-image-wrapper {
        order: 3 !important;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .emotional-text {
        order: 4;
        text-align: center;
        width: 100%;
    }

    .emotional-list {
        order: 5;
        width: 100%;
        margin-top: 0.5rem;
    }

    .services-tabs {
        display: none !important;
    }

    .mobile-category-container {
        display: block !important;
        width: 85vw;
        margin: 0 auto 0.5rem auto;
    }

    .mobile-category-badge {
        display: block !important;
        background-color: var(--color-bg-card);
        border: 1px solid rgba(185, 111, 88, 0.15);
        padding: 0.6rem 1rem;
        font-family: var(--font-body);
        font-size: 0.88rem !important;
        font-weight: 700;
        color: var(--color-primary-dark);
        border-radius: var(--border-radius-pill);
        text-align: center;
        box-shadow: var(--shadow-subtle);
        width: 100%;
    }

    .services-carousel-wrapper {
        position: relative;
        width: 100%;
    }

    .carousel-arrow {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        background: rgba(255, 255, 255, 0.45) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        color: var(--color-primary-dark) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(58, 49, 46, 0.08) !important;
        transition: var(--transition-fast) !important;
        padding: 0 !important;
    }

    .carousel-arrow.prev {
        left: 0.5rem !important;
    }

    .carousel-arrow.next {
        right: 0.5rem !important;
    }

    .carousel-arrow:active {
        transform: translateY(-50%) scale(0.92) !important;
        background: rgba(255, 255, 255, 0.7) !important;
    }

    .services-content {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding: 1.5rem 1rem !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        align-items: stretch !important;
    }

    .services-content::-webkit-scrollbar {
        display: none !important;
    }

    .services-panel {
        display: contents !important;
    }

    .services-panel .service-card {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        box-shadow: var(--shadow-medium) !important;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .founder-img-box {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin: 0 auto;
    }
    
    .form-card {
        padding: 2.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-left {
        align-items: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-attribution {
        justify-content: center;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .cta-banner-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .cta-banner-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .author-name {
        font-size: 0.85rem !important;
    }

    .author-meta {
        font-size: 0.78rem !important;
    }
}

/* Mobile Sidebar Menu (Managed by script.js) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 49, 46, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--color-bg-base);
    box-shadow: -10px 0 30px rgba(58, 49, 46, 0.1);
    z-index: 1002;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active .mobile-menu-drawer {
    right: 0;
}

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

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-menu-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-main);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    background-color: #20BA5A;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
