/* ===== TumpuPress · Marble-Inspired Stone Industry Aesthetic ===== */
:root {
    /* Marble palette — cream, ivory, warm browns, charcoal */
    --tp-cream:        #FAF6F0;      /* Carrara cream background */
    --tp-ivory:        #FFFFFE;      /* Pure white marble */
    --tp-stone:        #E8DFD0;      /* Light travertine */
    --tp-vein:         #D4C5B0;      /* Subtle vein color */
    --tp-bronze:       #8B6F47;      /* Warm bronze accent (brand) */
    --tp-bronze-deep:  #5C4530;      /* Deep bronze for hover */
    --tp-bronze-soft:  #F2EBE0;      /* Bronze tint background */
    --tp-charcoal:     #1F1B16;      /* Dark slate, near-black */
    --tp-charcoal-soft:#3A332B;      /* Soft charcoal */
    --tp-ink:          #2B2520;      /* Body text */
    --tp-ink-soft:     #5C5247;      /* Muted text */
    --tp-ink-mute:     #9A8F82;      /* Very muted text */
    --tp-line:         #E0D5C2;      /* Border lines (warm) */
    --tp-line-soft:    #EFE7D9;      /* Subtle borders */
    --tp-gold:         #B89968;      /* Premium gold accent */
    --tp-gold-soft:    #FBF5E9;      /* Gold tint */
    --tp-success:      #5B7C5F;      /* Sage green for positive */
    --tp-success-soft: #E8EFE6;
    --tp-danger:       #A65A3F;      /* Terracotta for negative */
    --tp-danger-soft:  #F5EBE6;

    --tp-radius:       16px;
    --tp-radius-sm:    8px;
    --tp-shadow:       0 1px 2px rgba(43,37,32,.04), 0 8px 24px rgba(43,37,32,.06);
    --tp-shadow-lift:  0 4px 12px rgba(43,37,32,.08), 0 24px 48px rgba(43,37,32,.10);
    --tp-shadow-bronze:0 8px 24px rgba(139,111,71,.25);

    --tp-font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --tp-font-sans:    'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    --tp-container:    1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--tp-cream);
    color: var(--tp-ink);
    font-family: var(--tp-font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

/* ===== Marble veining (SVG background, reused) ===== */
.tp-hero__veining,
.tp-finalcta__veining {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .35;
    background-image:
        radial-gradient(ellipse 1200px 600px at 20% 10%, rgba(212,197,176,.4), transparent 60%),
        radial-gradient(ellipse 800px 400px at 80% 90%, rgba(184,153,104,.15), transparent 60%);
}
.tp-hero__veining::before,
.tp-finalcta__veining::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.30  0 0 0 0.06 0'/></filter><rect width='800' height='800' filter='url(%23n)'/></svg>");
    background-size: 800px 800px;
    opacity: .7;
}

/* ===== NAVIGATION ===== */
.tp-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,246,240,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tp-line);
}
.tp-nav__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tp-nav__logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px; letter-spacing: -.01em;
    color: var(--tp-charcoal);
}
.tp-nav__logo-mark {
    width: 32px; height: 32px;
    background: var(--tp-bronze);
    color: var(--tp-ivory);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--tp-font-display);
    font-style: italic; font-size: 22px;
    border-radius: 6px;
    font-weight: 500;
}
.tp-nav__links { display: flex; align-items: center; gap: 6px; }
.tp-nav__links a {
    padding: 8px 14px;
    font-size: 14px; font-weight: 500;
    color: var(--tp-ink-soft);
    border-radius: 8px;
    transition: .15s;
}
.tp-nav__links a:hover {
    background: var(--tp-stone);
    color: var(--tp-charcoal);
}
.tp-nav__cta {
    background: var(--tp-charcoal) !important;
    color: var(--tp-cream) !important;
    margin-left: 6px;
}
.tp-nav__cta:hover {
    background: var(--tp-bronze) !important;
}

