/* HoBo Web Development — Dark Tech Theme */
/* Black + Orange palette */

:root {
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-elevated: #1a2235;
    --orange: #ff6b35;
    --orange-light: #ff8c5a;
    --amber: #f59e0b;
    --orange-dark: #ea580c;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(255, 107, 53, 0.2);
    --glow-orange: rgba(255, 107, 53, 0.4);
    --glow-amber: rgba(245, 158, 11, 0.3);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f59e0b 50%, #ea580c 100%);
    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* —— Grid Background —— */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* —— Code Rain Effect —— */
.code-rain {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 107, 53, 0.02) 2px,
        rgba(255, 107, 53, 0.02) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* —— Sections —— */
.section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #ffb366 0%, #ff6b35 50%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
}

.accent {
    color: var(--orange);
}

/* —— Buttons —— */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px var(--glow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--glow-orange), 0 0 40px var(--glow-amber);
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 0 20px var(--glow-orange);
}

.btn-outline {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--orange);
    box-shadow: 0 0 15px var(--glow-orange);
}

.btn-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.btn-block { width: 100%; }

/* —— 1. Navigation Bar —— */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.8rem;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo-spot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}

.nav-brand .logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    filter: sepia(1) saturate(4) hue-rotate(-20deg) brightness(0.75) contrast(1.2) drop-shadow(0 0 8px rgba(255, 107, 53, 0.25));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

/* —— 2. Hero Section —— */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 700px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.73rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-subtitle .subtitle-normal {
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero buttons — hover effects only */

/* Terminal decoration */
.terminal-window {
    max-width: 400px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    background: rgba(26, 34, 53, 0.8);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terminal-code {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-align: left;
    overflow-x: auto;
}

.code-keyword { color: var(--amber); }
.code-string { color: var(--orange); }
.code-comment { color: var(--text-muted); font-style: italic; }

/* —— 3. Services —— */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 30px var(--glow-orange);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card a {
    color: var(--orange-light);
    text-decoration: none;
}

.service-card a:hover {
    color: var(--orange);
}

/* —— 4. About —— */
.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-bio {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: var(--text);
}

.about-reasons {
    list-style: none;
}

.about-reasons li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-reasons li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--orange);
}

.about-reasons .accent {
    color: var(--orange);
}

.avatar,
.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    box-shadow: 0 0 40px var(--glow-orange);
}

.avatar-placeholder {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/* —— 5. Portfolio / Latest Work —— */
.work-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.comparison-block:hover {
    border-color: var(--orange);
    box-shadow: 0 0 25px var(--glow-orange);
}

.comparison-label {
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    color: var(--orange);
    border-bottom: 1px solid var(--border);
}

.comparison-bullets {
    list-style: none;
    padding: 1rem 1.25rem 1rem;
    font-size: 0.9rem;
}

.comparison-bullets li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.comparison-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--orange);
}

.comparison-bullets.competitor li {
    color: var(--text-muted);
}

.comparison-bullets.client li {
    color: var(--text);
}

.comparison-placeholder {
    height: 280px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.comparison-preview-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.comparison-preview-link:hover .comparison-view-link {
    color: var(--orange);
}

.comparison-preview-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.click-to-visit-badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: rgba(10, 14, 23, 0.85);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--orange);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    pointer-events: none;
}

.comparison-preview-link:hover .click-to-visit-badge {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 0 15px var(--glow-orange);
}

