/* =========================================================
   Roberta Ann Rusin, RN - Private Nursing Care - Global Stylesheet
   Palette: deep teal, warm sand, soft gold, cream
   ========================================================= */

:root {
  --color-primary: #1f4e4c;
  --color-primary-dark: #123534;
  --color-primary-light: #2c6a68;
  --color-accent: #c8a26c;
  --color-accent-dark: #a5834f;
  --color-gold: #e6c98e;
  --color-cream: #f7f2ea;
  --color-cream-dark: #ebe3d5;
  --color-text: #22312f;
  --color-text-muted: #5e6b69;
  --color-white: #ffffff;
  --color-border: #e2dbcc;
  --shadow-sm: 0 4px 12px rgba(18, 53, 52, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 53, 52, 0.1);
  --shadow-lg: 0 24px 60px rgba(18, 53, 52, 0.16);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --container: 1240px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--color-text-muted); }

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

section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent-dark);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.section-head { max-width: 720px; margin: 0 auto 70px; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.05rem; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(31, 78, 76, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(31, 78, 76, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary);
}
.btn-ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Utility topbar (fixed) ---------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: rgba(18, 53, 52, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(247, 242, 234, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(230, 201, 142, 0.14);
  transition: transform 0.4s ease, opacity 0.3s ease;
}
body.scrolled .topbar { transform: translateY(-100%); opacity: 0; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  gap: 20px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: var(--color-gold); font-weight: 500; }
.topbar a:hover { color: var(--color-cream); }
.topbar .sep { color: rgba(230, 201, 142, 0.3); }
.topbar svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; color: var(--color-gold); }

/* ---------------- Main header (fixed, overlay-on-hero variant) ---------------- */
.site-header {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: top 0.4s ease, background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
body.scrolled .site-header {
  top: 0;
  background: rgba(255, 253, 249, 0.98);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(18, 53, 52, 0.06);
}
/* On the home page the header sits transparently over the dark hero photograph */
body.home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.home .site-header .nav a { color: rgba(247, 242, 234, 0.92); }
body.home .site-header .nav a:hover, body.home .site-header .nav a.active { color: var(--color-cream); }
body.home .site-header .logo-text .brand { color: var(--color-cream); }
body.home .site-header .logo-text small { color: var(--color-gold); }
body.home .site-header .nav-toggle span { background: var(--color-cream); }
body.home.scrolled .site-header {
  background: rgba(255, 253, 249, 0.98);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(18, 53, 52, 0.06);
}
body.home.scrolled .site-header .nav a { color: var(--color-text); }
body.home.scrolled .site-header .nav a:hover, body.home.scrolled .site-header .nav a.active { color: var(--color-primary-dark); }
body.home.scrolled .site-header .logo-text .brand { color: var(--color-primary-dark); }
body.home.scrolled .site-header .logo-text small { color: var(--color-accent-dark); }
body.home.scrolled .site-header .nav-toggle span { background: var(--color-primary-dark); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  transition: padding var(--transition);
}
body.scrolled .header-inner { padding: 12px 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  display: grid; place-items: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  font-style: italic;
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 4px 14px rgba(31, 78, 76, 0.15);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.2px;
}
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.3px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; left: 0; }
.nav a.active, .nav a:hover { color: var(--color-primary-dark); }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero (split: text + founder portrait) ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  overflow: hidden;
  background: var(--color-primary-dark);
  color: var(--color-cream);
}
.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2e2d 0%, #1f4e4c 70%, #2c6a68 140%);
  padding: 150px 0 90px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  margin-left: calc(max(0px, (100vw - 1240px) / 2) + 28px);
  margin-right: 0;
  padding-right: 48px;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  animation: heroImgZoom 3s ease-out both;
}
/* seam blend between dark panel and photo */
.hero-right::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 130px;
  background: linear-gradient(90deg, #1f4e4c, transparent);
  z-index: 2;
}
/* top scrim so the overlaid nav stays legible across the photo */
.hero-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(15, 46, 45, 0.6), transparent);
  z-index: 2;
}

