/* ===========================================
   VerplaatsPro Den Haag — Theme Styles
   Mobile-first, BEM naming, CSS custom properties
   =========================================== */

/* -------------------------------------------
   1. Custom Properties
   ------------------------------------------- */
:root {
    --color-navy: #1A1F3D;
    --color-slate: #4A5568;
    --color-ice: #F7FAFC;
    --color-light-gray: #EDF2F7;
    --color-graphite: #2D3748;
    --color-mist: #CBD5E0;
    --color-accent: #ED8936;
    --color-accent-hover: #DD6B20;
    --color-white: #FFFFFF;
    --color-success: #38A169;
    --color-error: #E53E3E;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --header-height: 72px;
    --transition-base: 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-graphite);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0.5rem;
    color: var(--color-white);
}

/* -------------------------------------------
   3. Typography
   ------------------------------------------- */
h1, h2, h3, h4, h5 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-slate);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.section {
    padding: 3.5rem 0;
}

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

.section--navy {
    background: var(--color-navy);
    color: var(--color-ice);
}

.section--navy h2,
.section--navy h3 {
    color: var(--color-white);
}

.section--navy .section-subtitle {
    color: var(--color-mist);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

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

/* -------------------------------------------
   5. Buttons
   ------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1.2;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

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

.btn--outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* -------------------------------------------
   6. Header
   ------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--color-light-gray);
}

.header--scrolled {
    box-shadow: var(--shadow-md);
    height: 60px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header__logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.header__logo:hover {
    color: var(--color-navy);
}

.header__logo span {
    color: var(--color-accent);
}

/* Navigation */
.nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    padding: 2rem 1.25rem;
    overflow-y: auto;
    z-index: 999;
}

.nav--open {
    display: block;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav__item {
    border-bottom: 1px solid var(--color-light-gray);
}

.nav__link {
    display: block;
    padding: 1rem 0;
    color: var(--color-graphite);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
}

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

.header__cta {
    display: none;
}

/* Menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Site body offset for fixed header */
.site-body {
    padding-top: var(--header-height);
}

/* -------------------------------------------
   7. Footer
   ------------------------------------------- */
.footer {
    background: var(--color-navy);
    color: var(--color-mist);
    padding: 3rem 0 0;
}

.footer a {
    color: var(--color-mist);
    transition: color var(--transition-base);
}

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

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__heading {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__list li a {
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.35rem 0;
}

.footer__contact-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    fill: var(--color-accent);
}

.footer__col {
    min-width: 0;
}

.footer__bottom {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-slate);
}

.footer__bottom a {
    color: var(--color-slate);
}

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

.footer__cookie-link {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-slate);
    font-size: 0.8rem;
    font-family: inherit;
    text-decoration: underline;
    padding: 0;
}

.footer__cookie-link:hover {
    color: var(--color-accent);
}

/* -------------------------------------------
   8. Cookie Banner & Modal
   ------------------------------------------- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem 0;
}

.cookie-banner--visible {
    display: block;
}

.cookie-banner__text {
    font-size: 0.9rem;
    color: var(--color-graphite);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cookie-banner__text a {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-banner__btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.cookie-banner__btn--accept {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.cookie-banner__btn--accept:hover {
    background: var(--color-accent-hover);
}

.cookie-banner__btn--reject {
    background: var(--color-light-gray);
    color: var(--color-graphite);
    border-color: var(--color-light-gray);
}

.cookie-banner__btn--reject:hover {
    background: var(--color-mist);
}

.cookie-banner__btn--prefs {
    background: transparent;
    color: var(--color-slate);
    text-decoration: underline;
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* Cookie Preferences Modal */
.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal--visible {
    display: flex;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-modal__content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 480px;
    width: calc(100% - 2rem);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.cookie-modal__title {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.cookie-modal__group {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.cookie-modal__group:last-of-type {
    border-bottom: none;
}

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

.cookie-modal__group-name {
    font-weight: 600;
    color: var(--color-navy);
}

.cookie-modal__group-desc {
    font-size: 0.85rem;
    color: var(--color-slate);
    margin-top: 0.25rem;
}

/* Toggle switch */
.toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.toggle__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--color-mist);
    border-radius: 24px;
    transition: background var(--transition-base);
}

.toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.toggle input:checked + .toggle__slider {
    background: var(--color-accent);
}

.toggle input:checked + .toggle__slider::before {
    transform: translateX(20px);
}

.toggle input:disabled + .toggle__slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal__save {
    margin-top: 1.5rem;
    width: 100%;
}

/* -------------------------------------------
   9. Hero
   ------------------------------------------- */
.hero {
    position: relative;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 0 3.5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

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

.hero__title {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-mist);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.hero__area {
    font-size: 0.85rem;
    color: var(--color-mist);
}

.hero__area strong {
    color: var(--color-white);
}

/* -------------------------------------------
   10. Trust Bar
   ------------------------------------------- */
.trust-bar {
    background: var(--color-light-gray);
    padding: 2rem 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 480px) {
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-bar__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.trust-bar__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-bar__icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.trust-bar__label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
    line-height: 1.3;
}

.trust-bar__desc {
    font-size: 0.8rem;
    color: var(--color-slate);
    margin-top: 0.15rem;
}

/* -------------------------------------------
   11. Service Card
   ------------------------------------------- */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-light-gray);
}

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

