/* EJM Refrigeration — Main Stylesheet */
:root {
    --navy-950: #040b14;
    --navy-900: #0a1628;
    --navy-800: #0f2744;
    --navy-700: #16365c;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-glow: rgba(34, 211, 238, 0.35);
    --orange-500: #f97316;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
    --header-h: 80px;
    --emergency-h: 40px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan-400); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy-900); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Emergency bar */
.emergency-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    background: linear-gradient(90deg, #7f1d1d, #b91c1c);
    color: white;
    font-size: 0.875rem;
    height: var(--emergency-h);
    display: flex;
    align-items: center;
}
.emergency-bar__inner { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.emergency-bar a { color: white; font-weight: 700; font-size: 1rem; }
.emergency-bar a:hover { color: #fecaca; }
.emergency-bar__sep { opacity: 0.5; }
.emergency-bar__pulse {
    width: 8px; height: 8px;
    background: #fca5a5;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Header */
.site-header {
    position: fixed;
    top: var(--emergency-h);
    left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(10, 22, 40, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img { height: 52px; width: auto; filter: brightness(1.1); }
.main-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.main-nav > ul > li > a {
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 0.85rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 8px;
}
.main-nav > ul > li > a:hover { color: white; background: rgba(255,255,255,0.08); }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 240px;
    background: var(--navy-900);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    list-style: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    font-size: 0.875rem;
}
.dropdown a:hover { background: rgba(255,255,255,0.08); color: white; }

.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: white;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn--primary {
    background: linear-gradient(135deg, var(--cyan-500), #0891b2);
    color: white;
    box-shadow: 0 4px 20px var(--cyan-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
    color: white;
}
.btn--ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); color: white; }
.btn--outline {
    background: transparent;
    color: var(--navy-800);
    border-color: var(--gray-200);
}
.btn--outline:hover { border-color: var(--cyan-500); color: var(--cyan-500); }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn--lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + var(--emergency-h));
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(4,11,20,0.88) 0%, rgba(15,39,68,0.75) 50%, rgba(4,11,20,0.85) 100%);
}
.hero__mesh {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(34,211,238,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 40%);
    animation: meshMove 12s ease-in-out infinite alternate;
}
@keyframes meshMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, 2%); }
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: white;
}
.hero__content h1 { color: white; margin-bottom: 1.25rem; }
.hero__content h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--cyan-400), #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__lead { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + var(--emergency-h) + 4rem) 0 4rem;
    background: var(--navy-900);
    color: white;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--hero-img, none);
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.7), var(--navy-900));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; }
.page-hero--short { padding-bottom: 3rem; }
.page-hero__sub { opacity: 0.85; font-size: 1.125rem; margin-top: 0.75rem; max-width: 600px; }
.page-hero__date { display: block; margin-top: 0.5rem; opacity: 0.7; }

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    opacity: 0.8;
    color: rgba(255,255,255,0.85);
}
.article-meta__sep { opacity: 0.5; }

.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}
.share-bar__label { font-weight: 600; font-size: 0.875rem; margin-right: 0.25rem; }
.share-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    color: var(--gray-800);
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.share-bar__btn:hover { border-color: var(--cyan-500); color: var(--cyan-500); }
.share-bar__btn.copied { border-color: #22c55e; color: #16a34a; }

.article-nav {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
}
.article-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.article-nav__link {
    display: block;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: white;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.article-nav__link:hover { border-color: var(--cyan-500); box-shadow: var(--shadow); color: inherit; }
.article-nav__link--next { text-align: right; }
.article-nav__label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan-500); margin-bottom: 0.35rem; }
.article-nav__title { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.4; }

.search-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 0.85rem 1rem;
    font-size: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
}
.search-form input:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px var(--cyan-glow); }
.search-results-count { color: var(--gray-600); margin-bottom: 1.5rem; }
.search-results { list-style: none; }
.search-result {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.search-result h2 { font-size: 1.125rem; margin: 0.35rem 0; }
.search-result p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }
.search-result__type {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan-500);
}
.quick-links { margin-top: 2rem; }
.quick-links h2 { font-size: 1.25rem; margin-bottom: 1rem; }

.nav-search {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border-radius: 8px;
}
.nav-search:hover { background: rgba(255,255,255,0.1); }

.scroll-top {
    position: fixed;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    z-index: 998;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--navy-800);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.scroll-top:hover { background: var(--cyan-500); transform: translateY(-2px); }
