/* 
   Teresa Viegas Website Styles
   Palette inspired by Instagram feed: Earthy, warm, beige, brown, soft textures.
*/

:root {
    /* Color Palette */
    --bg-color: #FAF9F6;
    /* Off-white / Eggshell */
    --bg-secondary: #F2EFE9;
    /* Slightly darker beige */
    --text-main: #4A4A4A;
    /* Dark Grey - softer than black */
    --text-light: #6B6B6B;
    --primary-color: #8C6A5D;
    /* Muted Terra Cotta / Brown */
    --primary-hover: #6E5045;
    --accent-color: #D6C6B0;
    /* Sand / Tan */
    --accent-light: #EBE3D9;
    --white: #FFFFFF;

    /* Instagram-Aligned Colors */
    --warm-beige: #D5C4B0;
    /* Matches Image 3 */
    --earth-brown: #9C8C74;
    /* Matches Image 2 */
    --soft-grey: #A69F99;
    /* Matches Image 4 */
    --arc-color: rgba(255, 255, 255, 0.5);
    /* For the thin lines */

    /* Fonts */
    --font-heading: 'Lora', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    /* Changed to Sans-Serif (Outfit) to match Instagram */
    color: var(--primary-color);
    font-weight: 300;
    /* Lighter weight for that modern, thin look */
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 106, 93, 0.2);
}

/* Top Notification Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    z-index: 1002;
    font-size: 0.9rem;
    padding: 0 1rem;
    transition: background-color 0.3s ease;
}

.top-bar:hover {
    background-color: var(--primary-hover);
}

.top-bar p {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 46px;
    /* Below top bar */
    left: 0;
    width: 100%;
    background-color: rgba(250, 249, 246, 0.9);
    /* Transparent mostly */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    /* Tinting the white logo to match the Primary Color but significantly DARKER for contrast */
    filter: invert(45%) sepia(18%) saturate(880%) hue-rotate(315deg) brightness(60%) contrast(88%);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    color: var(--text-main);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 190px;
    /* Nav spacing (46 + ~100 + buffer) */
    padding-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content .subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 450px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 400px 400px 0 0;
    /* Arch shape */
    box-shadow: none;
    position: relative;
    z-index: 1;
}

/* Instagram Aesthetic Graphics */
.graphic-arc {
    position: absolute;
    border: 1px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.text-echo {
    position: absolute;
    font-family: var(--font-body);
    font-weight: 100;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.quote-box {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.quote-box p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Services */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2.5rem auto 4rem auto;
    /* Offset the large margin-bottom of the title */
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    /* Increased rounding for softer look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card ul {
    margin-top: 1.5rem;
}

.service-card li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-light);
}

.service-card li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Contacts */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    align-items: start;
    /* Prevents stretching if not desired, but usually we want top alignment */
}

.location-item {
    text-align: center;
    background-color: var(--white);
    /* To fix alignment issues with different content lengths */
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    /* Box Styling */
    border-radius: 20px;
    padding: var(--spacing-md);
    /* Internal spacing is crucial for a 'box' look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    /* Consistent shadow */
}

.location-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-name {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.location-item address {
    font-style: normal;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-links a {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.contact-links a:hover {
    text-decoration: underline;
}

/* Booking Form */
.booking-form-container {
    background-color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.booking-form-container h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.booking-form-container p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.booking-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #EBE3D9;
    /* Using literal color for specific border usually */
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(140, 106, 93, 0.1);
}

.booking-form button {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.2rem;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--accent-color);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: var(--spacing-lg);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

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

    .nav-links {
        position: fixed;
        top: 46px;
        /* Offset for top bar */
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto var(--spacing-md) auto;
    }

    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-md);
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Featured Spotlight Section */
.featured-spotlight {
    padding: 3rem 0;
    background-color: var(--white);
    border-bottom: 1px solid #EBE3D9;
}

.spotlight-container {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.spotlight-container::before {
    content: '✦';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.05;
    font-family: var(--font-heading);
}

.spotlight-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.spotlight-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.spotlight-text p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--text-light);
    font-size: 1.05rem;
}

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

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

@media (max-width: 768px) {
    .spotlight-container {
        padding: 2rem 1.5rem;
    }

    .spotlight-text h2 {
        font-size: 1.8rem;
    }
}

/* Hero Accreditation */
.hero-accreditation {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.hero-accreditation p {
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.hero-accreditation a {
    text-decoration: underline;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.hero-accreditation a:hover {
    color: var(--primary-hover);
}

/* Contact CTA Section */
.contact-cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
}

.contact-cta-box {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.contact-cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
}

.contact-cta-box p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .contact-cta-box {
        padding: var(--spacing-md);
    }

    .contact-cta-box h2 {
        font-size: 1.8rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-light) 100%);
    border-radius: 24px;
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-content {
    padding: var(--spacing-sm);
}

.newsletter-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.newsletter-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.newsletter-form {
    background-color: var(--white);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .newsletter-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--spacing-md);
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }
}

/* ============================================
   CONTACTOS PAGE STYLES
   ============================================ */

.contact-hero {
    padding-top: 160px;
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    pointer-events: none;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Clinics Section */
.clinics-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.clinics-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg) auto;
}

.clinics-intro h2 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
}

.clinics-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.clinic-card {
    background-color: var(--bg-color);
    border-radius: 24px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(140, 106, 93, 0.08);
    border-color: rgba(140, 106, 93, 0.1);
}

.clinic-card:nth-child(even) {
    direction: rtl;
}

