/*
Theme Name:  Diving Services UK
Theme URI:   https://www.divingservicesuk.com
Author:      Ice and a Slice
Author URI:  https://iceandaslice.co.uk
Description: Custom WordPress theme for Diving Services UK. Deep Blue Cinematic design. Fully editable via ACF + WordPress admin. Compatible with free Elementor for individual pages. No Elementor Pro required.
Version:     2.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:     Private
Text Domain: dsuk
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:        #050e1a;
  --deep:        #0a1628;
  --mid:         #0d2244;
  --accent:      #00b4d8;
  --accent-dark: #0096b4;
  --light-blue:  #caf0f8;
  --white:       #f0f8ff;
  --steel:       #7b9bb8;
  --gold:        #d4a843;
  --border:      rgba(0,180,216,0.15);

  --font-display:   'Bebas Neue', sans-serif;
  --font-body:      'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --nav-height: 70px;
  --transition: 0.25s ease;
  --shadow:     0 8px 32px rgba(0,180,216,0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--light-blue); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: 1px;
  color: var(--white);
}
h1 { font-size: clamp(4rem, 10vw, 9rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p { font-size: 1rem; line-height: 1.75; color: var(--steel); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.dsuk-wrap   { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.dsuk-section { padding: 6rem 3rem; }

/* Section tag — small label above headings */
.dsuk-tag {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}
.dsuk-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.dsuk-title { color: var(--white) !important; }
.dsuk-title span, .dsuk-blue { color: var(--accent); }
.dsuk-intro { font-size: 1rem; color: var(--steel); max-width: 600px; line-height: 1.8; margin-bottom: 3rem; }

/* Section backgrounds */
.bg-navy { background: var(--navy); }
.bg-deep  { background: var(--deep); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .dsuk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 14px 32px;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: var(--navy) !important; }
.btn-primary:hover { background: var(--light-blue); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(0,180,216,0.5);
  color: var(--accent) !important;
  background: transparent;
}
.btn-outline:hover { background: rgba(0,180,216,0.1); border-color: var(--accent); }
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { filter: brightness(1.15); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#dsuk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(5,14,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#dsuk-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.6); }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-tagline {
  font-family: var(--font-condensed);
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  color: var(--steel);
  display: block;
  text-transform: uppercase;
}

/* Menu list */
.nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  height: var(--nav-height);
  margin: 0; padding: 0;
  gap: 0;
}
.nav-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-menu > li > a {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a { color: var(--accent); border-bottom-color: var(--accent); }

/* Dropdown arrow */
.nav-menu li.menu-item-has-children > a::after { content: ' ▾'; font-size: 0.65rem; }

/* Dropdown panel */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,180,216,0.2);
  min-width: 230px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 100;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: var(--steel);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}
.nav-menu .sub-menu a:hover {
  color: var(--white);
  border-left-color: var(--accent);
  background: rgba(0,180,216,0.06);
  padding-left: 24px;
}

/* CTA nav item */
.nav-cta > a {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0 20px !important;
  height: auto !important;
  margin: auto 0 auto 8px;
  align-self: center;
  border-bottom: none !important;
  transition: background var(--transition) !important;
}
.nav-cta > a:hover { background: var(--light-blue) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.dsuk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  overflow: hidden;
}
/* Background layers */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,14,26,.88) 0%, rgba(5,14,26,.55) 50%, rgba(5,14,26,.78) 100%);
  z-index: 1;
}
/* Default animated bg (when no image/video set) */
.hero-default-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #020810 0%, #041830 30%, #062040 60%, #030e1c 100%);
}
.hero-default-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(0,180,216,.12) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 20% 70%, rgba(0,96,180,.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(0,180,216,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* Bubbles */
.hero-bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.3), transparent);
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(110%) scale(.5); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}
/* Content */
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-tag {
  font-family: var(--font-condensed);
  font-size: .8rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(4rem, 10vw, 9rem) !important;
  line-height: .92 !important; letter-spacing: 2px;
  color: var(--white) !important;
  text-shadow: 0 0 80px rgba(0,180,216,.3);
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 1.1rem; color: var(--steel); max-width: 550px; line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; right: 3rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-condensed); font-size: .7rem;
  letter-spacing: 3px; text-transform: uppercase; color: var(--steel);
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 1.5s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ============================================================
   SERVICE TILES STRIP (4 below hero)
   ============================================================ */
