/* ===================================================================
   RELIANT LINK — STYLES
   Brand colours and typography are controlled via CSS variables below.
=================================================================== */

:root {
  --navy: #0F2747;
  --navy-dark: #0A1B33;
  --deep-red: #8A2701;
  --deep-red-dark: #6E1F01;
  --white: #FFFFFF;
  --light-background: #F7F8FA;
  --charcoal: #333333;
  --border-soft: #E4E7EC;

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;

  --container-width: 1180px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 4px 20px rgba(15, 39, 71, 0.08);
  --shadow-medium: 0 10px 30px rgba(15, 39, 71, 0.12);
  --transition: 0.25s ease;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 1rem;
}
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--deep-red-dark); }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--deep-red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

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

.section { padding: 96px 0; }
.section-alt { background: var(--light-background); }

.section-label {
  color: var(--deep-red);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 720px;
}
.section-description {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.section-intro { margin-bottom: 56px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--deep-red);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--deep-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--border-soft);
  transition: box-shadow var(--transition);
}
.nav-bar {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--deep-red);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--deep-red); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle-bar {
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--light-background) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 1.25rem;
}
.hero-subtext {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.trust-indicators {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-indicators li {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}
.trust-indicators li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--deep-red);
}
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.highlight-statement {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--deep-red);
  border-left: 3px solid var(--deep-red);
  padding-left: 18px;
  margin-top: 1.5rem;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-background);
  color: var(--navy);
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--charcoal);
  font-size: 0.97rem;
  margin-bottom: 0;
}
.services-cta {
  text-align: center;
  margin-top: 64px;
}
.services-cta p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* ============ WHY US ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.feature-card {
  text-align: left;
  padding: 8px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--navy);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--navy); }
.feature-icon svg path:last-child { stroke: var(--deep-red); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.97rem; margin-bottom: 0; }

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  position: relative;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-background);
  color: var(--deep-red);
  margin-bottom: 14px;
}
.step-icon svg { width: 24px; height: 24px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ============ BENEFITS ============ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.benefits-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.benefits-list {
  display: grid;
  gap: 14px;
  margin-top: 1.75rem;
}
.benefits-list li {
  font-weight: 700;
  color: var(--navy);
  padding-left: 34px;
  position: relative;
  font-size: 1.02rem;
}
.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--deep-red);
  color: var(--white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--deep-red);
}
.testimonial-company {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--deep-red);
  margin-bottom: 0.75rem;
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--navy);
  font-size: 1.02rem;
}
.testimonial-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.1rem;
  margin-top: 1rem;
}
.testimonial-role {
  font-size: 0.88rem;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* ============ FAQ ============ */
.accordion {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
}
.accordion-item {
  border-bottom: 1px solid var(--border-soft);
}
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--deep-red);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 4px;
}
.accordion-panel p {
  padding-bottom: 20px;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--deep-red);
}
.final-cta-content { max-width: 680px; margin: 0 auto; }
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 18px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-form {
  background: var(--light-background);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,39,71,0.1);
  outline: none;
}
.form-row textarea { resize: vertical; }
.form-row-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-row-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--deep-red);
  flex-shrink: 0;
}
.form-row-checkbox label { font-weight: 500; }
.form-error {
  color: var(--deep-red);
  font-size: 0.82rem;
  min-height: 1em;
}
.form-status {
  font-weight: 700;
  min-height: 1.2em;
  margin-bottom: 0.5rem;
}
.form-status.success { color: #1a6b3c; }
.form-status.error { color: var(--deep-red); }
.form-submit { width: 100%; margin-top: 8px; }

/* ============ LEGAL PAGES ============ */
.legal-page { padding-top: 64px; }
.legal-content {
  max-width: 780px;
}
.legal-content .section-heading {
  max-width: none;
  margin-bottom: 0.5rem;
}
.legal-updated {
  color: var(--charcoal);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
}
.legal-content p,
.legal-content li {
  font-size: 1rem;
  color: var(--charcoal);
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-badge {
  display: inline-flex;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.footer-logo-badge img { height: 60px; width: auto; }
.footer-tagline { color: rgba(255,255,255,0.75); max-width: 280px; }
.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; }
.footer-contact p { margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: var(--white); }

/* ============ FADE-UP ANIMATION ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-media,
  .benefits-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 24px;
    box-shadow: var(--shadow-medium);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nav-cta { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px 22px; }
}