.clinic-card:nth-child(even)>* {
    direction: ltr;
}

.clinic-info {
    padding: var(--spacing-sm);
}

.clinic-location-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.clinic-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.clinic-info address {
    font-style: normal;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.clinic-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.clinic-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.clinic-contact-item:hover {
    color: var(--primary-color);
}

.clinic-contact-item .icon {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.clinic-map {
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.clinic-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Online Form Section */
.online-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.online-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.online-info {
    padding: var(--spacing-md);
}

.online-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.online-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.online-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.online-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.online-benefits li .benefit-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.online-benefits li strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.online-form-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.online-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.online-form-card>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

/* Direct Contact Section */
.direct-contact {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
    text-align: center;
}

.direct-contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.direct-contact h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.direct-contact p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.direct-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.direct-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.direct-link-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contactos Page Responsive */
@media (max-width: 900px) {
    .clinic-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .clinic-card:nth-child(even) {
        direction: ltr;
    }

    .clinic-map {
        height: 220px;
    }

    .online-form-wrapper {
        grid-template-columns: 1fr;
    }

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

    .online-benefits li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .clinics-intro h2,
    .online-info h2 {
        font-size: 1.8rem;
    }

    .clinic-info h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   SERVIÇOS PAGE STYLES
   ============================================ */

.services-hero {
    padding-top: 160px;
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.services-hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detail Section */
.services-detail {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--accent-light);
}

.service-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-block:nth-child(even) {
    direction: rtl;
}

.service-block:nth-child(even)>* {
    direction: ltr;
}

.service-text {
    padding: var(--spacing-md);
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.service-text p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.service-text .btn {
    margin-top: var(--spacing-sm);
}

.service-visual {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-light) 100%);
    border-radius: 24px;
    padding: var(--spacing-lg);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(140, 106, 93, 0.3);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.service-visual::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(140, 106, 93, 0.2);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
}

/* Line Art Icon */
.line-icon {
    width: 120px;
    height: 120px;
    position: relative;
}

.line-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
}

.line-icon::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 15%;
    left: 15%;
    opacity: 0.6;
}

.line-icon .inner-circle {
    position: absolute;
    width: 40%;
    height: 40%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 30%;
    left: 30%;
}

/* Variant for online */
.line-icon.online::before {
    border-radius: 12px;
}

.line-icon.online::after {
    border-radius: 8px;
}

.line-icon.online .inner-circle {
    border-radius: 4px;
    width: 30%;
    height: 20%;
    top: 40%;
    left: 35%;
}

/* Other Services Section */
.other-services {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-secondary);
}

.other-services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg) auto;
}

.other-services-intro h2 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.other-service-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.other-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.other-service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Services CTA Section */
.services-cta {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    text-align: center;
}

.services-cta-box {
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
    border-radius: 24px;
    padding: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.services-cta-box h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.services-cta-box p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Serviços Page Responsive */
@media (max-width: 900px) {
    .service-block {
        grid-template-columns: 1fr;
    }

    .service-block:nth-child(even) {
        direction: ltr;
    }

    .service-visual {
        min-height: 200px;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }

    .service-text h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   DIÁRIO (LANDING PAGE) STYLES
   ============================================ */

/* Diário page uses a warmer background - apply via body class */
body.diario-page {
    background-color: #F8F6F2;
}

.editorial-nav {
    background: rgba(248, 246, 242, 0.95);
    top: 0 !important;
}

.editorial-hero {
    padding-top: 154px;
    padding-bottom: 2rem;
    min-height: auto;
    text-align: center;
    background: none;
    display: block;
}

.editorial-title-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    position: relative;
}

.editorial-title-box::before,
.editorial-title-box::after {
    content: '•';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    background: #F8F6F2;
    padding: 0 1rem;
    top: -12px;
}

.editorial-title-box::after {
    top: auto;
    bottom: -15px;
}

.hero-copy {
    max-width: 650px;
    margin: 2rem auto;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
}

.invitation-section {
    padding: 5rem 0;
    background: #F2EFE9;
    text-align: center;
}

.gift-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.gift-item {
    text-align: left;
    max-width: 300px;
}

.gift-icon {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

.gift-item h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.gift-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* MailerLite Form Container */
#mailerlite-form-container {
    max-width: 600px;
    margin: 4rem auto 0 auto;
}

/* Diário Page Responsive */
@media (max-width: 768px) {
    .editorial-hero h1 {
        font-size: 2.5rem;
    }

    .editorial-title-box {
        padding: 2rem 1rem;
        border: none;
    }

    .gift-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

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

/* ============================================
   POLÍTICA DE PRIVACIDADE PAGE STYLES
   ============================================ */

.privacy-hero {
    padding-top: 150px;
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--warm-beige) 0%, #EBE3D9 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.privacy-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.privacy-hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.privacy-content {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--accent-color);
}

.privacy-section {
    margin-bottom: var(--spacing-lg);
}

.privacy-section h2 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2rem;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.privacy-section ul {
    margin-top: var(--spacing-sm);
    padding-left: 1.5rem;
}

.privacy-section ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.privacy-section ul li::marker {
    color: var(--primary-color);
}

.privacy-update {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: 15px;
    margin-top: var(--spacing-lg);
}

.privacy-update p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.privacy-update a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.privacy-update a:hover {
    color: var(--primary-hover);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 0.8rem;
}

/* Privacy Page Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding-top: 120px;
    }

    .privacy-hero h1 {
        font-size: 2.2rem;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }
}