:root {
	--brand-dark: #005a99;
	--brand: #00A0F3;
	--brand-accent: #7fd3ff;
	--brand-light: #e6f7ff;
	--text: #14213d;
	--muted: #5b6b7a;
	--bg: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid #eef2f7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-dark); font-weight: 700; }
.logo { height: 64px; width: auto; }
.logo.small { height: 40px; }
.brand-text { display: none; font-size: 18px; }

.nav-toggle { display: none; background: none; border: 1px solid #d7dee7; padding: 6px 10px; border-radius: 6px; font-size: 18px; }
.site-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--text); padding: 8px 10px; border-radius: 6px; }
.site-nav a:hover, .site-nav a:focus { background: var(--brand-light); color: var(--brand-dark); outline: none; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: white; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: 64px 0; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; }
.hero p { color: #e6edf6; margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; }

.btn { display: inline-block; text-decoration: none; border-radius: 10px; padding: 12px 18px; font-weight: 600; border: 2px solid transparent; }
.btn.primary { background: var(--brand-accent); color: #0b3430; }
.btn.primary:hover { filter: brightness(0.95); }
.btn.ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }

.hero-media { display: grid; place-items: center; }
.fan-art { position: relative; height: 240px; width: 240px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), rgba(255,255,255,0.02)); animation: spin 14s linear infinite; box-shadow: inset 0 0 30px rgba(0,0,0,0.08); }
.fan-art span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.08); transform: rotate(calc(var(--i) * 90deg)); }
/* blades */
.fan-art::before, .fan-art::after { content: ""; position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); border-radius: 50%; }
.fan-art::before { background: conic-gradient(from 0deg, rgba(255,255,255,0.22) 0 25%, transparent 25% 50%, rgba(255,255,255,0.22) 50% 75%, transparent 75% 100%); filter: blur(0.2px); }
.fan-art::after { width: 64px; height: 64px; background: #fff; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.fan-art span:nth-child(1) { --i: 0; }
.fan-art span:nth-child(2) { --i: 1; }
.fan-art span:nth-child(3) { --i: 2; }
.fan-art span:nth-child(4) { --i: 3; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #f7fbfc; }
.section h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 36px); color: var(--brand-dark); }
.section-intro { margin: 0 0 24px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: white; border: 1px solid #e7eef7; border-radius: 12px; padding: 18px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.card h3 { margin-top: 0; color: var(--brand); }
.brand-logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: center; }
.brand-logos img { width: 100%; height: 64px; object-fit: contain; background: white; border: 1px solid #e7eef7; border-radius: 10px; padding: 8px; }

/* Safety section */
.safety-section { display: flex; justify-content: center; margin-top: 16px; }
.safety-image { max-width: 200px; height: auto; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.highlights > div { background: white; border: 1px solid #e7eef7; border-radius: 12px; padding: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid .ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dfeaf2, #cfe3dd); border-radius: 10px; border: 1px solid #d7e3ed; }
/* Slideshow: two square tiles with crossfade */
.gallery-slideshow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slide-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; border: 1px solid #e1eaf2; background: #ffffff; }
.slide-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 700ms ease, transform 1200ms ease; }
.slide-tile img.active { opacity: 1; transform: scale(1); }
.slide-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.08)); pointer-events: none; }
.slide-tile:hover img.active { transform: scale(1.04); }