/* Hero intro animations in pure CSS (no JS dependency, always visible) */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroImgZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero .eyebrow { animation: heroFadeUp 0.8s ease-out 0.15s both; }
.hero h1 { animation: heroFadeUp 1s ease-out 0.4s both; }
.hero-lede { animation: heroFadeUp 0.9s ease-out 0.7s both; }
.hero-cta { animation: heroFadeUp 0.8s ease-out 0.95s both; }
.hero-assurance { animation: heroFadeUp 0.8s ease-out 1.15s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-right img, .hero .eyebrow, .hero h1, .hero-lede, .hero-cta, .hero-assurance { animation: none; }
}
.hero .eyebrow {
  color: var(--color-gold);
  margin-bottom: 28px;
  display: inline-flex;
  padding: 8px 20px;
  border: 1px solid rgba(230, 201, 142, 0.35);
  border-radius: 999px;
  background: rgba(230, 201, 142, 0.08);
  font-size: 0.72rem;
  letter-spacing: 3px;
}
.hero .eyebrow::before { display: none; }
.hero h1 {
  color: var(--color-cream);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0 0 26px;
}
.hero h1 em { font-style: italic; color: var(--color-gold); font-weight: 500; }
.hero-lede {
  font-size: 1.1rem;
  color: rgba(247, 242, 234, 0.9);
  max-width: 540px;
  line-height: 1.75;
  margin: 0 0 38px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-ghost {
  color: var(--color-cream);
  border-color: rgba(247, 242, 234, 0.5);
  background: rgba(247, 242, 234, 0.05);
}
.hero-cta .btn-ghost:hover {
  background: var(--color-cream);
  color: var(--color-primary-dark);
  border-color: var(--color-cream);
}
.hero-assurance {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 242, 234, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-assurance img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}
.hero-assurance .sig { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; color: var(--color-cream); }
.hero-assurance .cred { font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-gold); margin-top: 2px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { position: absolute; inset: 0; z-index: 0; }
  .hero-right img { object-position: 50% 18%; }
  .hero-right::before { inset: 0; width: auto; background: linear-gradient(180deg, rgba(15,46,45,0.78), rgba(15,46,45,0.62)); }
  .hero-right::after { display: none; }
  .hero-left { z-index: 2; background: none; min-height: 100vh; padding: 120px 0 70px; }
  .hero-inner { padding-right: max(28px, calc((100vw - 1240px) / 2)); max-width: 640px; }
  #hero-canvas { opacity: 0.4; }
}

