/* ============================================
   LUCADIGITAL
   Creative · Confident · Modern · Refined
   ============================================ */

:root {
    --bg: #f5f5f3;
    --surface: #ffffff;
    --tinted: #f0efed;
    --text: #111111;
    --text-mid: #444444;
    --text-muted: #888888;
    --border: #e2e2e0;
    --border-light: #eeeeed;
    --accent: #4F46E5;
    --accent-dark: #4338CA;
    --accent-light: rgba(79, 70, 229, 0.07);
    --accent-mid: rgba(79, 70, 229, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
}


/* --- RESET --- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

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


/* ============================================
   SECTION BACKGROUNDS
   ============================================ */

.section-base {
    background: var(--bg);
}

.section-light {
    background: var(--surface);
}

.section-tinted {
    background: var(--tinted);
}


/* ============================================
   SHARED LAYOUT
   ============================================ */

.container-center {
    text-align: center;
    margin-bottom: 56px;
}

.section-header-center {
    max-width: 560px;
    margin: 0 auto;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.container-center .section-label {
    justify-content: center;
}

.label-dash {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.6;
}

.center-cta {
    text-align: center;
    margin-top: 48px;
}


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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    z-index: 100;
    background: rgba(245, 245, 243, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.header.scrolled {
    border-bottom-color: var(--border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-dot {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    transition: color 0.25s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a.nav-active {
    color: var(--text);
}

.nav a:hover::after,
.nav a.nav-active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}


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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    font-size: 14px;
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    transition: transform 0.25s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-ghost {
    color: var(--text-mid);
    padding: 15px 0;
    position: relative;
}

.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    transition: background 0.25s ease;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-ghost:hover::after {
    background: var(--text);
}


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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 48px 100px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 6px;
}

.hero h1 {
    font-size: clamp(40px, 5.8vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-highlight {
    position: relative;
    color: var(--accent);
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 12px;
    background: var(--accent-mid);
    border-radius: 4px;
    z-index: -1;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 48px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}


/* ============================================
   PAGE HEADER (subpages)
   ============================================ */

.page-header {
    padding: 160px 48px 80px;
    max-width: 720px;
    background: var(--bg);
}

.page-header .hero-tag {
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.page-header .hero-highlight::after {
    height: 10px;
}

.page-header p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
}


/* ============================================
   SERVICES PREVIEW (homepage)
   ============================================ */

.services-preview {
    padding: 100px 48px;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-item {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-align: center;
    background: var(--surface);
}

.sp-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
}

.sp-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sp-icon i {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.sp-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.sp-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sp-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ============================================
   SERVICES DETAIL (services page)
   ============================================ */

.services-detail {
    padding: 80px 48px 100px;
}

.sd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.sd-item {
    padding: 36px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: all 0.3s ease;
    text-align: center;
}

.sd-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
}

.sd-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.sd-icon i {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.sd-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.sd-item p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
}


/* ============================================
   FEATURED WORK (homepage) & DEMOS
   ============================================ */

.featured-work {
    padding: 100px 48px;
}

.fw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.fw-card,
.demo-card {
    display: block;
    transition: transform 0.35s ease;
}

.fw-card:hover,
.demo-card:hover {
    transform: translateY(-6px);
}

.fw-browser,
.demo-browser {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}

.browser-bar {
    display: flex;
    gap: 5px;
    padding: 10px 14px;
    background: #f5f5f4;
    border-bottom: 1px solid var(--border);
}

.browser-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4d4d4;
}

.fw-preview,
.demo-preview {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.35s ease;
}

.fw-preview span,
.demo-preview span {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
}

.demo-preview .dark-text {
    color: rgba(0, 0, 0, 0.25);
}

.fw-overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 70, 229, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: var(--radius);
}

.fw-overlay span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.fw-card:hover .fw-overlay,
.demo-card:hover .fw-overlay {
    opacity: 1;
}

.fw-card:hover .fw-preview,
.demo-card:hover .demo-preview {
    filter: blur(2px);
}

.fw-info,
.demo-info {
    padding: 16px 4px 0;
}

.fw-info h3,
.demo-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.fw-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.demo-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.demo-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    padding: 4px 10px;
    background: var(--accent-light);
    border-radius: 4px;
}

.demos-section {
    padding: 48px 48px 100px;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
    max-width: 1000px;
    margin: 0 auto;
}


/* ============================================
   PRICING (services page)
   ============================================ */

.pricing {
    padding: 100px 48px;
}

/* Two-column pricing cards */
.pricing-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 820px;
    margin: 0 auto 64px;
}

.pricing-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
}

.pricing-card:first-child {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.pricing-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.pricing-card>p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 20px;
}

.pricing-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pricing-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
}

.pricing-card-features li i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-card-note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-card .btn {
    align-self: flex-start;
}

/* Add-ons */
.addons-section {
    max-width: 640px;
    margin: 0 auto;
}

.addons-title {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.addon-list {
    border-top: 1px solid var(--border);
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    transition: padding-left 0.2s ease;
}

.addon-row:hover {
    padding-left: 8px;
}

.addon-row span:first-child {
    color: var(--text-mid);
}

.addon-row span:last-child {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text);
}


