/* ---------- Nobel Adult Family Home ---------- */
/* Palette: deep sage #4a7058 · gold #c9a96e · cream #faf8f3 · charcoal #2a3530 */

:root {
  --navy: #4a7058;
  --navy-dark: #2e4f3a;
  --navy-soft: #7da085;
  --gold: #c9a96e;
  --gold-soft: #e6d5a8;
  --cream: #faf8f3;
  --cream-warm: #f3eee2;
  --charcoal: #2a3530;
  --muted: #5a6359;
  --line: #e6dfcf;
  --shadow: 0 6px 24px rgba(74, 112, 88, 0.10);
  --shadow-strong: 0 14px 40px rgba(74, 112, 88, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--navy-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2px;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; }

p { margin: 0 0 1em; }
p.lead { font-size: 1.18rem; color: var(--muted); }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-dark);
}
.brand:hover { color: var(--navy-dark); }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}
.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.2rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: var(--cream-warm);
  color: var(--navy-dark);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 11px 20px !important;
  border-radius: 999px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--navy-dark) !important; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-list.open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--navy);
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover {
  background: #b89456;
  border-color: #b89456;
  color: var(--navy-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.82) 0%, rgba(250, 248, 243, 0.95) 100%),
    radial-gradient(circle at 20% 30%, rgba(201, 169, 110, 0.20), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(74, 112, 88, 0.14), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(125, 160, 133, 0.10), transparent 60%),
    var(--cream-warm);
  background-size: 100% 100%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  padding: 90px 0 100px;
  overflow: hidden;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}