@media (max-width: 960px) {
	.gallery-slideshow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.gallery-slideshow { grid-template-columns: 1fr; }
}
.clients-title { margin-top: 24px; }
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-left: 16px; }
.client-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.client-logos img { width: 100%; height: 180px; object-fit: contain; background: white; border: 1px solid #e7eef7; border-radius: 12px; padding: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.client-logos img:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,0.08); }
.disclaimer { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Footer */
.site-footer { background: #0c223f; color: #c7d6ea; margin-top: 24px; position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; padding: 24px 0; }
.footer-links h4 { margin: 0 0 6px; color: #ffffff; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #c7d6ea; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; padding: 12px 0 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.footer-bottom .ref a { color: #9fccf0; }

.back-to-top { position: fixed; right: 16px; bottom: 16px; display: none; padding: 10px 12px; background: var(--brand); color: white; border: 0; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.back-to-top.show { display: inline-block; }

/* Enquiry form */
.enquiry { background: #f8fcff; border: 1px solid #e6f2fb; border-radius: 12px; padding: 16px; }
.enquiry h3 { margin: 0 0 8px; color: var(--brand-dark); }
.enquiry form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enquiry .full { grid-column: 1 / -1; }
.enquiry label { display: block; font-weight: 600; margin: 4px 0 4px; color: var(--text); }
.enquiry input, .enquiry textarea { width: 100%; padding: 10px 12px; border: 1px solid #d7e3ed; border-radius: 10px; font: inherit; }
.enquiry textarea { min-height: 96px; resize: vertical; }
.enquiry .actions { display: flex; gap: 10px; align-items: center; }
.enquiry .thanks { display: none; color: #0a7f2e; font-weight: 600; }
.enquiry .btn.primary { background: var(--brand); color: white; }

@media (max-width: 560px) {
	.enquiry form { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.brand-text { display: inline; }
	.cards { grid-template-columns: 1fr 1fr; }
	.highlights { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.client-logos { grid-template-columns: 1fr 1fr; gap: 16px; }
	.brand-logos { grid-template-columns: repeat(4, 1fr); }
	.clients { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
	.site-nav { position: absolute; right: 16px; top: 56px; background: white; border: 1px solid #e7eef7; border-radius: 10px; padding: 8px; display: none; }
	.site-nav.open { display: block; }
	.site-nav ul { flex-direction: column; }
	.nav-toggle { display: inline-block; }
}

@media (max-width: 560px) {
	.cards { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr; }
	.client-logos { grid-template-columns: 1fr; gap: 14px; }
	.brand-logos { grid-template-columns: repeat(2, 1fr); }
	.logo { height: 52px; }
	.hero-inner { padding: 48px 0; }
	.container { padding: 0 12px; }
	.hero h1 { font-size: 28px; }
	.hero p { font-size: 16px; }
	.btn { padding: 10px 16px; font-size: 14px; }
	.section { padding: 48px 0; }
	.enquiry form { gap: 10px; }
	.enquiry input, .enquiry textarea { padding: 8px 10px; }
	.safety-image { max-width: 150px; }
}

/* --- Scroll-triggered animation --- */
.will-animate { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1); }
.in-view { opacity: 1 !important; transform: none !important; }

/* --- Card and section polish --- */
.card, .highlights > div, .slide-tile {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 14px;
  border: 1px solid #e3eaf3;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover, .highlights > div:hover, .slide-tile:hover {
  box-shadow: 0 8px 24px rgba(0,160,243,0.10);
  transform: translateY(-4px) scale(1.02);
}

.section {
  background: #fff;
  margin-bottom: 24px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,90,153,0.03);
}
.section.alt {
  background: #f7fbfc;
}

/* --- Mobile improvements --- */
@media (max-width: 560px) {
  .container { padding: 0 6px; }
  .site-header, .footer-inner { padding-left: 0; padding-right: 0; }
  .btn, .enquiry input, .enquiry textarea { font-size: 15px; }
  .site-nav a, .btn { padding: 14px 18px; min-width: 44px; min-height: 44px; }
  .card, .highlights > div, .slide-tile { padding: 12px; }
  .section { padding: 28px 0; }
  .hero-inner { padding: 24px 0; }
}

/* --- Touch target improvements --- */
.btn, .site-nav a, .nav-toggle { min-width: 44px; min-height: 44px; }

/* Fix: Header/Nav mobile improvements */
@media (max-width: 1024px) {
  .site-header { padding-left: 0; padding-right: 0; }
  .header-inner { padding-left: 10px; padding-right: 10px; }
  .brand-text { display: inline; }
  .logo { height: 52px; max-width: 90vw; }
}
@media (max-width: 768px) {
  .header-inner { flex-direction: row; align-items: center; }
  .logo { height: 44px; }
  .nav-toggle { display: block; position: relative; z-index: 110; min-width: 44px; min-height: 44px; font-size: 26px; }
  .site-nav { transition: max-height 0.32s cubic-bezier(.4,0,.2,1), opacity 0.28s; max-height: 0; opacity: 0; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(34,72,122,0.06); border-radius: 0 0 18px 18px; position: absolute; right: 0; left: 0; top: 100%; min-width: 190px; z-index: 99; }
  .site-nav.open { display: block; opacity: 1; max-height: 540px; }
  .site-nav ul { flex-direction: column; gap: 8px; padding: 18px 0 14px; }
  .site-nav a { min-width: 44px; min-height: 44px; padding: 12px 30px; font-size: 19px; border-radius: 8px; margin: 0; }
}
@media (max-width: 480px) {
  .header-inner { padding-top: 4px; padding-bottom: 4px; }
  .logo { height: 36px; }
  .site-nav a { font-size: 16px; padding: 10px 18px; }
}
.site-nav, .site-nav.open { will-change: max-height, opacity; }

/* Fix: Image responsiveness and aspect ratio */
img { max-width: 100%; height: auto; display: block; }
.brand-logos img, .client-logos img, .slide-tile img, .logo { object-fit: contain; }
.slide-tile img, .gallery-grid .ph { object-fit: cover; border-radius: 14px; }

/* Fix: Form field full width and padding for mobile */
@media (max-width: 768px) {
  .enquiry form { grid-template-columns: 1fr !important; }
  .enquiry input, .enquiry textarea { width: 100% !important; box-sizing: border-box; }
  .enquiry form > div, .enquiry .full { margin-bottom: 20px; }
}
.enquiry input, .enquiry textarea {
  padding: 14px 16px !important; /* Fix: field padding */
}
/* Fix: Hide or minimize bot text */
.enquiry form p[hidden] { display: none !important; }

.enquiry .btn.primary {
  font-size: 1.15em; min-width: 44px; min-height: 44px; width: 100%; margin-top: 6px; padding: 16px 0!important; border-radius: 10px; /* Fix: large CTA button */
}

/* Fix: Standout CTA & sticky callback bar for mobile */
.hero-cta .btn {
  font-size: 1.12em; min-width: 44px; min-height: 48px; padding: 18px 22px; border-radius: 14px; font-weight: 700;
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; background: var(--brand-dark); justify-content: center; align-items: center; min-height: 60px; box-shadow: 0 -4px 14px rgba(34,72,122,0.15); }
  .sticky-cta-bar a { display: flex; align-items: center; justify-content: center; font-size: 1.14em; color: #fff; font-weight: 700; padding: 10px 26px; border-radius: 14px; background: var(--brand); box-shadow: 0 1px 6px rgba(0,160,243,0.10); text-decoration: none; min-height: 42px; min-width: 180px; transition: background 0.2s; }
  .sticky-cta-bar a:hover { background: var(--brand-accent); color: #00374c; }
  main { padding-bottom: 74px; /* Avoid bar overlap */ }
}

/* Fix: Footer mobile improvements */
@media (max-width: 768px) {
  .footer-inner, .footer-bottom { flex-direction: column!important; align-items: center !important; justify-content: center !important; text-align: center !important; display: flex !important; }
  .footer-links ul, .footer-links { align-items: center!important; justify-content: center!important; }
  .footer-bottom p { text-align: center; }
  .site-footer { padding: 0 0 18px 0 !important; }
}
.site-footer { padding-bottom: 0; }
/* Fix: Floating circular back-to-top button */
.back-to-top {
  width: 52px; height: 52px; border-radius: 50%; font-size: 2em; display: none; justify-content: center; align-items: center; background: var(--brand-dark); color: #fff; box-shadow: 0 2px 22px rgba(0,90,153,0.19);
}
@media (max-width: 560px) {
  .back-to-top { width: 44px; height: 44px; font-size: 1.55em; }
}
.back-to-top.show { display: flex !important; }

/* Fix: Section mobile spacing & overflow */
@media (max-width: 768px) {
  .section, .section.alt { padding-top: 40px !important; padding-bottom: 40px !important; margin-bottom: 16px !important; }
  .section h2, .section-intro, h1, h3 { padding: 0 12px; line-height: 1.22; }
  p, h2, h3, h4, li, label { line-height: 1.6; }
  .container, main, body { padding-left: 16px !important; padding-right: 16px !important; }
  html, body { overflow-x: hidden !important; }
}

/* Fix: Remove horizontal padding & hide brand text on mobile, make logo bigger */
@media (max-width: 768px) {
  .container, main, body { padding-left: 0 !important; padding-right: 0 !important; }
  .brand-text { display: none !important; }
  .logo { height: 60px !important; }
}

/* Undo: Logo larger and centered in mobile header */
@media (max-width: 768px) {
  .logo { height: 80px !important; margin-left: auto !important; margin-right: auto !important; display: block !important; }
  .header-inner { justify-content: center !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* Fix: Increase logo/brand size and move to the right on mobile */
@media (max-width: 768px) {
  .logo { height: 96px !important; margin-left: 24px !important; margin-right: 0 !important; display: block !important; }
  .header-inner { justify-content: flex-start !important; }
}

/* Fix: Light horizontal padding mobile - clean layout, no edge-to-edge text */
@media (max-width: 768px) {
  body, main, .section, .section.alt, .container {
    padding-left: 12px !important; padding-right: 12px !important;
  }
  .gallery-slideshow { padding-left: 16px; padding-right: 16px; }
  /* Keep logo/image and navigation paddings as already set */
}

/* Fix: Decrease logo size and align menu bar with padding on mobile */
@media (max-width: 768px) {
  .logo { height: 48px !important; margin-left: 0 !important; }
  .header-inner { padding-left: 12px !important; padding-right: 12px !important; }
  .nav-toggle { margin-left: 8px; }
}

/* Fix: Larger logo and more compact CTA buttons for mobile */
@media (max-width: 768px) {
  .logo { height: 128px !important; margin-left: 24px !important; }
  .hero-cta .btn { min-height: 36px; padding-top: 10px; padding-bottom: 10px; font-size: 1em; }
}

