:root {
    --bg: #f7f3ed;
    --paper: #ffffff;
    --ink: #12141a;
    --muted: #70727a;
    --soft: #ebe3d8;
    --line: rgba(18, 20, 26, .12);
    --dark: #080a0e;
    --dark-2: #11151d;
    --gold: #c6a15b;
    --gold-2: #e2c887;
    --gold-dark: #8b6d37;
    --shadow: 0 22px 70px rgba(8, 10, 14, .12);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3 { font-family: Marcellus, Georgia, serif; line-height: 1.08; margin: 0; font-weight: 400; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5.85rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.28rem, 2vw, 1.58rem); letter-spacing: -.025em; }
p { margin: 0; color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(18, 20, 26, .08);
    backdrop-filter: blur(18px);
}
.header-line {
    background: var(--dark);
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.header-line__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.header-line a { color: #fff; transition: color .2s ease; }
.header-line a:hover { color: var(--gold-2); }
.divider { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,.25); margin: 0 12px; vertical-align: middle; }
.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand { width: 210px; display: inline-flex; align-items: center; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) {
    position: relative;
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(18,20,26,.78);
    padding: 12px 0;
}
.main-nav > a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .25s ease;
}
.main-nav > a:hover::after,
.main-nav > a.active::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--ink); transition: .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 44px; padding-inline: 20px; font-size: .72rem; }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111; box-shadow: 0 14px 34px rgba(198, 161, 91, .26); }
.btn--gold:hover { box-shadow: 0 20px 42px rgba(198, 161, 91, .34); }
.btn--outline { border-color: rgba(255,255,255,.46); color: #fff; background: rgba(255,255,255,.04); }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--outline-dark { border-color: rgba(18,20,26,.18); color: var(--ink); background: rgba(255,255,255,.35); }
.btn--outline-dark:hover { border-color: var(--gold); background: #fff; }
.text-link { color: var(--gold-dark); font-weight: 800; letter-spacing: .02em; }

.hero {
    min-height: calc(100vh - 126px);
    position: relative;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--dark);
}
.hero-slider, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 1.4s ease, transform 7s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide--one { background-image: linear-gradient(105deg, rgba(8,10,14,.93), rgba(8,10,14,.62) 46%, rgba(8,10,14,.3)), url('../img/socia-milena.png'); background-position: center right 18%; }
.hero-slide--two { background-image: radial-gradient(circle at 70% 20%, rgba(216,184,120,.32), transparent 32%), linear-gradient(120deg, #080a0e, #202532 54%, #8b6d37); }
.hero-slide--three { background-image: radial-gradient(circle at 20% 20%, rgba(216,184,120,.25), transparent 30%), linear-gradient(125deg, #080a0e, #171b24 50%, #0a0c10); }
.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8,10,14,.94), rgba(8,10,14,.76) 42%, rgba(8,10,14,.42)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 120px);
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 120px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--gold);
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.hero p { max-width: 700px; margin-top: 24px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-badges span {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 14px;
    color: rgba(255,255,255,.84);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(255,255,255,.05);
}

.section { padding: 104px 0; position: relative; }
.section--light { background: #fffaf2; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,.68); }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { max-width: 760px; }
.section-heading p { max-width: 580px; font-size: 1.03rem; }
.section-heading.split { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.section-heading.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-heading.center h2, .section-heading.center p { margin-inline: auto; }

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-card {
    position: relative;
    min-height: 272px;
    padding: 34px;
    background: var(--paper);
    border: 1px solid rgba(18,20,26,.08);
    box-shadow: 0 14px 44px rgba(18,20,26,.06);
    overflow: hidden;
}
.practice-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: .85;
}
.practice-card h3 { margin: 26px 0 14px; }
.practice-card p { font-size: .96rem; }
.icon-badge {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #151922;
    color: var(--gold-2);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.feature-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(330px, .75fr); gap: 74px; align-items: center; }
.feature-content p { margin-top: 22px; font-size: 1.06rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: #353944; }
.check-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(198,161,91,.18); color: var(--gold-dark); font-size: .8rem; font-weight: 900;
}
.portrait-panel {
    position: relative;
    border-radius: 0 0 120px 0;
    overflow: hidden;
    min-height: 620px;
    background: var(--dark);
    box-shadow: var(--shadow);
}
.portrait-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,10,14,.82)); }
.portrait-panel img { width: 100%; height: 620px; object-fit: cover; object-position: center top; }
.portrait-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; padding: 22px; background: rgba(255,255,255,.94); border-left: 4px solid var(--gold); }
.portrait-caption strong { display: block; font-family: Marcellus, Georgia, serif; font-size: 1.55rem; }
.portrait-caption span { color: var(--muted); font-size: .9rem; }

