/* ============================================
   APRILIS HOME HEALTH — Global Styles
   Aesthetic: Refined warm luxury healthcare
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --color-black: #111111;
  --color-charcoal: #2a2a2a;
  --color-dark-gray: #4a4a4a;
  --color-gray: #6b6b6b;
  --color-mid-gray: #999999;
  --color-light-gray: #d4d4d4;
  --color-off-white: #f5f3f0;
  --color-warm-white: #faf9f7;
  --color-white: #ffffff;
  --color-accent: #b89b6a;
  --color-accent-light: #d4be91;
  --color-accent-dark: #96794a;
  --color-accent-bg: rgba(184, 155, 106, 0.08);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --nav-height: 90px;
  --section-padding: 120px;
  --container-width: 1200px;
  --container-narrow: 800px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ---- Page Loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo {
  width: 80px;
  height: 80px;
  animation: loaderPulse 1s ease infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  z-index: 10000;
  transition: width 0.05s linear;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

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

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.2;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { font-size: 1.05rem; color: var(--color-dark-gray); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-intro {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

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

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

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

.btn--white {
  background: var(--color-white);
  color: var(--color-black);
}
.btn--white:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.btn:hover svg { transform: translateX(4px); }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s ease;
  background: #ffffff;
}

.nav.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  height: 75px;
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 60px;
  width: auto;
  transition: height 0.4s ease;
}

.nav.scrolled .nav__logo img { height: 50px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-charcoal);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link:hover,
.nav__link.active { color: var(--color-black); }

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 12px;
  z-index: 100;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-dark-gray);
  transition: all 0.2s ease;
}

.nav__dropdown-menu a:hover {
  background: var(--color-accent-bg);
  color: var(--color-accent-dark);
}

@media (max-width: 768px) {
  .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
    padding: 8px 0;
  }

  .nav__dropdown-menu::before { display: none; }

  .nav__dropdown-menu a {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.nav__cta--fax {
  background: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  padding: 10px 20px;
  cursor: default;
}

.nav__cta--fax:hover {
  background: var(--color-accent-bg);
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
  transform: none;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero--gradient {
  background: #0b1628;
}

.hero--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(184, 155, 106, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(100, 140, 200, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 90% 50% at 50% 80%, rgba(60, 90, 140, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(212, 190, 145, 0.05) 0%, transparent 60%);
  z-index: 1;
  animation: auroraShift 12s ease-in-out infinite alternate;
}

.hero--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 40%, rgba(184, 155, 106, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 30% 70%, rgba(80, 120, 180, 0.05) 0%, transparent 50%);
  z-index: 1;
  animation: auroraShift2 15s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(30px, -20px) scale(1.05); opacity: 0.8; }
  100% { transform: translate(-20px, 15px) scale(0.98); opacity: 1; }
}

@keyframes auroraShift2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-25px, 20px) scale(1.03); opacity: 1; }
  100% { transform: translate(15px, -10px) scale(0.97); opacity: 0.8; }
}

.hero__image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 58%;
  max-width: 780px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(40px);
  animation: heroImageIn 1s ease 1s forwards;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero dot matrix */