/* ============================================
   CARE PLANS (services page - centered)
   ============================================ */

.care-section {
    padding: 100px 48px;
}

.care-grid-center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.care-card-v2 {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.care-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.care-card-featured {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.care-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.care-card-v2 h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.care-price-v2 {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.care-price-v2 span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.care-card-featured .care-price-v2 {
    color: var(--accent);
}

.care-divider {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin: 0 auto 20px;
    border-radius: 1px;
}

.care-card-featured .care-divider {
    background: var(--accent-mid);
}

.care-card-v2 ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex-grow: 1;
    text-align: left;
}

.care-card-v2 li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
}

.care-card-v2 li i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.care-card-v2 .btn {
    margin-top: auto;
}


/* ============================================
   PROCESS BRIEF (homepage - horizontal)
   ============================================ */

.process-brief {
    padding: 100px 48px;
}

.pb-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.pb-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 220px;
}

.pb-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-light);
    border: 1.5px solid var(--accent-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.pb-step:hover .pb-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.pb-step:hover .pb-icon i {
    color: #fff;
}

.pb-icon i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.pb-connector {
    display: flex;
    align-items: center;
    padding-top: 28px;
    width: 48px;
    flex-shrink: 0;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: var(--border);
    position: relative;
}

.connector-line::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent);
    border-top: 2px solid var(--accent);
    transform: rotate(45deg);
}

.pb-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pb-step p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}


/* ============================================
   PROCESS VISUAL (services page - timeline)
   ============================================ */

.process-visual {
    padding: 100px 48px;
}

.pv-timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.pv-line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-mid), var(--border));
}

.pv-step {
    display: flex;
    gap: 28px;
    margin-bottom: 16px;
    position: relative;
}

.pv-step:last-child {
    margin-bottom: 0;
}

.pv-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--accent);
    margin-top: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: 18px;
}

.pv-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    flex: 1;
    transition: all 0.3s ease;
}

.pv-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.06);
}

.pv-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pv-icon i {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.pv-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 600;
}

.pv-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ============================================
   CONTACT
   ============================================ */

.contact {
    padding: 100px 48px;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.contact-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 380px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.contact-detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-detail a,
.contact-detail span {
    font-size: 15px;
    color: var(--text-mid);
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.form-success {
    font-size: 14px;
    color: #16a34a;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.form-success.active {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   PAGE CTA
   ============================================ */

.page-cta {
    padding: 100px 48px;
    text-align: center;
}

.page-cta h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.page-cta p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.page-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}


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

.footer {
    padding: 0 48px 28px;
    background: var(--bg);
}

.footer-accent {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-mid), transparent);
    margin-bottom: 44px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.footer-left p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom span {
    font-size: 13px;
    color: #bbb;
}


/* ============================================
   ABOUT BRIEF (homepage)
   ============================================ */

.about-brief {
    padding: 100px 48px;
}

.about-brief-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.about-brief-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.about-brief-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 480px;
}

.about-brief-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.about-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.about-detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.about-detail span:last-child {
    font-size: 14px;
    color: var(--text-mid);
}


/* ============================================
   FAQ (services page)
   ============================================ */

.faq-section {
    padding: 100px 48px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


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

@media (max-width: 1024px) {
    .sp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .pricing-duo {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .care-grid-center {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .demos-grid {
        gap: 36px;
    }

    .pb-grid {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .pb-connector {
        display: none;
    }

    .pb-step {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(245, 245, 243, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav a {
        font-size: 22px;
        color: var(--text);
    }

    .nav a::after {
        display: none;
    }

    .hero {
        padding: 120px 24px 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-sub {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-grid-bg {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-header {
        padding: 120px 24px 48px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .services-preview,
    .featured-work,
    .process-brief,
    .contact,
    .services-detail,
    .pricing,
    .process-visual,
    .care-section,
    .page-cta,
    .demos-section,
    .about-brief,
    .faq-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-brief-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-label {
        margin-bottom: 12px;
    }

    .container-center {
        margin-bottom: 36px;
    }

    .sp-grid,
    .fw-grid,
    .sd-grid,
    .demos-grid {
        grid-template-columns: 1fr;
    }

    .pb-grid {
        flex-direction: column;
        align-items: center;
    }

    .pb-step {
        max-width: 280px;
    }

    .pv-line {
        left: 18px;
    }

    .pv-dot {
        margin-left: 13px;
    }

    .pricing-duo {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .care-grid-center {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer {
        padding: 0 24px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer-links {
        gap: 16px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .sp-item {
        padding: 24px 20px;
    }

    .sd-item {
        padding: 28px 20px;
    }

    .care-card-v2 {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .contact-text h2 {
        font-size: 28px;
    }

    .page-cta h2 {
        font-size: 24px;
    }

    .hero-highlight::after {
        height: 8px;
    }

    .pv-card {
        padding: 20px;
    }

    .pv-dot {
        margin-left: 12px;
    }

    .pv-line {
        left: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll-line::after {
        animation: none;
    }
}