.values-section { overflow: hidden; }
.values-section::before { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(216,184,120,.22); border-radius: 50%; right: -160px; top: -180px; }
.values-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 24px; align-items: stretch; }
.values-intro { padding-right: 30px; }
.values-grid article { padding: 30px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); }
.values-grid article strong { color: var(--gold); letter-spacing: .2em; }
.values-grid article h3 { margin: 40px 0 12px; color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-grid--list { grid-template-columns: repeat(2, 1fr); }
.blog-card { background: var(--paper); border: 1px solid rgba(18,20,26,.08); box-shadow: 0 14px 44px rgba(18,20,26,.06); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(18,20,26,.12); }
.blog-card__image { display: block; height: 218px; overflow: hidden; background: var(--dark); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.04); }
.blog-card__content { padding: 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--gold-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }
.blog-card h3, .blog-card h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.blog-card p { margin-bottom: 20px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { padding: 34px; background: var(--paper); border: 1px solid rgba(18,20,26,.08); text-align: center; box-shadow: 0 14px 44px rgba(18,20,26,.06); }
.testimonial-card img { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; }
.testimonial-card small { color: var(--muted); display: block; margin-top: 4px; }
.stars { color: var(--gold-dark); letter-spacing: .18em; margin: 14px 0; }
.testimonial-card p { font-style: italic; }

.cta-section { padding-top: 40px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px; background: linear-gradient(135deg, var(--dark), #1b202a); color: #fff; position: relative; overflow: hidden; }
.cta-box::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(216,184,120,.18); right: -80px; top: -100px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,.68); max-width: 620px; }

.page-hero { min-height: 440px; display: grid; align-items: end; padding: 120px 0 72px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,14,.95), rgba(8,10,14,.68)), radial-gradient(circle at 80% 20%, rgba(216,184,120,.32), transparent 35%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 120px 120px; opacity: .4; }
.page-hero--about::before { background: linear-gradient(90deg, rgba(8,10,14,.95), rgba(8,10,14,.66)), url('../img/socia-milena.png'); background-size: cover; background-position: center 18%; }
.page-hero__content { position: relative; z-index: 2; max-width: 790px; }
.page-hero__content--wide { max-width: 980px; }
.page-hero p { margin-top: 22px; max-width: 690px; color: rgba(255,255,255,.74); font-size: 1.12rem; }

