/*
Theme Name: Amelie Web Works
Theme URI: https://ameliewebworks.com
Author: Amelie-Sophie Gorbani
Author URI: https://ameliewebworks.com
Description: A clean, minimal custom theme for Amelie Web Works — a web design and development studio.
Version: 3.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amelie
*/

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-text: #374151;
    --color-heading: #111827;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: rgba(37, 99, 235, 0.08);
    --color-border: #e5e7eb;
    --color-muted: #6b7280;
    --color-white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', monospace;
    --max-width: 1200px;
    --header-height: 72px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p + p { margin-top: 1rem; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}

.site-header:hover {
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo__img {
    height: 36px;
    width: auto;
    display: block;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-nav a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
    color: var(--color-accent);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero h1 {
    font-size: 3.25rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn--outline {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.btn--outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.btn + .btn {
    margin-left: 1rem;
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ── Cards Grid ──────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 2rem;
}

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

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Portfolio Filters ───────────────────────────────────── */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.filter-pill:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: var(--color-bg);
}

.filter-pill--active {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.filter-pill--active:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
}

/* ── Case Study Cards ────────────────────────────────────── */
.case-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: transparent;
}

.case-card__image-wrap {
    position: relative;
    overflow: hidden;
}

.case-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--color-bg-alt);
    display: block;
    transition: transform 0.4s;
}

.case-card:hover .case-card__image {
    transform: scale(1.03);
}

.case-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
}

.case-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .case-card__overlay {
    opacity: 1;
}

.case-card__view {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.case-card__body {
    padding: 1.5rem;
    flex: 1;
}

.case-card__meta {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.case-card__body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    line-height: 1.4;
}

.case-card__body p {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.case-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    padding: 0.35rem 0.85rem;
    background: var(--color-bg-alt);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* ── Portfolio Empty State ──────────────────────────────── */
.portfolio-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--color-muted);
}

.portfolio-empty__icon {
    color: var(--color-border);
    margin-bottom: 1.5rem;
}

.portfolio-empty h3 {
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.portfolio-empty p {
    font-size: 0.95rem;
}

/* ── About Section ───────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-split__text h2 {
    margin-bottom: 1rem;
}

.about-split__text p {
    margin-bottom: 1rem;
}

.about-split__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-split__image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* ── Contact / CTA Banner ────────────────────────────────── */
.cta-banner {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, #111827 0%, #1e3a5f 50%, #1d4ed8 100%);
    color: var(--color-white);
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-banner .btn--primary {
    background: var(--color-white);
    color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn--primary:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── Contact Form ────────────────────────────────────────── */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--color-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ── Single Case Study ───────────────────────────────────── */
.single-case {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.single-case__meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
}

.single-case__meta-item {
    display: flex;
    flex-direction: column;
}

.single-case__meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    font-weight: 600;
}

.single-case__meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
}

.single-case .entry-content p {
    margin-bottom: 1rem;
}

.single-case .entry-content h2,
.single-case .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* ── Process Steps ────────────────────────────────────────── */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process__step {
    text-align: center;
    position: relative;
}

.process__number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.process__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent-light);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-accent);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process__step:hover .process__icon {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.process__step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process__step p {
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* ── Stats Row ───────────────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem 1rem;
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ── Testimonial ─────────────────────────────────────────── */
.testimonial {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__icon {
    color: var(--color-accent);
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.testimonial__text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-heading);
    font-style: italic;
    border: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial__author strong {
    color: var(--color-heading);
    font-size: 1rem;
}

.testimonial__author span {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* ── Icons ───────────────────────────────────────────────── */
.icon {
    vertical-align: middle;
    flex-shrink: 0;
}

.card__icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.btn .icon {
    margin-left: 0.35rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    padding: 4rem 0 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 0.95rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a {
    color: var(--color-muted);
    font-size: 0.85rem;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.8rem;
}

.site-footer a {
    color: var(--color-muted);
}

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

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
    padding-top: 0;
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.faq__item p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq__category {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.faq__category:first-child {
    margin-top: 0;
}

.faq__category h2 {
    font-size: 1.35rem;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

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

.pricing-card--featured {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.03) translateY(-4px);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.25rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-card__header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.pricing-card__desc {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card__amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.pricing-card__period {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.pricing-card__features {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-bg-alt);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features .icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.pricing-card__cta {
    margin-top: auto;
}

/* ── Contact Layout ─────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info__card {
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.contact-info__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-info__card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info__card p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 0;
}

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

select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.8rem;
    color: var(--color-muted);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.breadcrumbs a {
    color: var(--color-muted);
    transition: color 0.2s;
}

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

.breadcrumbs__sep {
    margin: 0 0.4rem;
    color: var(--color-border);
    font-weight: 400;
}

.breadcrumbs span:last-child {
    color: var(--color-heading);
    font-weight: 500;
}

/* ── Section Divider Line ───────────────────────────────── */
.section-header h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── Selection Color ────────────────────────────────────── */
::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-heading);
}

/* ── Scroll Animations ───────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .hero { padding: 5rem 0 3rem; }

    .grid--3 { grid-template-columns: 1fr; }
    .grid--2 { grid-template-columns: 1fr; }

    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .stat__number {
        font-size: 2rem;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .faq__item {
        padding: 1.25rem 0;
    }

    .site-nav ul {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.is-open ul {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .section { padding: 3rem 0; }

    .btn + .btn {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .hero .btn {
        display: block;
        text-align: center;
    }

    .single-case__meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .process {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 1.75rem;
    }
}

/* ── WordPress Core Alignment ────────────────────────────── */
.alignwide {
    max-width: calc(var(--max-width) + 4rem);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ── WordPress Block Editor ──────────────────────────────── */
.wp-block-image img {
    border-radius: 8px;
}

.wp-block-quote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-muted);
}

.wp-block-separator {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 3rem auto;
    max-width: 100px;
}

/* ── Legal Pages ────────────────────────────────────────── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 0.5rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

/* ── Footer Legal Links ─────────────────────────────────── */
.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.footer-legal a {
    color: var(--color-muted);
}

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

.footer-legal__sep {
    margin: 0 0.4rem;
    color: var(--color-muted);
}