.scroll-top.visible { display: flex; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (min-width: 769px) {
    .scroll-top { bottom: 2rem; }
}

@media (max-width: 768px) {
    .article-nav__inner { grid-template-columns: 1fr; }
    .article-nav__link--next { text-align: left; }
    .search-form { flex-direction: column; }
    .search-form .btn { width: 100%; min-height: 48px; }
    .share-bar { gap: 0.4rem; }
    .share-bar__btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }
}

.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan-500);
    margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--cyan-400); }

/* Stats */
.stats-bar {
    background: var(--navy-900);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--cyan-400);
    line-height: 1;
}
.stat__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}

/* Sections */
.section { padding: 5rem 0; }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,0.9); }
.section--dark h2, .section--dark h3 { color: white; }
.section--accent { background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--gray-600); margin-top: 0.75rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
    display: block;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan-500);
    color: inherit;
}
.service-card__icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(34,211,238,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--cyan-500);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h2, .service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--gray-600); font-size: 0.9375rem; }
.service-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--cyan-500);
    font-size: 0.875rem;
}
.service-card--large {
    padding: 0;
    overflow: hidden;
}
.service-card--large .service-card__img { height: 200px; overflow: hidden; }
.service-card--large .service-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card--large:hover .service-card__img img { transform: scale(1.05); }
.service-card--large .service-card__body { padding: 1.75rem; }

.project-card, .news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.project-card:hover, .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.project-card a, .news-card a { color: inherit; text-decoration: none; display: block; }
.project-card__img, .news-card__img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}
.project-card__img img, .news-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover img, .news-card:hover img { transform: scale(1.06); }
.project-card__badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--cyan-500);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
}
.project-card__body, .news-card__body { padding: 1.5rem; }
.project-card time, .news-card time {
    font-size: 0.8125rem;
    color: var(--gray-400);
}
.project-card h2, .project-card h3, .news-card h2, .news-card h3 {
    font-size: 1.1rem;
    margin: 0.4rem 0;
}
.project-card p, .news-card p { font-size: 0.875rem; color: var(--gray-600); }

.sector-card {
    display: block;
    padding: 2rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
    border-left: 4px solid var(--cyan-500);
}
.sector-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
    color: inherit;
}
.sector-card--large { min-height: 180px; }
.sector-card h2, .sector-card h3 { margin-bottom: 0.5rem; }
.sector-card p { color: var(--gray-600); font-size: 0.9375rem; }

.glass-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(12px);
}
.glass-panel blockquote p { font-size: 1.125rem; font-style: italic; margin-bottom: 1rem; }
.glass-panel footer { font-size: 0.875rem; opacity: 0.7; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan-500);
    font-weight: 700;
}
.check-list--light li::before { color: var(--cyan-400); }
.check-list--cols { columns: 2; column-gap: 2rem; }

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    padding: 4rem 0;
    color: white;
}
.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner h2 { color: white; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.85; }

