/* ================================================================
   Sell Flat UK - Main Stylesheet
   sell-flat.co.uk | LDN Properties Limited
   ================================================================ */


/* 1. Custom Properties
   ================================================================ */
:root {
  /* Colours */
  --c-blue:        #000036;
  --c-yellow:      #FFD200;
  --c-white:       #FFFFFF;
  --c-grey-light:  #F5F5F7;
  --c-border:      #E8E8EC;
  --c-muted:       #6B6B7B;
  --c-body:        #333333;
  --c-green:       #1a7a4a;

  /* Typography */
  --f-heading: 'Plus Jakarta Sans', sans-serif;
  --f-body:    'Inter', sans-serif;

  /* Type scale (Major Third, 1.25 ratio) */
  --t-xs:   0.64rem;
  --t-sm:   0.8rem;
  --t-base: 1rem;
  --t-md:   1.25rem;
  --t-lg:   1.563rem;
  --t-xl:   1.953rem;
  --t-2xl:  2.441rem;
  --t-3xl:  3.052rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 5rem;

  /* Radii */
  --r-btn:  8px;
  --r-sm:   12px;
  --r-lg:   16px;
  --r-pill: 50px;

  /* Shadows */
  --sh-soft:   0px 4px 12px rgba(0, 0, 0, 0.05);
  --sh-medium: 0px 8px 24px rgba(0, 0, 0, 0.08);
  --sh-hard:   0px 12px 32px rgba(0, 0, 0, 0.14);

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;

  /* Transitions */
  --tr-fast:   150ms ease;
  --tr-normal: 260ms ease;
}


/* 2. Reset & Base
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--c-body);
  background-color: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  line-height: 1.2;
  color: var(--c-blue);
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}


/* 3. Skip Link
   ================================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  z-index: 10000;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: var(--t-base);
  transition: top var(--tr-fast);
}

.skip-link:focus {
  top: var(--sp-md);
}


/* 4. Layout Utilities
   ================================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-padding {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
}

.bg-light {
  background-color: var(--c-grey-light);
}


/* 5. Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-btn);
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: var(--t-base);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--tr-fast),
    color var(--tr-fast),
    transform var(--tr-fast),
    box-shadow var(--tr-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-medium);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--c-yellow);
  color: var(--c-blue);
}

.btn-primary:hover {
  background-color: #e6be00;
}

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

.btn-outline:hover {
  background-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--sh-medium);
}

.btn-yellow {
  background-color: var(--c-yellow);
  color: var(--c-blue);
  font-weight: 700;
}

.btn-yellow:hover {
  background-color: #e6be00;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--t-md);
}


/* 6. Header
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--tr-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--sh-medium);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  height: 4rem;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 2.2rem;
  width: auto;
}

.main-nav {
  flex: 1;
}

/* Mobile: nav hidden, shows as overlay below header */
.nav-list {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 1px);
  left: calc(-1 * var(--container-pad));
  right: calc(-1 * var(--container-pad));
  background-color: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-medium);
  padding: var(--sp-md);
  gap: var(--sp-xs);
  z-index: 100;
}

.nav-list.is-open {
  display: flex;
}

.nav-link {
  display: block;
  padding: 0.625rem var(--sp-md);
  color: var(--c-body);
  font-weight: 500;
  font-size: var(--t-base);
  border-radius: var(--r-btn);
  white-space: nowrap;
  transition: color var(--tr-fast), background-color var(--tr-fast);
}

.nav-link:hover {
  color: var(--c-blue);
  background-color: var(--c-grey-light);
}

.nav-link:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-left: auto;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--c-blue);
  font-weight: 600;
  font-size: var(--t-base);
  transition: opacity var(--tr-fast);
}

.header-phone:hover {
  opacity: 0.7;
}

.header-phone:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header CTA — always visible */
.header-cta {
  display: inline-flex;
  padding: 0.625rem 1.125rem;
  font-size: var(--t-base);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.375rem;
  border-radius: var(--r-btn);
  flex-shrink: 0;
  transition: background-color var(--tr-fast);
}

.hamburger:hover {
  background-color: var(--c-grey-light);
}

.hamburger:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: var(--c-blue);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform var(--tr-normal),
    opacity var(--tr-normal);
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* 7. Section Header Pattern
   ================================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--t-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  background-color: rgba(0, 0, 54, 0.07);
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-md);
}

.section-header h2 {
  font-size: var(--t-xl);
  font-weight: 700;
  margin-bottom: var(--sp-md);
}