/* ===== HERO ===== */
.tp-hero {
    position: relative;
    padding: 96px 24px 120px;
    background: linear-gradient(180deg, var(--tp-cream) 0%, var(--tp-stone) 100%);
    border-bottom: 1px solid var(--tp-line);
    overflow: hidden;
}
.tp-hero__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .tp-hero { padding: 64px 20px 80px; }
    .tp-hero__inner { grid-template-columns: 1fr; gap: 60px; }
}

.tp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--tp-ink-soft);
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 1px 2px rgba(43,37,32,.04);
}
.tp-pulse {
    width: 8px; height: 8px;
    background: var(--tp-bronze);
    border-radius: 50%;
    animation: tp-pulse 2s infinite;
}
@keyframes tp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(139,111,71,.5); }
    70%  { box-shadow: 0 0 0 10px rgba(139,111,71,0); }
    100% { box-shadow: 0 0 0 0 rgba(139,111,71,0); }
}

.tp-hero__title {
    font-family: var(--tp-font-display);
    font-weight: 500;
    font-size: clamp(44px, 6.8vw, 88px);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--tp-charcoal);
    margin: 0 0 28px;
}
.tp-hero__title-strike {
    position: relative;
    color: var(--tp-ink-mute);
    font-style: italic;
}
.tp-hero__title-strike::after {
    content: '';
    position: absolute;
    left: -2%; right: -2%;
    top: 52%;
    height: 6px;
    background: var(--tp-bronze);
    transform: rotate(-2deg);
    border-radius: 4px;
    opacity: .85;
}
.tp-hero__title em {
    font-style: italic;
    color: var(--tp-bronze);
}

.tp-hero__lede {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--tp-ink-soft);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 40px;
}
.tp-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.tp-hero__signals {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--tp-line);
    max-width: 560px;
}
@media (max-width: 600px) {
    .tp-hero__signals { grid-template-columns: 1fr; gap: 16px; }
}
.tp-hero__signals li { display: flex; flex-direction: column; gap: 2px; }
.tp-hero__signals strong {
    font-family: var(--tp-font-display);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
    color: var(--tp-charcoal);
}
.tp-hero__signals span {
    font-size: 13px;
    color: var(--tp-ink-mute);
    line-height: 1.3;
}

/* Hero visual: phone mockup + output card */
.tp-hero__visual {
    position: relative;
    height: 560px;
}
@media (max-width: 900px) {
    .tp-hero__visual { height: 480px; max-width: 360px; margin: 0 auto; }
}

