/*
Theme Name: Vet2Vet Talent
Theme URI: https://www.vet2vettalent.com
Author: Ben Glazebrook
Author URI: https://www.vet2vettalent.com
Description: A bespoke WordPress theme for Vet2Vet Talent — veterinary recruitment services. Optimised for SEO, performance, accessibility, and security. All content, colours, and fonts editable via the Customizer.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vet2vet
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options, accessibility-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   Colours and fonts are overridden dynamically
   by the Customizer via wp_head inline CSS.
   ============================================ */
:root {
    /* Primary palette */
    --v2v-teal-dark: #1B3B36;
    --v2v-teal: #2A5C54;
    --v2v-teal-light: #3A7D73;
    --v2v-sage: #8FB5A3;
    --v2v-cream: #FAF7F2;
    --v2v-warm-white: #FEFDFB;
    --v2v-gold: #C4963C;
    --v2v-gold-light: #DAB96E;
    --v2v-nav-bg: #357066;

    /* Neutrals */
    --v2v-charcoal: #2D2D2D;
    --v2v-grey-dark: #4A4A4A;
    --v2v-grey: #7A7A7A;
    --v2v-grey-light: #B8B8B8;
    --v2v-off-white: #F5F2ED;

    /* Typography — overridden by Customizer */
    --font-heading: 'DM Serif Display', 'Georgia', serif;
    --font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 900px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Focus ring — accessibility */
    --focus-ring: 0 0 0 3px var(--v2v-gold-light);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%; /* Respect user font-size prefs */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--v2v-charcoal);
    background-color: var(--v2v-warm-white);
    overflow-x: hidden;
}

/* Reduced motion — accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .v2v-reveal { opacity: 1; transform: none; }
    .fade-in-up { opacity: 1; transform: none; animation: none; }
}

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

a {
    color: var(--v2v-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
    color: var(--v2v-gold);
}

/* Global focus-visible — accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--v2v-teal-dark);
}

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

/* ============================================
   SKIP LINK — accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--v2v-gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.v2v-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.v2v-container--narrow {
    max-width: var(--container-narrow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: var(--v2v-teal-dark);
    padding: var(--space-md) 0;
    position: relative;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.site-header__logo img,
.site-header__logo svg {
    height: 100px;
    width: auto;
}

.site-header__logo a {
    display: inline-block;
}

.site-header__contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-header__contact a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: color 0.3s ease;
}

.site-header__contact a:hover,
.site-header__contact a:focus-visible {
    color: var(--v2v-gold-light);
}

.site-header__contact svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.site-nav {
    background-color: var(--v2v-nav-bg);
    position: relative;
    z-index: 99;
}

.site-nav .v2v-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu list */
.site-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.site-nav__list li {
    position: relative;
}

.site-nav__list li a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.site-nav__list li a:hover,
.site-nav__list li a:focus-visible,
.site-nav__list li.current-menu-item > a,
.site-nav__list li.current_page_item > a {
    color: var(--v2v-gold-light);
    background-color: rgba(0, 0, 0, 0.15);
}

/* Dropdown (depth 2) */
.site-nav__list li ul {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--v2v-teal-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 0.5rem 0;
    z-index: 100;
}

.site-nav__list li:hover > ul,
.site-nav__list li:focus-within > ul {
    display: block;
}

.site-nav__list li ul li a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-transform: none;
}

/* Hamburger toggle — hidden on desktop */
.site-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    margin: 0.25rem 0;
}

.site-nav__toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when open */
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-color: var(--v2v-teal-dark);
    padding: var(--space-2xl) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--v2v-cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero__content { color: white; }

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.hero__title span {
    display: block;
    color: var(--v2v-gold-light);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.65em;
    margin-top: 0.3em;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 520px;
}

.hero__image {
    position: relative;
    z-index: 1;
}

.hero__image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--v2v-gold);
}

/* ============================================
   SECTION DEFAULTS
   ============================================ */
.v2v-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.v2v-section--cream { background-color: var(--v2v-cream); }

.v2v-section--teal {
    background-color: var(--v2v-teal-dark);
    color: white;
}

.v2v-section--teal h2,
.v2v-section--teal h3 { color: white; }

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--v2v-gold);
    margin-top: 0.6em;
    border-radius: 2px;
}

.section-heading--center { text-align: center; }
.section-heading--center::after { margin-left: auto; margin-right: auto; }

/* ============================================
   SERVICE SECTION
   ============================================ */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.service-block:last-child { margin-bottom: 0; }

.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }

.service-block__content {
    font-size: 1.05rem;
    color: var(--v2v-grey-dark);
    line-height: 1.8;
}

.service-block__subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--v2v-teal-dark);
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.service-block__subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--v2v-gold);
    margin-top: 0.5em;
    border-radius: 2px;
}

.service-block__image { position: relative; }

.service-block__image img {
    border-radius: var(--border-radius-lg);
    width: 100%;
    object-fit: cover;
}

.service-block__image--illustration { padding: var(--space-lg); }

.service-block__image--illustration img {
    border-radius: 0;
    max-width: 380px;
    margin: 0 auto;
}

/* Decorative dot pattern */
.service-block__image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--v2v-sage) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.5;
    z-index: -1;
}

.service-block:nth-child(odd) .service-block__image::after { bottom: -20px; right: -20px; }
.service-block:nth-child(even) .service-block__image::after { top: -20px; left: -20px; }