.section-subhead {
  font-size: var(--t-md);
  color: var(--c-muted);
  line-height: 1.65;
}

.section-subhead a {
  color: var(--c-blue);
  text-decoration: underline;
}


/* 8. Hero Section
   ================================================================ */
.hero {
  background-color: var(--c-white);
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
  align-items: center;
}

.hero-content {
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--t-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  background-color: rgba(0, 0, 54, 0.07);
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-lg);
}

@media (max-width: 480px) {
  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
  }
}

.hero-content h1 {
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1.12;
  margin-bottom: var(--sp-lg);
}

.hero-subhead {
  font-size: var(--t-md);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-xl);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
}

/* Hero visual — photo panel */
.hero-visual {
  width: 100%;
  max-width: 480px;
}

.hero-img-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
  box-shadow: var(--sh-hard);
  object-fit: cover;
}

/* Stat cards overlaid on hero photo */
.hero-stat {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-hard);
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.hero-stat-1 {
  bottom: -1rem;
  left: -1rem;
}

.hero-stat-2 {
  top: -1rem;
  right: -1rem;
}

.stat-number {
  font-family: var(--f-heading);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1;
}

.stat-label {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* 9. Who We Help — Situations Grid
   ================================================================ */
.situations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

.situation-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--sh-soft);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.situation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-medium);
}

a.situation-card:hover h3 {
  text-decoration: underline;
}

.situation-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.situation-body {
  padding: var(--sp-xl);
}

.situation-card h3 {
  font-size: var(--t-md);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  color: var(--c-blue);
}

.situation-card p {
  font-size: var(--t-base);
  color: var(--c-muted);
  line-height: 1.65;
}


/* 10. How It Works — Steps
   ================================================================ */
.steps-layout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}

.step-connector {
  display: none;
}

.step-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--sh-soft);
  position: relative;
  flex: 1;
}

.step-number {
  font-family: var(--f-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: var(--sp-md);
}

.step-card h3 {
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--c-blue);
  margin-bottom: var(--sp-md);
}

.step-card p {
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-sm);
}

.step-card p:last-of-type {
  margin-bottom: var(--sp-md);
}

.step-badge {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-blue);
  background: rgba(0, 0, 54, 0.07);
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
}

.steps-cta {
  text-align: center;
}

.steps-cta-note {
  margin-top: var(--sp-sm);
  font-size: var(--t-sm);
  color: var(--c-muted);
}


/* 11. Why Us — Comparison Table
   ================================================================ */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-soft);
  margin-bottom: var(--sp-lg);
  border: 1px solid var(--c-border);
}

.comparison-table {
  background: var(--c-white);
  font-size: var(--t-base);
  min-width: 480px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
  border-bottom: none;
}

.comparison-table thead th {
  background-color: var(--c-blue);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table thead .col-us {
  background-color: var(--c-yellow);
  color: var(--c-blue);
}

.comparison-table tbody tr:hover {
  background-color: rgba(0, 0, 54, 0.02);
}

.comparison-table tbody th {
  font-weight: 500;
  color: var(--c-body);
}

.val-yes {
  color: var(--c-green);
  font-weight: 500;
}

.val-no {
  color: var(--c-muted);
}

.val-neutral {
  color: var(--c-body);
}

.comparison-note {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

.comparison-note a {
  color: var(--c-blue);
  text-decoration: underline;
}


/* 12. Reviews Section
   ================================================================ */
.reviews-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.rc-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 var(--sp-xl);
}

.rc-track {
  display: flex;
  gap: var(--sp-lg);
  transition: transform 400ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .rc-track { transition: none; }
}

.rc-card {
  flex: 0 0 calc(33.333% - var(--sp-lg));
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--sh-soft);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

@media (max-width: 767px) {
  .rc-card { flex: 0 0 calc(100% - var(--sp-lg)); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .rc-card { flex: 0 0 calc(50% - var(--sp-lg)); }
}

.rc-stars {
  color: var(--c-yellow);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rc-text {
  font-size: var(--t-base);
  color: var(--c-body);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.rc-author {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-blue);
  font-family: var(--f-heading);
}

.rc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--sh-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr-fast), border-color var(--tr-fast);
  z-index: 2;
}

.rc-btn:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}

.rc-btn:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

.rc-prev { left: 0; }
.rc-next { right: 0; }

.rc-source {
  text-align: center;
  margin-top: var(--sp-lg);
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.rc-source a {
  color: var(--c-blue);
  text-decoration: underline;
}


/* 13. FAQ Accordion
   ================================================================ */
.faq-inner {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-xl);
  text-align: left;
  font-family: var(--f-heading);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-blue);
  transition: background-color var(--tr-fast);
}