.tp-hero__phone {
    position: absolute;
    top: 30px; left: 5%;
    width: 280px;
    background: var(--tp-charcoal);
    border-radius: 32px;
    padding: 14px;
    box-shadow: var(--tp-shadow-lift), 0 0 0 8px rgba(43,37,32,.05);
    animation: tp-float 6s ease-in-out infinite;
}
.tp-hero__phone-screen {
    background: var(--tp-cream);
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-height: 460px;
    position: relative;
    overflow: hidden;
}
.tp-hero__phone-bar {
    width: 80px; height: 4px;
    background: var(--tp-line);
    border-radius: 4px;
    margin: 0 auto 28px;
}
.tp-hero__phone-q-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tp-bronze);
    font-weight: 600;
    margin-bottom: 12px;
}
.tp-hero__phone-q-title {
    font-family: var(--tp-font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--tp-charcoal);
    line-height: 1.2;
    margin-bottom: 20px;
}
.tp-hero__phone-opt {
    padding: 11px 14px;
    border: 1px solid var(--tp-line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--tp-ink-soft);
    margin-bottom: 8px;
    background: var(--tp-ivory);
    transition: .2s;
}
.tp-hero__phone-opt.is-selected {
    background: var(--tp-bronze-soft);
    border-color: var(--tp-bronze);
    color: var(--tp-charcoal);
    font-weight: 600;
}
.tp-hero__phone-cta {
    margin-top: 16px;
    padding: 12px;
    background: var(--tp-charcoal);
    color: var(--tp-cream);
    text-align: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.tp-hero__output {
    position: absolute;
    bottom: 30px; right: 0;
    width: 260px;
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: var(--tp-shadow-lift);
    animation: tp-float 6s ease-in-out infinite;
    animation-delay: 1.5s;
}
.tp-hero__output-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--tp-success);
    font-weight: 700;
    margin-bottom: 14px;
}
.tp-hero__output-dot {
    width: 8px; height: 8px;
    background: var(--tp-success);
    border-radius: 50%;
    animation: tp-pulse-green 2s infinite;
}
@keyframes tp-pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(91,124,95,.5); }
    70%  { box-shadow: 0 0 0 8px rgba(91,124,95,0); }
}
.tp-hero__output-row {
    font-size: 14px;
    color: var(--tp-ink);
    padding: 6px 0;
    border-bottom: 1px solid var(--tp-line-soft);
    line-height: 1.4;
}
.tp-hero__output-row:last-of-type { border-bottom: none; }
.tp-hero__output-row strong {
    font-family: var(--tp-font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--tp-bronze);
    margin-right: 4px;
}
.tp-hero__output-tag {
    margin-top: 12px;
    background: var(--tp-charcoal);
    color: var(--tp-cream);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

@keyframes tp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ===== BUTTONS ===== */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--tp-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: .2s;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: -.005em;
}
.tp-btn--lg { padding: 16px 28px; font-size: 16px; }
.tp-btn--primary {
    background: var(--tp-charcoal);
    color: var(--tp-cream);
}
.tp-btn--primary:hover {
    background: var(--tp-bronze);
    transform: translateY(-1px);
    box-shadow: var(--tp-shadow-bronze);
}
.tp-btn--ghost {
    background: transparent;
    color: var(--tp-ink-soft);
    border-color: var(--tp-line);
}
.tp-btn--ghost:hover {
    color: var(--tp-charcoal);
    border-color: var(--tp-charcoal);
    background: var(--tp-ivory);
}
.tp-btn--white {
    background: var(--tp-ivory);
    color: var(--tp-charcoal);
}
.tp-btn--white:hover {
    background: var(--tp-cream);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43,37,32,.25);
}

/* ===== SECTION HEADER (shared) ===== */
.tp-section-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}
.tp-section-header__eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tp-bronze);
    font-weight: 600;
    margin-bottom: 16px;
}
.tp-section-header__title {
    font-family: var(--tp-font-display);
    font-size: clamp(36px, 5.2vw, 60px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--tp-charcoal);
    margin-bottom: 20px;
}
.tp-section-header__lede {
    font-size: 17px;
    color: var(--tp-ink-soft);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

/* ===== TRUST MARQUEE ===== */
.tp-trust {
    background: var(--tp-charcoal);
    padding: 28px 0;
    overflow: hidden;
}
.tp-trust__marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.tp-trust__track {
    display: inline-flex;
    gap: 32px;
    white-space: nowrap;
    animation: tp-marquee 40s linear infinite;
    font-family: var(--tp-font-display);
    font-size: 24px;
    color: var(--tp-cream);
    font-style: italic;
    font-weight: 500;
}
.tp-trust__track span:nth-child(2n) {
    color: var(--tp-bronze);
    font-family: var(--tp-font-sans);
    font-style: normal;
    font-weight: 400;
}
@keyframes tp-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== PROBLEM SECTION (split before/after) ===== */
.tp-problem {
    padding: 120px 24px;
    background: var(--tp-ivory);
}
.tp-problem__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
}
.tp-problem__split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: stretch;
}
@media (max-width: 900px) {
    .tp-problem { padding: 80px 20px; }
    .tp-problem__split { grid-template-columns: 1fr; gap: 16px; }
}

