
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Layout */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(10px);
}

/* Brand link reset */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-link:visited,
.brand-link:hover,
.brand-link:active {
  color: inherit;
  text-decoration: none;
}

.brand-link img {
  display: block;
}

/* Nav */
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0ea5e9;
}

.nav-brand span {
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: #f9fafb;
  border-color: #4b5563;
}

.nav-links a.active {
  color: #38bdf8;
  border-color: #38bdf8;
}

.nav-cta {
  display: flex;
  gap: 0.5rem;
}

/* Buttons */
.btn,
.quick-enquiry-form button,
.thank-you-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-primary,
.quick-enquiry-form button,
.thank-you-card .btn-primary {
  background: #0ea5e9;
  color: #020617 !important;
  border-color: #0369a1;
}

.btn-primary:hover,
.quick-enquiry-form button:hover,
.thank-you-card .btn-primary:hover {
  background: #38bdf8;
  color: #020617 !important;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: #4b5563;
}

.btn-outline:hover {
  border-color: #38bdf8;
}

/* Hero */
.hero {
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #1e3a8a, #020617 55%);
  border: 1px solid #1f2937;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.hero-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
}

.hero-badge.secondary {
  border-color: #0ea5e9;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: 2.1rem;
}

.lead {
  margin: 0;
  font-size: 1rem;
  color: #d1d5db;
}

.hero-ctas {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-meta {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-panel {
  border-radius: 16px;
  padding: 1rem;
  background: #020617;
  border: 1px solid #1f2937;
  font-size: 0.9rem;
}

.hero-panel h2 {
  margin-top: 0;
}

/* Sections */
section {
  margin-top: 2.5rem;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.section-heading p {
  margin: 0;
  color: #9ca3af;
}

/* Grids & cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: #020617;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid #1f2937;
  font-size: 0.9rem;
}

.card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0 0 0.6rem;
  color: #d1d5db;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #9ca3af;
  font-size: 0.86rem;
}

.emoji {
  font-size: 1.4rem;
}

/* List columns */
.list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
}

.list-columns h3 {
  margin: 0 0 0.4rem;
}

.list-columns ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #9ca3af;
  font-size: 0.88rem;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  font-size: 0.85rem;
}

.step {
  background: #020617;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  border: 1px solid #1f2937;
}

.step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  background: #0ea5e9;
  color: #020617;
  margin-bottom: 0.35rem;
}

.step span {
  color: #9ca3af;
}

/* Quotes */
.quote-band {
  background: #020617;
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid #1f2937;
}

.quote-band h3 {
  margin-top: 0;
}

.quote-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.9rem;
}

.quote {
  font-size: 0.86rem;
  color: #d1d5db;
  border-left: 2px solid #4b5563;
  padding-left: 0.7rem;
}

.quote span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* CTA band */
.cta-band {
  margin-top: 2.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid #16a34a;
  background: #022c22;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
}

.cta-band p {
  margin: 0;
  color: #bbf7d0;
  font-size: 0.9rem;
}

.contact-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Content blocks */
.content-block {
  background: #020617;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid #1f2937;
  color: #d1d5db;
  font-size: 0.92rem;
}

.content-block h3 {
  margin-top: 0;
}

/* Footer */
footer {
  border-top: 1px solid #1f2937;
  margin-top: 3rem;
  padding: 1rem 1.25rem 1.5rem;
  background: #020617;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-inner a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .process-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .quote-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .list-columns {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 720px) {
  main {
    padding: 1.25rem 1rem 3rem;
  }
  .nav {
    flex-wrap: wrap;
  }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    padding: 1.2rem;
  }
  .grid-3 {
    grid-template-columns: minmax(0,1fr);
  }
  .process-steps {
    grid-template-columns: minmax(0,1fr);
  }
  .quote-list {
      grid-template-columns: minmax(0,1fr);
  }
  .cta-band {
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- MOBILE HEADER IMPROVEMENTS --- */
@media (max-width: 480px) {

  .nav {
    padding: 1rem; /* more breathing room */
  }

  .nav-brand img {
    width: 40px;
    height: 40px; /* slightly bigger logo */
  }

  .nav-brand span {
    font-size: 1.15rem; /* larger title text */
  }

  .nav-links {
    font-size: 1rem; /* bigger menu text */
    gap: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.55rem 1rem; /* easier to tap */
  }
}

/* Quick enquiry form */
.quick-enquiry-form {
  margin-top: 1.2rem;
  max-width: 520px;
}

.quick-enquiry-group {
  margin-bottom: 0.8rem;
}

.quick-enquiry-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.quick-enquiry-form select,
.quick-enquiry-form input[type="email"],
.quick-enquiry-form input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.quick-enquiry-form select:focus,
.quick-enquiry-form input:focus {
  outline: none;
  border-color: #38bdf8;
}

.quick-consent {
  margin: 0.9rem 0;
}

.quick-enquiry-form button {
  margin-top: 0.3rem;
}

.hidden-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Content links */
.content-block a,
.thank-you-card a,
footer a {
    color: #38bdf8;
    text-decoration: none;
}

.content-block a:hover,
.thank-you-card a:hover,
footer a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Thank you page button fix */
.thank-you-card .btn-primary {
    color: #020617;
    font-weight: 600;
}

.thank-you-card .btn-primary:hover {
    color: #020617;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Thank You page fixes */
.thank-you-card {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.96);
    border: 1px solid #1f2937;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    text-align: center;
}

.thank-you-card h1,
.thank-you-card h2,
.thank-you-card p {
    color: #ffffff;
}

.thank-you-card p {
    color: #e5e7eb;
}

.thank-you-card .btn {
    margin-top: 1rem;
}

/* Force thank-you button to match Send enquiry exactly */
.thank-you-card .btn-primary {
  background: #0ea5e9 !important;
  color: #020617 !important;
  border: 1px solid #0369a1 !important;
  font-weight: 500 !important;
}

.thank-you-card .btn-primary:hover {
  background: #38bdf8 !important;
  color: #020617 !important;
}