/* =====================================================
   HDulam — Editorial Blue (Warm Paper)
   ===================================================== */

:root {
    --paper: #f7f4ee;
    --paper-alt: #efeade;
    --ink: #171a24;
    --ink-soft: #4c5164;
    --ink-mute: #86899a;
    --line: rgba(23, 26, 36, 0.12);
    --line-soft: rgba(23, 26, 36, 0.07);

    --navy: #12151f;
    --navy-soft: #262b3c;

    --blue: #2a45d6;
    --blue-deep: #1c2fa8;
    --blue-pale: #e7eafd;

    --wa-green: #25d366;
    --wa-green-deep: #1cb659;

    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.6);

    --serif: 'Fraunces', 'Georgia', serif;
    --sans: 'Inter', system-ui, sans-serif;

    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --r: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

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

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--blue);
    color: #fff;
}

/* =====================================================
   TYPE HELPERS
   ===================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--blue);
}

.index-num {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--ink-mute);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.94rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    border-radius: 100px;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-deep);
}

.btn-line {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn-line:hover {
    background: var(--ink);
    color: #fff;
}

.btn-line-light {
    background: transparent;
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}

.btn-line-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 26px 0;
    transition: all 0.35s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(247, 244, 238, 0.85);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.25s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    background: var(--paper);
    padding: 100px 30px 40px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--ink);
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50%;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    padding: 200px 0 110px;
    border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
    margin-bottom: 22px;
}

.hero-top {
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(2.9rem, 7vw, 6.2rem);
    line-height: 1.03;
    max-width: 960px;
    font-weight: 500;
}

.hero h1 .highlight {
    position: relative;
    display: inline-block;
    color: var(--ink);
    white-space: nowrap;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 4%;
    height: 34%;
    background: var(--blue-pale);
    z-index: -1;
    transform: skewX(-6deg);
}

.hero-lead {
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    max-width: 640px;
    margin-bottom: 36px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-lg {
    padding: 18px 34px;
    font-size: 1.02rem;
}

.hero-rule {
    height: 1px;
    background: var(--line);
    margin: 0 0 0;
}

.hero-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 0;
}

.hero-bottom > div {
    padding: 30px 30px 0 0;
    border-right: 1px solid var(--line);
}

.hero-bottom > div:last-child {
    border-right: none;
}

.hero-bottom h3 {
    font-family: var(--serif);
    font-size: 2.1rem;
    color: var(--blue);
    margin-bottom: 4px;
}

.hero-bottom span {
    font-size: 0.85rem;
    color: var(--ink-mute);
}

/* =====================================================
   MARQUEE / TRUST
   ===================================================== */

.trust {
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.trust-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-row span {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink-mute);
}

/* =====================================================
   SECTION HEADER
   ===================================================== */

.section {
    padding: 110px 0;
    border-bottom: 1px solid var(--line);
}

.section.tight {
    padding: 90px 0;
}

.section.alt {
    background: var(--paper-alt);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    max-width: 560px;
    line-height: 1.1;
}

.section-head .side {
    max-width: 320px;
    padding-bottom: 6px;
}

.section-head .side p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* =====================================================
   SERVICES — card grid
   ===================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    background: var(--paper);
    padding: 38px 34px;
    transition: background 0.3s var(--ease);
}