.tp-problem__column {
    padding: 40px 36px;
    border-radius: var(--tp-radius);
    border: 1px solid var(--tp-line);
}
.tp-problem__column--before {
    background: var(--tp-danger-soft);
    border-color: rgba(166,90,63,.2);
}
.tp-problem__column--after {
    background: var(--tp-success-soft);
    border-color: rgba(91,124,95,.2);
}
.tp-problem__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--tp-danger);
    margin-bottom: 12px;
}
.tp-problem__label--good {
    color: var(--tp-success);
}
.tp-problem__heading {
    font-family: var(--tp-font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--tp-charcoal);
    margin-bottom: 28px;
    letter-spacing: -.01em;
}
.tp-problem__list {
    list-style: none;
    display: grid;
    gap: 14px;
}
.tp-problem__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--tp-ink);
    line-height: 1.5;
}
.tp-problem__icon-x,
.tp-problem__icon-check {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}
.tp-problem__icon-x {
    background: rgba(166,90,63,.15);
    color: var(--tp-danger);
}
.tp-problem__icon-check {
    background: rgba(91,124,95,.15);
    color: var(--tp-success);
}
.tp-problem__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}
@media (max-width: 900px) {
    .tp-problem__divider { padding: 8px 0; }
}
.tp-problem__divider-arrow {
    width: 60px; height: 60px;
    background: var(--tp-charcoal);
    color: var(--tp-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tp-font-display);
    font-style: italic;
    font-size: 36px;
    box-shadow: var(--tp-shadow-lift);
}
@media (max-width: 900px) {
    .tp-problem__divider-arrow { transform: rotate(90deg); }
}

/* ===== MECHANISM (3-step) ===== */
.tp-mechanism {
    padding: 120px 24px;
    background: var(--tp-cream);
}
.tp-mechanism__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
}
.tp-mechanism__steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 80px;
}
@media (max-width: 900px) {
    .tp-mechanism { padding: 80px 20px; }
    .tp-mechanism__steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.tp-step {
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    padding: 36px 32px;
    position: relative;
    transition: .3s;
}
.tp-step:hover {
    border-color: var(--tp-bronze);
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-lift);
}
.tp-step__num {
    font-family: var(--tp-font-display);
    font-style: italic;
    font-size: 48px;
    font-weight: 500;
    color: var(--tp-bronze);
    line-height: 1;
    margin-bottom: 20px;
}
.tp-step__title {
    font-family: var(--tp-font-display);
    font-size: 26px;
    font-weight: 500;
    color: var(--tp-charcoal);
    margin-bottom: 12px;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.tp-step__desc {
    font-size: 15px;
    color: var(--tp-ink-soft);
    line-height: 1.6;
}
.tp-mechanism__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tp-font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--tp-bronze);
    opacity: .5;
}
@media (max-width: 900px) {
    .tp-mechanism__arrow {
        transform: rotate(90deg);
        font-size: 24px;
    }
}

.tp-mechanism__output {
    max-width: 520px;
    margin: 0 auto;
    background: var(--tp-charcoal);
    border-radius: var(--tp-radius);
    padding: 28px 32px;
    box-shadow: var(--tp-shadow-lift);
}
.tp-mechanism__output-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tp-bronze);
    font-weight: 700;
    margin-bottom: 16px;
}
.tp-mechanism__output-text {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 13px;
    color: var(--tp-cream);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* ===== SERVICES (4 PILLARS) ===== */
.tp-services {
    padding: 120px 24px;
    background: var(--tp-ivory);
}
.tp-services__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
}
.tp-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}
@media (max-width: 800px) {
    .tp-services { padding: 80px 20px; }
    .tp-services__grid { grid-template-columns: 1fr; }
}