.service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-light-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

.service-card__title {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.service-card__text {
    font-size: 0.9rem;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.service-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card__link:hover {
    gap: 0.5rem;
}

.service-card__link::after {
    content: '\2192';
}

/* -------------------------------------------
   12. Why Choose Us / USP
   ------------------------------------------- */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.usp-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.usp-item__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.usp-item__title {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.usp-item__text {
    font-size: 0.9rem;
    color: var(--color-slate);
}

/* -------------------------------------------
   13. Sectors
   ------------------------------------------- */
.sector-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--color-light-gray);
}

.sector-card__title {
    font-size: 1.05rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.sector-card__text {
    font-size: 0.9rem;
    color: var(--color-slate);
}

/* -------------------------------------------
   14. Timeline / How It Works
   ------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-mist);
}

.timeline__step {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline__step:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -1.6rem;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
}

.timeline__title {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.timeline__text {
    font-size: 0.9rem;
    color: var(--color-slate);
}

/* -------------------------------------------
   15. Testimonial Card
   ------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-light-gray);
}

.testimonial-card__quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-graphite);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.testimonial-card__quote::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--color-accent);
    line-height: 0;
    vertical-align: -0.5rem;
    margin-right: 0.15rem;
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--color-slate);
}

/* -------------------------------------------
   16. Pricing Card
   ------------------------------------------- */
.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-light-gray);
    display: flex;
    flex-direction: column;
}

.pricing-card--featured {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: 0.75rem;
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card__title {
    font-size: 1.05rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.pricing-card__price-note {
    font-size: 0.8rem;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.pricing-card__features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--color-graphite);
}

.pricing-card__feature::before {
    content: '\2713';
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* -------------------------------------------
   17. FAQ Accordion
   ------------------------------------------- */
.faq-group {
    margin-bottom: 2rem;
}

.faq-group__title {
    font-size: 1.15rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-light-gray);
}

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

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    gap: 1rem;
    font-family: inherit;
}

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

.faq-item__question:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(180deg);
}

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

.faq-item__answer-inner {
    padding: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* -------------------------------------------
   18. Contact Form
   ------------------------------------------- */
.contact-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-light-gray);
}

.contact-form__title {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.contact-form__intro {
    font-size: 0.9rem;
    color: var(--color-slate);
    margin-bottom: 1.5rem;
}

.field {
    margin-bottom: 1.25rem;
}

.field__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.35rem;
}

.field__label .required {
    color: var(--color-error);
}

.field__input,
.field__select,
.field__textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-mist);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--color-graphite);
    background: var(--color-white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.15);
}

.field--invalid .field__input,
.field--invalid .field__select,
.field--invalid .field__textarea {
    border-color: var(--color-error);
}

.field__error {
    display: none;
    font-size: 0.8rem;
    color: var(--color-error);
    margin-top: 0.25rem;
}

.field--invalid .field__error {
    display: block;
}

.field__textarea {
    min-height: 120px;
    resize: vertical;
}

.field__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Checkbox field */
.field--checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.field--checkbox .field__input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    accent-color: var(--color-accent);
}

.field--checkbox .field__label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-slate);
}

