/* ==========================================================================
   Element Roofing — Brisbane
   Shared stylesheet for index.html and contact.html
   Palette derived directly from the Element Roofing logo.
   ========================================================================== */

:root {
  --navy: #1e2d5a;
  --navy-dark: #172345;
  --navy-lift: #263a75;     /* Slightly lighter navy for cards on dark base */
  --blue: #2b5ec8;
  --blue-dark: #2451ad;
  --blue-soft: #8fb4ff;     /* Light accent blue for eyebrows/labels on dark */
  --charcoal: #3a3d4a;
  --white: #ffffff;
  --page-bg: #1e2d5a;        /* Navy base for whole page */
  --grey: #24366f;           /* Alt section tint on dark base */
  --grey-line: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.62);

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 6px rgba(30, 45, 90, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 45, 90, 0.08);
  --shadow-lg: 0 18px 48px rgba(30, 45, 90, 0.12);

  --container: 1200px;
  --nav-height: 84px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 90% 10%, rgba(43, 94, 200, 0.22), transparent 60%),
    radial-gradient(900px 500px at 0% 80%, rgba(43, 94, 200, 0.16), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(43, 94, 200, 0.1), transparent 60%),
    var(--page-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 14px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Eyebrow + tags -------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 14px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn[disabled], .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}
.btn-navy  { background: #0d0f14; color: var(--white); border-color: #0d0f14; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.btn-navy:hover  { background: #1a1d26; color: var(--white); border-color: var(--blue-soft); }
.btn-blue  { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover  { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: var(--white); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* -------- Navigation -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(23, 35, 69, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}
.nav-logo img {
  /* Invert dark logo to white on the navy header */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--blue-soft);
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Push page content below fixed nav */
.page { padding-top: var(--nav-height); }

/* -------- Hero (home) -------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(43, 94, 200, 0.35), transparent 60%),
    radial-gradient(900px 400px at 0% 110%, rgba(43, 94, 200, 0.2), transparent 60%);
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}
.trust-strip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-soft);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--navy) 0%, #24366f 50%, var(--blue) 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-visual img + .placeholder-art { display: none; }
.hero-visual .badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  max-width: 260px;
  z-index: 3;
}
.hero-visual .badge strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: var(--navy);
}
.hero-visual .badge span {
  font-size: 0.85rem;
  color: var(--charcoal);
}
/* Roof silhouette (fallback only) */
.hero-visual .placeholder-art {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 70%;
  opacity: 0.55;
  z-index: 1;
}

/* -------- Section base -------- */
.section { padding: 88px 0; position: relative; }
.section-grey {
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(43, 94, 200, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.15);
}
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-heading p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

/* -------- Services -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  border-color: var(--blue-soft);
  background: #12151c;
}
.service-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--navy) 0%, #24366f 50%, var(--blue) 100%);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-image .placeholder-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.service-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}
/* When a real image loads on top, hide the SVG placeholder underneath */
.service-image img + .placeholder-art { display: none; }
.service-card .icon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}
.service-card .icon svg {
  width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-body {
  padding: 22px 24px 26px;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.service-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin: 0;
}

/* -------- Stratco / Colour Guides band -------- */
.stratco {
  background:
    radial-gradient(600px 300px at 90% 50%, rgba(43, 94, 200, 0.2), transparent 60%),
    radial-gradient(500px 250px at 10% 100%, rgba(43, 94, 200, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.2);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stratco .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.stratco .eyebrow { color: var(--blue-soft); }
.stratco h2 { color: var(--white); margin-bottom: 14px; }
.stratco p {
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 0;
}
.stratco-cta { display: block; }

/* Colour chart list — stacked pill buttons modelled on the reference */
.colour-chart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.colour-chart-btn.pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #0d0f14;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.colour-chart-btn.pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(43, 94, 200, 0.45);
}
.colour-chart-btn.pill .brand-logo {
  flex-shrink: 0;
  width: 140px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.colour-chart-btn.pill .brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.colour-chart-btn.pill .label {
  flex: 1;
}
.colour-chart-btn.pill .arrow {
  display: inline-block;
  font-size: 1.1rem;
  opacity: 0.6;
  transition: transform .2s ease, opacity .2s ease;
}
.colour-chart-btn.pill:hover .arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* -------- About -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--charcoal) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-md);
}
.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
  pointer-events: none;
}
.about-image .stamp {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: var(--white);
  color: var(--navy);
  padding: 16px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--blue);
  z-index: 3;
}
.about-image .stamp-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image .stamp-icon svg { width: 22px; height: 22px; }
.about-image .stamp strong { display: block; font-size: 1rem; line-height: 1.2; margin-bottom: 2px; color: var(--navy); }
.about-image .stamp span { font-size: 0.82rem; color: #6b6f7a; }
.about-content .tag-row { margin-top: 22px; }
.about-content p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }

