/* ==========================================================================
   Elite Senior Care - style.css
   Fonts (DM Sans, Playfair Display) and Font Awesome are loaded from index.html.
   ========================================================================== */

/* =====================================================
   VARIABLES
===================================================== */

:root {
  --navy: #0a2850;
  --dark-navy: #061a38;
  --gold-dark: #8a6427;   /* gold that is readable as text on light backgrounds */
  --gold-hover: #a67a35;  /* hover state for gold buttons */
  --gold-light: #e6cf9c;  /* gold text on dark navy backgrounds */
  --gold-tint: #f7f0e0;   /* pale gold backgrounds */
  --cream: #f7f4ed;
  --warm-white: #fcfbf8;
  --white: #ffffff;
  --text: #22304a;
  --muted: #5d6a80;
  --border: #e4dece;
  --gold: #bc8d45;
  --shadow: 0 20px 60px rgba(10, 40, 80, 0.10);
  --radius: 8px;
  --container: 1180px;
  --header-h: 118px;
}

/* =====================================================
   RESET
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

button,
input {
  font-family: inherit;
}

/* 16px stops iOS Safari zooming in when a field is focused */
input {
  font-size: 16px;
}

button {
  cursor: pointer;
}

/* =====================================================
   CONTAINER
===================================================== */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: min(calc(100% - 40px), 1280px);
  height: var(--header-h);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
}

.logo-home {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
}

.logo-text {
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text strong {
  display: block;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  gap: 8px;
  align-items: center;
}

.phone-link i {
  color: var(--navy);
}

.header-button {
  padding: 12px 20px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
}

.mobile-header-phone {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--gold);
  font-size: 16px;
}

.mobile-nav {
  display: none;
}

.mobile-call-bar {
  display: none;
}

/* =====================================================
   BUTTONS
===================================================== */

.button {
  min-height: 50px;
  padding: 0 25px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: var(--gold);
}

.button-primary:hover {
  background: var(--dark-navy);
  border-color: var(--gold);
}

.button-light {
  background: var(--navy);
  color: var(--gold);
}

.button-dark {
  background: var(--navy);
  color: var(--gold);
}

.button-white {
  background: var(--navy);
  color: var(--gold);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1559234938-b60fff04894d?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
  margin-top: var(--header-h);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 56, 0.90) 0%, rgba(6, 26, 56, 0.72) 45%, rgba(6, 26, 56, 0.15) 100%);
}

.hero-container {
  width: min(calc(100% - 40px), var(--container));
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(650px, 100%);
  color: white;
  padding: 100px 0;
}