.form__disclosure {
    font-size: 0.8rem;
    color: var(--color-slate);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form__submit-btn {
    width: 100%;
}

.form__submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form states */
.form-success,
.form-error {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.form-success {
    background: #f0fff4;
    border: 1px solid var(--color-success);
    color: #276749;
}

.form-success__title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.form-error {
    background: #fff5f5;
    border: 1px solid var(--color-error);
    color: #c53030;
    margin-bottom: 1rem;
}

.form-success--hidden,
.form-error--hidden {
    display: none;
}

/* -------------------------------------------
   19. Map Embed
   ------------------------------------------- */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-light-gray);
    margin-top: 1.5rem;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

/* -------------------------------------------
   20. CTA Section
   ------------------------------------------- */
.cta-section {
    background: var(--color-navy);
    padding: 3.5rem 0;
    text-align: center;
}

.cta-section__title {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-section__text {
    color: var(--color-mist);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* -------------------------------------------
   21. Page Intro
   ------------------------------------------- */
.page-intro {
    background: var(--color-light-gray);
    padding: 3rem 0;
    text-align: center;
}

.page-intro__title {
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.page-intro__text {
    color: var(--color-slate);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* -------------------------------------------
   22. Contact Info
   ------------------------------------------- */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info__item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
    margin-top: 2px;
}

.contact-info__label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.contact-info__value {
    font-size: 0.9rem;
    color: var(--color-graphite);
}

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

/* Contact page layout */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* -------------------------------------------
   23. Service Detail Block (Services page)
   ------------------------------------------- */
.service-detail {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail__header {
    margin-bottom: 1.5rem;
}

.service-detail__title {
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.service-detail__subtitle {
    font-size: 0.95rem;
    color: var(--color-slate);
}

.service-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-detail__block h4 {
    font-size: 0.95rem;
    color: var(--color-navy);
    margin-bottom: 0.35rem;
}

.service-detail__block p,
.service-detail__block ul {
    font-size: 0.9rem;
    color: var(--color-slate);
}

.service-detail__block ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.service-detail__block ul li {
    margin-bottom: 0.25rem;
}

/* -------------------------------------------
   24. Legal Page Content
   ------------------------------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

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

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--color-graphite);
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style: disc;
    margin-bottom: 1rem;
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--color-graphite);
    margin-bottom: 0.35rem;
    line-height: 1.6;
}

.legal-content .effective-date {
    font-size: 0.85rem;
    color: var(--color-slate);
    font-style: italic;
    margin-bottom: 2rem;
}

/* -------------------------------------------
   25. Pricing Factors & Extras
   ------------------------------------------- */
.pricing-factors {
    background: var(--color-light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.pricing-factors__title {
    font-size: 1.15rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.pricing-factors__list {
    list-style: disc;
    padding-left: 1.5rem;
}

.pricing-factors__list li {
    font-size: 0.9rem;
    color: var(--color-graphite);
    margin-bottom: 0.35rem;
}

.pricing-note {
    background: #fffaf0;
    border-left: 4px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--color-graphite);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* -------------------------------------------
   26. Reveal Animations
   ------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* -------------------------------------------
   26b. Mobile-specific overrides
   ------------------------------------------- */
@media (max-width: 767px) {
    .contact-form {
        padding: 1.25rem;
    }
}

/* -------------------------------------------
   27. Responsive — Tablet (768px+)
   ------------------------------------------- */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .section { padding: 5rem 0; }

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

    .hero { padding: 5rem 0 4.5rem; }
    .hero__title { font-size: 2.5rem; }
    .hero__actions { flex-direction: row; }
    .hero__actions .btn { width: auto; }

    .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }

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

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

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

    .footer__bottom {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .cookie-banner__actions {
        flex-direction: row;
        justify-content: flex-end;
    }

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

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

    .map-embed iframe { height: 350px; }
}

/* -------------------------------------------
   28. Responsive — Desktop (1024px+)
   ------------------------------------------- */
@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }

    .container { padding: 0 2rem; }

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

    .hero { padding: 6rem 0 5.5rem; }
    .hero__title { font-size: 3rem; }

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

    /* Header — desktop nav */
    .menu-toggle { display: none; }

    .nav {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .nav__item { border-bottom: none; }

    .nav__link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .header__cta { display: inline-flex; }

    /* Footer */
    .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* -------------------------------------------
   27b. Entry Content (fallback templates)
   ------------------------------------------- */
.entry-content {
    max-width: 800px;
}

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

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.35rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.5rem;
}

.entry-content img {
    margin-bottom: 1rem;
}

/* Post summary (blog index) */
.post-summary {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: 1.5rem;
}

.post-summary:last-child {
    border-bottom: none;
}

.post-summary h2 {
    margin-bottom: 0.5rem;
}

/* -------------------------------------------
   27c. Fixes & Utilities
   ------------------------------------------- */

/* Checkbox error below label, not inline */
.field--checkbox {
    flex-wrap: wrap;
}

.field--checkbox .field__error {
    flex-basis: 100%;
    padding-left: calc(18px + 0.75rem);
}

/* Remove trailing margin on last service-card text */
.service-card .service-card__text:last-child {
    margin-bottom: 0;
}

/* Service detail CTA wrapper */
.service-detail__cta {
    margin-top: 1.5rem;
}

/* Narrow container modifier */
.container--narrow {
    max-width: 800px;
}

/* Section CTA spacing */
.section__cta {
    margin-top: 2rem;
}

/* -------------------------------------------
   29. Reduced Motion
   ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* -------------------------------------------
   30. Focus Styles
   ------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}
