/* ===== KeyQuest Ltd — Main Stylesheet ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colors from logo + existing site */
  --blue: #3B5B9D;
  --blue-dark: #2A4170;
  --blue-light: #5B7BC4;
  --navy: #152644;
  --navy-deep: #0D1A2E;
  --accent: #05afec;
  --accent-light: #bfedfe;
  --grey: #6E7174;
  --grey-light: #A0A3A6;
  --grey-bg: #f5f5f5;
  --grey-bg-alt: #ebf1f4;
  --text: #14212B;
  --text-muted: #445a69;
  --white: #ffffff;
  --green: #059669;
  --amber: #d97706;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

p {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  line-height: 1.7;
}

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

a:hover { color: var(--accent); }

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

ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #0499cf;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--grey-light);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(21, 38, 68, 0.88) 0%, rgba(59, 91, 157, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background: var(--accent);
}
.hero-buttons .btn-primary:hover {
  background: #0499cf;
}

.hero-buttons .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.hero-buttons .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80') center/cover;
  opacity: 0.1;
}

.page-banner h1 {
  position: relative;
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
}

.page-banner .breadcrumb {
  position: relative;
  margin-top: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a:hover {
  color: var(--white);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--grey-bg);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}
.section-navy p {
  color: rgba(255,255,255,0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-navy .section-label {
  color: var(--accent);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-image {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 200px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grey-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.card .card-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== Image + Text Split ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--grey-bg);
}
.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split-image-left {
  order: -1;
}

/* ===== Tables ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  padding: 16px;
  background: var(--grey-bg);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--blue);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text-muted);
  vertical-align: top;
}

.table td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  z-index: 2;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--grey-light);
  margin-top: 4px;
  min-height: 30px;
}

.timeline-item:last-child .timeline-line { display: none; }

.timeline-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 14px;
}

/* ===== Segment Cards ===== */
.segment {
  border-left: 4px solid var(--blue);
  padding: 24px 28px;
  background: var(--grey-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
  transition: var(--transition);
}
.segment:hover {
  background: var(--grey-bg-alt);
  border-left-color: var(--accent);
}

.segment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.segment h3 {
  font-size: 16px;
}

.segment p {
  font-size: 14px;
  margin-bottom: 4px;
}

.segment strong {
  color: var(--blue);
}

/* ===== Pills / Tags ===== */
.pill {
  display: inline-block;
  background: var(--grey-bg-alt);
  color: var(--blue);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pill-amber {
  background: #fef3c7;
  color: var(--amber);
}

/* ===== Mini Cards ===== */
.mini-card {
  background: var(--grey-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.04);
}

.mini-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 10px;
}

.mini-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}

.mini-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* ===== Pathway Cards ===== */
.pathway {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pathway:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pathway-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.pathway-from {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}

.pathway-arrow {
  font-size: 24px;
  color: var(--blue);
  margin: 8px 0;
}

.pathway-to {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Engagement Format Cards ===== */
.format-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.format-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.format-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}

.format-label {
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  min-width: 75px;
}

.format-value {
  color: var(--text-muted);
}

/* ===== Pricing Factors ===== */
.pricing-factor {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.pricing-factor-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--grey-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pricing-factor-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 6px;
}

.pricing-note {
  background: var(--grey-bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  margin-top: 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== Prepare Section ===== */
.prepare-col {
  border-radius: var(--radius);
  padding: 24px;
}

.prepare-col.do {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.prepare-col.dont {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.prepare-col h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.prepare-col.do h3 { color: var(--green); }
.prepare-col.dont h3 { color: #dc2626; }

.prepare-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.prepare-col.do .prepare-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.prepare-col.dont .prepare-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* ===== Form ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 91, 157, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236E7174' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.form-section-title:first-child { margin-top: 0; }

/* ===== Chips ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--grey-light);
  border-radius: 24px;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}
.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.chip.selected {
  background: var(--grey-bg-alt);
  border-color: var(--blue);
  color: var(--blue);
}

.chip-box {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== Checkboxes ===== */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--grey-light);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.checkbox.checked {
  background: var(--blue);
  border-color: var(--blue);
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Accordion ===== */
.accordion-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-q {
  padding: 18px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-q .chevron {
  color: var(--grey);
  font-size: 18px;
}

.accordion-a {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Contact Info Cards ===== */
.contact-method {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-method:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.contact-method h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-method p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-band .btn {
  background: var(--accent);
  color: var(--white);
}
.cta-band .btn:hover {
  background: #0499cf;
  color: var(--white);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
  height: 55px;
  width: auto;
  margin-bottom: 16px;
  /* JPEG logo: show it on a white rounded chip instead of the invert
     filter, which would render the whole image as a white rectangle */
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-sizing: content-box;
}

.footer h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat h3 {
  font-size: 36px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Mobile ===== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .split-image-left { order: 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  .section-header h2 { font-size: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* ===== Contact Photo + Info ===== */
.contact-split {
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.contact-info-heading {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-info-item-last {
  border-bottom: none;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(5, 175, 236, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.contact-info-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}

a.contact-info-value:hover {
  color: var(--accent);
}

.contact-info-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.contact-info-hours {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

/* ===== Enquiry Form Wrap ===== */
.form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  padding: 40px;
}

.form-alert {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.form-alert p {
  /* darker amber for readable contrast on the pale-yellow banner */
  color: #92400e;
  font-weight: 600;
  font-size: 13px;
}

.form-label-optional {
  font-weight: 400;
  color: var(--grey);
}

.form-footnote {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
}

/* Honeypot: visually and assistively hidden */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Real checkboxes styled like the original boxes */
.checkbox-real {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--grey-light);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  position: relative;
}

.checkbox-real:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.checkbox-real:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-real:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Chips as real checkbox labels */
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip:has(input:checked),
.chip.selected {
  background: var(--grey-bg-alt);
  border-color: var(--blue);
  color: var(--blue);
}

.chip:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Higher-specificity overrides: the navy section's `p` rule must not
   wash out small text on the white form card */
.form-card .form-footnote {
  color: var(--grey);
}

.form-card .checkbox-label {
  color: var(--text-muted);
}

.form-card .form-label-optional {
  color: var(--grey);
}

/* ===== Form Feedback ===== */
.form-success {
  text-align: center;
  padding: 56px 40px;
  border-top: 4px solid var(--green);
}

.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 34px;
  height: 34px;
}

.form-success h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
}

.form-success p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 3px solid #dc2626;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.form-error p {
  color: #991b1b;
  font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll padding for fixed nav */
html { scroll-padding-top: 80px; }