.services-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  background: var(--deep);
}
.service-tile {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(0,180,216,.1);
  transition: background var(--transition);
  text-decoration: none; color: inherit; display: block;
}
.service-tile:last-child { border-right: none; }
.service-tile:hover { background: var(--mid); color: inherit; }
.tile-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.tile-title {
  font-family: var(--font-condensed); font-size: 1.1rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); margin-bottom: .5rem;
}
.tile-desc { font-size: .85rem; color: var(--steel); line-height: 1.6; }
.tile-arrow {
  display: inline-block; margin-top: 1rem;
  color: var(--accent); font-size: 1.2rem;
  transition: transform .2s;
}
.service-tile:hover .tile-arrow { transform: translateX(6px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-box {
  aspect-ratio: 4/3; background: var(--mid);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-image-box img { width:100%; height:100%; object-fit:cover; }
.about-placeholder {
  font-family: var(--font-condensed); font-size:.85rem;
  letter-spacing:2px; text-transform:uppercase; color:var(--steel);
  text-align:center; padding:2rem;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.stat { border-left: 3px solid var(--accent); padding-left: 1.2rem; }
.stat-num { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: .8rem; letter-spacing:1px; color: var(--steel); text-transform: uppercase; font-family: var(--font-condensed); }

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5px;
  background: rgba(0,180,216,.1);
  margin-top: 2rem;
}
.cap-card { background: var(--navy); padding: 2.5rem 2rem; transition: background var(--transition); }
.cap-card:hover { background: var(--mid); }
.cap-num { font-family: var(--font-display); font-size: 3rem; color: rgba(0,180,216,.15); line-height: 1; margin-bottom: .5rem; }
.cap-title { font-family: var(--font-condensed); font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: .75rem; }
.cap-desc { font-size: .85rem; color: var(--steel); line-height: 1.7; }

/* ============================================================
   EQUIPMENT HIRE
   ============================================================ */
.equip-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; margin-top: 2.5rem; }
.equip-card {
  border: 1px solid rgba(0,180,216,.15); padding: 2rem;
  background: var(--deep); transition: border-color .3s, transform .2s;
}
.equip-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.equip-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; gap: 1rem; }
.equip-name { font-family: var(--font-condensed); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--white); letter-spacing: 1px; }
.equip-badge {
  background: rgba(0,180,216,.15); border: 1px solid rgba(0,180,216,.3);
  color: var(--accent); padding: 3px 10px; font-size: .7rem;
  letter-spacing: 1px; font-family: var(--font-condensed); text-transform: uppercase; flex-shrink: 0; white-space: nowrap;
}
.equip-desc { font-size: .85rem; color: var(--steel); line-height: 1.6; margin-bottom: 1.5rem; }
.equip-specs { list-style: none; margin-bottom: 1.5rem; padding: 0; }
.equip-specs li { font-size: .82rem; color: var(--steel); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); display: flex; gap: 8px; }
.equip-specs li::before { content: '—'; color: var(--accent); flex-shrink: 0; }
.equip-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: .8rem; font-family: var(--font-condensed);
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(0,180,216,.3); padding: 9px 18px; transition: all .2s;
}
.equip-pdf:hover { background: rgba(0,180,216,.1); color: var(--light-blue); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.gallery-filter {
  font-family: var(--font-condensed); font-size: .8rem;
  letter-spacing: 1px; text-transform: uppercase; padding: 8px 18px;
  border: 1px solid rgba(0,180,216,.2); background: transparent;
  color: var(--steel); cursor: pointer; transition: all .2s;
}
.gallery-filter:hover, .gallery-filter.active {
  background: var(--accent); color: var(--navy); border-color: var(--accent);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 220px;
  gap: 4px;
}
.gallery-item { overflow: hidden; cursor: pointer; position: relative; transition: filter .3s; background: var(--mid); }
.gallery-item:hover { filter: brightness(1.15); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom:0; left:0; right:0;
  background: linear-gradient(to top, rgba(5,14,26,.9), transparent);
  padding: 2rem 1rem .75rem;
  font-family: var(--font-condensed); font-size: .8rem;
  letter-spacing:1px; text-transform:uppercase; color: var(--light-blue);
  opacity:0; transition: opacity .3s;
}
.gallery-item:hover .gallery-label { opacity:1; }
.gallery-empty {
  grid-column: 1/-1; padding: 3rem; text-align: center;
  background: var(--mid); color: var(--steel);
  font-family: var(--font-condensed); letter-spacing: 2px; text-transform: uppercase;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.dsuk-lightbox {
  display: none; position: fixed; inset:0; z-index: 99999;
  background: rgba(5,14,26,.96); align-items: center; justify-content: center;
}
.dsuk-lightbox.open { display:flex; }
.lb-inner { position:relative; max-width:90vw; max-height:90vh; }
.lb-inner img { max-width:90vw; max-height:85vh; object-fit:contain; }
.lb-close {
  position:absolute; top:-2rem; right:0; background:none; border:none;
  color:var(--steel); font-size:1.8rem; cursor:pointer; line-height:1;
}
.lb-caption { text-align:center; margin-top:1rem; font-family:var(--font-condensed); font-size:.8rem; letter-spacing:2px; text-transform:uppercase; color:var(--steel); }

/* ============================================================
   VIDEO / SHOWREEL
   ============================================================ */
.video-wrap {
  position: relative; background: var(--mid); aspect-ratio: 16/9;
  max-width: 960px; margin: 2rem auto 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; border: 1px solid var(--border);
}
.video-wrap::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at center, rgba(0,180,216,.1), transparent 70%);
}
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:none; }
.video-play-btn {
  width:80px; height:80px; border:2px solid var(--accent); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; color:var(--accent); position:relative; z-index:1; transition: all .3s;
  pointer-events:none;
}
.video-wrap:hover .video-play-btn { background:var(--accent); color:var(--navy); transform:scale(1.1); }
.video-no-url {
  position:relative; z-index:1; text-align:center; padding:2rem;
  font-family:var(--font-condensed); letter-spacing:2px; text-transform:uppercase;
}
.video-caption { text-align:center; margin-top:1.5rem; font-family:var(--font-condensed); font-size:.85rem; letter-spacing:2px; text-transform:uppercase; color:var(--steel); }