.faq-question:hover {
  background-color: var(--c-grey-light);
}

.faq-question:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: -3px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--c-blue);
  transition: transform var(--tr-normal);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

/* Grid trick for smooth accordion open/close */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--tr-normal);
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-body {
  padding: 0 var(--sp-xl) var(--sp-lg);
}

.faq-answer-body p {
  color: var(--c-body);
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

.faq-answer-body a {
  color: var(--c-blue);
  text-decoration: underline;
}


/* 14. In-Guide Nav
   ================================================================ */
.in-guide-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-md);
}

.in-guide-nav__label {
  flex-basis: 100%;
  margin: 0;
  font-size: var(--t-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  opacity: 0.55;
  white-space: nowrap;
}

.in-guide-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.in-guide-nav li {
  flex-shrink: 0;
}

.in-guide-nav a {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--r-btn);
  background-color: var(--c-grey-light);
  color: var(--c-blue);
  font-size: var(--t-base);
  text-decoration: none;
  line-height: 1.5;
  transition: background-color var(--tr-fast), color var(--tr-fast);
}

.in-guide-nav a:hover {
  background-color: var(--c-blue);
  color: var(--c-white);
}


/* 15. CTA Banner
   ================================================================ */
.cta-banner {
  background-color: var(--c-blue);
  padding-top: var(--sp-4xl);
  padding-bottom: var(--sp-4xl);
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner h2 {
  color: var(--c-white);
  font-size: var(--t-xl);
  font-weight: 700;
  margin-bottom: var(--sp-md);
}

.cta-banner-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--t-md);
  margin-bottom: var(--sp-xl);
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.cta-tel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-size: var(--t-lg);
  font-weight: 600;
  transition: opacity var(--tr-fast);
}

.cta-tel:hover {
  opacity: 0.78;
}

.cta-tel:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.cta-hours {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.5);
}


/* 16. Footer
   ================================================================ */
.site-footer {
  background-color: var(--c-white);
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
}

/* Brand column */
.footer-brand img {
  width: 100px;
  height: auto;
  margin-bottom: var(--sp-md);
}

.footer-tagline {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
  max-width: 280px;
}

.footer-address {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-sm);
}

.footer-tel {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--t-md);
  font-weight: 600;
  color: var(--c-blue);
  margin-bottom: var(--sp-xs);
  transition: opacity var(--tr-fast);
}

.footer-tel:hover {
  opacity: 0.7;
}

.footer-hours {
  font-size: var(--t-sm);
  color: var(--c-muted);
}

/* Nav columns */
.footer-nav-title {
  font-family: var(--f-heading);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-blue);
  margin-bottom: var(--sp-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-links a {
  font-size: var(--t-base);
  color: var(--c-muted);
  transition: color var(--tr-fast);
}

.footer-links a:hover {
  color: var(--c-blue);
}

.footer-links a:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Trust column */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.trust-list svg {
  flex-shrink: 0;
}

/* Footer bottom strip */
.footer-bottom {
  border-top: 1px solid var(--c-border);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}

.footer-legal {
  font-size: var(--t-xs);
  color: var(--c-muted);
  line-height: 1.6;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-legal-nav a {
  font-size: var(--t-sm);
  color: var(--c-muted);
  text-decoration: underline;
  transition: color var(--tr-fast);
}

.footer-legal-nav a:hover {
  color: var(--c-blue);
}

.footer-copyright {
  font-size: var(--t-xs);
  color: var(--c-muted);
}


/* 17. Scroll Reveal
   ================================================================ */
.sr-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transition-delay: calc(var(--stagger, 0) * 75ms);
}

.sr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* 18. Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sr-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* 19. Tablet (768px+)
   ================================================================ */
@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
  }

  .section-padding {
    padding-top: var(--sp-4xl);
    padding-bottom: var(--sp-4xl);
  }

  /* Header */
  .hamburger {
    display: none;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0;
  }

  .header-phone {
    display: flex;
  }

  .header-logo img {
    height: 2.8rem;
  }

  /* Hero */
  .hero {
    padding-top: var(--sp-4xl);
    padding-bottom: var(--sp-4xl);
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-3xl);
  }

  .hero-content {
    flex: 1;
  }

  .hero-content h1 {
    font-size: var(--t-2xl);
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-visual {
    flex: 0 0 340px;
  }

  /* Situations */
  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps — 2x2 grid on desktop */
  .steps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  /* Connectors only visible in single-row layouts; hidden in the 2x2 grid */
  .step-connector {
    display: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA banner */
  .cta-banner-actions {
    flex-direction: row;
    justify-content: center;
  }
}


/* 20. Desktop (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
  /* Header */
  .header-logo img {
    height: 3.2rem;
  }

  .header-cta {
    padding: 0.75rem 1.5rem;
    font-size: var(--t-base);
  }

  /* Hero */
  .hero-content h1 {
    font-size: var(--t-3xl);
  }

  .hero-visual {
    flex: 0 0 440px;
  }

  /* Section headings */
  .section-header h2 {
    font-size: var(--t-2xl);
  }

  /* Situations */
  .situations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-3xl);
  }

  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