.eyebrow {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero p {
  max-width: 540px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rating {
  margin-top: 38px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 17px;
}

.rating strong {
  font-size: 16px;
  margin-right: 5px;
}

.rating span {
  font-size: 13px;
  opacity: 0.8;
}

/* =====================================================
   CONSULTATION
===================================================== */

.consultation-section {
  padding: 90px 20px;
  background: var(--cream);
}

.consultation-wrapper {
  max-width: 1000px;
  margin: auto;
}

.consultation-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.consultation-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 15px;
}

.consultation-heading p {
  color: var(--muted);
}

.consultation-card {
  background: white;
  padding: 42px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress-area {
  margin-bottom: 35px;
}

.progress-area span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.progress-bar {
  height: 4px;
  background: #ece7da;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 5px;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 25px;
}

.step-description {
  color: var(--muted);
  margin-top: -15px;
  margin-bottom: 25px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.option-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.choice {
  border: 1px solid var(--border);
  background: white;
  min-height: 130px;
  border-radius: 6px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice i {
  font-size: 25px;
  color: var(--navy);
}

.choice span {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.choice:hover {
  border-color: var(--gold);
  background: var(--gold-tint);
  transform: translateY(-2px);
}

.choice.selected {
  background: var(--gold-tint);
  border-color: var(--gold);
}

.care-options {
  display: grid;
  gap: 12px;
}

.care-option {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 17px;
  cursor: pointer;
  transition: 0.2s;
}

.care-option:hover {
  border-color: var(--gold);
}

.care-option input {
  position: absolute;
  opacity: 0;
}

.check-icon {
  width: 25px;
  height: 25px;
  border: 1px solid #d3ccb8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.care-option input:checked + .check-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.check-icon i {
  display: none;
  font-size: 11px;
}

.care-option input:checked + .check-icon i {
  display: block;
}

.care-option strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.care-option small {
  color: var(--muted);
  display: block;
}

.input-wrapper {
  margin-bottom: 20px;
}

.input-wrapper label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.input-wrapper input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 15px;
  outline: none;
}

.input-wrapper input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(188, 141, 69, 0.22);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
}

.input-with-icon input {
  padding-left: 45px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.next-button,
.submit-button {
  border: 0;
  background: var(--navy);
  color: var(--gold);
  padding: 14px 23px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.submit-button {
  width: 100%;
  justify-content: center;
  min-height: 53px;
}

.consent {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0;
}

.consent input {
  margin-top: 4px;
  accent-color: var(--gold);
}

.form-navigation {
  margin-top: 25px;
}

.back-button {
  display: none;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-weight: 700;
}

/* =====================================================
   HELP STRIP
===================================================== */

.help-strip {
  background: var(--navy);
  color: var(--white);
  padding: 42px 20px;
}

.help-content {
  max-width: var(--container);
  margin: auto;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 25px;
  align-items: center;
}

.help-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  font-size: 25px;
}

.help-strip .eyebrow {
  color: var(--gold-light);
  margin-bottom: 4px;
}

.help-strip h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  margin-bottom: 4px;
}

.help-strip p {
  opacity: 1;
}

/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section {
  padding: 100px 0;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 55px;
}

.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 18px;
}

.section-intro p {
  color: var(--muted);
  font-size: 17px;
}

/* =====================================================
   WHY US
===================================================== */

.why-section {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img {
  height: 620px;
  border-radius: 5px;
}

.image-badge {
  position: absolute;
  right: -25px;
  bottom: 35px;
  background: white;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.image-badge strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  color: var(--navy);
  line-height: 1;
}

.image-badge span {
  font-size: 12px;
  color: var(--muted);
}

.why-content {
  display: grid;
  gap: 30px;
}

.feature {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-tint);
  color: var(--navy);
}

.feature h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 5px;
}

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

/* =====================================================
   SERVICES
===================================================== */

.services-section {
  background: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 40, 80, 0.12);
}

.service-image {
  position: relative;
}

.service-image img {
  height: 220px;
}

