/* ═══════════════════════════════════════════
   Variables
═══════════════════════════════════════════ */
:root {
    --cream:        #FDF8F3;
    --peach-light:  #F5E6D8;
    --peach:        #EDD5BF;
    --terra:        #C4704A;
    --terra-dark:   #A85A37;
    --terra-warm:   #E8A87C;
    --brown-dark:   #3D2B1F;
    --brown-mid:    #6B4226;
    --brown-light:  #9C7060;
    --white:        #FFFFFF;

    --shadow-sm:    0 2px 12px rgba(61,43,31,.07);
    --shadow:       0 4px 24px rgba(61,43,31,.10);
    --shadow-lg:    0 8px 36px rgba(61,43,31,.16);
    --radius:       18px;
    --radius-sm:    10px;
    --ease:         cubic-bezier(.4,0,.2,1);
}

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

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

body {
    font-family: 'Lato', system-ui, sans-serif;
    background: var(--cream);
    color: var(--brown-dark);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ═══════════════════════════════════════════
   Utilities
═══════════════════════════════════════════ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Pill label */
.pill {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--terra);
    background: var(--peach-light);
    border: 1.5px solid var(--peach);
    padding: .3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    color: var(--brown-dark);
    margin-bottom: .9rem;
}
.section-title.centered { text-align: center; }

.section-sub {
    font-size: 1.05rem;
    color: var(--brown-light);
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.sub-label {
    font-family: 'Lato', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brown-mid);
    margin-bottom: .6rem;
}

/* ═══════════════════════════════════════════
   Buttons
═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.9rem;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }

.btn-primary {
    background: var(--terra);
    color: var(--white);
    border-color: var(--terra);
}
.btn-primary:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,112,74,.35);
}

.btn-outline {
    background: transparent;
    color: var(--terra);
    border-color: var(--terra);
}
.btn-outline:hover {
    background: var(--peach-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    font-weight: 700;
    font-size: .9rem;
}
.btn-whatsapp:hover {
    background: #1ebe5b;
    border-color: #1ebe5b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.btn.full-width { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   Navbar
═══════════════════════════════════════════ */
#navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    padding: .9rem 0;
    background: rgba(253,248,243,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
#navbar.scrolled {
    border-bottom-color: var(--peach);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo { display: flex; flex-direction: column; }
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1.2;
}
.logo-subtitle {
    font-size: .67rem;
    color: var(--brown-light);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    font-size: .88rem;
    font-weight: 400;
    color: var(--brown-mid);
    padding: .45rem .95rem;
    border-radius: 50px;
    transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--terra);
    background: var(--peach-light);
}
.nav-link.nav-cta {
    background: var(--terra);
    color: var(--white);
    font-weight: 700;
}
.nav-link.nav-cta:hover {
    background: var(--terra-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   Hero
═══════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}

/* Decorative background blob */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -15%;
    width: 55vw;
    height: 55vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, var(--peach-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -10%;
    width: 35vw;
    height: 35vw;
    max-width: 450px;
    max-height: 450px;
    background: radial-gradient(circle, var(--peach) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: var(--brown-dark);
    margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--terra); }

.hero-text {
    font-size: 1.1rem;
    color: var(--brown-light);
    max-width: 560px;
    margin: 0 auto 2.4rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.2rem;
}

.hero-badges {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
}
.badge {
    font-size: .78rem;
    color: var(--brown-mid);
    background: var(--peach-light);
    border: 1px solid var(--peach);
    padding: .35rem .9rem;
    border-radius: 50px;
}

/* ═══════════════════════════════════════════
   About
═══════════════════════════════════════════ */
.about {
    padding: 7rem 0;
    background: var(--white);
}

.about-grid {
    max-width: 820px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.08rem;
    color: var(--brown-mid);
    font-style: italic;
    margin-bottom: 1.1rem;
    line-height: 1.85;
}
.about-text p {
    font-size: .97rem;
    color: var(--brown-light);
    margin-bottom: 1.5rem;
    line-height: 1.85;
}

.specializations { margin-bottom: 1.8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
    font-size: .78rem;
    font-weight: 700;
    color: var(--terra);
    background: var(--peach-light);
    border: 1.5px solid var(--peach);
    padding: .3rem .85rem;
    border-radius: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}
.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .95rem 1.1rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    border: 1px solid var(--peach-light);
}
.feature-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.5; }
.feature strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: .93rem;
    color: var(--brown-dark);
    margin-bottom: .15rem;
}
.feature p { font-size: .83rem; color: var(--brown-light); margin: 0; line-height: 1.5; }

/* ═══════════════════════════════════════════
   Services
═══════════════════════════════════════════ */
.services {
    padding: 7rem 0;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    border: 1.5px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--peach);
}
.service-card.featured {
    background: linear-gradient(140deg, var(--terra) 0%, var(--terra-dark) 100%);
    color: var(--white);
    border-color: transparent;
}
.service-card.featured h3,
.service-card.featured p { color: var(--white); }
.service-card.featured .svc-icon { background: rgba(255,255,255,.15); }

.svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    width: 52px;
    height: 52px;
    background: var(--peach-light);
    border-radius: 12px;
    margin-bottom: 1.1rem;
}
.service-card h3 {
    font-size: 1.1rem;
    color: var(--brown-dark);
    margin-bottom: .65rem;
}
.service-card p {
    font-size: .88rem;
    color: var(--brown-light);
    line-height: 1.75;
}

/* ═══════════════════════════════════════════
   Contact
═══════════════════════════════════════════ */
.contact {
    padding: 7rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
}
.c-icon {
    font-size: 1.25rem;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--peach-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: .9rem;
    color: var(--brown-dark);
    margin-bottom: .18rem;
}
.contact-item p, .contact-item a {
    font-size: .9rem;
    color: var(--brown-light);
    line-height: 1.55;
}
.contact-item a:hover { color: var(--terra); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }

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

.form-group { display: flex; flex-direction: column; gap: .38rem; }
.form-group label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--brown-mid);
    letter-spacing: .02em;
}
.form-group label span { color: var(--terra); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: .78rem 1rem;
    border: 1.5px solid var(--peach);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: .93rem;
    color: var(--brown-dark);
    background: var(--cream);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(196,112,74,.13);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--brown-light); opacity: .55; }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B4226' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-group select option[value=""] { color: var(--brown-light); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
    display: none;
    padding: 1rem 1.2rem;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-sm);
    color: #166534;
    font-size: .9rem;
    text-align: center;
}
.form-success.visible { display: block; }

/* ═══════════════════════════════════════════
   Footer
═══════════════════════════════════════════ */
.footer {
    background: var(--brown-dark);
    color: var(--peach-light);
    padding: 2.5rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; }
.footer .logo-name  { color: var(--peach); font-size: 1rem; }
.footer .logo-subtitle { color: var(--brown-light); font-size: .68rem; }
.footer-copy { font-size: .78rem; color: var(--brown-light); }

/* ═══════════════════════════════════════════
   Scroll animations
═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in.delay-1 { transition-delay: .15s; }
.fade-in.delay-2 { transition-delay: .3s; }
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   Responsive – tablet
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Responsive – mobile
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Navbar */
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--peach);
        box-shadow: var(--shadow);
    }
    .nav-menu.open { display: flex; }
    .nav-link { text-align: center; border-radius: var(--radius-sm); padding: .7rem 1rem; }

    /* Hero */
    .hero { padding: 6rem 1.5rem 4rem; min-height: auto; }

    /* About */
    .features { grid-template-columns: 1fr; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { flex-direction: column; text-align: center; }
}