/* ============================================================
   FILM & TV CREDITS
   ============================================================ */
.credits-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.credit-card { border:1px solid rgba(0,180,216,.12); padding:1.5rem; background:var(--navy); transition:border-color .3s; }
.credit-card:hover { border-color:rgba(0,180,216,.4); }
.credit-year { font-size:.75rem; color:var(--accent); letter-spacing:2px; font-family:var(--font-condensed); text-transform:uppercase; margin-bottom:.25rem; }
.credit-title { font-family:var(--font-condensed); font-size:1.2rem; font-weight:700; color:var(--white); margin-bottom:.25rem; }
.credit-role { font-size:.82rem; color:var(--steel); }
.credit-broadcaster { margin-top:.5rem; font-size:.7rem; color:var(--accent); font-family:var(--font-condensed); letter-spacing:1px; }
.imdb-link {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--gold); color:var(--navy); padding:14px 28px;
  font-family:var(--font-display); font-size:1.1rem; letter-spacing:2px;
  text-decoration:none; margin-top:2.5rem; transition:filter .2s;
}
.imdb-link:hover { filter:brightness(1.15); color:var(--navy); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.contact-form label { display:block; font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:var(--steel); font-family:var(--font-condensed); margin-bottom:6px; }
.contact-form input,
.contact-form textarea,
.contact-form select,
.wpcf7-form input:not([type=submit]),
.wpcf7-form textarea,
.wpcf7-form select {
  width:100%; background:var(--deep); border:1px solid rgba(0,180,216,.15);
  color:var(--white); padding:12px 16px; font-family:var(--font-body); font-size:.9rem;
  transition:border-color .2s; margin-bottom:1rem;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus { outline:none; border-color:var(--accent); }
.contact-form textarea, .wpcf7-form textarea { min-height:130px; resize:vertical; }
.wpcf7-form input[type=submit] {
  background:var(--accent) !important; color:var(--navy) !important;
  font-family:var(--font-condensed) !important; font-size:.9rem !important;
  font-weight:700 !important; letter-spacing:2px !important; text-transform:uppercase !important;
  padding:14px 32px !important; border:none !important; cursor:pointer !important;
  transition:background .2s !important; width:auto !important;
}
.wpcf7-form input[type=submit]:hover { background:var(--light-blue) !important; }
.contact-info { display:flex; flex-direction:column; gap:2rem; }
.info-item { display:flex; gap:1rem; align-items:flex-start; }
.info-icon { font-size:1.5rem; flex-shrink:0; }
.info-label { font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:var(--steel); font-family:var(--font-condensed); margin-bottom:3px; }
.info-value { color:var(--white); font-size:.95rem; }
.info-value a { color:var(--accent); }
.info-value a:hover { color:var(--light-blue); }

/* ============================================================
   FOOTER
   ============================================================ */
#dsuk-footer {
  background:#020810; border-top:1px solid rgba(0,180,216,.1);
  padding:2.5rem 3rem; display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:1rem;
}
.footer-logo { font-family:var(--font-display); font-size:1.2rem; letter-spacing:2px; color:var(--steel); }
.footer-copy { font-size:.8rem; color:var(--steel); }
.footer-links { display:flex; gap:1.5rem; }
.footer-links a { font-size:.8rem; color:var(--steel); text-decoration:none; }
.footer-links a:hover { color:var(--accent); }

/* ============================================================
   ELEMENTOR FREE COMPAT
   — Ensure Elementor pages sit below fixed nav
   — Override Elementor's body colour
   ============================================================ */
body.elementor-page .elementor-section-wrap > .elementor-section:first-child,
body.elementor-page .e-con:first-child {
  margin-top: var(--nav-height);
}
/* If Elementor sets body bg, override it */
body.elementor-page { background-color: var(--navy) !important; }

/* Elementor default text colour overrides */
body.elementor-page h1,
body.elementor-page h2,
body.elementor-page h3,
body.elementor-page h4 { color: var(--white); }
body.elementor-page p { color: var(--steel); }

/* Strip Elementor's extra body padding on canvas template */
body.elementor-template-canvas { padding-top: 0 !important; }

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar #dsuk-nav { top: 32px; }
@media screen and (max-width:782px) { .admin-bar #dsuk-nav { top:46px; } }

/* ============================================================
   SCROLL-IN ANIMATIONS
   ============================================================ */
.dsuk-fade {
  opacity:0; transform:translateY(20px);
  transition:opacity .55s ease, transform .55s ease;
}
.dsuk-fade.visible { opacity:1; transform:translateY(0); }
.dsuk-fade:nth-child(2) { transition-delay:.1s; }
.dsuk-fade:nth-child(3) { transition-delay:.2s; }
.dsuk-fade:nth-child(4) { transition-delay:.3s; }
.dsuk-fade:nth-child(5) { transition-delay:.1s; }
.dsuk-fade:nth-child(6) { transition-delay:.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1200px) {
  .services-strip { grid-template-columns:repeat(2,1fr); }
  .caps-grid { grid-template-columns:repeat(2,1fr); }
  .credits-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1024px) {
  .dsuk-section { padding:5rem 2rem; }
  .dsuk-hero, .dsuk-hero.dsuk-section { padding:0 2rem 4rem; }
  #dsuk-nav { padding:0 1.5rem; }
  .nav-menu {
    display:none; position:fixed; top:var(--nav-height); left:0; right:0; bottom:0;
    background:rgba(5,14,26,.99); flex-direction:column; height:auto;
    padding:1.5rem; overflow-y:auto; gap:0;
  }
  .nav-menu.open { display:flex; }
  .nav-menu > li > a { height:auto; padding:13px 0; font-size:1rem; border-bottom:1px solid rgba(0,180,216,.08); }
  .nav-menu > li > a:hover { border-bottom-color:rgba(0,180,216,.08); color:var(--accent); }
  .nav-menu .sub-menu { position:static; opacity:1; pointer-events:all; transform:none; background:transparent; border:none; padding-left:1rem; max-height:0; overflow:hidden; transition:max-height .3s; }
  .nav-menu li.open > .sub-menu { max-height:400px; }
  .nav-hamburger { display:flex; }
  .nav-cta > a { margin:1rem 0 0; padding:12px 20px !important; align-self:flex-start; }
  .about-grid { grid-template-columns:1fr; gap:2.5rem; }
  .contact-grid { grid-template-columns:1fr; }
  .equip-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .services-strip { grid-template-columns:1fr 1fr; }
  .caps-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .gallery-item.wide, .gallery-item.tall { grid-column:span 1; grid-row:span 1; }
  .credits-grid { grid-template-columns:1fr; }
  #dsuk-footer { flex-direction:column; text-align:center; }
}
@media (max-width:480px) {
  .services-strip { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr; }
  .hero-title { font-size:clamp(3rem,15vw,5rem) !important; }
  .dsuk-section { padding:4rem 1.25rem; }
  .dsuk-hero { padding:0 1.25rem 3rem; }
  #dsuk-nav { padding:0 1.25rem; }
  .hero-scroll { right:1.25rem; }
}