/* ---------------- Image gallery band ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery .g-item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery .g-item:nth-child(even) { margin-top: 32px; }
.gallery .g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery .g-item:hover img { transform: scale(1.07); }
.gallery .g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 53, 52, 0.35));
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery .g-item:nth-child(even) { margin-top: 0; }
}

/* ---------------- Trust strip (cream section under hero) ---------------- */
.trust-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 44px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
  border-right: 1px solid var(--color-border);
}
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-item .trust-ic {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-item .trust-ic svg { width: 22px; height: 22px; }
.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 600;
}
.trust-item span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---------------- Stats strip ---------------- */
.stats {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--color-gold);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; }

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  display: grid; place-items: center;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 18px; }
.service-card .link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------- Split feature ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-text .eyebrow { margin-bottom: 18px; }
.split-text ul { list-style: none; margin-top: 26px; }
.split-text ul li {
  padding: 12px 0 12px 34px;
  position: relative;
  color: var(--color-text);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--color-border);
}
.split-text ul li:last-child { border-bottom: none; }
.split-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 20px; height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c98e' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---------------- Testimonials ---------------- */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  background: var(--color-white);
  padding: 34px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  line-height: 0.7;
  margin-bottom: 10px;
}
.testimonial p { font-size: 0.98rem; color: var(--color-text); line-height: 1.7; }
.testimonial-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}
.testimonial-meta img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-meta strong { color: var(--color-primary-dark); font-size: 0.95rem; display: block; }
.testimonial-meta span { color: var(--color-text-muted); font-size: 0.82rem; }
.stars { color: var(--color-accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 3px; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 80px 70px;
  color: var(--color-cream);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 201, 142, 0.25), transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 201, 142, 0.14), transparent 70%);
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-banner h2 { color: var(--color-cream); }
.cta-banner p { color: rgba(247, 242, 234, 0.85); margin-top: 16px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 1/1.1; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-info { padding: 20px 22px 26px; }
.team-info h4 { color: var(--color-primary-dark); margin-bottom: 4px; }
.team-info .role { font-size: 0.82rem; color: var(--color-accent-dark); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.team-info p { font-size: 0.9rem; margin-top: 10px; }

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero {
  padding: 180px 0 90px;
  background: linear-gradient(135deg, #f7f2ea 0%, #ebe3d5 60%, #d9c9a5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 78, 76, 0.06), transparent 70%);
}
.page-hero .breadcrumb {
  display: inline-flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--color-primary); }
.page-hero p { max-width: 640px; margin: 22px auto 0; font-size: 1.05rem; }

/* ---------------- Timeline / process ---------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  display: grid; place-items: center;
  margin: -60px auto 20px;
  box-shadow: 0 10px 24px rgba(31, 78, 76, 0.25);
}
.step h4 { margin-bottom: 8px; text-align: center; }
.step p { font-size: 0.92rem; text-align: center; }

/* ---------------- FAQ / accordion ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-q .plus {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.3rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.open .faq-q .plus {
  background: var(--color-primary);
  color: var(--color-gold);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.faq-a-inner {
  padding: 0 26px 26px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------------- Blog / resources cards ---------------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-image { aspect-ratio: 16/10; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-image img { transform: scale(1.08); }
.article-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-accent-dark); margin-bottom: 12px; font-weight: 600; }
.article-body h3 { font-size: 1.25rem; margin-bottom: 12px; }
.article-body p { font-size: 0.92rem; flex: 1; }
.article-body .link { margin-top: 18px; font-size: 0.88rem; font-weight: 600; color: var(--color-primary-dark); }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 50px 44px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info h3 { color: var(--color-cream); margin-bottom: 12px; }
.contact-info > p { color: rgba(247, 242, 234, 0.82); margin-bottom: 34px; }
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 201, 142, 0.18), transparent 70%);
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.contact-item .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(230, 201, 142, 0.15);
  color: var(--color-gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item strong { color: var(--color-cream); display: block; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item span, .contact-item a { color: rgba(247, 242, 234, 0.9); font-size: 0.98rem; }

.contact-form {
  background: var(--color-white);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-cream);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(247, 242, 234, 0.75);
  padding: 90px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(230, 201, 142, 0.15);
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 22px;
}
.footer-col p { color: rgba(247, 242, 234, 0.7); font-size: 0.92rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(247, 242, 234, 0.75); font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-gold); }
.footer-brand .logo { color: var(--color-cream); margin-bottom: 20px; }
.footer-brand .logo small { color: rgba(247, 242, 234, 0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(230, 201, 142, 0.1);
  display: grid; place-items: center;
  color: var(--color-gold);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom-links { display: flex; gap: 22px; }

/* ---------------- Animations utility ---------------- */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
  .trust-item:nth-child(2) { border-right: 0; padding-right: 0; }
  .topbar-left span:nth-child(2), .topbar-left span.sep { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .step-num { margin-top: -50px; }
  .article-grid, .testimonial-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header { top: 0; }
  .nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; background: var(--color-cream); flex-direction: column; padding: 100px 30px 30px; align-items: flex-start; transition: right var(--transition); box-shadow: -20px 0 40px rgba(18, 53, 52, 0.2); z-index: 99; }
  .nav.open { right: 0; }
  .nav.open a { color: var(--color-text) !important; }
  .nav-toggle { display: block; z-index: 101; }
  .logo-text small { display: none; }
  body.home .hero { padding-top: 130px; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .hero { min-height: 92vh; padding: 120px 0 90px; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .trust-item { padding-right: 0; border-right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .team-grid, .article-grid, .testimonial-track, .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 50px 30px; }
  .contact-form { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-floating { left: 20px; right: 20px; bottom: 20px; }
}
