/* ============================================
   HARRISON RENNER WEB DESIGN
   Theme: Clean · Airy · Modern
   ============================================ */

/* RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    touch-action: pan-y; /* mobile: vertical scroll only, no sideways drift */
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: auto;
    touch-action: pan-y; /* reinforces vertical-only touch on all child elements */
    max-width: 100vw;    /* hard cap — nothing can push the page wider than the screen */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* COLORS */
:root {
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-pale: #dbeafe;
    --blue-mist: rgba(37, 99, 235, 0.08);
    --bg: #f5f7fa;
    --bg-white: #ffffff;
    --bg-section: #f0f3f8;
    --text-dark: #111827;
    --text-mid: #374151;
    --text-muted: #6b7280;
    --text-faint: #9ca3af;
    --border: rgba(0,0,0,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    --radius-sm: 7px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 10px 10px 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

nav.scrolled .nav-container {
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.logo-initials { display: none; }
.logo-full { display: inline; }

/* Shrink to initials on mobile or when nav is scrolled */
@media (max-width: 540px) {
    .logo-initials { display: inline; }
    .logo-full { display: none; }
}
/* Logo stays full name on scroll */

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-mid);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-dark);
    background: rgba(0,0,0,0.05);
}

.nav-cta {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-toggle:hover { background: rgba(0,0,0,0.05); }

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: rgba(0,0,0,0.15);
}

.btn-secondary:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    padding-top: 100px;
}