.service-icon {
  position: absolute;
  left: 20px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-content {
  padding: 40px 25px 27px;
}

.service-content h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.service-content a,
.resource-card a,
.text-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* =====================================================
   SUPPORT
===================================================== */

.support-section {
  background: white;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.support-image img {
  height: 650px;
  border-radius: 5px;
}

.support-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.support-content > p {
  color: var(--muted);
  margin-bottom: 35px;
}

.support-list {
  display: grid;
  gap: 25px;
}

.support-item {
  display: flex;
  gap: 17px;
}

.support-item > i {
  color: var(--navy);
  width: 25px;
  padding-top: 4px;
}

.support-item h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 3px;
}

.support-item p {
  color: var(--muted);
  font-size: 13px;
}

/* =====================================================
   RECOGNITION
===================================================== */

.recognition-section {
  background: var(--cream);
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.recognition-image {
  min-height: 440px;
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.recognition-card {
  background: white;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.recognition-card span {
  font-size: 38px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
}

.recognition-card strong {
  font-size: 24px;
  color: var(--navy);
}

.recognition-card small {
  color: var(--muted);
}

.recognition-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.recognition-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials-section {
  background: white;
}

.testimonial-slider {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 20px;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 20px 30px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.quote-mark {
  font-family: Georgia, serif;
  color: var(--navy);
  font-size: 80px;
  line-height: 0.6;
  margin-bottom: 20px;
}

.testimonial p {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.45;
  margin: 18px 0 25px;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.testimonial-author div:last-child {
  text-align: left;
}

.testimonial-author strong {
  display: block;
  color: var(--navy);
}

.testimonial-author span {
  color: var(--muted);
  font-size: 12px;
}

.slider-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
}

.slider-button:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 30px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d1bf;
  border: 0;
}

.slider-dot.active {
  background: var(--gold);
}

/* =====================================================
   RESOURCES
===================================================== */

.resources-section {
  background: var(--cream);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.resource-card {
  background: white;
  padding: 35px 25px;
  border-top: 3px solid var(--gold);
}

.resource-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.resource-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.resource-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* =====================================================
   HOW IT WORKS
===================================================== */

.how-section {
  background: white;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.video-card img {
  height: 570px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 0;
  background: white;
  color: var(--navy);
  font-size: 22px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.how-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.how-content > p {
  color: var(--muted);
  margin-bottom: 30px;
}

.steps-list {
  display: grid;
  gap: 20px;
}

.how-step {
  display: flex;
  gap: 15px;
}

.how-step > span {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.how-step strong {
  display: block;
  color: var(--navy);
}

.how-step p {
  color: var(--muted);
  font-size: 13px;
}

/* =====================================================
   FAQ
===================================================== */

.faq-section {
  background: var(--cream);
}

.faq-container {
  max-width: 900px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 5px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.faq-question i {
  transition: transform 0.25s ease;
  color: var(--navy);
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--muted);
  padding: 0 40px 25px 5px;
}

/* =====================================================
   COMMUNITY
===================================================== */

.community-section {
  min-height: 550px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.community-image {
  background-color: #fff;
  background-image: url("images/logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  padding: 48px;
}

.community-content {
  background: var(--navy);
  color: white;
  padding: 80px max(40px, 8vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.community-content .eyebrow {
  color: var(--gold-light);
}

.community-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.community-content p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

/* =====================================================
   FINAL CTA
===================================================== */

.final-cta {
  background: var(--navy);
  color: var(--white);
  padding: 65px 0;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .eyebrow {
  color: var(--gold-light);
  margin-bottom: 5px;
}

.final-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.final-cta p {
  opacity: 1;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  background: var(--dark-navy);
  color: white;
  padding-top: 75px;
}

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

.footer-logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 25px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* =====================================================
   MODAL
===================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  width: min(850px, 100%);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  background: var(--navy);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: white;
  color: var(--navy);
  z-index: 3;
}

.video-placeholder {
  text-align: center;
  color: white;
}

.video-placeholder > i {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: grid;
  place-items: center;
  margin: auto auto 20px;
}


/* =====================================================
   HEADER LOGO IMAGE
   (moved here from the inline <style> blocks in index.html)
===================================================== */

.site-header .logo-home {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: flex;
  align-items: center;
}

.custom-logo {
  height: 100px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}


/* =====================================================
   INTERACTION, FORM STATES & ACCESSIBILITY
===================================================== */

a,
button,
input,
label {
  touch-action: manipulation;
}

a,
button {
  -webkit-tap-highlight-color: rgba(188, 141, 69, 0.18);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

.care-option input:focus-visible + .check-icon {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.form-step h3:focus {
  outline: none;
}

.input-wrapper input.invalid {
  border-color: #b3261e;
}

.field-error {
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.care-options + .field-error {
  margin: 12px 0 0;
}

.next-button:disabled,
.submit-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-success {
  text-align: center;
  padding: 30px 10px;
  animation: fadeIn 0.3s ease;
}

.form-success i {
  font-size: 46px;
  color: var(--navy);
  margin-bottom: 18px;
}

.form-success h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
}

/* Larger tap area for the slider dots */
.slider-dot {
  position: relative;
  cursor: pointer;
}

.slider-dot::after {
  content: "";
  position: absolute;
  inset: -8px -3px;
}

/* Touch screens: no "stuck" hover states after a tap */
@media (hover: none) {
  .button:hover,
  .service-card:hover {
    transform: none;
  }

  .service-card:hover {
    box-shadow: none;
  }

  .choice:not(.selected):hover {
    transform: none;
    border-color: var(--border);
    background: white;
  }

  .slider-button:hover {
    background: white;
    color: var(--gold);
    border-color: var(--border);
  }

  .play-button:hover {
    transform: translate(-50%, -50%);
  }

  .desktop-nav a:hover::after {
    width: 0;
  }
}

/* Touch screens: comfortable tap targets */
@media (pointer: coarse) {
  .social-links a {
    width: 40px;
    height: 40px;
  }

  .footer-column a {
    padding: 4px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



/* =====================================================
   THEME ADDITIONS (gold + navy)
===================================================== */

.header-button:hover,
.next-button:hover,
.submit-button:hover {
  background: var(--dark-navy);
}

.footer-column h3 {
  color: var(--gold-light);
}

.footer-column a:hover {
  color: var(--gold-light);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}


/* =====================================================
   RESPONSIVE  (desktop-first)

   Targets
   - Phones from iPhone X (375px wide) upward, portrait + landscape
   - Tablets from iPad / Samsung Galaxy Tab (768px wide) upward,
     portrait + landscape

   Breakpoints
   1199px  small laptops / tablet landscape
   1023px  tablets (hamburger menu, stacked sections)
    767px  large phones / small tablets
    599px  phones
    400px  compact phones (iPhone X / SE class)
===================================================== */

/* ---------- Small laptops / tablet landscape (1024 - 1199px) ---------- */
@media (max-width: 1199px) {
  .header-inner {
    gap: 18px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .logo-text {
    font-size: 15px;
  }

  .header-actions {
    gap: 14px;
  }

  .phone-link span {
    display: none;
  }

  .phone-link {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .why-grid,
  .support-grid,
  .recognition-grid,
  .how-grid {
    gap: 56px;
  }

  .footer-grid {
    gap: 36px;
  }
}


/* ---------- Tablets and below (max 1023px) ---------- */
@media (max-width: 1023px) {
  :root {
    --header-h: 98px;
  }

  /* Header: hamburger menu */
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 8px;
  }

  .mobile-header-phone {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    margin-right: 6px;
  }

  .custom-logo {
    height: 82px;
    max-width: 190px;
  }

  .mobile-nav {
    padding: 6px 30px 26px;
    background: white;
    border-top: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.active {
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }

  .mobile-nav a {
    padding: 15px 0;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 1px solid #ece7da;
  }

  .mobile-nav .mobile-phone {
    color: var(--navy);
    border-bottom: 0;
  }

  /* Frozen call bar: always visible at the bottom of the screen on mobile/tablet */
  .mobile-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    min-height: 56px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--navy);
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-call-bar i {
    font-size: 16px;
  }

  /* keep page content clear of the frozen call bar */
  body {
    padding-bottom: 56px;
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  /* Hero */
  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: min(620px, 100%);
    padding: 80px 0;
  }

  .hero p {
    font-size: 18px;
  }

  /* Consultation */
  .consultation-section {
    padding: 72px 24px;
  }

  .consultation-card {
    padding: 34px;
  }

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

  .section-intro {
    margin-bottom: 44px;
  }

  .why-grid,
  .support-grid,
  .recognition-grid,
  .how-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .why-image img,
  .support-image img {
    height: 500px;
  }

  .video-card img {
    height: 460px;
  }

  .recognition-image {
    min-height: 380px;
  }

  .image-badge {
    right: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Centre the lonely 9th card */
  .service-grid > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 12.5px);
    justify-self: center;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .help-strip {
    padding: 40px 24px;
  }

  .help-content {
    grid-template-columns: 60px 1fr;
    gap: 20px 24px;
  }

  .help-content .button {
    grid-column: 2;
    justify-self: start;
  }

  .community-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .community-image {
    min-height: 380px;
  }

  .community-content {
    padding: 64px 40px;
  }

  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  /* Footer: brand on top, three link columns below */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 460px;
  }
}


/* ---------- Large phones / small tablets (max 767px) ---------- */
@media (max-width: 767px) {
  .container,
  .header-inner,
  .hero-container {
    width: calc(100% - 32px);
  }

  /* Hero */
  .hero {
    min-height: 0;
    background-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(6, 26, 56, 0.93) 0%,
      rgba(6, 26, 56, 0.80) 70%,
      rgba(6, 26, 56, 0.60) 100%
    );
  }

  .hero-content {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 46px);
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 26px;
  }

  .hero-buttons .button {
    flex: 1 1 auto;
  }

  /* Consultation */
  .consultation-section {
    padding: 60px 16px;
  }

  .consultation-heading {
    margin-bottom: 32px;
  }

  .consultation-heading h2,
  .section-intro h2 {
    font-size: clamp(28px, 7.6vw, 40px);
  }

  .consultation-card {
    padding: 26px 20px;
  }

  .form-step h3 {
    font-size: 26px;
    line-height: 1.2;
  }

  .option-grid,
  .option-grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .choice {
    min-height: 112px;
    padding: 16px 10px;
  }

  .care-option {
    padding: 14px;
    gap: 12px;
  }

  .consent {
    font-size: 12px;
    line-height: 1.5;
  }

  .next-button,
  .submit-button {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

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

  .section-intro {
    margin-bottom: 36px;
  }

  .section-intro p {
    font-size: 16px;
  }

  .why-grid,
  .support-grid,
  .recognition-grid,
  .how-grid {
    gap: 36px;
  }

  .why-image img,
  .support-image img,
  .video-card img {
    height: min(440px, 105vw);
  }

  .recognition-image {
    min-height: min(360px, 90vw);
  }

  .support-content h2,
  .recognition-content h2,
  .how-content h2 {
    font-size: clamp(28px, 7.6vw, 40px);
  }

  .service-grid,
  .resource-grid {
    gap: 18px;
  }

  .service-image img {
    height: min(220px, 52vw);
  }

  /* Testimonials */
  .testimonial-slider {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
  }

  .testimonial {
    padding: 10px 4px;
  }

  .testimonial p {
    font-size: 20px;
  }

  .quote-mark {
    font-size: 64px;
  }

  /* FAQ */
  .faq-question {
    padding: 20px 2px;
    gap: 16px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 24px 22px 2px;
    font-size: 14px;
  }

  /* Community / CTA / footer */
  .community-content {
    padding: 56px 20px;
  }

  .community-content h2 {
    font-size: clamp(30px, 8.6vw, 44px);
  }

  .final-cta {
    padding: 52px 0;
  }

  .final-cta h2 {
    font-size: clamp(30px, 8.4vw, 42px);
  }

  .final-cta .button {
    width: 100%;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-grid {
    gap: 32px 24px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 12px;
    font-size: 12px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  /* Video modal */
  .modal {
    padding: 12px;
  }

  .modal-close {
    width: 40px;
    height: 40px;
  }
}


/* ---------- Phones (max 599px) ---------- */
@media (max-width: 599px) {
  :root {
    --header-h: 80px;
  }

  .custom-logo {
    height: 66px;
    max-width: 150px;
  }

  .site-header .logo {
    min-width: 0;
  }

  .site-header .logo-text {
    font-size: 13px;
    letter-spacing: 0.8px;
  }

  .mobile-nav {
    padding: 4px 16px 22px;
  }

  .mobile-nav a {
    padding: 16px 0;
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .service-grid > .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .service-content {
    padding: 36px 20px 24px;
  }

  .help-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-content .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .help-icon {
    width: 56px;
    height: 56px;
  }

  .help-strip h2 {
    font-size: 27px;
    line-height: 1.2;
  }

  .image-badge {
    right: 12px;
    bottom: 16px;
    padding: 14px 18px;
  }

  .image-badge strong {
    font-size: 32px;
  }

  .testimonial p {
    font-size: 18px;
  }

  .play-button {
    width: 66px;
    height: 66px;
  }

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


/* ---------- Compact phones (max 400px: iPhone X / SE class) ---------- */
@media (max-width: 400px) {
  .site-header .logo-text {
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .custom-logo {
    height: 60px;
    max-width: 135px;
  }

  .container,
  .header-inner,
  .hero-container {
    width: calc(100% - 28px);
  }

  .hero-content {
    padding-top: 52px;
  }

  .consultation-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .consultation-card {
    padding: 22px 16px;
  }

  .form-step h3 {
    font-size: 24px;
  }

  .choice span {
    font-size: 13px;
  }

  .testimonial-slider {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 4px;
  }

  .slider-button {
    width: 38px;
    height: 38px;
  }

  .testimonial p {
    font-size: 17px;
  }
}


/* ---------- Phones in landscape (short screens) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --header-h: 68px;
  }

  .custom-logo {
    height: 56px;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 44px 0;
  }

  .community-image {
    min-height: 260px;
  }
}


/* =====================================================
   READ MORE / LEARN MORE (long text collapses to 3-4 lines)
===================================================== */

.rm-text ul {
  padding-left: 1.3em;
  margin: 6px 0;
}

.service-content .rm-text,
.hero .rm-text {
  margin-bottom: 18px;
}

.service-content .rm-text {
  color: var(--muted);
  font-size: 14px;
}

.hero .rm-text {
  max-width: 540px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.90);
}

.hero .rm-text p {
  margin-bottom: 0;
  font-size: inherit;
}

/* collapsed state: plain paragraphs get a clean "..." cut */
.rm-collapsed {
  --rm-lines: 4;
  overflow: hidden;
}

p.rm-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--rm-lines);
  line-clamp: var(--rm-lines);
}

/* text blocks that contain lists are cut by height instead */
div.rm-collapsed {
  max-height: calc(var(--rm-lines) * 1.6em);
}

.rm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  margin-bottom: 26px;
}

.rm-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.rm-toggle.is-open i {
  transform: rotate(90deg);
}

.hero .rm-toggle {
  color: var(--gold-light);
}

@media (max-width: 767px) {
  .rm-collapsed {
    --rm-lines: 3;
  }

  /* Hero on phones: text starts near the top, photo stays visible behind it */
  .hero {
    min-height: 0;
    align-items: flex-start;
    background-position: 62% top;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 26, 56, 0.62) 0%,
      rgba(6, 26, 56, 0.72) 50%,
      rgba(6, 26, 56, 0.90) 100%
    );
  }

  .hero-content {
    padding: 26px 0 34px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.4vw, 34px);
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero .eyebrow h1 {
    margin-bottom: 0;
  }

  .hero h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .hero p,
  .hero .rm-text {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero .rm-toggle {
    margin-bottom: 20px;
  }

  .hero-buttons {
    margin-top: 6px;
  }
}

/* Service card photos: keep faces in view when the tall photo is cropped */
.service-image img {
  width: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Mobile/tablet: show the service photos in a square frame so heads are not cut off */
@media (max-width: 1023px) {
  .service-image img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 12%;
  }
}


/* ==========================================================================
   UPDATE: RED CALL-TO-ACTION BUTTONS
========================================================================== */

:root {
  --red: #c8102e;
  --red-dark: #a00d25;
  --whatsapp: #1fa855;
  --whatsapp-dark: #168943;
}

.button,
.button-primary,
.button-light,
.button-dark,
.button-white,
.header-button,
.next-button,
.submit-button,
.qf-submit {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button:hover,
.button-primary:hover,
.button-light:hover,
.button-dark:hover,
.button-white:hover,
.header-button:hover,
.next-button:hover,
.submit-button:hover,
.qf-submit:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.header-button {
  border: 2px solid var(--red);
  white-space: nowrap;
}

/* Phone number in the header: red call button */
.phone-link {
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.phone-link i {
  color: #fff;
}

.phone-link:hover {
  background: var(--red-dark);
}

/* Text + WhatsApp icons (header) */
.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
  flex: 0 0 42px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-icon:hover {
  transform: translateY(-2px);
}

.contact-text {
  background: var(--navy);
}

.contact-text:hover {
  background: var(--dark-navy);
}

.contact-whatsapp {
  background: var(--whatsapp);
  font-size: 22px;
}

.contact-whatsapp:hover {
  background: var(--whatsapp-dark);
}

/* Mobile header icons */
.mobile-header-contact {
  display: none;
}

.mobile-header-phone {
  background: var(--red);
  color: #fff;
}

.mobile-header-text {
  background: var(--navy);
}

.mobile-header-whatsapp {
  background: var(--whatsapp);
}

.mobile-nav .mobile-phone i {
  width: 22px;
  margin-right: 6px;
  color: var(--red);
}

.mobile-nav a.mobile-phone:last-child i {
  color: var(--whatsapp);
}

/* Final CTA: several buttons in a tidy row */
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.final-cta .button-white {
  background: var(--red);
  color: #fff;
  border-color: #fff;
}

.final-cta .button-white:hover {
  background: var(--red-dark);
  border-color: #fff;
}


/* ==========================================================================
   UPDATE: CLEAN, ALIGNED FOOTER
========================================================================== */

.footer {
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 52px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo-link {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
}

.footer-logo-link img {
  width: auto;
  height: 96px;
  object-fit: contain;
}

.footer-brand > p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  position: relative;
  color: var(--gold-light);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.footer-column a,
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact i {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  line-height: 1.5;
  color: var(--gold-light);
}

.footer-contact .fa-whatsapp {
  color: #4fd37f;
}

.footer-address {
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 64px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}


/* ==========================================================================
   UPDATE: RESPONSIVE ADJUSTMENTS FOR THE ABOVE
========================================================================== */

@media (max-width: 1199px) {
  /* header: keep call number visible as a compact red button */
  .phone-link {
    padding: 0;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
  }

  .header-button {
    padding: 11px 14px;
  }
}

@media (max-width: 1023px) {
  .mobile-header-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .mobile-header-contact .mobile-header-phone {
    margin-right: 0;
  }

  /* Sticky bottom bar: Call | Text | WhatsApp */
  .mobile-call-bar {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: var(--navy);
  }

  .mobile-call-bar a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-call-bar .mcb-call {
    background: var(--red);
  }

  .mobile-call-bar .mcb-text {
    background: var(--navy);
  }

  .mobile-call-bar .mcb-whatsapp {
    background: var(--whatsapp);
  }

  .final-cta-buttons {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .final-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .final-cta-buttons .button {
    width: 100%;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 599px) {
  .mobile-header-contact {
    gap: 4px;
  }

  .mobile-header-phone,
  .mobile-menu-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 15px;
  }

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

@media (max-width: 400px) {
  .mobile-call-bar a {
    font-size: 14px;
    gap: 6px;
  }
}

/* read-more links that are now buttons instead of "#" links */
.service-content a[role="button"] {
  cursor: pointer;
}


/* ==========================================================================
   FOOTER (final design)
========================================================================== */

.footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 0;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  align-items: start;
}

.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.ft-logo i {
  color: var(--gold-light);
  font-size: 20px;
}

.ft-brand p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.ft-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ft-col h3,
.ft-areas h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  margin: 0 0 6px;
}

.ft-col a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.ft-col a:hover,
.ft-legal a:hover {
  color: var(--gold-light);
}

.ft-contact {
  gap: 18px;
}

.ft-contact h3 {
  margin-bottom: 0;
}

.ft-contact i {
  flex: 0 0 16px;
  width: 16px;
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  color: var(--gold-light);
}

.ft-areas {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 26px 0;
}

.ft-areas h3 {
  margin-bottom: 10px;
}

.ft-areas p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 26px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.ft-bottom p {
  margin: 0;
}

.ft-legal {
  display: flex;
  gap: 8px;
}

@media (max-width: 899px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ft-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .footer {
    padding-top: 40px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* ==========================================================================
   BANNER (heading, subtitle, call + book buttons)
========================================================================== */

.banner {
  position: relative;
  margin-top: var(--header-h);
  background: #faf7f1;
  overflow: hidden;
}

.banner-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background: url("images/banner.jpg") center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}

.banner-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 72px 0 150px;
}

.banner-content {
  width: min(640px, 100%);
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.banner-eyebrow::after {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.banner h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.banner .banner-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  color: #4a5870;
  max-width: 540px;
  margin-bottom: 30px;
}

.banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.banner-buttons .button {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 40px;
  color: #fff;
}

.banner-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  margin-top: 38px;
}

.banner-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: #4a5870;
  padding: 0 24px;
  border-left: 1px solid #ddd3bd;
}

.banner-trust li:first-child {
  padding-left: 0;
  border-left: 0;
}

.banner-trust i {
  font-size: 26px;
  color: var(--gold);
}

/* Service strip along the bottom of the banner */
.banner-services {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(calc(100% - 40px), var(--container));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(10, 40, 80, 0.12);
  padding: 18px 10px;
}

.bs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 22px;
  border-left: 1px solid #ece5d4;
  font-size: 14px;
  line-height: 1.45;
  color: #4a5870;
}

.bs-item:first-child {
  border-left: 0;
}

.bs-item strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 2px;
}

.bs-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5ecdb;
  color: var(--gold);
  font-size: 22px;
}


/* ==========================================================================
   QUICK FORM: vertical card.
   Desktop: floats in the bottom-right corner of the screen.
   Phones/tablets: sits in the page, right under the banner.
========================================================================== */

.qf-slot {
  background: var(--cream);
  padding: 28px 0 32px;
}

.qf-intro {
  display: none;
}

.quick-form-card {
  background: #fff;
  color: var(--text);
  width: min(calc(100% - 40px), 560px);
  margin: 0 auto;
  border-radius: 16px;
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 50px rgba(10, 40, 80, 0.18);
  padding: 22px 22px 24px;
}

.qf-inner {
  display: block;
}

.qf-head {
  margin-bottom: 16px;
}

.qf-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 4px;
}

.quick-form-sub {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.qf-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.qf-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.qf-field input,
.qf-field select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--text);
  background-color: #fbfaf7;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.qf-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.qf-field input:focus,
.qf-field select:focus {
  background-color: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 40, 80, 0.15);
}

.qf-field input.invalid,
.qf-field select.invalid {
  border-color: #b3261e;
}

.qf-field .field-error {
  font-size: 12px;
  margin-top: 4px;
}

.qf-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.qf-action {
  margin-top: 2px;
}

.qf-submit {
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--red);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  background: var(--red);
  color: #fff;
  transition: background 0.2s ease;
}

.qf-submit:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.qf-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.qf-error {
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

.quick-form-card .form-success {
  padding: 8px 10px;
  text-align: center;
}

.quick-form-card .form-success i {
  font-size: 34px;
  margin-bottom: 8px;
  color: var(--whatsapp);
}

.quick-form-card .form-success h3 {
  font-size: 26px;
}

/* Desktop: short intro on the left, vertical form card on the right */
@media (min-width: 1024px) {
  .qf-slot {
    padding: 56px 0 64px;
  }

  .qf-wrap {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .qf-intro {
    display: block;
    flex: 1 1 auto;
    max-width: 520px;
  }

  .qf-intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-dark);
    margin-bottom: 16px;
  }

  .qf-intro-eyebrow::after {
    content: "";
    width: 46px;
    height: 2px;
    background: var(--gold);
  }

  .qf-intro h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
  }

  .qf-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5870;
    margin-bottom: 24px;
  }

  .qf-intro-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 40px;
    background: var(--navy);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
  }

  .qf-intro-call:hover {
    background: #06214a;
    color: #fff;
  }

  .quick-form-card {
    flex: 0 0 410px;
    width: 410px;
    margin: 0;
    padding: 26px 28px 28px;
  }

  .qf-float {
    display: none !important;
  }
}

/* Floating shortcut button (phones and tablets) */
.qf-float {
  display: none;
}


/* ==========================================================================
   BANNER + FORM RESPONSIVE
========================================================================== */

@media (max-width: 1199px) {
  .bs-item {
    padding: 4px 14px;
    gap: 10px;
  }

  .bs-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

}

@media (max-width: 1023px) {
  .banner-photo {
    position: relative;
    width: 100%;
    height: 320px;
    order: 2;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    background-position: center 30%;
  }

  .banner {
    display: flex;
    flex-direction: column;
  }

  .banner-inner {
    order: 1;
    padding: 44px 0 0;
  }

  .banner-services {
    position: relative;
    order: 3;
    left: auto;
    bottom: auto;
    transform: none;
    margin: -34px auto 24px;
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
  }

  .bs-item:nth-child(3) {
    border-left: 0;
  }

  .qf-form {
    grid-template-columns: 1fr 1fr;
  }

  .qf-action,
  .qf-field-wide {
    grid-column: 1 / -1;
  }

  /* floating "Request Consultation" shortcut, above the call bar */
  .qf-float {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    right: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    z-index: 997;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .qf-float.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 599px) {
  .banner-buttons .button {
    width: 100%;
  }

  .banner-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .banner-trust li,
  .banner-trust li:first-child {
    padding: 0 10px;
    border-left: 0;
  }

  .banner-services {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 8px;
  }

  .bs-item,
  .bs-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #ece5d4;
    padding: 12px 10px;
  }

  .bs-item:first-child {
    border-top: 0;
  }

  .qf-form {
    grid-template-columns: 1fr;
  }

  .quick-form-card {
    padding: 18px 16px 18px;
  }
}