.tp-pillar {
    position: relative;
    background: var(--tp-cream);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    padding: 44px 40px;
    transition: .3s;
    overflow: hidden;
}
.tp-pillar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background: radial-gradient(circle at top right, var(--tp-bronze-soft), transparent 70%);
    opacity: 0;
    transition: .3s;
    pointer-events: none;
}
.tp-pillar:hover {
    border-color: var(--tp-bronze);
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-lift);
}
.tp-pillar:hover::after { opacity: 1; }
.tp-pillar__num {
    position: absolute;
    top: 28px; right: 32px;
    font-family: var(--tp-font-display);
    font-style: italic;
    font-size: 56px;
    font-weight: 500;
    color: var(--tp-line);
    line-height: 1;
    transition: .3s;
}
.tp-pillar:hover .tp-pillar__num {
    color: var(--tp-bronze);
    opacity: .4;
}
.tp-pillar__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--tp-bronze-soft);
    color: var(--tp-bronze);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.tp-pillar__icon svg { width: 26px; height: 26px; }
.tp-pillar__title {
    font-family: var(--tp-font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--tp-charcoal);
    margin-bottom: 12px;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.tp-pillar__desc {
    font-size: 15px;
    color: var(--tp-ink-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}
.tp-pillar__bullets {
    list-style: none;
    display: grid;
    gap: 8px;
}
.tp-pillar__bullets li {
    font-size: 14px;
    color: var(--tp-ink-soft);
    padding-left: 22px;
    position: relative;
}
.tp-pillar__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 2px;
    background: var(--tp-bronze);
}

.tp-services__inline-cta {
    background: linear-gradient(135deg, var(--tp-charcoal) 0%, var(--tp-charcoal-soft) 100%);
    color: var(--tp-cream);
    border-radius: var(--tp-radius);
    padding: 44px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.tp-services__inline-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 50%, rgba(139,111,71,.3), transparent 60%);
    pointer-events: none;
}
.tp-services__inline-cta-copy { position: relative; flex: 1 1 320px; }
.tp-services__inline-cta-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tp-bronze);
    margin-bottom: 8px;
    font-weight: 700;
}
.tp-services__inline-cta h3 {
    font-family: var(--tp-font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 500;
    color: var(--tp-cream);
    line-height: 1.25;
    max-width: 540px;
    letter-spacing: -.01em;
}
.tp-services__inline-cta .tp-btn { position: relative; flex-shrink: 0; background: var(--tp-bronze); }
.tp-services__inline-cta .tp-btn:hover { background: var(--tp-cream); color: var(--tp-charcoal); }

/* ===== CAROUSEL ===== */
.tp-carousel { position: relative; max-width: var(--tp-container); margin: 0 auto; }
.tp-carousel__track {
    display: flex; gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 32px;
    scrollbar-width: none;
}
.tp-carousel__track::-webkit-scrollbar { display: none; }
.tp-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.tp-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    color: var(--tp-charcoal);
    font-size: 20px; font-weight: 600;
    cursor: pointer; z-index: 10;
    box-shadow: var(--tp-shadow);
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-carousel__btn:hover {
    background: var(--tp-bronze);
    color: var(--tp-cream);
    border-color: var(--tp-bronze);
    transform: translateY(-50%) scale(1.08);
}
.tp-carousel__btn:disabled { opacity: .3; cursor: not-allowed; }
.tp-carousel__btn--prev { left: -26px; }
.tp-carousel__btn--next { right: -26px; }
@media (max-width: 800px) {
    .tp-carousel__btn { display: none; }
    .tp-carousel__track { padding: 8px 20px 32px; }
}
.tp-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.tp-carousel__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--tp-line);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: .2s;
}
.tp-carousel__dot.is-active {
    background: var(--tp-bronze);
    width: 28px;
    border-radius: 4px;
}

