/* ==========================================================================
   Radiant Living Family Care — Editorial Homepage Layout & Spec Styles
   Matching screenshots/01-home.jpg
   ========================================================================== */

:root {
  --terra:       #A65C3E;
  --terra-dk:    #8C4A30;
  --ink:         #1F3343;
  --ink-soft:    #2C4658;
  --ink-deep:    #111D27;
  --ochre:       #B58A4D;
  --ochre-dk:    #9C7538;
  --paper:       #F4EFE3;
  --paper-dk:    #EBE3D2;
  --paper-light: #FBF8F1;
  --white:       #FFFFFF;
  --text:        #2A2A26;
  --muted:       #5C5B52;
  --line:        #DDD4C1;
  --shadow:      0 18px 48px rgba(31,51,67,0.12);
  --maxw:        1140px;
}

/* Base resets for homepage */
body {
  background-color: var(--paper);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cardo", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

/* Header & Seal */
.site-header {
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.8rem 5%;
}

.seal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.seal svg {
  width: 44px;
  height: 44px;
}

.seal-name {
  font-family: "Cardo", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--ink);
}

.seal-name span {
  display: block;
  font-family: "Cormorant SC", serif;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--terra);
}

.nav-links .nav-cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-links .nav-cta:hover {
  background: var(--terra-dk);
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 8%;
    gap: 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Mobile Call Bar */
.mobile-call {
  display: none;
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  position: sticky;
  top: 60px;
  z-index: 999;
}

@media (max-width: 768px) {
  .mobile-call {
    display: block;
  }
}

/* Trust Strips */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.4;
}

.trust-strip a {
  color: var(--terra);
  text-decoration: underline;
  font-weight: 600;
}

/* Hero Section (Cream Editorial Layout) */
.hero-editorial {
  background: var(--paper);
  padding: 4rem 0 3.5rem;
}

.hero-editorial .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.2rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.hero-editorial .label {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--terra);
  display: block;
  margin-bottom: 0.6rem;
}

.hero-editorial h1 {
  font-family: "Cardo", Georgia, serif;
  font-size: clamp(2.6rem, 5.4vw, 3.9rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

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

.hero-editorial .lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-terra {
  background: var(--terra);
  color: var(--white);
  border: 1px solid var(--terra);
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-terra:hover {
  background: var(--terra-dk);
  border-color: var(--terra-dk);
  color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* Asymmetrical Hero Media with Arched Corners & Floating Card */
.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
  border-radius: 220px 220px 10px 10px;
  box-shadow: var(--shadow);
}

.house-card {
  position: absolute;
  left: -16px;
  bottom: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 12px 30px rgba(31,51,67,0.16);
  max-width: 250px;
}

.house-card .k {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--terra);
  display: block;
  margin-bottom: 0.25rem;
}

.house-card .v {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
}

/* 4-Stat Band Grid */
.stat-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
}

.stat-cell {
  padding: 1.7rem 1.4rem;
  border-left: 1px solid var(--line);
}

.stat-cell:first-child {
  border-left: 0;
}

.stat-cell .num {
  font-family: "Cardo", Georgia, serif;
  font-size: 2.3rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-cell .cap {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Household Section */
.household-section {
  background: var(--paper);
  padding: 4.5rem 0;
}

.household-section .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.2rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.household-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.household-section .label {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--terra);
  display: block;
  margin-bottom: 0.6rem;
}

.household-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

/* Care Grid (Dark Navy Section) */
.care-section {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 0;
}

.care-section .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.care-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.care-header .label {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #E6CFA0;
}

.care-header h2 {
  color: var(--white);
  margin-bottom: 0;
}

.care-header a {
  color: #E6CFA0;
  font-family: "Cormorant SC", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(244,239,227,0.14);
}

.care-cell {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid rgba(244,239,227,0.14);
  border-bottom: 1px solid rgba(244,239,227,0.14);
}

.care-cell:nth-child(3n) { border-right: 0; }
.care-cell:nth-child(n+4) { border-bottom: 0; }

.care-cell .cn {
  font-family: "Cormorant SC", serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: #E6CFA0;
  display: block;
  margin-bottom: 0.5rem;
}

.care-cell h3 {
  color: var(--paper);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.care-cell p {
  color: #B9C2C9;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.5;
}

/* Two Questions Families Ask Cards */
.ask-section {
  background: var(--paper);
  padding: 4.5rem 0;
}

.ask-section .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.ask-card {
  display: block;
  border-radius: 8px;
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.ask-card .tag {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 0.6rem;
}

.ask-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.ask-card p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.ask-card .go {
  font-family: "Cormorant SC", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 600;
}

.ask-light {
  background: var(--white);
}

.ask-light .tag, .ask-light .go { color: var(--terra); }
.ask-light h3 { color: var(--ink); }
.ask-light p { color: var(--muted); }

.ask-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.ask-dark .tag, .ask-dark .go { color: #E6CFA0; }
.ask-dark h3 { color: var(--paper); }
.ask-dark p { color: #B9C2C9; }

/* Owner Section */
.owner-section {
  background: var(--white);
  padding: 4.5rem 0;
}

.owner-section .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.2rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.owner-section img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.owner-section blockquote {
  margin: 0;
  font-family: "Cardo", Georgia, serif;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1.45;
  color: var(--ink);
}

.owner-section .attr {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--terra);
  margin-top: 1.2rem;
}

/* Gallery Section */
.gallery-section {
  background: var(--paper);
  padding: 4.5rem 0;
}

.gallery-section .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 5%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.gallery-card {
  margin: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--paper);
  padding: 1.2rem 0.8rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(31,51,67,0.85));
}

/* DSHS License Verification Block */
.verify-section {
  background: var(--paper);
  padding: 0 0 4.5rem;
}

.verify-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.6rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.info-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.info-line:last-child {
  border-bottom: 0;
}

.info-line .k {
  font-family: "Cormorant SC", serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.info-line .v {
  color: var(--muted);
  text-align: right;
}

/* Final CTA Band */
.cta-band {
  background: var(--ink);
  color: var(--paper-light);
  text-align: center;
  padding: 4.5rem 0;
}

.cta-band .label {
  font-family: "Cormorant SC", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #E6CFA0;
  display: block;
  margin-bottom: 0.6rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 1.8rem;
  color: rgba(244,239,227,0.85);
  font-size: 1.25rem;
}

/* Site Footer */
.site-footer {
  background: var(--ink-deep);
  color: var(--paper-light);
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--ochre);
}

.site-footer a {
  color: var(--paper-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--ochre);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.8rem;
  margin-bottom: 2.8rem;
  max-width: var(--maxw);
  margin: 0 auto 2.8rem;
  padding: 0 5%;
}

.footer-grid h4 {
  color: var(--ochre);
  font-family: "Cormorant SC", serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

.footer-base {
  border-top: 1px solid rgba(221,212,193,0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: rgba(244,239,227,0.7);
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

/* Responsive Layout Adjustments */
@media (max-width: 1024px) {
  .hero-editorial .wrap,
  .household-section .wrap,
  .owner-section .wrap,
  .verify-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-media img {
    aspect-ratio: 4/3;
    border-radius: 140px 140px 8px 8px;
  }
  .stat-band .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(3) { border-left: 0; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(-n+2) { border-top: 0; }
  .care-grid {
    grid-template-columns: 1fr;
  }
  .care-cell {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(244,239,227,0.14) !important;
  }
  .care-cell:last-child { border-bottom: 0 !important; }
  .ask-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-base {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .stat-band .wrap {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }
  .stat-cell:first-child { border-top: 0; }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