.comparison-screenshot {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.comparison-preview-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.comparison-preview-card .comparison-preview-fallback {
    position: absolute;
    inset: 0;
    background: var(--bg-elevated);
}

.comparison-site-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.comparison-site-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.comparison-preview-link .comparison-view-link {
    margin-top: 0.5rem;
}

.comparison-view-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

@media (max-width: 768px) {
    .work-comparison {
        grid-template-columns: 1fr;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 25px var(--glow-orange);
    transform: translateY(-4px);
}

.project-image {
    height: 180px;
}

.project-card h3 {
    padding: 1rem 1.25rem 0.25rem;
}

.project-tech {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--orange);
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    padding: 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.project-link {
    display: inline-block;
    padding: 1rem 1.25rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.project-link:hover {
    color: var(--orange-light);
}

/* —— 6. Skills —— */
.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-group h4 {
    font-size: 1rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    padding: 0.4rem 1rem;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.badge:hover {
    border-color: var(--orange);
    box-shadow: 0 0 15px var(--glow-orange);
}

/* Scroll-in animation */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* —— 7. Testimonials —— */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    font-style: italic;
}

.testimonial-card p {
    margin-bottom: 1rem;
    color: var(--text);
}

.testimonial-card footer {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* —— 8. Pricing —— */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 25px var(--glow-orange);
}

.pricing-card.featured {
    border-color: var(--orange);
    box-shadow: 0 0 30px var(--glow-orange);
}

.popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-card li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
}

.pricing-info-block {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.pricing-info-block p {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.pricing-info-block p:last-child {
    margin-bottom: 0;
}

.pricing-info-block strong {
    color: var(--orange);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.pricing-note a {
    color: var(--orange);
}

/* —— 9. Contact (Choice Layout) —— */
.contact-choice-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.contact-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.contact-choice-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 30px var(--glow-orange);
    transform: translateY(-6px);
}

.contact-choice-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-choice-icon-phone {
    display: inline-flex;
    font-size: 3.5rem;
    color: var(--orange-light);
}

.contact-choice-icon-phone svg {
    width: 1em;
    height: 1em;
}

.contact-choice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.contact-choice-card p {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.95rem;
}

.contact-choice-card-phone {
    cursor: default;
}

.contact-phone-display {
    margin-top: 0.75rem;
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-phone-dropdown {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.contact-choice-card:hover .contact-phone-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.contact-email-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-email-note a {
    color: var(--orange);
    text-decoration: none;
}

.contact-email-note a:hover {
    text-decoration: underline;
}

/* Appointment modal */
#appointment-modal.appointment-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#appointment-modal.appointment-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.appointment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 0.85);
    cursor: pointer;
}

.appointment-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 40px var(--glow-orange);
    z-index: 1;
}

.appointment-modal h3 {
    margin-bottom: 1.5rem;
    color: var(--orange);
    font-size: 1.5rem;
}

.appointment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.appointment-form input,
.appointment-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
}

.appointment-form input:focus,
.appointment-form select:focus {
    outline: none;
    border-color: var(--orange);
}

.appointment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}

.appointment-modal-close:hover {
    color: var(--orange);
}

.reserved-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    border: 2px solid var(--orange);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    z-index: 1001;
    text-align: center;
    box-shadow: 0 0 30px var(--glow-orange);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reserved-popup.show {
    opacity: 1;
    visibility: visible;
}

.reserved-popup p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.reserved-popup-ok {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.reserved-popup-ok:hover {
    opacity: 0.9;
}

/* Legacy contact form (kept for reference) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 15px var(--glow-orange);
}

.contact-alt {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-email {
    font-size: 1.25rem;
    color: var(--orange);
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--orange);
}

/* —— Testimonial Stars —— */
.testimonial-stars {
    color: var(--amber);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

/* —— Why Custom Block —— */
.why-custom {
    padding-top: 0;
}

.why-custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-custom-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.why-custom-item:hover {
    border-color: var(--orange);
    box-shadow: 0 0 25px var(--glow-orange);
}

.why-custom-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.why-custom-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.why-custom-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* —— Work Context line —— */
.work-context {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    margin: -1.5rem auto 2rem;
    line-height: 1.65;
}

/* —— Quote Form —— */
.quote-form-wrapper {
    margin-top: 3rem;
    max-width: 700px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 2.5rem;
}

.quote-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quote-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.quote-form-field label {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.quote-form-field input,
.quote-form-field select,
.quote-form-field textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.quote-form-field input:focus,
.quote-form-field select:focus,
.quote-form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 12px var(--glow-orange);
}

.quote-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Local SEO offer sections */
.hero-local {
    gap: 2rem;
    padding-top: 7rem;
}

.hero-lead {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-local .hero-content {
    max-width: 660px;
    margin-bottom: 0;
    text-align: left;
}

.hero-local .hero-buttons {
    justify-content: flex-start;
}

.hero-subtitle-tight {
    font-size: 1.18rem;
    line-height: 1.75;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-frustration-visual {
    margin: 0;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.86);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    text-align: left;
}

.hero-frustration-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.hero-frustration-visual figcaption {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
}

.hero-frustration-visual span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-frustration-visual strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.hero-proof-grid {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.proof-tile {
    min-height: 118px;
    padding: 1.2rem;
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.proof-tile strong {
    display: block;
    color: var(--orange-light);
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.proof-tile span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 3rem;
    align-items: center;
}

.left-title {
    text-align: left;
    margin-bottom: 1.4rem;
}

.lead-copy {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.quick-answer {
    max-width: 920px;
    margin: 0 auto 2rem;
    padding: 1.35rem;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.quick-answer strong {
    display: block;
    color: var(--orange-light);
    margin-bottom: 0.45rem;
}

.quick-answer p {
    color: var(--text);
    line-height: 1.75;
}

.resource-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.resource-card,
.stat-card {
    display: block;
    height: 100%;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
}

.resource-card:hover,
.stat-card:hover {
    border-color: var(--orange);
}

.resource-card h3,
.stat-card h3 {
    color: var(--orange-light);
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}

.resource-card p,
.stat-card p {
    color: var(--text-muted);
    line-height: 1.65;
}

.stat-number {
    display: block;
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.content-checklist {
    max-width: 920px;
    margin: 1.5rem auto 0;
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.content-checklist li {
    padding: 0.9rem 1rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.split-buttons {
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 107, 53, 0.14);
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.55;
}

.pricing-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-info-grid {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.pricing-info-grid p {
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--orange-light);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.65;
}

.landing-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.landing-content {
    max-width: 960px;
    margin: 0 auto;
}

.landing-content .lead-copy {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.service-area-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-area-links a {
    color: var(--orange-light);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 107, 53, 0.08);
}

.service-area-links a:hover {
    border-color: var(--orange);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.case-study-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.case-study-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.before-after-shot {
    position: relative;
    min-width: 0;
}

.before-after-shot img {
    height: 210px;
}

.before-after-label {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.25rem 0.55rem;
    background: rgba(10, 14, 23, 0.82);
    color: var(--orange-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.case-study-body {
    padding: 1.4rem;
}

.case-study-body h3 {
    color: var(--text);
    margin-bottom: 0.55rem;
}

.case-study-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mini-meta span {
    color: var(--orange-light);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
}

@media (max-width: 600px) {
    .quote-form-row { grid-template-columns: 1fr; }
    .quote-form-wrapper { padding: 1.5rem; }
}

/* —— 10. Footer —— */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1rem;
}

.footer-social a:hover {
    color: var(--orange);
}

/* —— Scroll Animations —— */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* —— Responsive —— */
@media (max-width: 980px) {
    .hero-lead {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .hero-local .hero-content {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-local .hero-buttons {
        justify-content: center;
    }

    .hero-frustration-visual {
        width: min(100%, 640px);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 23, 0.98);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }

    .nav-toggle { display: flex; }

    .hero-proof-grid,
    .pricing-grid-wide,
    .pricing-info-grid,
    .faq-list,
    .split-section {
        grid-template-columns: 1fr;
    }

    .proof-tile {
        min-height: auto;
    }

    .left-title,
    .split-buttons {
        text-align: center;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
