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

:root {
    --cream: #FBF7F1;
    --cream-deep: #F3EBDC;
    --cream-warm: #F7EFDF;
    --white: #FFFFFF;

    --ink: #2A1F3D;
    --ink-soft: #4A3E5C;
    --ink-muted: #7C6F8A;
    --border: #E8DDC8;
    --border-soft: #EFE6D4;

    --plum: #6B4F8A;
    --plum-deep: #4A3460;
    --plum-light: #A88AC9;
    --plum-pale: #EDE3F5;

    --terra: #C97B5C;
    --terra-light: #E2A084;
    --gold: #D4A574;

    --wa: #25D366;
    --wa-deep: #1EBE5D;
    --wa-glow: rgba(37, 211, 102, 0.35);

    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-soft: 0 4px 20px rgba(74, 52, 96, 0.06);
    --shadow-card: 0 8px 24px rgba(74, 52, 96, 0.08);
    --shadow-lift: 0 18px 44px rgba(74, 52, 96, 0.16);
    --shadow-photo: 0 30px 60px -20px rgba(74, 52, 96, 0.35);

    --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 500;
    color: var(--plum-deep);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.005em; }

p { color: var(--ink-soft); }

.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 14px;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 22px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #2BDB6D 0%, #1EBE5D 60%, #18A852 100%);
    color: #FFFFFF;
    box-shadow:
        0 6px 18px var(--wa-glow),
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 -2px 0 rgba(0,0,0,0.08) inset;
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px var(--wa-glow),
        0 1px 0 rgba(255,255,255,0.5) inset,
        0 -2px 0 rgba(0,0,0,0.1) inset;
}
.btn-whatsapp:active { transform: translateY(0); }

.btn-large {
    padding: 20px 44px;
    font-size: 1.08rem;
}

.wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.btn-large .wa-icon {
    width: 22px;
    height: 22px;
}

/* shimmer overlay */
.btn.shine::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
    transform: translateX(-110%);
    z-index: -1;
    animation: shine 4.5s var(--ease-soft) infinite;
}
.btn.shine:hover::before { animation-duration: 1.6s; }

@keyframes shine {
    0%   { transform: translateX(-110%); }
    50%  { transform: translateX(110%); }
    100% { transform: translateX(110%); }
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(251, 247, 241, 0.85);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(232, 221, 200, 0.6);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px 0;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}
.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--plum) 0%, var(--terra) 100%);
    color: var(--white);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(107, 79, 138, 0.25);
}
.logo-text {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
}
.logo-text em {
    font-style: italic;
    font-weight: 500;
    color: var(--ink-muted);
    font-size: 0.78rem;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.06em;
}
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--white);
    padding: 11px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.header-cta:hover {
    background: var(--plum-deep);
    transform: translateY(-1px);
}
.wa-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wa);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.05); }
}

/* === HERO === */
.hero {
    position: relative;
    padding: 96px 0 110px;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(800px 500px at 12% 30%, rgba(201, 123, 92, 0.16), transparent 60%),
        radial-gradient(900px 600px at 92% 18%, rgba(168, 138, 201, 0.22), transparent 60%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(74, 52, 96, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-sub {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--ink-muted);
    font-size: 0.92rem;
}
.meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terra);
}

/* === PHOTO FRAME === */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
}
.photo-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: visible;
}
.photo-frame img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-photo);
    border: 6px solid var(--white);
}
.photo-halo {
    position: absolute;
    inset: -22px -28px -28px -22px;
    z-index: 1;
    background: linear-gradient(135deg, var(--plum-light) 0%, var(--terra) 100%);
    border-radius: var(--radius-xl);
    transform: rotate(-3deg);
    opacity: 0.85;
    filter: blur(0.5px);
}
.photo-halo-warm {
    background: linear-gradient(135deg, var(--gold) 0%, var(--terra) 100%);
    transform: rotate(2deg);
}
.photo-frame-sm {
    max-width: 360px;
    aspect-ratio: 1 / 1.1;
}
.photo-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--white);
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}
.badge-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.badge-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
}

