/* =========================================
   WeFixFurniture — style.css
   ========================================= */

/* ---------- Self-hosted fonts (no external Google Fonts requests) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2');
}

:root {
  --blue-900: #0c2340;
  --blue-800: #133a66;
  --blue-700: #1a5296;
  --blue-600: #1d6bb8;
  --blue-500: #2580d8;
  --blue-100: #ddeeff;
  --blue-50:  #f0f7ff;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

em { font-style: italic; color: var(--blue-600); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--blue-900);
  margin-bottom: 10px;
}

.section-header p { color: var(--gray-600); font-size: 16px; }

.onsite-note {
  color: var(--blue-700);
  font-weight: 500;
  font-size: 14px;
  margin-top: 8px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(29,107,184,0.3);
}

.btn-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 4px 14px rgba(29,107,184,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* =========================================
   HEADER — centred logo, nav left, CTA right
   ========================================= */

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: var(--blue-600);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 4px 24px rgba(0,0,0,0.28);
}

/* Left: primary nav links */
nav {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-start;
}

nav a {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
  white-space: nowrap;
}

nav a:hover  { color: var(--white); background: rgba(255,255,255,0.1); }
nav a.active { color: var(--white); background: rgba(255,255,255,0.14); }

/* Centre: brand block */
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.logo {
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.logo-sub {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

/* Right: CTA + hamburger (hamburger hidden on desktop) */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.header-cta:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.36);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================
   PAGE BANNER — used on inner pages
   ========================================= */

.page-banner {
  padding: calc(var(--header-h) + 28px) 0 24px;
  background: var(--blue-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.page-banner .eyebrow {
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.page-banner h1 {
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--white);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.page-banner p { display: none; }

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

.whatsapp-float svg { flex-shrink: 0; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

/* =========================================
   HERO (home page only)
   ========================================= */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--blue-900);
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 35, 64, 0.93) 0%,
    rgba(12, 35, 64, 0.76) 50%,
    rgba(12, 35, 64, 0.35) 100%
  );
}

.hero .eyebrow {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  width: fit-content;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px 80px;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-image-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 60px 80px 40px;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
  background: var(--blue-800);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-showcase-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.hero-showcase-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(44px, 5.5vw, 74px);
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1.08;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 400px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================
   GALLERY — PAIRED BEFORE / AFTER
   ========================================= */

.gallery {
  padding: 60px 0;
  background: var(--gray-50);
}

.ba-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ba-box { position: relative; background: var(--gray-800); }

.ba-heading {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 10;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(12, 35, 64, 0.72);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ba-heading-after { background: rgba(29, 107, 184, 0.8); }

.ba-slides {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.ba-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.9s ease; }
.ba-slide.active { opacity: 1; pointer-events: auto; }

.ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ba-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.dot.active { background: var(--blue-600); transform: scale(1.3); }

.ba-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--blue-700);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.ba-arrow:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.ba-arrow:active { transform: scale(0.94); }

/* =========================================
   SERVICES
   ========================================= */

.services {
  padding: 60px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--blue-100);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.service-icon {
  width: 46px; height: 46px;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* =========================================
   ABOUT
   ========================================= */

.about {
  padding: 60px 0;
  background: var(--blue-50);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  color: var(--blue-900);
  margin-bottom: 20px;
}

.about-text p { color: var(--gray-600); margin-bottom: 14px; }
.about-text .btn { margin-top: 12px; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1;
}

.stat-label { font-size: 13px; color: var(--gray-600); }

/* =========================================
   LOCATIONS
   ========================================= */

.locations {
  padding: 60px 0;
  background: var(--blue-900);
}

.locations .section-header h2 { color: var(--white); }
.locations .eyebrow { color: rgba(255,255,255,0.5); }
.locations .section-header p { color: rgba(255,255,255,0.55); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.location-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s, transform 0.2s;
}

.location-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }

.location-card--hq {
  background: rgba(29, 107, 184, 0.25);
  border-color: rgba(37,128,216,0.4);
}

.location-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
}

.location-card--hq .location-icon { background: rgba(37,128,216,0.2); color: #7ec8f8; }

.location-body { display: flex; flex-direction: column; gap: 6px; }

.location-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ec8f8;
  background: rgba(37,128,216,0.25);
  padding: 2px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 2px;
}

.location-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.location-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.locations-cta {
  margin-top: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.locations-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.locations-cta p { color: rgba(255,255,255,0.55); max-width: 420px; }
.locations-cta .btn { flex-shrink: 0; }

/* =========================================
   CONTACT
   ========================================= */

.contact { padding: 60px 0; background: var(--white); }

/* =========================================
   LEGAL CONTENT (Privacy Policy)
   ========================================= */

.legal-content {
  padding: 60px 0 80px;
  background: var(--white);
}

.legal-content .container {
  max-width: 720px;
}

.legal-updated {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--blue-900);
  margin: 36px 0 12px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  color: var(--gray-600);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal-content a { color: var(--blue-700); }

/* =========================================
   LIGHTBOX (Work page gallery)
   ========================================= */

.ba-slide img { cursor: zoom-in; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--blue-900);
  margin-bottom: 18px;
}

.contact-info > p { color: var(--gray-600); margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
  transition: color 0.2s;
}

.contact-link svg { color: var(--blue-600); flex-shrink: 0; }
.contact-link:hover { color: var(--blue-700); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: 13px; font-weight: 500; color: var(--gray-800); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,128,216,0.12);
}