.hero__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__dots canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes heroImageIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .hero__image {
    width: 40%;
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .hero__image {
    display: none;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.3) 50%, rgba(17,17,17,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--nav-height);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero__label .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__label span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.hero h1 {
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero__rotating-word {
  display: inline-block;
  position: relative;
  color: var(--color-accent-light);
}

.hero__rotating-word span {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__rotating-word span.out {
  opacity: 0;
  transform: translateY(-20px);
  position: absolute;
  left: 0;
  top: 0;
}

.hero__rotating-word span.in {
  opacity: 1;
  transform: translateY(0);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

/* ---- Section Styles ---- */
.section {
  padding: var(--section-padding) 0;
}

.section--gray { background: var(--color-off-white); }
.section--dark { background: var(--color-black); color: var(--color-white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--dark .label { color: var(--color-accent-light); }

.section-header {
  margin-bottom: 60px;
}

.section-header .label { margin-bottom: 16px; display: block; }

.section-header h2 {
  margin-bottom: 20px;
}

.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 20px;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.service-card--icon {
  padding: 48px 36px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 32px 30px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-gray);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.05em;
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---- Bento Grid ---- */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.bento__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--color-white);
  transform-style: preserve-3d;
}

.bento__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento__item:hover img {
  transform: scale(1.08);
}

.bento__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
  transition: background 0.5s ease;
  z-index: 1;
}

.bento__item:hover .bento__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
}

.bento__content {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}

.bento__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 8px;
  display: block;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.bento__content h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 6px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.bento__content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.bento__item:hover .bento__content p {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 8px;
}

.bento__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.bento__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.bento__item:hover .bento__link {
  opacity: 1;
  transform: translateY(0);
}

.bento__item:hover .bento__link svg {
  transform: translateX(4px);
}

/* Bento sizing */
.bento__item--tall {
  grid-row: span 2;
}

.bento__item--wide {
  grid-column: span 2;
}

.bento__item--tall .bento__content h3 {
  font-size: 1.8rem;
}

@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento__item {
    min-height: 240px;
  }

  .bento__item--tall {
    grid-row: span 1;
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento__item {
    min-height: 220px;
  }

  .bento__item--tall,
  .bento__item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .bento__content p {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 8px;
  }

  .bento__link {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Split Layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split__image:hover img { transform: scale(1.04); }

.split__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 155, 106, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.split__content h2 { margin-bottom: 24px; }
.split__content .label { margin-bottom: 16px; display: block; }

.split__content .divider {
  width: 50px;
  height: 2px;
  background: var(--color-accent);
  margin: 24px 0;
}

/* ---- Stats Row ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 0;
}

.stat {
  text-align: center;
  padding: 20px;
}

.stat__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
}

.stat__number {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ---- Feature List ---- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-dark-gray);
}

.feature-list__item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  margin-top: 2px;
}

/* ---- Testimonial / CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: var(--color-black);
  overflow: hidden;
}

.cta-banner__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--color-accent-light) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.cta-banner .container {
  position: relative;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-banner .btn { margin: 0 8px; }

/* ---- FAQ Accordion ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item__question {
  width: 100%;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-black);
  transition: color 0.3s ease;
}

.faq-item__question:hover { color: var(--color-accent-dark); }

.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--color-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-gray);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.faq-item.active .faq-item__icon svg {
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding-bottom: 28px;
}

.faq-item__answer p {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.8;
  padding-right: 60px;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-accent-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-info__icon svg { width: 20px; height: 20px; }

.contact-info__text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-black);
}

.contact-info__text p {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin: 0;
}

.contact-info__text a { color: var(--color-accent-dark); }
.contact-info__text a:hover { color: var(--color-accent); }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 155, 106, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---- Service Areas Map Section ---- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.area-card {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.4s ease;
}

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

.area-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.area-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.area-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin: 0;
}

/* ---- 24/7 Badge ---- */
.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent-bg);
  border: 1px solid rgba(184, 155, 106, 0.2);
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 24px;
}

.badge-247 .dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.badge-247 span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

/* ---- Footer ---- */
.footer {
  background: #0a0a0a;
  padding: 80px 0 0;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  margin-top: 20px;
  line-height: 1.7;
}

.footer__brand img {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 12px; }

.footer__links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
}

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}

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

.footer__bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ---- Page Header (internal pages) ---- */
.page-header {
  padding: 160px 0 80px;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.page-header__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle, var(--color-accent-light) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.page-header .container { position: relative; }

.page-header .label {
  margin-bottom: 12px;
  display: block;
  color: var(--color-accent-light);
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  font-size: 1.1rem;
}

.page-header .breadcrumb {
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.page-header .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb a:hover { color: var(--color-accent-light); }

/* ---- About Page specifics ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

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

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--color-gray);
}

/* ---- Testimonials ---- */
.testimonials {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-off-white);
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  display: block;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: -16px;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial__role {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-gray);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light-gray);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ---- 3D Tilt Cards ---- */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card .tilt-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(184, 155, 106, 0.08), transparent 60%);
}

.service-card:hover .tilt-glow {
  opacity: 1;
}

/* ---- Animated Dividers ---- */
.divider {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.divider.visible {
  transform: scaleX(1);
}

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(184, 155, 106, 0.3);
  transition: all 0.3s ease;
  animation: floatingPulse 3s ease-in-out infinite;
}

