/* Special Care Estates — rebuilt from the Gamma original, same look */
:root {
  --ink: #0D0D09;
  --ink-2: #141410;
  --ink-3: #1c1c17;
  --line: #35352f;
  --gold: #EEE27D;
  --gold-2: #F7EF8A;
  --bronze: #AE8625;
  --paper: #FFFFFF;
  --body: #CFCBBF;
  --muted: #8f8d86;
  --green: #5CC97B;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--body);
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Prata', Georgia, serif; font-weight: 400; color: #D2AC47; line-height: 1.25; }
h1, h2, h3, .serif, .card h4, .stat-num, .brand {
  background-image: linear-gradient(180deg, #AE8625 5%, #F7EF8A 45%, #D2AC47 85%);
  background-size: 100% 1.25em; background-repeat: repeat; background-origin: border-box;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-num { background-size: 100% 1.1em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .9rem; }
h3 { font-size: 1.25rem; margin-bottom: .6rem; }
h4 { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--paper); font-size: 1.05rem; margin-bottom: .45rem; }
p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--ink-2); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: #dedcd6; }
.muted { color: var(--muted); }
.gold-italic { font-style: italic; color: var(--gold); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13,13,9,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.brand { font-family: 'Prata', serif; color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: #dedcd6; font-size: .92rem; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--gold); font-size: 1.3rem; padding: 4px 12px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .95rem; border-radius: 3px; cursor: pointer; }
.btn-gold { background: linear-gradient(180deg, #D2AC47 5%, #F7EF8A 45%, #AE8625 85%); color: #1a1a14; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { border: 1px solid #6f6d66; color: var(--paper); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.4rem; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; padding: 90px 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,13,9,.93) 35%, rgba(13,13,9,.55) 70%, rgba(13,13,9,.25)); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-split img { border-radius: 4px; }
.eyebrow { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.1rem; }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; }
.card h4 { color: var(--gold); font-family: 'Prata', serif; font-weight: 400; font-size: 1.12rem; }
.card ul { margin: .6rem 0 0 1.1rem; }
.card li { margin-bottom: .5rem; font-size: .95rem; }
.price { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--paper); font-size: 1.15rem; margin: .3rem 0 .8rem; }
.rounded { border-radius: 4px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat-num { font-family: 'Prata', serif; font-size: 2.7rem; color: var(--gold); line-height: 1.1; }
.stat-label { font-weight: 700; color: var(--paper); margin: .4rem 0 .5rem; }

/* Table */
.plan-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6rem 0; }
.plan-table th { background: var(--ink-3); color: var(--paper); text-align: left; font-weight: 700; }
.plan-table th, .plan-table td { border: 1px solid var(--line); padding: 14px 16px; }
.plan-table td:first-child { font-weight: 700; color: var(--gold); }

/* FAQ */
.qa { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.qa h3 { color: var(--gold); font-size: 1.15rem; }
.qa:last-child { border-bottom: none; }

/* Lists */
ul.gold-dots { list-style: none; margin: .8rem 0; }
ul.gold-dots li { padding-left: 1.4em; position: relative; margin-bottom: .55rem; }
ul.gold-dots li::before { content: "•"; color: var(--bronze); position: absolute; left: .2em; font-size: 1.1em; }

/* Divider & footer */
.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
footer { border-top: 1px solid var(--line); padding: 40px 0 30px; font-size: .88rem; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold); }

/* Media object */
.media-img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
figure.frame { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }

@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4, .split, .hero-split, .stats { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; padding: 18px 24px; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 52px 0; }
  .hero { min-height: 60vh; }
}

/* Black lettering on gold buttons (incl. nav, where .nav-links a was overriding) */
.btn-gold, .nav-links a.btn-gold, a.btn-gold { color: #000 !important; -webkit-text-fill-color: #000 !important; }

/* Form styles */
.form-wrap { max-width: 760px; margin: 0 auto; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 700; color: var(--paper); margin-bottom: .45rem; font-size: .95rem; }
.field .req { color: var(--bronze); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px;
  color: var(--paper); padding: 12px 14px; font-family: 'Raleway', sans-serif; font-size: .95rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.choices { display: flex; flex-direction: column; gap: .45rem; }
.choices.inline { flex-direction: row; flex-wrap: wrap; gap: 1.2rem; }
.choices label { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; color: var(--body); font-size: .95rem; cursor: pointer; }
.choices input { accent-color: var(--bronze); margin-top: .25em; }
.tier-section { border: 1px solid var(--line); border-radius: 4px; padding: 22px 22px 8px; margin-bottom: 1.3rem; background: var(--ink-2); }
.tier-section > h3 { font-size: 1.05rem; }
.hidden { display: none; }

/* Article pages */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 2.2rem; }
.article .frame { margin: 1.8rem 0; }
.article-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.6rem; }
.callout { border-left: 3px solid var(--bronze); background: var(--ink-2); padding: 18px 22px; margin: 1.6rem 0; }


/* Footer — Specials family layout in SCE gold */
footer { border-top: 1px solid var(--line); padding: 56px 0 26px; font-size: .92rem; color: var(--body); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr 1.15fr; gap: 40px; margin-bottom: 44px; }
.foot-h { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--paper); margin-bottom: 1rem; }
.foot-col a { display: block; color: var(--body); margin-bottom: .55rem; font-size: .92rem; }
.foot-col a:hover { color: var(--gold); }
.foot-blurb { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
.foot-family { border-top: 1px solid var(--line); padding: 26px 0 4px; text-align: center; }
.foot-family .foot-h { margin-bottom: .9rem; }
.foot-family-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.foot-family-links a { color: var(--body); font-size: .9rem; padding: 0 14px; border-right: 1px solid var(--line); }
.foot-family-links a:last-child { border-right: none; }
.foot-family-links a:hover { color: var(--gold); }
.foot-legal { text-align: center; color: var(--muted); font-size: .82rem; padding-top: 22px; }
.foot-legal a { color: var(--muted); text-decoration: underline; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