/* 21. Large Desktop (1440px+)
   ================================================================ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1300px;
  }
}


/* 22. Inner Page Components
   ================================================================ */

/* Background utilities */
.bg-white  { background: var(--c-white); }
.bg-grey   { background: var(--c-grey-light); }
.bg-blue   { background: var(--c-blue); color: var(--c-white); }
.bg-blue h2, .bg-blue h3, .bg-blue p { color: var(--c-white); }
.bg-blue a { color: var(--c-yellow); }
.bg-blue .btn-yellow { color: var(--c-blue); }

/* Breadcrumb */
.breadcrumb {
  padding: var(--sp-md) 0;
  background: var(--c-grey-light);
  border-bottom: 1px solid var(--c-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: var(--sp-xs);
  color: var(--c-border);
}

.breadcrumb-list a {
  color: var(--c-blue);
  text-decoration: none;
}

.breadcrumb-list a:hover { text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--c-white);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero-content h1 {
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.page-hero-content .hero-subhead {
  margin-bottom: var(--sp-xl);
}

/* Page hero with image */
.page-hero--with-image { padding: 0; }

.page-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 400px;
}

.page-hero-split .page-hero-content {
  padding: var(--sp-3xl) 0 var(--sp-2xl);
}

.page-hero-img {
  display: none;
  position: relative;
}

.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  display: block;
}

@media (min-width: 1024px) {
  .page-hero-split {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    gap: 0 var(--sp-3xl);
  }

  .page-hero-img {
    display: block;
  }
}

/* Info card image */
.info-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-md);
  display: block;
}

/* Rotating flat type card on hero image */
.hero-rotate-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--c-white);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-hard);
  padding: var(--sp-md) var(--sp-lg) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  z-index: 2;
}

.hero-rotate-label {
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-rotate-track {
  position: relative;
  height: 1.75rem;
  overflow: hidden;
  display: block;
  margin: 2px 0 var(--sp-sm);
}

.hero-rotate-item {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--f-heading);
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--c-blue);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.hero-rotate-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-rotate-item.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-rotate-dots {
  display: flex;
  gap: 5px;
  margin-bottom: var(--sp-sm);
}

.hero-rotate-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-border);
  transition: background 300ms ease;
}

.hero-rotate-dot.is-active {
  background: var(--c-yellow);
}


@media (prefers-reduced-motion: reduce) {
  .hero-rotate-item { transition: none; }
  .hero-rotate-progress { animation: none; }
}

/* Two-column content layout */
.content-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
}

@media (min-width: 1024px) {
  .content-cols {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.content-col-main h2 { margin-bottom: var(--sp-md); }
.content-col-main p + p { margin-top: var(--sp-md); }

.aside-trust-box {
  background: var(--c-grey-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
}

.aside-trust-box h3 {
  font-size: var(--t-base);
  margin-bottom: var(--sp-md);
  color: var(--c-blue);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-md) 0 var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  font-size: var(--t-base);
  color: var(--c-body);
}

.check-list li {
  display: flex;
  align-items: flex-start;
}

.check-list li::before {
  content: '\2713';
  color: var(--c-blue);
  font-weight: 700;
  margin-right: var(--sp-sm);
  flex-shrink: 0;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Narrow content column */
.content-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.content-narrow h2 { margin-bottom: var(--sp-md); }
.content-narrow p + p { margin-top: var(--sp-md); }
.content-narrow * + h2 { margin-top: var(--sp-2xl); }
.content-narrow * + h3 { margin-top: var(--sp-xl); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--sh-soft);
  position: relative;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-medium);
}

a.info-card:hover h3 {
  text-decoration: underline;
}

.info-card h3 {
  font-size: var(--t-base);
  color: var(--c-blue);
  margin-bottom: var(--sp-sm);
}

.info-card p {
  font-size: var(--t-base);
  color: var(--c-body);
  line-height: 1.65;
}

/* Process steps */
.process-steps {
  list-style: none;
  padding: 0;
  margin: var(--sp-2xl) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.process-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-content h3 {
  font-size: var(--t-base);
  color: var(--c-blue);
  margin-bottom: var(--sp-xs);
}

.content-col-main h3 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}

.content-col-main h3:first-child {
  margin-top: 0;
}

.process-content p {
  font-size: var(--t-base);
  color: var(--c-body);
  line-height: 1.65;
}

/* Two-column split (text + stats) */
.two-col-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col-split { grid-template-columns: 1fr 1fr; }
}