/* Soft directional gradient — right side wash, like the reference */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 90% at 80% 35%, rgba(186, 220, 255, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 60% 70% at 95% 70%, rgba(147, 197, 253, 0.3) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

/* Subtle secondary layer for depth */
.hero::after {
    content: '';
    position: absolute;
    top: -5%;
    right: 15%;
    width: 45%;
    height: 75%;
    background: radial-gradient(ellipse 70% 80% at 60% 40%, rgba(219, 234, 254, 0.45) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Remove old hero-bg styles from clashing */
.hero-bg { display: none; }
.atmosphere, .stars, .shooting-star, .grid-overlay, .gradient-orb { display: none !important; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 80px 0 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-icon {
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
}

.hero-content h1 {
    font-size: clamp(2.9rem, 6vw, 4.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--blue);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 450;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */

.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 65%;
    height: 130%;
    background:
        radial-gradient(ellipse 80% 100% at 85% 40%, rgba(186, 220, 255, 0.38) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 70% 80%, rgba(219, 234, 254, 0.3) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header.compact { padding: 140px 0 60px; }

.page-header h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin: 12px 0 16px;
}

.page-subtitle {
    font-size: 1rem;
    font-weight: 450;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */

section { padding: 96px 0; }
section.compact { padding: 64px 0; }

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-mist);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-desc {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-stagger {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-stagger.visible > * { animation: none; }

/* ============================================
   SECTION BACKGROUND ORBS
   Subtle animated blur effects echoing the hero
   ============================================ */

@keyframes orbPulse {
    0%   { transform: scale(1);    opacity: 1; }
    50%  { transform: scale(1.10); opacity: 0.65; }
    100% { transform: scale(1);    opacity: 1; }
}

@keyframes orbDrift {
    0%   { transform: scale(1)    translate(0,    0);    opacity: 0.9; }
    33%  { transform: scale(1.07) translate(1.5%, -1%);  opacity: 0.6; }
    66%  { transform: scale(0.97) translate(-1%,  1.5%); opacity: 0.75; }
    100% { transform: scale(1)    translate(0,    0);    opacity: 0.9; }
}

/* Ensure section containers sit above the orbs */
.showcase-section .container,
.steps-scroll-section .container,
.services-section .container,
.pricing-preview .container,
.guide-section .container,
.faq-section .container,
.final-cta .container {
    position: relative;
    z-index: 1;
}

/* Portfolio section — soft blue wash, top-right */
.showcase-section { position: relative; overflow: hidden; }
.showcase-section::before {
    content: '';
    position: absolute;
    top: -8%; right: -4%;
    width: 50%; height: 75%;
    background: radial-gradient(ellipse 70% 80% at 78% 28%, rgba(186, 220, 255, 0.38) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 14s ease-in-out infinite;
}

/* How It Works — soft blue wash, bottom-left */
.steps-scroll-section::before {
    content: '';
    position: absolute;
    bottom: 5%; left: -6%;
    width: 52%; height: 80%;
    background: radial-gradient(ellipse 65% 75% at 22% 72%, rgba(219, 234, 254, 0.38) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: orbDrift 16s ease-in-out infinite;
    animation-delay: -5s;
}

/* How It Works — stronger blue glow, top-right (mirrors hero) */
.steps-scroll-section::after {
    content: '';
    position: absolute;
    top: 0; right: -4%;
    width: 58%; height: 65%;
    background:
        radial-gradient(ellipse 80% 85% at 80% 30%, rgba(186, 220, 255, 0.48) 0%, transparent 68%),
        radial-gradient(ellipse 55% 60% at 95% 65%, rgba(147, 197, 253, 0.28) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 18s ease-in-out infinite;
    animation-delay: -8s;
}

/* Services section — lighter blue, top-right */
.services-section { position: relative; overflow: hidden; }
.services-section::after {
    content: '';
    position: absolute;
    top: -6%; right: -4%;
    width: 44%; height: 65%;
    background: radial-gradient(ellipse 60% 70% at 80% 22%, rgba(147, 197, 253, 0.28) 0%, transparent 66%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 18s ease-in-out infinite;
    animation-delay: -9s;
}

/* Pricing section — blue, bottom-left */
.pricing-preview { position: relative; overflow: hidden; }
.pricing-preview::before {
    content: '';
    position: absolute;
    bottom: -10%; left: -4%;
    width: 48%; height: 72%;
    background: radial-gradient(ellipse 70% 78% at 18% 76%, rgba(186, 220, 255, 0.33) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: orbDrift 20s ease-in-out infinite;
    animation-delay: -7s;
}

/* About/guide section — blue, top-left */
.guide-section { position: relative; overflow: hidden; }
.guide-section::before {
    content: '';
    position: absolute;
    top: 5%; left: -6%;
    width: 42%; height: 68%;
    background: radial-gradient(ellipse 65% 75% at 12% 38%, rgba(219, 234, 254, 0.38) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 13s ease-in-out infinite;
    animation-delay: -3s;
}

/* FAQ section — light blue, bottom-right */
.faq-section { position: relative; overflow: hidden; }
.faq-section::after {
    content: '';
    position: absolute;
    bottom: -8%; right: -4%;
    width: 42%; height: 62%;
    background: radial-gradient(ellipse 60% 68% at 84% 72%, rgba(147, 197, 253, 0.28) 0%, transparent 66%);
    pointer-events: none;
    z-index: 0;
    animation: orbDrift 15s ease-in-out infinite;
    animation-delay: -11s;
}

/* Final CTA — soft center glow */
.final-cta { position: relative; overflow: hidden; }
.final-cta::before {
    content: '';
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 120%;
    background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(186, 220, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 12s ease-in-out infinite;
    animation-delay: -6s;
}

/* ============================================
   SHOWCASE / PORTFOLIO SECTION
   ============================================ */

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

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

.showcase-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.showcase-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #e0eaff 100%);
    overflow: hidden;
    position: relative;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.03);
}

.showcase-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #e0eaff 100%);
}

.placeholder-initials {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: -0.02em;
    opacity: 0.7;
}

.placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.showcase-info {
    padding: 16px 20px;
}

.showcase-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.showcase-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

/* ============================================
   HOW IT WORKS / STEPS
   ============================================ */

.steps-scroll-section { background: var(--bg-white); }

.steps-wrapper {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.step-card:hover { box-shadow: var(--shadow-md); }

.step-card.featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15), var(--shadow-md);
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-icon {
    display: none;
}

.step-connector {
    color: var(--text-faint);
    display: flex;
    align-items: center;
}

.step-connector svg {
    width: 20px;
    height: 20px;
}

.steps-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.steps-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ============================================
   CARD DECK — HOW IT WORKS (Scroll-Driven)
   ============================================ */

.steps-scroll-section {
    position: relative;
    height: 310vh;
    padding: 0; /* override section padding */
    overflow: visible; /* must stay visible — any other value breaks position:sticky on child */
}

.steps-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.steps-scroll-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-deck-scene {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 370px; /* extra bottom room for stacked card peek */
    margin: 0 auto;
    perspective: 1400px;
    perspective-origin: 50% 38%;
}

.step-deck-card {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 38px 42px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
}

/* Card themes */
.card-deck-1 {
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 52%, #60a5fa 100%);
    box-shadow: 0 36px 72px rgba(37,99,235,0.40), 0 8px 22px rgba(0,0,0,0.18);
    z-index: 3;
}
.card-deck-2 {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 24px 56px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
    z-index: 2;
}
.card-deck-3 {
    background: linear-gradient(145deg, #f4f7ff 0%, #eef2ff 100%);
    border: 1px solid rgba(37,99,235,0.08);
    box-shadow: 0 16px 44px rgba(0,0,0,0.07);
    z-index: 1;
}

.deck-card-step {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.card-deck-1 .deck-card-step { color: rgba(255,255,255,0.55); }
.card-deck-2 .deck-card-step,
.card-deck-3 .deck-card-step { color: var(--blue); opacity: 0.65; }

.deck-card-title {
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 12px;
}
.card-deck-1 .deck-card-title { color: #ffffff; }
.card-deck-2 .deck-card-title,
.card-deck-3 .deck-card-title { color: var(--text-dark); }

.deck-card-body {
    font-size: 0.875rem;
    line-height: 1.72;
    flex: 1;
}
.card-deck-1 .deck-card-body { color: rgba(255,255,255,0.80); }
.card-deck-2 .deck-card-body,
.card-deck-3 .deck-card-body { color: var(--text-mid); }

.deck-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
}
.deck-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.card-deck-1 .deck-card-list li { color: rgba(255,255,255,0.92); }
.card-deck-2 .deck-card-list li,
.card-deck-3 .deck-card-list li { color: var(--text-mid); }

.deck-card-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    align-self: flex-start;
}
.card-deck-1 .deck-card-badge {
    background: rgba(255,255,255,0.22);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.38);
}
.card-deck-2 .deck-card-badge,
.card-deck-3 .deck-card-badge {
    background: rgba(37,99,235,0.12);
    color: var(--blue);
    border: 1px solid rgba(37,99,235,0.25);
}

/* Progress dots */
.deck-progress {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 28px;
}
.deck-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--border);
    transition: width 0.35s ease, background 0.35s ease;
}
.deck-dot.active {
    width: 28px;
    background: var(--blue);
}

.deck-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* Mobile: static vertical stack, no scroll hijack */
@media (max-width: 767px) {
    .steps-scroll-section {
        height: auto;
        padding: 72px 0;
    }
    .steps-sticky {
        position: static;
        height: auto;
        overflow: visible;
        display: block;
    }
    .card-deck-scene {
        height: auto;
        perspective: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
    }
    .step-deck-card {
        position: static;
        height: auto;
        padding: 28px 24px;
        transform: none !important;
        opacity: 1 !important;
    }
    /* Cards are HTML-ordered 3→2→1 for desktop z-index; reverse for mobile */
    .card-deck-1 { order: 1; }
    .card-deck-2 { order: 2; }
    .card-deck-3 { order: 3; }
    .deck-progress { display: none; }
    .deck-cta { margin-top: 24px; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

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

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}

/* Cobblestone entrance animation */
.service-card[data-cobble] {
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}
.service-card[data-cobble="left"] {
    transform: translateX(-72px) translateY(10px);
}
.service-card[data-cobble="right"] {
    transform: translateX(72px) translateY(10px);
}
.service-card[data-cobble].cobble-visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
.service-card[data-cobble].cobble-visible:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    color: var(--blue);
    display: flex;
    align-items: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.pricing-preview { background: var(--bg-white); }

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    padding-top: 18px;
}

.pricing-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--bg-white);
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15), var(--shadow-md);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 14px;
    border-radius: var(--radius-full);
}

.pricing-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-highlights {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-highlights li {
    font-size: 0.85rem;
    color: var(--text-mid);
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.pricing-link { text-align: center; }

.savings-callout {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 600;
    transition: opacity 0.2s;
}

.savings-callout:hover { opacity: 0.75; }

/* ============================================
   GUIDE / ABOUT SECTION
   ============================================ */

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

.guide-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}

.guide-image {
    position: relative;
}

.guide-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #c7d8ff 100%);
    aspect-ratio: 4/5;
    max-width: 360px;
}

.guide-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-frame {
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 2px solid var(--blue-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.guide-text .section-tag {
    margin-bottom: 10px;
}

.guide-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin: 12px 0 20px;
    line-height: 1.2;
}

.guide-intro {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
}

.guide-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.guide-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.credential-icon {
    width: 32px;
    height: 32px;
    background: var(--blue-mist);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}

.credential-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.credential strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.credential span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

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

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

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-text::before { content: '"'; color: var(--blue); font-size: 1.8rem; line-height: 0; vertical-align: -0.4em; margin-right: 2px; font-style: normal; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

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

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}

.faq-item summary {
    padding: 18px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 22px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

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

.final-cta { background: var(--bg-white); }

.cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.cta-card > p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin-bottom: 32px;
}

.cta-contact {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-contact .btn-primary {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-contact .btn-primary:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.92);
}

.cta-contact .btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.cta-contact .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
}

.cta-location {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

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

.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-nav ul li,
.footer-services ul li {
    margin-bottom: 8px;
}

.footer-nav a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-services ul li,
.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ============================================
   PRICING FULL PAGE
   ============================================ */

.pricing-promise { background: var(--bg-white); }

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

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
}

.promise-icon {
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 1px;
}

.promise-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.promise-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.build-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}

.build-card-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 36px 40px;
    color: #fff;
    text-align: center;
}

.price-from {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.price-amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.build-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.build-card-body { padding: 32px 40px; }

.build-features-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-mid);
    padding: 6px 0;
}

.feature-item span {
    color: var(--blue);
    font-weight: 700;
}

.build-extras {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 16px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.extra-price {
    font-weight: 700;
    color: var(--text-dark);
}

.build-bonus {
    background: var(--blue-mist);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--blue);
    text-align: center;
}

.build-card-footer {
    background: var(--bg);
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.build-after-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.build-options {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.build-option {
    flex: 1;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-white);
    text-align: center;
}

.build-option strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.build-option span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.build-option-or {
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.build-option-featured {
    border-color: rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.03);
}

.pricing-full { background: var(--bg-white); }

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.toggle-label.active { color: var(--text-dark); font-weight: 700; }

.toggle-badge {
    display: inline-block;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 6px;
}

.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.pricing-toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.12);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.pricing-toggle input:checked + .toggle-slider { background: var(--blue); }
.pricing-toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

.pricing-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 40px;
    padding-top: 24px;
}

.pricing-card-full {
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-full.featured {
    background: var(--bg-white);
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15), var(--shadow-md);
    transform: translateY(-8px);
}

.pricing-card-header { padding: 28px 24px 20px; border-bottom: 1px solid var(--border); }

.pricing-card-full .pricing-name {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-card-full .pricing-price {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.pricing-card-full .pricing-price .price-period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card-full .pricing-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-card-body { padding: 20px 24px; }

.pricing-features-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

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

.pricing-features-compact li span {
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-note {
    font-size: 0.78rem;
    color: var(--text-faint);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.yearly-bonus {
    margin-top: 10px;
    background: var(--blue-mist);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.82rem;
    color: var(--blue);
    font-weight: 600;
    text-align: center;
}

.pricing-card-footer { padding: 16px 24px 24px; }

/* Add-ons */
.addons-section { background: var(--bg); }

.addons-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.addon-chip {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}

.addon-chip span {
    font-weight: 700;
    color: var(--blue);
}

/* Terms */
.terms-section { background: var(--bg-white); }

.terms-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.term-chip {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.term-chip strong { color: var(--text-dark); }

/* ============================================
   GALLERY / PORTFOLIO PAGE
   ============================================ */

.portfolio-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.portfolio-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item-full {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.portfolio-item-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #e0eaff 100%);
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.portfolio-item-full:hover .portfolio-image img {
    transform: scale(1.03);
}

.portfolio-info {
    padding: 20px 22px;
}

.portfolio-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.portfolio-tag {
    display: inline-block;
    background: var(--blue-mist);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: rgba(37,99,235,0.2);
    box-shadow: var(--shadow-sm);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: var(--blue-mist);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.method-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.method-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   GET STARTED PAGE
   ============================================ */

.get-started-section { background: var(--bg-white); }

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

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .step-connector { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    nav { padding: 12px 16px; }

    .nav-container {
        padding: 10px 16px;
        border-radius: 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        background: #fff;
        border-radius: var(--radius-md);
        padding: 12px;
        flex-direction: column;
        gap: 4px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        width: 100%;
        padding: 10px 16px;
        border-radius: var(--radius-sm);
    }

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

    .mobile-toggle { display: flex; }

    .hero { min-height: auto; padding: 120px 24px 60px; }
    .hero::before, .hero::after { width: 100%; opacity: 0.5; }
    .hero-stats { flex-direction: column; gap: 16px; }

    .hero-content h1 { font-size: 2.2rem; }

    section { padding: 64px 0; }

    .showcase-grid,
    .services-grid,
    .pricing-preview-grid,
    .testimonials-grid,
    .promise-grid,
    .portfolio-grid-full,
    .pricing-full-grid { grid-template-columns: 1fr; }

    .pricing-card.featured { transform: none; }
    .pricing-card-full.featured { transform: none; }

    .guide-content { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }

    .steps-wrapper { padding: 28px 20px; }
    .cta-card { padding: 40px 24px; }

    .guide-credentials { grid-template-columns: 1fr; }

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

    .build-card-body { padding: 24px; }
    .build-card-header { padding: 28px 24px; }
    .build-card-footer { padding: 20px 24px; }
    .build-features-compact { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .cta-contact { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
}

/* ============================================
   CONTACT PAGE - EXTENDED STYLES
   ============================================ */

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contact-info-panel h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    border-color: rgba(37,99,235,0.2);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 38px;
    height: 38px;
    background: var(--blue-mist);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}

.contact-method-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-method-details strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value-large {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-method-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-promise {
    margin-top: 28px;
    background: var(--blue-mist);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.contact-promise h3 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
}

.contact-promise ul li {
    font-size: 0.88rem;
    color: var(--text-mid);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.contact-promise ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.8rem;
}

.form-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.form-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Map / Service areas section */
.map-section {
    background: var(--bg);
    padding: 96px 0;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.map-text h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}

.map-text > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-areas h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mid);
    margin-bottom: 12px;
}

.service-areas ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-areas ul li {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-size: 0.82rem;
    color: var(--text-mid);
    font-weight: 500;
}

.map-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-box .placeholder-icon { font-size: 3rem; }

.map-box p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.map-coords {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
}

.cta-hours {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
}

/* ============================================
   GALLERY PAGE - EXTENDED STYLES
   ============================================ */

.portfolio-section { background: var(--bg); padding: 80px 0; }

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #e0eaff 100%);
    padding: 32px;
}

.placeholder-text {
    font-size: 0.75rem;
    color: var(--blue-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portfolio-details {
    padding: 20px 22px 22px;
}

.portfolio-details h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.portfolio-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.portfolio-description {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 12px;
}

.portfolio-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.portfolio-tags span {
    display: inline-block;
    background: var(--blue-mist);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfolio-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    transition: opacity 0.2s;
}

.portfolio-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .map-content { grid-template-columns: 1fr; gap: 32px; }
    .portfolio-grid-full { grid-template-columns: 1fr; }
}