/* === TRUST STRIP === */
.trust-strip {
    padding: 28px 0;
    background: var(--ink);
    color: var(--white);
    position: relative;
}
.trust-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 50%, rgba(201, 123, 92, 0.18), transparent 60%),
        radial-gradient(600px 300px at 80% 50%, rgba(168, 138, 201, 0.18), transparent 60%);
    pointer-events: none;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.trust-icon {
    font-size: 1.4rem;
    line-height: 1;
}
.trust-item p {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    margin: 0;
}

/* === SERVICES === */
.services {
    padding: 110px 0;
    background: var(--cream);
    position: relative;
}
.services h2 { text-align: center; }
.services .section-eyebrow { text-align: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 56px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 38px 30px 34px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--plum-light), var(--terra));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-warm), var(--cream-deep));
    border-radius: 50%;
}
.service-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
}
.service-card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* === ABOUT === */
.about {
    padding: 120px 0;
    background: var(--cream-warm);
    position: relative;
}
.about-inner { max-width: 1080px; margin: 0 auto; }
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-text blockquote {
    margin-top: 32px;
    padding: 20px 0 20px 28px;
    border-left: 3px solid var(--terra);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--plum-deep);
}

/* === HOW IT WORKS === */
.how {
    padding: 110px 0;
    background: var(--cream);
}
.how h2 { text-align: center; }
.how .section-eyebrow { text-align: center; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 14px);
    z-index: 0;
}
.step-card {
    text-align: center;
    padding: 0 14px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    color: var(--plum-deep);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    position: relative;
}
.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--terra);
    opacity: 0.4;
}
.step-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
}
.step-card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

/* === CONTACT === */
.contact {
    padding: 120px 0;
    background: linear-gradient(165deg, var(--ink) 0%, #3A2D52 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact::before, .contact::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.contact::before {
    width: 480px;
    height: 480px;
    background: var(--plum-light);
    top: -120px;
    left: -120px;
}
.contact::after {
    width: 520px;
    height: 520px;
    background: var(--terra);
    bottom: -180px;
    right: -160px;
}
.contact-inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    z-index: 1;
}
.contact-inner h2 { color: var(--white); }
.contact-inner h2 em { color: var(--terra-light); }
.contact-eyebrow { color: var(--terra-light); }
.contact-lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 14px auto 36px;
    max-width: 560px;
}
.contact-tagline {
    margin-top: 36px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
}

/* === FOOTER === */
.site-footer {
    padding: 36px 0;
    background: var(--cream);
    border-top: 1px solid var(--border-soft);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-brand {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}
.footer-brand em {
    font-style: italic;
    font-weight: 500;
    color: var(--ink-muted);
    margin-left: 4px;
}
.footer-copy {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin: 0;
}

/* === REVEAL ON SCROLL === */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.js .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay { transition-delay: 0.15s; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
    .hero { padding: 72px 0 90px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-meta { justify-content: center; }
    .photo-frame { max-width: 360px; aspect-ratio: 4 / 5; }
    .about-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
    .about-text blockquote { margin-left: auto; margin-right: auto; max-width: 460px; text-align: left; }
    .photo-frame-sm { margin: 0 auto; max-width: 320px; }
}

@media (max-width: 720px) {
    .container { padding: 0 22px; }
    .header-inner { min-height: 68px; }
    .logo-text em { display: none; }
    .header-cta { padding: 9px 16px; font-size: 0.85rem; }
    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .services { padding: 80px 0; }
    .about { padding: 88px 0; }
    .how { padding: 80px 0; }
    .contact { padding: 88px 0; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; }
    .steps-grid::before { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .hero-ctas .btn,
    .contact-inner .btn { width: 100%; max-width: 360px; justify-content: center; }
    .btn-large { padding: 18px 28px; font-size: 1rem; }
    .photo-frame { max-width: 300px; }
}

@media (max-width: 420px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.7rem; }
    .hero-sub { font-size: 1.05rem; }
    .about-text blockquote { font-size: 1.15rem; }
    .photo-badge { padding: 9px 16px; }
    .badge-label { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .btn.shine::before { display: none; }
    .wa-dot { animation: none; }
}