.two-col-text h2 { margin-bottom: var(--sp-md); }
.two-col-text p + p { margin-top: var(--sp-md); }

.two-col-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .two-col-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .two-col-stats { grid-template-columns: 1fr; }
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
}

.stat-block .stat-number {
  font-family: var(--f-heading);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-block .stat-label {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.75);
}

/* Further reading grid */
.reading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

@media (min-width: 768px) {
  .reading-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reading-grid { grid-template-columns: repeat(3, 1fr); }
}

.reading-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-soft);
  transition: box-shadow var(--tr-base), border-color var(--tr-base);
}

.reading-card:hover {
  box-shadow: var(--sh-medium);
  border-color: var(--c-blue);
}

.reading-card h3 {
  font-size: var(--t-base);
  color: var(--c-blue);
  line-height: 1.4;
}

.reading-card p {
  font-size: var(--t-base);
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
}

.reading-link {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-blue);
  margin-top: var(--sp-xs);
}

.reading-card:hover .reading-link {
  text-decoration: underline;
}

/* Bullet list */
.bullet-list {
  list-style: disc;
  padding-left: var(--sp-xl);
  margin: var(--sp-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  color: var(--c-body);
  line-height: 1.65;
}

/* Two-column card grid variant */
.card-grid--two {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--two { grid-template-columns: repeat(2, 1fr); }
}

/* Alternatives note */
.alternatives-note {
  text-align: center;
  margin-top: var(--sp-xl);
  color: var(--c-muted);
  font-size: var(--t-base);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


/* ================================================================
   About page — credentials grid (bg-blue section)
   ================================================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

@media (min-width: 768px) {
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .credentials-grid { grid-template-columns: repeat(4, 1fr); }
}

.credential-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
}

.credential-card h3 {
  color: #fff;
  font-size: var(--t-lg);
  margin-bottom: var(--sp-sm);
}

.credential-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--t-sm);
  line-height: 1.65;
  margin: 0;
}

.credential-card a {
  color: var(--c-yellow);
  text-decoration: none;
}

.credential-card a:hover {
  text-decoration: underline;
}

.credential-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
}


/* ================================================================
   About page — contact grid (bg-grey section)
   ================================================================ */
.contact-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
}

@media (min-width: 768px) {
  .contact-about-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-about-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-sm);
}

.contact-about-item h3 {
  font-size: var(--t-lg);
  color: var(--c-blue);
  margin: 0 0 var(--sp-xs);
}

.contact-about-item p {
  color: var(--c-muted);
  font-size: var(--t-sm);
  margin: 0;
}

.contact-about-item address {
  font-style: normal;
  color: var(--c-body);
  line-height: 1.65;
}

.contact-about-link {
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: none;
}

.contact-about-link:hover {
  text-decoration: underline;
}


/* ================================================================
   Inner page additions
   ================================================================ */

/* info-card link (used on flat type cards) */
.info-card-link {
  display: inline-block;
  margin-top: var(--sp-md);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: underline;
  transition: opacity var(--tr-fast);
}

.info-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
}

.info-card-link:hover {
  opacity: 0.65;
}

.info-card-link:focus-visible::after {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

/* tighten check-list bottom margin when followed by a note */
.info-card .check-list {
  margin-bottom: var(--sp-sm);
}

/* info-card note (small footnote at bottom of a card) */
.info-card-note {
  margin-top: var(--sp-sm);
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.55;
}

/* content-narrow h3 headings */
.content-narrow h3 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}

.content-narrow h3:first-child {
  margin-top: 0;
}

/* Contact page detail blocks */
.contact-detail-block {
  padding-bottom: var(--sp-xl);
  margin-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--c-border);
}

.contact-detail-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-phone-large {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-blue);
  margin: var(--sp-xs) 0 var(--sp-sm);
  transition: opacity var(--tr-fast);
}

.contact-phone-large:hover {
  opacity: 0.7;
}

.contact-phone-large:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}