.form-group textarea { min-height: 130px; }

.form-privacy-note {
  font-size: 12.5px;
  color: var(--gray-600);
  text-align: center;
  margin-top: 12px;
}

.form-privacy-note a { color: var(--blue-700); }

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */

.cookie-banner {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  max-width: 640px;
  margin: 0 auto;
  background: var(--blue-900);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner.show { display: flex; }

.cookie-banner p { font-size: 13.5px; line-height: 1.6; flex: 1; min-width: 220px; margin: 0; }
.cookie-banner a { color: var(--white); text-decoration: underline; }

.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-small { padding: 9px 16px; font-size: 13px; }

.form-success,
.form-error {
  display: none;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.form-success.show,
.form-error.show { display: block; }

.form-success {
  color: #1a7a4a;
  background: #e8f7ef;
  border-color: #b8e6cf;
}

.form-error {
  color: #b3261e;
  background: #fdecea;
  border-color: #f3c6c2;
}

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* =========================================
   CTA BAND
   ========================================= */

.cta-band {
  background: var(--blue-900);
  padding: 52px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 17px;
}

/* =========================================
   FOOTER — thin single bar
   ========================================= */

footer {
  background: var(--blue-900);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 24px;
}

.footer-brand { display: flex; align-items: center; }

.footer-logo {
  color: var(--white);
  font-size: 15px;
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-tagline { display: none; }

.footer-nav { display: none; }

/* Icon links */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, background 0.2s;
}

.footer-contact-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.footer-contact-link svg { flex-shrink: 0; }

.footer-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  pointer-events: none;
}

.footer-copy a {
  color: rgba(255,255,255,0.55);
  pointer-events: auto;
}

.footer-copy a:hover { color: rgba(255,255,255,0.8); }

/* Wrapper needs relative for the centred copyright trick */
footer .container { position: relative; }

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }

  header {
    grid-template-columns: auto 1fr;
    padding: 0 18px;
  }

  .header-right {
    order: -1;
    justify-content: flex-start;
  }

  .header-brand { order: 1; }

  /* hide left nav on mobile */
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blue-700);
    flex-direction: column;
    padding: 10px 14px 18px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  }

  nav.open { display: flex; }
  nav a { font-size: 13px; padding: 10px 14px; width: 100%; text-align: left; }

  /* hide desktop CTA on mobile, show hamburger */
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .logo-sub { display: none; }
  .logo { font-size: 24px; }

  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: calc(var(--header-h) + 28px) 24px 32px; }
  .hero-image-panel { padding: 0 24px 56px; justify-content: center; }
  .hero-showcase { max-width: 100%; aspect-ratio: 4/3; }
  .hero-showcase-label { bottom: 14px; right: 14px; padding: 8px 14px; font-size: 12px; }
  .hero h1 { font-size: clamp(38px, 8vw, 56px); }
  .hero p { font-size: 16px; }

  .gallery, .services, .locations, .about, .contact { padding: 48px 0; }
  .cta-band { padding: 36px 0; }
  .cta-band p { margin-bottom: 24px; font-size: 15px; }
  .page-banner { padding: calc(var(--header-h) + 18px) 0 16px; }
  .page-banner h1 { font-size: 22px; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }

  footer { padding: 0; }
  .footer-inner {
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px 0;
  }
  .footer-copy {
    position: static;
    transform: none;
    order: 2;
    white-space: normal;
    text-align: center;
    padding: 0 20px;
  }
  .footer-contact { order: 3; }
}

@media (max-width: 640px) {
  :root { --header-h: 54px; }
  .logo { font-size: 20px; }
  .gallery .container { padding: 0 6px; }
  .ba-gallery {
    border-radius: var(--radius);
    border: 2px solid var(--blue-600);
  }
  .ba-heading {
    position: absolute;
    top: 8px;
    left: 8px;
    width: auto;
    display: inline-block;
    text-align: left;
    border-radius: 20px;
    background: rgba(12, 35, 64, 0.65);
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 3px 9px;
  }
  .ba-heading-after { background: rgba(29, 107, 184, 0.7); }

  .ba-gallery { gap: 6px; }
  .ba-slides { aspect-ratio: 1 / 1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 16px; }
  .service-icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .location-card { padding: 18px 14px; gap: 10px; }
  .location-icon { width: 32px; height: 32px; }
  .location-card h3 { font-size: 16px; }
  .location-card p { font-size: 12.5px; }
  .locations-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 20px;
    gap: 18px;
  }
  .locations-cta .btn { width: 100%; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn {
    flex: 1;
    padding: 13px 12px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}