/* ===== PACKAGES ===== */
.tp-packages { padding: 120px 24px; background: var(--tp-cream); }
.tp-packages__inner { max-width: var(--tp-container); margin: 0 auto; }
@media (max-width: 800px) {
    .tp-packages { padding: 80px 0; }
    .tp-packages__inner { padding: 0 20px; }
}
.tp-package {
    width: 400px; max-width: 90vw;
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    transition: .3s;
    position: relative;
}
.tp-package:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-lift);
    border-color: var(--tp-charcoal);
}
.tp-package.is-highlighted {
    background: linear-gradient(180deg, var(--tp-gold-soft) 0%, var(--tp-ivory) 30%);
    border-color: var(--tp-gold);
    box-shadow: 0 8px 32px rgba(184,153,104,.15);
}
.tp-package__badge {
    position: absolute;
    top: -12px; left: 36px;
    background: var(--tp-gold);
    color: var(--tp-ivory);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 4px;
}
.tp-package__tier {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tp-bronze);
    font-weight: 700;
    margin-bottom: 14px;
}
.tp-package__title {
    font-family: var(--tp-font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--tp-charcoal);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.tp-package__price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tp-line);
    margin-bottom: 24px;
}
.tp-package__price {
    font-family: var(--tp-font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--tp-charcoal);
    letter-spacing: -.01em;
}
.tp-package__price-note {
    font-size: 13px;
    color: var(--tp-ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tp-package__desc {
    font-size: 14px;
    color: var(--tp-ink-soft);
    line-height: 1.6;
    margin-bottom: 24px;
}
.tp-package__deliverables {
    list-style: none;
    display: grid;
    gap: 11px;
    margin-bottom: 24px;
    flex-grow: 1;
}
.tp-package__deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--tp-ink);
    line-height: 1.5;
}
.tp-package__check {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    background: var(--tp-bronze);
    color: var(--tp-ivory);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}
.tp-package__meta {
    background: var(--tp-cream);
    border-radius: var(--tp-radius-sm);
    padding: 14px 16px;
    margin-bottom: 20px;
    display: grid;
    gap: 6px;
}
.tp-package__meta span {
    font-size: 13px;
    color: var(--tp-ink-soft);
}
.tp-package__meta strong {
    color: var(--tp-charcoal);
    font-weight: 600;
}
.tp-package__cta { width: 100%; margin-top: auto; }

/* ===== RESULTS (before/after) ===== */
.tp-results {
    padding: 120px 24px;
    background: var(--tp-charcoal);
    color: var(--tp-cream);
    position: relative;
    overflow: hidden;
}
.tp-results::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 800px 400px at 20% 30%, rgba(139,111,71,.15), transparent 60%),
        radial-gradient(ellipse 600px 300px at 80% 70%, rgba(184,153,104,.1), transparent 60%);
    pointer-events: none;
}
.tp-results__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
    position: relative;
}
.tp-results .tp-section-header__title { color: var(--tp-cream); }
.tp-results .tp-section-header__lede { color: rgba(250,246,240,.7); }
.tp-results .tp-section-header__eyebrow { color: var(--tp-bronze); }