.hero::before {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,169,110,0.45), transparent 70%);
  top: -100px; left: -80px;
  animation: floatBlob 18s ease-in-out infinite;
}
.hero::after {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(125,160,133,0.45), transparent 70%);
  bottom: -120px; right: -60px;
  animation: floatBlob 24s ease-in-out infinite reverse;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--navy);
}
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero .btn-row { justify-content: center; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}
.trust-item {
  font-size: 0.95rem;
  letter-spacing: 0.8px;
}
.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 2px;
}
@media (max-width: 680px) {
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.cream-warm { background: var(--cream-warm); }
section.navy {
  background: var(--navy);
  color: #f3eee2;
}
section.navy h1, section.navy h2, section.navy h3 { color: #fff; }
section.navy a { color: var(--gold-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Why us list ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 40px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-bullet {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.why-item h4 { margin: 4px 0 6px; color: var(--navy-dark); }
.why-item p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--navy-dark);
  margin: 0 0 20px;
  font-style: italic;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.testimonial cite span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* ---------- Two-column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
}

.image-placeholder {
  background: linear-gradient(135deg, var(--cream-warm), #ece4d0);
  border: 1px dashed #c9b98e;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}
.image-placeholder.tall { aspect-ratio: 3 / 4; }
.image-placeholder.wide { aspect-ratio: 16 / 9; }
.image-placeholder strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-style: normal;
  margin-bottom: 6px;
}

/* ---------- CTA section ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
  border-radius: var(--radius);
  margin: 0 auto;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 26px; }
.cta-phone {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
}
.cta-phone:hover { color: #fff !important; }

/* ---------- Service detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail h3 {
  color: var(--navy);
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .service-detail { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Included list ---------- */
.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 28px;
}
.included-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
}
.included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

/* ---------- Schedule list ---------- */
.schedule {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.schedule-time {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}
.schedule-desc { color: var(--muted); }
@media (max-width: 540px) {
  .schedule-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Gallery ---------- */
.gallery-section { margin-bottom: 64px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item .caption {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-info {
  background: var(--cream-warm);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-info h2 { font-size: 1.7rem; }
.contact-block { margin-bottom: 28px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  line-height: 1.2;
}
.contact-value:hover { color: var(--navy-dark); }
.contact-value.small { font-size: 1.2rem; }
.contact-value.body { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; }

.map-placeholder {
  margin-top: 28px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* ---------- Form ---------- */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field label .req { color: #b54a4a; }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d6cdb5;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--charcoal);
  transition: border 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(74, 112, 88, 0.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.site-footer h4 {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand .brand-name { color: #fff; font-size: 1.6rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Page hero (smaller, used on inner pages) ---------- */
.page-hero {
  background: var(--cream-warm);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page h1 { font-size: 5rem; color: var(--gold); margin-bottom: 0; }
.error-page h2 { margin-top: 12px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ========================================================================
   ANIMATIONS & MOTION
   ======================================================================== */

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.08); }
  66%      { transform: translate(-25px, 25px) scale(0.95); }
}

@keyframes heroDrift {
  0%   { background-position: 0% 0%, 0% 50%, 100% 50%, 50% 100%, 0% 0%; }
  100% { background-position: 0% 0%, 100% 50%, 0% 50%, 30% 70%, 0% 0%; }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.55), var(--shadow); }
  50%      { box-shadow: 0 0 0 14px rgba(201, 169, 110, 0), var(--shadow); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes drawUnderline {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}

@keyframes softPop {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ---------- Hero entry choreography ---------- */
.hero-eyebrow {
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero h1 {
  animation: fadeInUp 0.8s ease 0.25s both;
}
.hero p.lead {
  animation: fadeInUp 0.8s ease 0.45s both;
}
.hero .btn-row {
  animation: fadeInUp 0.8s ease 0.65s both;
}

/* ---------- Brand mark gentle float ---------- */
.brand-mark {
  animation: float 4.5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(74, 112, 88, 0.35);
}

/* ---------- Nav link underline draw ---------- */
.nav-list a {
  position: relative;
  overflow: hidden;
}
.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.35s ease, left 0.35s ease;
}
.nav-list a:not(.nav-cta):hover::after,
.nav-list a:not(.nav-cta)[aria-current="page"]::after {
  width: calc(100% - 28px);
  left: 14px;
}

/* ---------- Button shimmer sweep ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: -1;
}
.btn:hover::before { left: 130%; }
.btn-gold::before {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
}

/* ---------- Card hover enhancements ---------- */
.card {
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
}
.card:hover::after { border-color: var(--gold); }

.card-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--gold);
  color: #fff;
}

/* ---------- Section H2 underline draw ---------- */
.section-head h2 {
  position: relative;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  animation: drawUnderline 0.8s ease 0.2s both;
}

/* ---------- Trust bar number pop ---------- */
.trust-item strong {
  display: inline-block;
  animation: softPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.trust-item:nth-child(1) strong { animation-delay: 0.15s; }
.trust-item:nth-child(2) strong { animation-delay: 0.30s; }
.trust-item:nth-child(3) strong { animation-delay: 0.45s; }

/* ---------- Why-bullet bounce ---------- */
.why-bullet {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.why-item:hover .why-bullet {
  transform: scale(1.18) rotate(8deg);
  background: var(--navy);
  color: var(--gold);
}

/* ---------- Testimonial hover ---------- */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-width 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-left-width: 6px;
}

/* ---------- Image placeholder shimmer ---------- */
.image-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--cream-warm) 0%,
    #ece4d0 50%,
    var(--cream-warm) 100%
  );
  background-size: 200% 200%;
  animation: shimmer 8s ease-in-out infinite;
}

/* ---------- CTA phone pulse ---------- */
.cta-phone {
  position: relative;
  padding: 8px 24px;
  border-radius: 999px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.cta-phone:hover {
  transform: scale(1.04);
}

.btn-gold {
  animation: pulseGold 2.6s ease-in-out infinite;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  animation: none;
}
/* Don't pulse the form submit — it's pushy in a form context */
.contact-form .btn-gold {
  animation: none;
}

/* ---------- Schedule item slide-in ---------- */
.schedule-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-width 0.3s ease;
}
.schedule-item:hover {
  transform: translateX(6px);
  border-left-width: 5px;
  box-shadow: var(--shadow-strong);
}

/* ---------- Service detail hover ---------- */
.service-detail h3 {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.service-detail:hover h3 {
  color: var(--gold);
  transform: translateX(4px);
}

/* ---------- Included list checkmark wiggle ---------- */
.included-list li::before {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.included-list li:hover::before {
  transform: scale(1.2) rotate(360deg);
  background: var(--navy);
  color: var(--gold);
}

/* ---------- Footer link slide ---------- */
.site-footer a {
  position: relative;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}
.site-footer ul a:hover { transform: translateX(4px); }

/* ---------- Scroll-driven reveals (progressive enhancement) ---------- */
/* Modern browsers (Chrome/Edge 115+, Firefox 137+) get scroll-triggered
   reveals. Older browsers simply show content normally — no JS required. */
@supports (animation-timeline: view()) {
  .card,
  .testimonial,
  .why-item,
  .schedule-item,
  .gallery-item,
  .service-detail,
  .contact-info,
  .contact-form,
  .cta-band {
    animation: fadeInUp 0.9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  .split > :first-child {
    animation: fadeInLeft 1s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  .split > :nth-child(2) {
    animation: fadeInRight 1s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  .section-head {
    animation: fadeInUp 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}

/* ---------- Reduced motion: respect user preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .hero { animation: none; }
  .hero::before, .hero::after { animation: none; }
}