/* ============================================
   MEET WENDY / ABOUT SECTION
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-bottom: var(--space-2xl);
}

.about-portrait { position: relative; }

.about-portrait img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(27, 59, 54, 0.15);
    border: 3px solid var(--v2v-teal-light);
}

.about-bio {
    font-size: 1.05rem;
    color: var(--v2v-grey-dark);
    line-height: 1.8;
}

.about-bio p { margin-bottom: 1.5em; }

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.about-highlight {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.about-highlight__icon { flex-shrink: 0; width: 150px; }
.about-highlight__icon img { width: 100%; }

.about-highlight__text {
    font-size: 1rem;
    color: var(--v2v-grey-dark);
    line-height: 1.7;
}

.about-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    align-items: start;
}

.about-bottom-grid__item img {
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.about-bottom-grid__caption {
    font-size: 1rem;
    color: var(--v2v-grey-dark);
    line-height: 1.7;
    margin-top: var(--space-md);
}

/* Centred featured image + caption */
.about-featured {
    margin-top: var(--space-xl);
    text-align: center;
}

.about-featured__image {
    max-width: 600px;
    margin: 0 auto;
}

.about-featured__image img {
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.about-featured__caption {
    max-width: 700px;
    margin: var(--space-md) auto 0;
    font-size: 1.05rem;
    color: var(--v2v-grey-dark);
    line-height: 1.8;
    text-align: center;
}

/* ============================================
   VALUES / PILLARS
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.value-card__icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.8em;
    color: var(--v2v-gold-light);
}

.value-card__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

/* Single testimonial — centred */
.testimonials-grid:has(> :last-child:first-child) {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-card__quote-icon {
    color: var(--v2v-gold);
    opacity: 0.6;
    margin-bottom: var(--space-sm);
}

.testimonial-card__text {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    font-style: normal;
}

.testimonial-card__name {
    color: var(--v2v-gold-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    font-style: normal;
}

.testimonial-card__role {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
}

/* ============================================
   CONTACT / GET IN TOUCH
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, var(--v2v-teal-dark) 0%, var(--v2v-teal) 100%);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--v2v-cream);
    clip-path: ellipse(55% 100% at 50% 0%);
}

.contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-inner .section-heading { color: white; }
.contact-inner .section-heading::after { margin-left: auto; margin-right: auto; }

.contact-details { margin: var(--space-xl) 0; }

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus-visible { color: var(--v2v-gold-light); }
.contact-link svg { width: 24px; height: 24px; flex-shrink: 0; }

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background: var(--v2v-gold);
    border-color: var(--v2v-gold);
    transform: translateY(-3px);
}

.social-links svg { width: 22px; height: 22px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #152E2A;
    color: rgba(255, 255, 255, 0.5);
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 0.9375rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible { color: var(--v2v-gold-light); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-sm);
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignleft { float: left; margin-right: var(--space-md); margin-bottom: var(--space-sm); }
.alignright { float: right; margin-left: var(--space-md); margin-bottom: var(--space-sm); }
.aligncenter { display: block; margin: var(--space-md) auto; }

body.admin-bar .site-header { margin-top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .site-header { margin-top: 46px; }
}

/* Contact form styling (CF7 / WPForms) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: var(--space-sm);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-form input:focus,
.wpforms-form textarea:focus {
    outline: none;
    border-color: var(--v2v-gold);
}

.wpcf7-submit,
.wpforms-submit {
    background: var(--v2v-gold);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover,
.wpforms-submit:hover {
    background: var(--v2v-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 150, 60, 0.3);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.v2v-breadcrumbs {
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--v2v-grey);
}

.v2v-breadcrumbs a {
    color: var(--v2v-teal);
}

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

.v2v-breadcrumbs p {
    margin: 0;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-content { padding: var(--space-3xl) 0; }

.page-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
}

.page-content h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--v2v-gold);
    margin-top: 0.6em;
    border-radius: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.fade-in-up--delay-1 { animation-delay: 0.15s; }
.fade-in-up--delay-2 { animation-delay: 0.3s; }
.fade-in-up--delay-3 { animation-delay: 0.45s; }

.v2v-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    /* Mobile nav */
    .site-nav .v2v-container {
        flex-direction: column;
    }

    .site-nav__toggle {
        display: block;
        align-self: center;
    }

    .site-nav__list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-bottom: 0.5rem;
    }

    .site-nav__list.is-open {
        display: flex;
    }

    .site-nav__list li a {
        text-align: center;
        padding: 0.875rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav__list li ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.1);
    }

    .site-nav__list li ul li a {
        padding-left: 2.5rem;
    }

    .site-nav__list li:hover > ul,
    .site-nav__list li:focus-within > ul {
        display: block;
    }

    .hero__inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-lg); }
    .hero__subtitle { margin: 0 auto; }
    .hero__image { max-width: 500px; margin: 0 auto; }
    .service-block { grid-template-columns: 1fr; gap: var(--space-lg); }
    .service-block--reverse { direction: ltr; }
    .service-block__image--illustration img { max-width: 280px; }
    .about-intro { grid-template-columns: 1fr; text-align: center; }
    .about-portrait { max-width: 300px; margin: 0 auto; }
    .about-bottom-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --space-2xl: 4rem; --space-3xl: 5rem; }
    .site-header__inner { justify-content: center; text-align: center; }
    .site-header__contact { flex-direction: column; gap: var(--space-xs); }
    .hero__title { font-size: 2.2rem; }
    .section-heading { font-size: 1.8rem; }
    .footer-links { flex-direction: column; gap: var(--space-sm); }
}
