/* ============================================================
   Luxor Care Home Health Services — design system
   Distinct from South Springs: oxblood + ivory + slate-gold,
   geometric serif headlines, structured "premium clinical".
   ============================================================ */

:root {
  /* palette */
  --ox: #7d2a2a;          /* primary oxblood / rust (from logo) */
  --ox-deep: #5f1f1f;
  --ox-dark: #471818;
  --ink: #1d1b19;          /* near-black warm text */
  --ink-soft: #3a3733;
  --gold: #b08d3f;         /* muted slate-gold accent */
  --gold-soft: #e9dcb8;
  --ivory: #faf7f1;        /* warm ivory page bg */
  --white: #ffffff;
  --line: #e3dccb;
  --muted: #6b6660;
  --green-mint: #e8f1ec;   /* small calm trust-graphic accents */

  /* type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 12px;
  --shadow: 0 24px 55px -32px rgba(30,20,18,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--ivory);
  line-height: 1.7; font-size: 1.05rem; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ox); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
h1,h2,h3,.serif { font-family: var(--serif); font-weight: 600; line-height: 1.14; color: var(--ink); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ox); display: inline-flex; align-items: center; gap: .65rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
.eyebrow.light { color: var(--gold-soft); }
.eyebrow.light::before { background: var(--gold); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; border: 0; cursor: pointer;
  border-radius: 4px; padding: .95rem 1.65rem; transition: transform .14s, box-shadow .14s, background .14s;
  text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ox); color: #fff; }
.btn-primary:hover { background: var(--ox-deep); transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ox); border: 1.5px solid var(--ox); }
.btn-ghost:hover { background: var(--ox); color: #fff; text-decoration: none; }
.btn-light { background: #fff; color: var(--ox); }
.btn-light:hover { background: var(--gold-soft); transform: translateY(-1px); text-decoration: none; }

/* topbar */
.topbar { background: var(--ox-dark); color: #efe6e0; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; flex-wrap: wrap; }
.topbar a { color: #f3d9c0; font-weight: 600; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; opacity: .85; }
.topbar .accred { display: inline-flex; align-items: center; gap: .4rem; padding: .14rem .55rem; background: rgba(255,255,255,.12); border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .05em; }
.topbar .tb-right { display: flex; gap: 1.1rem; align-items: center; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(250,247,241,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; gap: 1rem; }
.brand img { height: 52px; width: auto; }
.menu { display: flex; align-items: center; gap: .25rem; list-style: none; }
.menu a {
  display: block; padding: .55rem .95rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  border-radius: 5px; transition: color .14s, background .14s; text-decoration: none;
}
.menu a:hover { color: var(--ox); background: var(--gold-soft); }
.menu a.active { color: var(--ox); background: var(--gold-soft); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 540px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3rem,6vw,5rem); padding-right: 4%; }
.hero-copy h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); margin-block: 1.1rem 1.1rem; letter-spacing: -0.01em; }
.hero-copy h1 em { font-style: italic; color: var(--ox); }
.hero-copy .lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 33em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-trust { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust-item b { font-family: var(--serif); font-size: 1.2rem; color: var(--ox); }
.trust-item span { font-size: .85rem; color: var(--muted); display: block; }
.hero-media { position: relative; min-height: 100%; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 55%, rgba(250,247,241,.55) 100%); }
.hero-quote-badge { position: absolute; bottom: 26px; left: 0; background: rgba(71,24,24,.92); color: var(--gold-soft); padding: 1.1rem 1.4rem; border-radius: 4px 12px 12px 0; max-width: 340px; box-shadow: var(--shadow); z-index: 2; }
.hero-quote-badge b { font-family: var(--serif); font-size: .98rem; font-weight: 500; line-height: 1.5; display: block; }
.hero-quote-badge span { font-size: .8rem; color: #c9a96a; }

/* sections */
section.block { padding-block: clamp(3.5rem,7vw,6rem); }
.section-head { max-width: 48em; margin-bottom: clamp(2.2rem,4vw,3.4rem); }
.section-head h2 { font-size: clamp(1.9rem,4vw,2.9rem); margin-top: .8rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.07rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* accreditation strip */
.accred-band { background: var(--ox); color: #f2e8dc; }
.accred-band .wrap { display: flex; align-items: center; justify-content: center; gap: 2.4rem; flex-wrap: wrap; padding-block: 1.4rem; }
.accred-band b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.accred-band span { font-size: .92rem; color: #e0cdb3; }

/* about split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-split .img-col { position: relative; }
.about-split .img-col img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-split .pic-tag { position: absolute; bottom: -20px; right: 18px; background: var(--gold); color: var(--ox-dark); padding: .8rem 1.1rem; border-radius: 6px; font-weight: 700; font-size: .86rem; }
.about-split .copy h2 { font-size: clamp(1.8rem,3.5vw,2.5rem); margin-block: .8rem 1rem; }
.about-split .copy p { color: var(--ink-soft); margin-bottom: 1.05rem; }
.quote-block { background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.6rem; margin-top: 1.4rem; box-shadow: var(--shadow); }
.quote-block p { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.6; }
.quote-block span { display: block; margin-top: .6rem; font-size: .85rem; color: var(--ox); font-weight: 700; font-style: normal; font-family: var(--sans); }

/* pillars (agency / mission / philosophy) */
.pillars { background: #f3efe6; }
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2.5vw,1.8rem); }
.pillar { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ox); border-radius: var(--radius); padding: 1.7rem 1.5rem; display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .num { font-family: var(--serif); font-size: .82rem; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: .97rem; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 1.2rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; text-decoration: none; display: block;
}
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); text-decoration: none; }
.svc-card .num { font-family: var(--serif); color: var(--ox); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.svc-card h3 { font-size: 1.2rem; margin: .3rem 0 .4rem; }
.svc-card p { color: var(--muted); font-size: .92rem; }
.svc-card.cta { background: var(--ox); border-color: var(--ox); color: #fff; }
.svc-card.cta::before { background: var(--gold); }
.svc-card.cta h3 { color: #fff; }
.svc-card.cta p { color: #ecd9c2; }

/* services detail rows */
.service-row { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.2rem,3vw,2.6rem); padding-block: 1.9rem; border-top: 1px solid var(--line); align-items: start; }
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row .svc-num { font-family: var(--serif); color: var(--gold); font-weight: 700; letter-spacing: .14em; font-size: .86rem; }
.service-row h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.service-row .svc-intro { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.svc-list { list-style: none; display: grid; gap: .6rem; }
.svc-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); font-size: .99rem; }
.svc-list li::before { content: "◆"; color: var(--gold); font-size: .62rem; flex: none; margin-top: .45em; }
.caveat { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; margin-top: 1.2rem; color: var(--ink-soft); font-size: .95rem; }

/* languages */
.lang-wrap { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.lang-chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .8rem 1.4rem; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ox); transition: background .14s, color .14s, border-color .14s; }
.lang-chip:hover { background: var(--ox); color: #fff; border-color: var(--ox); }
.lang-note { text-align: center; max-width: 44em; margin: 1.6rem auto 0; color: var(--muted); font-size: 1rem; }

/* gallery */
.gallery { background: #f3efe6; }
.gal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.8rem,1.5vw,1.2rem); }
.gal-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.gal-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gal-wide { grid-column: span 2; }

/* cta band */
.cta-band { background: var(--ox-dark); color: #f0e3d5; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.6rem,5vw,4rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,3.5vw,2.4rem); }
.cta-band p { color: #e0cbb0; margin-top: .5rem; max-width: 40em; }

/* footer */
footer.site { background: #2a1212; color: #d8c4b4; padding-top: 3.5rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot-grid h4 { color: #f5ead9; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1rem; }
.foot-brand img { height: 48px; margin-bottom: 1.1rem; background: #fff; border-radius: 4px; padding: 6px; }
.foot-grid p { font-size: .92rem; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: .55rem; }
.foot-links a { color: #d8c4b4; font-size: .95rem; }
.foot-links a:hover { color: var(--gold-soft); }
.foot-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .92rem; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; stroke: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #a8907e; }

/* page hero */
.page-hero { background: var(--ox-deep); color: #f2e6d9; padding-block: clamp(3rem,6vw,4.5rem); position: relative; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem,4.8vw,3.4rem); margin-top: .8rem; max-width: 18em; }
.page-hero p { color: #e6d3bd; margin-top: 1rem; max-width: 44em; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold); }

/* forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; font-family: var(--sans); font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); transition: border-color .14s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ox); }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ox); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }

/* grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.grid-2wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.6rem,4vw,3rem); align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.muted { color: var(--muted); }

/* toast + lightbox */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ox-dark); color: #fff; padding: .9rem 1.5rem; border-radius: 6px; font-size: .95rem; box-shadow: var(--shadow); transition: transform .3s; z-index: 100; max-width: 90vw; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); }
.lightbox { position: fixed; inset: 0; background: rgba(20,10,10,.94); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 30px 80px -20px #000; }
.lightbox .close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* legal page */
.legal { max-width: 780px; }
.legal-section { padding-block: 2.2rem; border-bottom: 1px solid var(--line); }
.legal-section:last-of-type { border-bottom: 0; }
.legal-section h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.legal-section .meta { color: var(--muted); font-size: .93rem; margin-bottom: 1.3rem; }
.legal-section h3 { font-size: 1.12rem; margin: 1.35rem 0 .5rem; }
.legal-section p, .legal-section li { color: var(--ink-soft); }
.legal-section ol, .legal-section ul { padding-left: 1.4rem; display: grid; gap: .45rem; margin: .4rem 0; }
.legal-section ol { list-style: decimal; }
.legal-section .num { font-family: var(--serif); font-weight: 700; color: var(--ox); margin-right: .5rem; }
.legal-contact { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 1.3rem 1.4rem; margin-top: 1.5rem; font-size: .98rem; }
.legal-contact b { color: var(--ox); }
.legal-contact p { margin-top: .4rem; color: var(--ink-soft); }
.subscribe-card { background: var(--ox); border-radius: var(--radius); padding: 2rem; text-align: center; color: #fff; margin-bottom: 2.6rem; }
.subscribe-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: .5rem; }
.subscribe-card p { color: #ecd7bc; max-width: 42em; margin: 0 auto 1.2rem; }
.subscribe-card .note { font-size: .83rem; color: #d9bc97; margin-top: 1.3rem; display: block; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 320px; }
  .hero-media img { position: relative; inset: auto; min-height: 320px; }
  .hero-quote-badge { position: relative; bottom: auto; left: auto; margin: -40px 1rem 0; }
  .about-split, .grid-2, .grid-2wide { grid-template-columns: 1fr; }
  .pillar-grid, .gal-grid { grid-template-columns: repeat(2,1fr); }
  .service-row { grid-template-columns: 1fr; gap: .6rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: .8rem; }
  .nav-cta { display: none; }
}
@media (max-width: 540px) {
  .pillar-grid, .gal-grid { grid-template-columns: 1fr; }
  .gal-wide { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .tb-right .tb-item:first-child { display: none; }
}