.about-grid { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr); gap: 68px; align-items: center; }
.about-visual { min-height: 680px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 680px; object-fit: cover; object-position: center top; }
.about-content p { margin-top: 18px; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.info-cards div { padding: 22px; background: var(--paper); border: 1px solid rgba(18,20,26,.08); }
.info-cards strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-dark); margin-bottom: 8px; }
.info-cards span { color: #353944; font-size: .92rem; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 70px; align-items: center; }
.founder-content p { margin-top: 18px; }
.founder-card { background: var(--paper); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(18,20,26,.08); }
.founder-card img { width: 100%; height: 520px; object-fit: cover; object-position: center top; }
.founder-card div { padding: 28px; border-top: 4px solid var(--gold); }
.founder-card h3 { margin-bottom: 6px; }
.founder-card p { margin-bottom: 8px; }
.founder-card span { color: var(--gold-dark); font-weight: 800; }
.location-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(360px, 1fr); gap: 44px; align-items: center; }
.location-grid p { margin: 18px 0 26px; }
.map-card { min-height: 420px; border: 10px solid #fff; box-shadow: var(--shadow); background: #fff; }
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.18); }
.contact-mini { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-mini a { color: var(--gold-dark); font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr); gap: 54px; align-items: start; }
.contact-intro p { margin-top: 18px; }
.contact-list { margin-top: 34px; display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: block; padding: 22px; background: var(--paper); border: 1px solid rgba(18,20,26,.08); transition: transform .2s ease, border-color .2s ease; }
.contact-list a:hover { transform: translateY(-2px); border-color: var(--gold); }
.contact-list strong { display: block; color: var(--gold-dark); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 5px; }
.contact-list span { color: #353944; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 34px; background: var(--paper); box-shadow: var(--shadow); border: 1px solid rgba(18,20,26,.08); }
.contact-form label { display: grid; gap: 8px; }
.contact-form label.full, .contact-form .full { grid-column: 1 / -1; }
.contact-form span { font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #30333b; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(18,20,26,.14); background: #fbfaf8; padding: 15px 16px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,161,91,.12); }
.contact-form textarea { resize: vertical; }
.contact-form small { grid-column: 1 / -1; color: var(--muted); }
.form-success { grid-column: 1 / -1; display: none; padding: 14px 16px; border: 1px solid rgba(37, 128, 78, .28); background: rgba(37, 128, 78, .08); color: #247648; font-weight: 700; }
.form-success.show { display: block; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.article-card { background: var(--paper); border: 1px solid rgba(18,20,26,.08); box-shadow: 0 14px 44px rgba(18,20,26,.06); overflow: hidden; }
.article-cover { width: 100%; height: 390px; object-fit: cover; }
.article-content { padding: clamp(28px, 5vw, 54px); }
.article-content p { margin: 0 0 22px; font-size: 1.08rem; color: #3e424b; }
.article-sidebar { display: grid; gap: 18px; position: sticky; top: 150px; }
.sidebar-card { padding: 28px; background: #fffaf2; border: 1px solid rgba(18,20,26,.08); box-shadow: 0 14px 44px rgba(18,20,26,.06); }
.sidebar-card h3 { margin-bottom: 12px; }
.sidebar-card p { margin-bottom: 18px; }
.side-post { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid rgba(18,20,26,.1); }
.side-post span { color: var(--gold-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.side-post strong { line-height: 1.25; }

.site-footer { background: #07080c; color: #fff; padding: 78px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1fr; gap: 44px; align-items: start; }
.footer-brand img { width: 220px; margin-bottom: 22px; }
.footer-brand p, .footer-col li, .footer-bottom { color: rgba(255,255,255,.66); }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a, .footer-col a, .footer-bottom a { color: rgba(255,255,255,.82); }
.footer-social a:hover, .footer-col a:hover, .footer-bottom a:hover { color: var(--gold-2); }
.footer-col h3 { font-family: Inter, sans-serif; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer-col strong { color: rgba(255,255,255,.9); }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 16px 40px rgba(37, 211, 102, .35); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

@media (max-width: 1060px) {
    .brand { width: 178px; }
    .main-nav { gap: 17px; }
    .main-nav > a:not(.btn) { font-size: .72rem; }
    .practice-grid, .blog-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .values-intro { padding-right: 0; }
    .feature-grid, .about-grid, .founder-grid, .location-grid, .contact-grid, .article-layout { grid-template-columns: 1fr; }
    .portrait-panel, .about-visual { min-height: auto; }
    .portrait-panel img, .about-visual img { height: min(760px, 110vw); }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .container { width: min(100% - 28px, var(--container)); }
    .header-line__inner { justify-content: center; text-align: center; }
    .header-line__inner > div { display: none; }
    .nav-wrap { min-height: 76px; }
    .brand { width: 160px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 0px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        padding: 14px;
        box-shadow: 0 24px 70px rgba(0,0,0,.16);
        border: 1px solid rgba(18,20,26,.08);
    }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.btn) { padding: 15px 10px; border-bottom: 1px solid rgba(18,20,26,.08); }
    .main-nav > .btn { margin-top: 12px; width: 100%; }
    .hero { min-height: 700px; }
    .hero-content { padding: 80px 0; }
    .hero-slide--one { background-position: center top; }
    .section { padding: 74px 0; }
    .section-heading.split, .cta-box { flex-direction: column; align-items: flex-start; }
    .practice-grid, .blog-grid, .testimonial-grid, .values-grid, .info-cards, .contact-form, .footer-grid { grid-template-columns: 1fr; }
    .contact-form label.full, .contact-form .full { grid-column: auto; }
    .cta-box { padding: 34px; }
    .page-hero { min-height: 380px; padding: 100px 0 56px; }
    .map-card, .map-card iframe { height: 350px; min-height: 350px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
    h1 { font-size: clamp(2.25rem, 12vw, 3.2rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-badges { align-items: flex-start; flex-direction: column; }
    .practice-card, .testimonial-card, .blog-card__content, .contact-form { padding: 24px; }
    .portrait-caption { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
    .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