.tp-results__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 700px) {
    .tp-results__grid { grid-template-columns: 1fr; }
    .tp-results { padding: 80px 20px; }
}
.tp-result {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--tp-radius);
    padding: 32px 28px;
    transition: .3s;
}
.tp-result:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(184,153,104,.3);
    transform: translateY(-4px);
}
.tp-result__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(250,246,240,.5);
    font-weight: 700;
    margin-bottom: 24px;
}
.tp-result__numbers {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.tp-result__before, .tp-result__after {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.tp-result__before-label, .tp-result__after-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}
.tp-result__before-label { color: var(--tp-danger); }
.tp-result__after-label { color: var(--tp-bronze); }
.tp-result__before-value, .tp-result__after-value {
    font-family: var(--tp-font-display);
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.02em;
}
.tp-result__before-value {
    color: rgba(250,246,240,.5);
    text-decoration: line-through;
    text-decoration-color: var(--tp-danger);
    text-decoration-thickness: 2px;
}
.tp-result__after-value { color: var(--tp-cream); }
.tp-result__arrow {
    font-family: var(--tp-font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--tp-bronze);
    flex: 0 0 auto;
}
.tp-result__note {
    font-size: 13px;
    color: rgba(250,246,240,.7);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-style: italic;
}

/* ===== PORTFOLIO ===== */
.tp-portfolio { padding: 120px 24px; background: var(--tp-ivory); }
.tp-portfolio__inner { max-width: var(--tp-container); margin: 0 auto; }
@media (max-width: 800px) {
    .tp-portfolio { padding: 80px 0; }
    .tp-portfolio__inner { padding: 0 20px; }
}
.tp-portcard {
    width: 440px; max-width: 90vw;
    background: var(--tp-cream);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    overflow: hidden;
    transition: .3s;
    display: flex;
    flex-direction: column;
}
.tp-portcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-lift);
    border-color: var(--tp-charcoal);
}
.tp-portcard__media {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--tp-stone);
}
.tp-portcard__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: .5s;
}
.tp-portcard:hover .tp-portcard__media img {
    transform: scale(1.05);
}
.tp-portcard__overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tp-portcard__tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(31,27,22,.85);
    color: var(--tp-cream);
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.tp-portcard__body {
    padding: 28px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.tp-portcard__category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--tp-bronze);
    font-weight: 700;
    margin-bottom: 10px;
}
.tp-portcard__title {
    font-family: var(--tp-font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--tp-charcoal);
    letter-spacing: -.01em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.tp-portcard__desc {
    font-size: 14px;
    color: var(--tp-ink-soft);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}
.tp-portcard__result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tp-bronze-soft);
    color: var(--tp-bronze-deep);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
}
.tp-portcard__result-dot {
    width: 6px; height: 6px;
    background: var(--tp-bronze);
    border-radius: 50%;
    flex-shrink: 0;
}
.tp-portcard__link {
    color: var(--tp-bronze);
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
    align-self: flex-start;
}
.tp-portcard__link:hover { transform: translateX(4px); }

/* ===== TESTIMONIALS ===== */
.tp-testimonials { padding: 120px 24px; background: var(--tp-cream); }
.tp-testimonials__inner { max-width: var(--tp-container); margin: 0 auto; }
@media (max-width: 800px) {
    .tp-testimonials { padding: 80px 0; }
    .tp-testimonials__inner { padding: 0 20px; }
}
.tp-testimonial {
    width: 580px; max-width: 92vw;
    background: var(--tp-ivory);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .3s;
}
.tp-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: var(--tp-shadow-lift);
}
.tp-testimonial__mark {
    position: absolute;
    top: 20px; right: 36px;
    font-family: var(--tp-font-display);
    font-size: 120px;
    color: var(--tp-bronze);
    opacity: .15;
    line-height: 1;
    font-style: italic;
}
.tp-testimonial__quote {
    font-family: var(--tp-font-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--tp-charcoal);
    margin: 0 0 36px;
    font-style: italic;
    letter-spacing: -.005em;
}
.tp-testimonial__author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--tp-line);
    margin-top: auto;
}
.tp-testimonial__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-bronze), var(--tp-bronze-deep));
    color: var(--tp-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tp-font-display);
    font-size: 28px;
    font-style: italic;
    font-weight: 500;
    flex-shrink: 0;
}
.tp-testimonial__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--tp-charcoal);
    line-height: 1.3;
    margin-bottom: 2px;
}
.tp-testimonial__role {
    font-size: 13px;
    color: var(--tp-ink-mute);
}

/* ===== FINAL CTA ===== */
.tp-finalcta {
    background: linear-gradient(135deg, var(--tp-charcoal) 0%, var(--tp-charcoal-soft) 100%);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}
.tp-finalcta__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    color: var(--tp-cream);
}
.tp-finalcta__title {
    font-family: var(--tp-font-display);
    font-size: clamp(44px, 6.5vw, 80px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--tp-cream);
    margin-bottom: 28px;
}
.tp-finalcta__title em {
    color: var(--tp-bronze);
    font-style: italic;
}
.tp-finalcta__lede {
    font-size: 18px;
    color: rgba(250,246,240,.85);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 40px;
}
.tp-finalcta__micro {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(250,246,240,.6);
}