.service-card:hover {
    background: #fff;
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

/* =====================================================
   PRICING
   ===================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    padding: 46px 40px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.price-card.featured {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.price-card.featured .plan-desc,
.price-card.featured .price-from {
    color: rgba(255,255,255,0.62);
}

.price-card.featured .price-divider {
    background: rgba(255,255,255,0.14);
}

.price-card.featured .price-features li {
    color: rgba(255,255,255,0.85);
}

.price-card.featured h3,
.price-card.featured .amount,
.price-card.featured .currency {
    color: #fff;
}

.price-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.price-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--blue);
    color: var(--blue);
    background: var(--blue-pale);
}

.price-card.featured .price-badge {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.price-card h3 {
    font-size: 1.6rem;
    font-weight: 500;
}

.price-card h3 span {
    color: var(--blue);
}

.price-card.featured h3 span {
    color: #fff;
}

.price-card .plan-desc {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-top: 10px;
}

.plan-tabs {
    display: flex;
    margin-top: 26px;
    gap: 8px;
}

.plan-tab {
    flex: 1;
    padding: 11px 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-mute);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.plan-tab:hover {
    color: var(--ink);
    border-color: var(--ink-mute);
}

.plan-tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 30px 0 4px;
}

.price-tag .currency {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
}

.price-tag .amount {
    font-family: var(--serif);
    font-size: 3.6rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
}

.price-tag .period {
    font-size: 0.92rem;
    color: var(--ink-mute);
    align-self: flex-end;
}

.price-from {
    font-size: 0.82rem;
    color: var(--ink-mute);
    margin-bottom: 30px;
}

.price-divider {
    height: 1px;
    background: var(--line);
    margin-bottom: 26px;
}

.price-features {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.94rem;
    color: var(--ink-soft);
}

.price-features li strong {
    color: var(--ink);
}

.price-card.featured .price-features li strong {
    color: #fff;
}

.price-features li::before {
    content: '—';
    color: var(--blue);
    flex-shrink: 0;
}

.price-card.featured .price-features li::before {
    color: #fff;
}

.pricing-note {
    text-align: center;
    margin-top: 30px;
    color: var(--ink-mute);
    font-size: 0.9rem;
}

.pricing-note a {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 1px solid var(--blue);
}

/* =====================================================
   PROCESS
   ===================================================== */

.process-list {
    display: flex;
    flex-direction: column;
}

.process-row {
    display: grid;
    grid-template-columns: 90px 1fr 2fr;
    gap: 30px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}

.process-list .process-row:last-child {
    border-bottom: 1px solid var(--line);
}

.process-row .index-num {
    font-size: 1rem;
}

.process-row h4 {
    font-size: 1.3rem;
    font-weight: 500;
}

.process-row p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    max-width: 480px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.testi-card {
    padding: 38px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.testi-card .mark {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 10px;
}

.testi-stars {
    color: #e0a316;
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.testi-card p.quote {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 28px;
}

.testi-person strong {
    display: block;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
}

.testi-person span {
    font-size: 0.84rem;
    color: var(--ink-mute);
}

/* =====================================================
   FAQ
   ===================================================== */

.faq-list {
    max-width: 800px;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-list .faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 4px;
    background: none;
    border: none;
    text-align: left;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
}

.faq-question .plus {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--blue);
    transition: transform 0.3s var(--ease);
    line-height: 1;
}

.faq-item.open .faq-question .plus {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 4px 26px;
    color: var(--ink-soft);
    font-size: 0.96rem;
    max-width: 640px;
}

/* =====================================================
   FINAL CTA
   ===================================================== */

.final-cta {
    padding: 100px 0;
    text-align: center;
}

.final-cta-inner {
    background: var(--navy);
    color: #fff;
    padding: 70px 50px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.final-cta-inner::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: var(--blue);
    opacity: 0.28;
    filter: blur(110px);
    border-radius: 50%;
    top: -160px;
    right: -100px;
    pointer-events: none;
}

.final-cta .eyebrow {
    justify-content: center;
    color: #9db0ff;
}

.final-cta .eyebrow::before {
    background: #9db0ff;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 720px;
    margin: 22px auto 18px;
    color: #fff;
    position: relative;
}

.final-cta p {
    color: rgba(255,255,255,0.68);
    max-width: 520px;
    margin-inline: auto;
    font-size: 1.02rem;
    position: relative;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--ink-mute);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer h5 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a, .footer ul li {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.footer ul a:hover {
    color: var(--blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--ink-mute);
    font-size: 0.84rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */

.wa-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wa-green);
    color: #fff;
    border-radius: 50%;
    z-index: 400;
    box-shadow: 0 10px 30px -8px rgba(18, 21, 31, 0.4);
    transition: all 0.3s var(--ease);
}

.wa-float svg {
    width: 30px;
    height: 30px;
}

.wa-float:hover {
    background: var(--wa-green-deep);
    transform: translateY(-3px);
}

/* =====================================================
   REVEAL
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 991px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 150px 0 70px; }
    .hero h1 .highlight { white-space: normal; }

    .service-grid { grid-template-columns: repeat(2, 1fr); }

    .process-row { grid-template-columns: 50px 1fr; }
    .process-row p { grid-column: 2; }

    .pricing-grid { grid-template-columns: 1fr; }

    .testi-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .hero-bottom { grid-template-columns: 1fr; }
    .hero-bottom > div { border-right: none !important; padding-right: 0; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { width: 100%; }
    .service-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 70px 0; }
    .price-card { padding: 38px 26px; }
    .price-tag .amount { font-size: 2.7rem; }
    .final-cta-inner { padding: 50px 28px; }
    .plan-tabs { flex-wrap: wrap; }
}
