/* ============================================================
   IN VIEW WINDOW CLEANING — Design System
   ============================================================
   CLIENT CUSTOMISATION — Change these variables only:
   - Colours: --deep, --water, --accent, --gold
   - Fonts: update the Google Fonts link in each HTML <head>
     then change --font-display and --font-body below
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* ── Brand Colours ── */
  --deep:    #0A2A3B;   /* dark navy — headers, footer, dark sections */
  --water:   #1A6B8A;   /* mid blue — labels, links, section accents  */
  --accent:  #5BBFE0;   /* sky blue — CTAs, highlights, hover states   */
  --gold:    #D4A853;   /* warm gold — stars, premium touches           */
  --sky:     #C8E6F5;   /* pale blue — backgrounds, card fills          */
  --white:   #F8FBFD;   /* off-white — page background                  */
  --text:    #1C3444;   /* dark blue-grey — body text                   */
  --muted:   #5A7A90;   /* muted — subtext, captions                    */
  --border:  #D4E8F2;   /* light blue — borders, dividers               */

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* ── Spacing ── */
  --section-pad: 6rem 5%;
  --nav-height:  72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

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

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(10,42,59,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(91,191,224,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--accent); font-style: italic; }
.nav-logo small { display: none; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(248,251,253,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--deep) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #7CCFE8 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; display: block; }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--deep);
  border-top: 1px solid rgba(91,191,224,0.15);
  padding: 1.5rem 5%;
  z-index: 99;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(248,251,253,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(91,191,224,0.1);
  letter-spacing: 0.04em;
}
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 700; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; color: var(--deep); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
h1 em, h2 em, h3 em { color: var(--water); font-style: italic; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--water);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 20px rgba(91,191,224,0.25);
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: #7CCFE8; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(91,191,224,0.45);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(91,191,224,0.1); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--water);
  color: var(--water);
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--water); color: white; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: var(--section-pad); }
.section-center { text-align: center; }
.section-center .lead { max-width: 580px; margin: 0 auto 3rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(10,42,59,0.1); transform: translateY(-3px); }

.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sky), rgba(91,191,224,0.25));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: #FAFCFE;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,191,224,0.12);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--accent);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 22s linear infinite;
}
.ticker-inner span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
  padding: 0 2.5rem;
}
.ticker-inner span::before { content: '◆  '; font-size: 0.5rem; vertical-align: middle; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   PAGE HERO (inner pages — smaller than homepage)
   ============================================================ */
.page-hero {
  background: linear-gradient(150deg, var(--deep) 0%, #0D3F5A 60%, var(--water) 100%);
  padding: calc(var(--nav-height) + 4rem) 5% 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235BBFE0' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); position: relative; }
.page-hero .lead { color: rgba(200,230,245,0.75); max-width: 520px; margin: 1rem auto 0; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--deep);
  color: rgba(200,230,245,0.65);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.footer-logo span { color: var(--accent); font-style: italic; }
.footer-about { font-size: 0.88rem; line-height: 1.7; max-width: 300px; margin-bottom: 1.5rem; }
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  color: rgba(200,230,245,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(91,191,224,0.1);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
}
.social-links { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(91,191,224,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(200,230,245,0.55);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   UTILITY
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 4rem 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --section-pad: 3rem 5%; }
}
