/* The Dominion Strategies — inspired by professional policy/consulting sites */

:root {
    --color-primary: #0b2b5c;
    --color-bg: #FFFFFF;
    --color-bg-alt: #E8F4F8;
    --color-bg-muted: #F5F5F5;
    --color-bg-dark: #0b2b5c;
    --color-text: #1a4d6d;
    --color-text-light: #5a7a8a;
    --color-text-inverse: #FFFFFF;
    --color-accent: #0b2b5c;
    --color-accent-dark: #009688;
    --color-border: #c5dde8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 100px;
    --hero-image-max-width: 1600px;
    --transition: 0.3s ease;
    --container: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.lead {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 640px;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.section-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    /*background: var(--color-accent);*/
    margin-top: 0.75rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    display: block;
    height: 60px;
    width: auto;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
	border: 1px solid #f0efed;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-primary);
    position: relative;
    padding: 4px 0;
	font-weight:600;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: var(--color-text-inverse);
    overflow: hidden;
}

.hero-visual {
    position: relative;
    min-height: 0;
    height: auto;
    display: block;
    margin-top: var(--header-height);
    overflow: hidden;
    background: var(--color-bg-muted);
}

.hero-visual .hero-bg {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: auto;
    display: block;
    line-height: 0;
}

.hero-visual .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-visual .hero-city-labels {
    display: none;
}

.hero-visual .hero-global-image,
.hero-visual .hero-bg img {
    width: 100%;
    max-width: var(--hero-image-max-width);
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center top;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gallery.page-hero .hero-bg img {
	object-position: center top;
}

.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-global {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-city-labels {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 16px;
    z-index: 2;
    pointer-events: none;
}

.hero-city-labels span {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero-overlay {
    position: absolute;
    inset: 0;
	background: linear-gradient(to bottom, rgb(182 182 182 / 10%) 0%, rgb(84 82 82 / 75%) 25%, rgb(220 215 215 / 64%) 57%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 0 24px 56px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero h1 em {
    font-style: italic;
    display: block;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* Homepage opening — headline below hero image */
.home-opening {
    padding-top: 72px;
    padding-bottom: 80px;
}

.home-opening-head {
    max-width:100%;
    margin-bottom: 72px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--color-border);
	text-align:center;
}

.home-opening-head h1 {
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.home-opening-lead {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width:100%;
}

.home-opening-body {
    margin-top: 0;
}

.scroll-indicator {
    display: none;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-dark {
    background: var(--color-primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--color-accent-dark);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.section-dark .lead {
    color: var(--color-text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label::after {
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .lead {
    margin: 0 auto;
}

/* Two-column layout */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

.split-image {
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.split-content h2 {
    margin-bottom: 1.5rem;
}

.split-content p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.section-dark .split-content p {
    color: var(--color-text-light);
}

.approach-block {
    margin-top: 80px;
    padding: 48px 56px;
    background: #fff;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.approach-block .section-label {
    margin-bottom: 1.25rem;
}

.approach-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    line-height: 1.7;
    color: var(--color-text);
    max-width: 820px;
    margin: 0;
}

/* Services page */
.services-intro {
    max-width: 780px;
    margin: 0 auto 80px;
    text-align: center;
}

.services-intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    line-height: 1.75;
    color: var(--color-text);
    margin: 0;
}

.service-blocks {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-block {
    align-items: center;
}

.service-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.section-dark .service-number {
    color: var(--color-accent);
}

.service-block h2 {
    margin-bottom: 1.25rem;
}

.service-block p {
    font-size: 1rem;
    line-height: 1.8;
}

.section-dark .service-block p {
    color: var(--color-text-light);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
}

.services-grid-note {
	font-style:italic;
	text-align:center;
	padding-top:50px;
}

.service-item {
    padding: 40px 32px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.service-item:nth-child(3n) {
    border-right: none;
}

.service-item:hover {
    background: #fff;
}

.service-item h4 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
    color: var(--color-text-inverse);
    overflow: hidden;
}

.page-hero .hero-bg,
.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
}

/* About team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    display: block;
    text-align: center;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card-photo {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.team-card-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    /*transition: transform 0.5s ease;*/
	/*filter: grayscale(100%);*/
    transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card:hover .team-card-photo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}



.team-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 182, 0.78);
    opacity: 0;
    transition: opacity var(--transition);
}

.team-card:hover .team-card-overlay,
.team-card:focus-visible .team-card-overlay {
    opacity: 1;
}

.team-card-cta {
    padding: 12px 24px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.team-card:hover .team-card-cta {
    background: #fff;
    color: var(--color-primary);
}

.team-card h3 {
    margin-bottom: 0.25rem;
    transition: color var(--transition);
}

.team-card:hover h3 {
    color: var(--color-accent);
}

.section-dark .team-card:hover h3 {
    color: var(--color-primary);
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-dark .team-card .role {
    color: var(--color-text-light);
}

.team-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Team profile page */
.team-profile-hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 0;
}

.team-back-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    transition: color var(--transition);
}

.team-back-link:hover {
    color: var(--color-accent);
}

.team-profile {
    padding-top: 0;
}

.team-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.team-profile-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-profile-role {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.team-profile-teaser {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.team-profile-bio p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
}

.team-profile-highlights {
    margin-top: 2rem;
    padding: 32px;
    background: var(--color-bg);
    border-left: 3px solid var(--color-accent);
}

.team-profile-highlights h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.team-profile-highlights ul {
    list-style: none;
}

.team-profile-highlights li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.team-profile-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-member .role {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Under construction */
.under-construction {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-inverse);
    overflow: hidden;
}

.under-construction-bg {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: block;
    line-height: 0;
    background: var(--color-bg-muted);
}

.under-construction-bg img,
.under-construction-bg .hero-global-image {
    width: 100%;
    max-width: var(--hero-image-max-width);
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center top;
}

.under-construction-visual .under-construction-overlay,
.under-construction-visual .hero-city-labels {
    display: none;
}

.under-construction-visual {
    min-height: 0;
    height: auto;
    display: block;
    margin-top: var(--header-height);
    text-align: center;
    color: var(--color-text);
    overflow: visible;
}

.under-construction-visual .under-construction-content {
    position: relative;
    z-index: 2;
    padding: 48px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-text);
}

.under-construction-visual .under-construction-content .lead {
    color: var(--color-text-light);
}

.under-construction-visual .under-construction-content .section-label {
    color: var(--color-accent) !important;
}

.under-construction-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(26, 26, 26, 0.82) 100%
    );
}

.under-construction-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    padding: calc(var(--header-height) + 60px) 24px 80px;
    max-width: 720px;
}

.under-construction-content h1 {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.under-construction-content h1 em {
    font-style: italic;
    display: block;
}

.under-construction-content .lead {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.under-construction-content .btn {
    position: relative;
    z-index: 3;
    cursor: pointer;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.large img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Clients */
.clients-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    min-height: 120px;
    transition: box-shadow var(--transition);
}

.client-logo:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.client-logo img {
    max-height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.testimonials {
    margin-top: 80px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial {
    padding: 40px;
    background: #fff;
    border-left: 3px solid var(--color-accent);
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.testimonial cite strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 2px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    background: #fff;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--color-border);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.contact-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--color-text-light);
}

.contact-detail p {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-detail a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.contact-detail a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.contact-form {
    background: #fff;
    padding: 48px;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.map-placeholder {
    margin-top: 80px;
    height: 400px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA band */
.cta-band {
    padding: 80px 0;
    text-align: center;
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.cta-band h2 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.cta-band p {
    margin-bottom: 2rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn {
    background: var(--color-accent);
    color: #fff;
}

.cta-band .btn:hover {
    background: var(--color-accent-dark);
}

/* Footer */
.site-footer {
    background: var(--color-bg-muted);
    color: var(--color-text-light);
    padding-top: 56px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 64px;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 420px;
}

.footer-brand .logo-image {
    height: 110px;
    max-height: 110px;
}

.footer-brand .logo-text {
    color: var(--color-primary);
}

.footer-tagline {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.footer-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-email {
    font-size: 0.95rem;
    color: var(--color-accent);
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.footer-email:hover {
    color: var(--color-accent-dark);
    border-bottom-color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    text-align: center;
    color: var(--color-text-light);
}

.site-header .logo-image {
    max-height: 70px;
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 60px 0;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 1024px) {
    .split-section,
    .contact-grid,
    .team-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-section.reverse {
        direction: ltr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item:nth-child(3n) {
        border-right: 1px solid var(--color-border);
    }

    .service-item:nth-child(2n) {
        border-right: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-end {
        align-items: center;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid,
    .gallery-grid,
    .team-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .contact-detail {
        padding: 20px;
        gap: 16px;
    }

    .contact-detail-icon {
        width: 44px;
        height: 44px;
    }

    .approach-block {
        margin-top: 48px;
        padding: 32px 28px;
    }

    .hero-city-labels {
        bottom: 16px;
        padding: 0 8px;
        gap: 4px;
    }

    .hero-city-labels span {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    .home-opening {
        padding-top: 48px;
        padding-bottom: 60px;
    }

    .home-opening-head {
        margin-bottom: 48px;
        padding-bottom: 40px;
    }

    .section {
        padding: 60px 0;
    }
}
