:root {
    /* Brand Colors */
    --clr-primary: #82659d;
    --clr-primary-dark: #5a4270;
    --clr-primary-light: #f4f0f8;
    --clr-accent: #d8cbec;
    
    /* Neutrals */
    --clr-bg: #f6f1ec; /* Very warm light background */
    --clr-surface: #ffffff;
    --clr-text: #2d2633;
    --clr-text-light: #6a6073;
    --clr-border: #e8e2ee;
    
    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--clr-primary-dark);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 6rem 0;
}

.contact-section.section {
    padding: 4rem 0;
}

/* Floating Action Button */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.fab-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
}

.fab-whatsapp svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 15px rgba(130, 101, 157, 0.4));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(130, 101, 157, 0.25);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(130, 101, 157, 0.35);
}

.btn-text {
    color: var(--clr-primary-dark);
    padding: 1rem;
    background: transparent;
}

.btn-text:hover {
    color: var(--clr-primary);
    transform: translateX(5px);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--clr-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.7rem 0;
    transition: var(--transition);
}

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

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--clr-accent);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: flex-end; /* Align to bottom */
    justify-content: center;
    gap: 4rem;
    padding: 7rem 8% 0; /* Remove bottom padding so image rests on base */
    background: linear-gradient(135deg, #faf7fc 0%, #f2ebf7 100%);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    color: var(--clr-primary-dark);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-summary {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-image {
    flex: 0 1 450px; /* Slightly larger flex basis for cutout */
    max-width: 450px;
    position: relative;
    align-self: flex-end; /* Rest at the bottom */
}

.hero-image img {
    width: 100%;
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 10px;
    right: -10px;
    background: var(--clr-primary);
    color: white;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(130, 101, 157, 0.3);
}

/* Services */
.services-section {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--clr-text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #faf7fc;
    padding: 1.5rem 1.5rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--clr-accent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(130, 101, 157, 0.08);
    border-color: var(--clr-accent);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--clr-primary-light);
    border-radius: 50%;
    color: var(--clr-primary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--clr-text-light);
    font-size: 0.93rem;
    line-height: 1.55;
}

/* About */
.about-section {
    background-color: var(--clr-surface);
}

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

.exp-number {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 700;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.4rem;
}

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

.about-text h2 {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    color: var(--clr-primary-dark);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--clr-text-light);
    margin-bottom: 1.8rem;
    font-weight: 300;
}

/* Contact */
.contact-section {
    background: linear-gradient(160deg, #faf7fc 0%, var(--clr-primary-light) 100%);
}

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

.contact-header h2 {
    font-size: 3.2rem;
    color: var(--clr-primary-dark);
    margin-bottom: 0.4rem;
}

.contact-header h2 span {
    color: var(--clr-primary);
}

.contact-header .contact-sub {
    font-size: 1.15rem;
    color: var(--clr-text-light);
    font-weight: 300;
}

.contact-dual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    min-height: 340px;
}

.contact-info-panel {
    background-color: var(--clr-primary);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(90, 66, 112, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.contact-info-panel h2 span {
    color: var(--clr-accent);
}

.contact-info-panel .contact-sub {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    line-height: 1.5;
    margin: -0.5rem 0 0;
}

/* Contact rows */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    transition: var(--transition);
}

.contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row:first-child {
    padding-top: 0;
}

a.contact-row:hover .contact-row-value {
    color: var(--clr-accent);
}

.contact-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.85);
    margin-top: 1px;
}

.contact-row-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-row-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-accent);
    font-weight: 600;
}

.contact-row-value {
    font-size: 0.98rem;
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s;
}

.contact-row-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

/* Map panel */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-map-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-primary);
}

.contact-map-panel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(90, 66, 112, 0.12);
    flex: 1;
    min-height: 200px;
    position: relative;
}

.contact-map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
}


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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--clr-primary-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--clr-surface);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(130, 101, 157, 0.1);
}

/* Footer */
.footer {
    background-color: var(--clr-primary);
    color: white;
    padding: 2rem 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.4rem; }
}

@media (max-width: 900px) {
    .fab-whatsapp {
        display: none;
    }
    .hero {
        flex-direction: column; /* Stack with text on top, image on bottom */
        align-items: center;
        justify-content: flex-end;
        padding: 7.5rem 6% 0; /* No bottom padding */
        gap: 1.5rem; /* Reduced gap to compact the layout */
    }
    .hero-text {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .hero-image {
        flex: none; /* Reset flex-basis so it doesn't force a 450px height */
        max-width: 320px;
        align-self: center;
    }
    .nav-links {
        display: none;
    }
    .contact-dual-container {
        grid-template-columns: 1fr;
    }
    .contact-map-panel {
        min-height: 350px;
    }
    .hero-summary {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.6rem 0;
    }
    .nav-container {
        padding: 0 1.25rem;
    }
    .nav-brand {
        font-size: 1.3rem;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 0; /* No bottom padding */
        gap: 1rem; /* Compact the layout */
    }
    .hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 2.5px;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }
    .hero-image {
        flex: none; /* Reset flex-basis */
        max-width: 240px; /* slightly larger to look better resting */
        align-self: center;
    }
    .hero-summary {
        font-size: 1rem;
    }

    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 3rem;
    }
    .section-header h2,
    .about-text h2,
    .contact-header h2 {
        font-size: 2.1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