/* ===== FOOTER ===== */
.tp-footer {
    background: var(--tp-charcoal);
    color: rgba(250,246,240,.7);
    padding: 48px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.tp-footer__inner {
    max-width: var(--tp-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.tp-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tp-cream);
    font-weight: 700;
    font-size: 17px;
}
.tp-footer__copyright, .tp-footer__tagline {
    font-size: 13px;
}
.tp-footer__tagline {
    font-family: var(--tp-font-display);
    font-style: italic;
    color: rgba(250,246,240,.5);
}

/* ===== FAB ===== */
.tp-fab-wa {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    z-index: 999;
    transition: .25s;
    animation: tp-fab-pulse 3s infinite;
}
.tp-fab-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37,211,102,.5);
}
@keyframes tp-fab-pulse {
    0%   { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 600px) {
    .tp-fab-wa { width: 54px; height: 54px; bottom: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-hero__phone, .tp-hero__output, .tp-fab-wa,
    .tp-pulse, .tp-trust__track { animation: none; }
}

/* =============================================================
   ===== RESPONSIVE & OVERFLOW FIXES (replace your bottom block) =====
   ============================================================= */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ===== NAV: prevent overlap on tablet/mobile ===== */
@media (max-width: 768px) {
    .tp-nav__inner {
        padding: 12px 16px;
    }
    .tp-nav__links {
        gap: 2px;
    }
    .tp-nav__links a:not(.tp-nav__cta) {
        padding: 8px 8px;
        font-size: 13px;
    }
    .tp-nav__cta {
        padding: 8px 12px !important;
        font-size: 13px !important;
        margin-left: 4px;
    }
}

@media (max-width: 560px) {
    /* Hide secondary nav links, keep only CTA on small mobile */
    .tp-nav__links a:not(.tp-nav__cta) {
        display: none;
    }
    .tp-nav__logo {
        font-size: 16px;
    }
    .tp-nav__logo-mark {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* ===== HERO VISUAL: contained, no overflow ===== */
@media (max-width: 900px) {
    .tp-hero__visual {
        height: auto;
        min-height: 480px;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 10px 40px;
    }

    .tp-hero__phone {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto;
        width: min(280px, 80vw);
    }

    .tp-hero__output {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -30px auto 0;
        width: min(260px, 75vw);
        transform: translateX(40px);
    }
}

@media (max-width: 600px) {
    .tp-hero {
        padding: 48px 16px 64px;
    }
    .tp-hero__inner {
        gap: 40px;
    }
    .tp-hero__title {
        font-size: clamp(36px, 10vw, 56px);
    }
    .tp-hero__lede {
        font-size: 16px;
    }
    .tp-hero__ctas {
        gap: 10px;
        margin-bottom: 36px;
    }
    .tp-hero__ctas .tp-btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 13px 16px;
        font-size: 14px;
    }
    .tp-hero__visual {
        min-height: 440px;
    }
    .tp-hero__phone {
        width: min(260px, 78vw);
    }
    .tp-hero__output {
        width: min(240px, 72vw);
        transform: translateX(20px);
        padding: 16px 18px;
    }
}

@media (max-width: 380px) {
    .tp-hero__visual { min-height: 400px; }
    .tp-hero__phone { width: 90vw; max-width: 240px; }
    .tp-hero__output {
        width: 85vw;
        max-width: 220px;
        transform: translateX(10px);
    }
    .tp-hero__output-row strong { font-size: 20px; }
    .tp-hero__phone-q-title { font-size: 19px; }
}

/* ===== Floating WhatsApp doesn't cover content ===== */
@media (max-width: 480px) {
    .tp-fab-wa {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
}

/* ===== Ensure all sections respect viewport ===== */
.tp-hero__inner,
.tp-services__inner,
.tp-problem__inner,
.tp-mechanism__inner,
.tp-packages__inner,
.tp-results__inner,
.tp-portfolio__inner,
.tp-testimonials__inner,
.tp-finalcta__inner,
.tp-footer__inner,
.tp-nav__inner {
    max-width: min(var(--tp-container), 100vw);
}