/* Content */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.prose { max-width: 72ch; }
.prose .lead { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.prose p { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.wp-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.wp-content h2, .wp-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }

.sidebar-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.info-card--accent {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: white;
    border: none;
}
.info-card--accent h3 { color: white; }
.info-card ul { list-style: none; }
.info-card li { margin-bottom: 0.5rem; }
.info-card li a { color: var(--cyan-400); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.office-cards { display: flex; flex-direction: column; gap: 1rem; }
.office-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.25rem;
    border-left: 3px solid var(--cyan-500);
}
.office-card--dark {
    background: rgba(255,255,255,0.05);
    border-left-color: var(--cyan-400);
    color: rgba(255,255,255,0.9);
}
.office-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.office-card address { font-style: normal; font-size: 0.875rem; opacity: 0.85; margin-bottom: 0.5rem; }
.office-card__phone { font-weight: 700; font-size: 1.1rem; color: var(--cyan-500); }
.contact-email { margin-top: 1rem; font-weight: 600; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.alert--success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert--error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Locations */
.locations-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.uk-map {
    position: relative;
    aspect-ratio: 0.6;
    max-width: 360px;
    margin: 0 auto;
    background:
        radial-gradient(ellipse at center, rgba(6,182,212,0.08) 0%, transparent 70%),
        linear-gradient(180deg, var(--navy-800), var(--navy-900));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}
.uk-map__dot {
    position: absolute;
    left: var(--x); top: var(--y);
    width: 10px; height: 10px;
    background: var(--cyan-400);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--cyan-glow);
}
.uk-map__dot--hq {
    width: 14px; height: 14px;
    background: var(--orange-500);
    box-shadow: 0 0 16px rgba(249,115,22,0.5);
}
.locations-map__legend { text-align: center; margin-top: 1rem; font-size: 0.875rem; color: var(--gray-600); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); vertical-align: middle; margin-right: 4px; }
.dot--hq { background: var(--orange-500); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.article-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--navy-950);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 200px;
    background: radial-gradient(ellipse, var(--cyan-glow), transparent 70%);
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-grid h4 { color: white; font-size: 0.9375rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.875rem; }
.footer-grid a:hover { color: var(--cyan-400); }
.footer-brand p { font-size: 0.875rem; margin: 1rem 0; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; }
.footer-accreditations {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}
.footer-accreditations img {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
    opacity: 0.85;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    opacity: 0.6;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .content-grid, .contact-grid, .locations-map { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
        --emergency-h: 36px;
    }

    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .container { width: min(1200px, 94vw); }

    .skip-link {
        position: absolute;
        left: -9999px;
        top: 0;
        z-index: 9999;
        padding: 0.75rem 1.25rem;
        background: var(--cyan-500);
        color: white;
        font-weight: 600;
    }
    .skip-link:focus { left: 0; }

    .nav-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .main-nav {
        position: fixed;
        top: calc(var(--header-h) + var(--emergency-h));
        left: 0; right: 0; bottom: 0;
        background: var(--navy-900);
        padding: 1rem 1.25rem 2rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
    .main-nav > ul > li > a {
        padding: 0.9rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 1rem;
    }
    .main-nav .btn { width: 100%; margin-top: 0.5rem; min-height: 48px; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.25);
        margin: 0.25rem 0 0.5rem;
        display: none;
        border: none;
        box-shadow: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown a { min-height: 44px; display: flex; align-items: center; padding: 0.75rem 1.25rem; }

    .hero { min-height: 85vh; }
    .hero__lead { font-size: 1.05rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; min-height: 48px; }
    .hero__scroll { display: none; }

    .emergency-bar { font-size: 0.75rem; }
    .emergency-bar__inner { justify-content: center; gap: 0.5rem; }
    .emergency-bar__text { display: none; }
    .emergency-bar__sep { display: none; }
    .emergency-bar__phone { font-size: 0.9375rem; }

    .logo img { height: 44px; }

    .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .stat__value { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .check-list--cols { columns: 1; }
    .cta-banner__inner { flex-direction: column; text-align: center; }
    .cta-banner .btn { width: 100%; min-height: 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3.5rem 0; }
    .page-hero { padding: calc(var(--header-h) + var(--emergency-h) + 2.5rem) 0 2.5rem; }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
        min-height: 48px;
    }
    .contact-form textarea { min-height: 120px; }
    .contact-form .btn { width: 100%; min-height: 52px; }

    .btn { min-height: 44px; }
    .article-footer { flex-direction: column; }
    .article-footer .btn { width: 100%; text-align: center; }

    .project-card__img, .news-card__img { height: 180px; }
    .service-card--large .service-card__img { height: 160px; }

    .pagination { flex-direction: column; gap: 1rem; }
    .pagination .btn { width: 100%; }

    .tag-cloud { gap: 0.4rem; }
    .tag { font-size: 0.75rem; padding: 0.3rem 0.6rem; }

    .prose { font-size: 1rem; line-height: 1.7; }
    .prose h2 { font-size: 1.5rem; margin-top: 1.75rem; }
    .wp-content img { width: 100%; height: auto; }
}

/* Skip link (all viewports) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--cyan-500);
    color: white;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: 2px solid white; outline-offset: 2px; }

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
    margin-top: calc(var(--header-h) + var(--emergency-h));
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--gray-600);
}
.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.35rem;
    opacity: 0.5;
}
.breadcrumbs a { color: var(--gray-600); }
.breadcrumbs a:hover { color: var(--cyan-500); }
.breadcrumbs [aria-current="page"] { color: var(--navy-900); font-weight: 500; }

/* Mobile sticky CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0.65rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
    }
    .breadcrumbs + main,
    main { /* pages without breadcrumbs still need top offset via hero */ }
    .hero { margin-top: 0; }
    .page-hero { margin-top: 0; }
}
.mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-cta__btn--call {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.mobile-cta__btn--quote {
    background: linear-gradient(135deg, var(--cyan-500), #0891b2);
    color: white;
}

/* Related posts */
.related-posts__title {
    text-align: center;
    margin-bottom: 2rem;
}
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1.1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--cyan-500);
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--cyan-400);
    outline-offset: 2px;
}

body.nav-open { overflow: hidden; }

/* Reduced motion */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

.breadcrumbs + .page-hero,
.breadcrumbs + .hero {
    padding-top: 2.5rem;
}

@media (max-width: 768px) {
    .breadcrumbs + .page-hero,
    .breadcrumbs + .hero {
        padding-top: 1.75rem;
    }
}