.floating-cta a:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184, 155, 106, 0.4);
  animation: none;
}

.floating-cta svg {
  width: 18px;
  height: 18px;
}

@keyframes floatingPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(184, 155, 106, 0.3); }
  50% { box-shadow: 0 8px 40px rgba(184, 155, 106, 0.5); }
}

@media (max-width: 768px) {
  .testimonial__quote-mark { font-size: 3rem; margin-bottom: -10px; }
  .testimonial__text { font-size: 1.1rem; line-height: 1.7; }
  .testimonial-slide { padding: 10px 16px 30px; }
}

@media (max-width: 768px) {
  .floating-cta { bottom: 20px; right: 20px; }
  .floating-cta a { padding: 12px 20px; font-size: 0.75rem; }
}

/* ---- Parallax ---- */
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---- Floating Logo Watermark ---- */
.section--watermark {
  position: relative;
  overflow: hidden;
}

.watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
  width: 350px;
  height: 350px;
  background: url('icon.png') no-repeat center / contain;
  filter: invert(1);
}

.section--dark .watermark,
.cta-banner .watermark {
  background-image: url('icon.png');
  filter: none;
  opacity: 0.05;
}

.watermark--right {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.watermark--left {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.watermark--top-right {
  right: -40px;
  top: -40px;
}

.watermark--bottom-left {
  left: -40px;
  bottom: -40px;
}

.watermark--large {
  width: 500px;
  height: 500px;
}

@media (max-width: 768px) {
  .watermark { width: 220px; height: 220px; opacity: 0.03; }
  .watermark--large { width: 300px; height: 300px; }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scrollPulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --nav-height: 80px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --nav-height: 70px;
  }

  .container, .container--narrow { padding: 0 24px; }

  /* Mobile Nav */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav__links.open { right: 0; }

  .nav__link { font-size: 1.1rem; }

  .nav__toggle { display: flex; }

  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav__overlay.active { display: block; }

  /* Layouts */
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse { direction: ltr; }

  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .form-row { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }

  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .faq-item__answer p { padding-right: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .service-card { padding: 32px 24px; }
  .stat__number { font-size: 2.5rem; }
}

/* ---- Nav Slogan ---- */
.nav__slogan {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  font-style: italic;
  margin-top: -2px;
  white-space: nowrap;
}

.nav.scrolled .nav__slogan {
  font-size: 0.6rem;
}

@media (max-width: 768px) {
  .nav__slogan {
    font-size: 0.55rem;
  }
}

/* ---- Service Cards (Image + Text Side-by-Side) ---- */
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.svc-card {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--color-off-white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.svc-card--reverse {
  flex-direction: row-reverse;
}

.svc-card__img {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.svc-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-card__img img {
  transform: scale(1.05);
}

.svc-card__body {
  flex: 1;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-card__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
  display: block;
}

.svc-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  margin-bottom: 12px;
  line-height: 1.25;
}

.svc-card__body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray);
  margin: 0 0 20px;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  transition: gap 0.3s ease;
}

.svc-card:hover .svc-card__link {
  gap: 12px;
}

.svc-card__link svg {
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-card__link svg {
  transform: translateX(4px);
}

/* Alternate bg for visual rhythm */
.svc-card:nth-child(even) {
  background: #fff;
}

@media (max-width: 768px) {
  .svc-card,
  .svc-card--reverse {
    flex-direction: column;
  }

  .svc-card__img {
    flex: none;
    min-height: 220px;
  }

  .svc-card__body {
    padding: 28px 24px;
  }

  .svc-card__body h3 {
    font-size: 1.3rem;
  }
}

/* ---- Card Grid (Insurance, Info cards) ---- */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  color: var(--color-accent);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---- Form Success Message ---- */
.form-success-msg {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: opacity 0.4s ease;
}
.form-success-msg svg {
  color: #4caf50;
  margin-bottom: 16px;
}
.form-success-msg h3 {
  color: #4caf50;
  margin-bottom: 8px;
}
.form-success-msg p {
  color: var(--color-gray);
  font-size: 0.95rem;
}