/* -------- Footer -------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
}
.footer a { color: rgba(255,255,255,0.85); transition: color .15s ease; }
.footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 64px;
  width: auto;
  display: block;
  /* Invert dark logo so it renders white on the navy footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-bio {
  color: rgba(255,255,255,0.72);
  max-width: 360px;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }

.footer-contact { margin: 0; }
.footer-contact .row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact .row svg {
  width: 16px; height: 16px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 4px;
}

.social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* -------- Page hero (contact) -------- */
.page-hero {
  background:
    radial-gradient(800px 300px at 80% 20%, rgba(43, 94, 200, 0.3), transparent 60%),
    radial-gradient(600px 250px at 15% 80%, rgba(43, 94, 200, 0.18), transparent 60%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p {
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.page-hero .eyebrow { color: var(--blue-soft); }

/* -------- Contact forms -------- */
.forms-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-card.accent { border-top: 4px solid var(--blue-soft); }
.form-card.primary { border-top: 4px solid var(--blue); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; color: var(--white); }
.form-card .form-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.field select option { color: #1a1a1a; background: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(143, 180, 255, 0.18);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Required asterisk */
.field label .required {
  color: #ff6b6b;
  font-weight: 700;
  margin-left: 2px;
}

/* Invalid state — only after the user has interacted with the field */
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.14);
}

/* Inline error message (only shows when related field is user-invalid) */
.field .field-error {
  display: none;
  color: #ff9b9b;
  font-size: 0.82rem;
  margin-top: 6px;
}
.field:has(input:user-invalid) .field-error,
.field:has(select:user-invalid) .field-error,
.field:has(textarea:user-invalid) .field-error {
  display: block;
}

/* -------- Contact info bar -------- */
.info-bar {
  background: rgba(255, 255, 255, 0.05);
  margin-top: 56px;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.info-bar .item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.info-bar .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--blue-soft);
}
.info-bar .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-bar .label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.info-bar .value { font-size: 1rem; color: var(--white); font-weight: 700; }

/* -------- Thank-you modal -------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  animation: modal-fade 0.25s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-card {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--blue);
  padding: 44px 36px 36px;
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(43, 94, 200, 0.35);
}
.modal-icon svg { width: 32px; height: 32px; }
.modal-card h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: var(--white);
}
.modal-card p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
  font-size: 1rem;
}
.modal-card .btn { min-width: 140px; }

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stratco .container { grid-template-columns: 1fr; }
  .stratco-cta { text-align: left; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .forms-grid {
    grid-template-columns: 1fr;
    margin-top: -30px;
    gap: 24px;
  }
  .info-bar { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 720px) {
  :root { --nav-height: 72px; }
  .nav-menu { display: none; }
  .nav-toggle {
    display: block;
    margin-left: auto; /* push burger to the right */
  }

  /* Unified dropdown panel — contains both nav links and CTA */
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(23, 35, 69, 0.96);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: static;
    width: 100%;
    margin: 0;
  }
  .nav-logo img { height: 44px; }
  h1 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card {
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.3);
  }
  .stratco { padding: 56px 0; }
  .colour-chart-list { max-width: none; margin-left: 0; }
  .colour-chart-btn.pill { padding: 12px 16px; font-size: 0.88rem; gap: 12px; }
  .colour-chart-btn.pill .brand-logo { width: 110px; height: 36px; }
  .footer .container { justify-content: center; text-align: center; }

  /* Centre all footer content on mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-col h4 { text-align: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-logo img { margin-left: auto; margin-right: auto; }
  .footer-bio { margin-left: auto; margin-right: auto; }
  .footer-links { display: inline-block; text-align: center; padding: 0; }
  .footer-contact .row { justify-content: center; }
  .social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
  .footer-bottom .legal-links { justify-content: center; }
}
