/* MyTNHouse — Jose Arevalo · Real Broker */
:root {
  --chalk: #FFFFFF;
  --cobalt: #050E3D;
  --seaglass: #BFDDDB;
  --slate: #615B56;
  --onyx: #1D1D1D;
  --legacy: #05C3F9;
  --aqua: #00FBF0;
  --coral: #FF557E;
  --chrome-1: #F7F8F6;
  --chrome-2: #EEEEEE;
  --chrome-3: #DCDCDC;
  --chrome-4: #263993;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(5, 14, 61, 0.12);
  --max: 1120px;
  --header-h: 72px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--onyx);
  background: var(--chalk);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--chrome-4); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--legacy); }
h1, h2, h3, h4, .font-display {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cobalt);
  margin: 0 0 0.5em;
}
p { margin: 0 0 1rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--aqua); color: var(--cobalt);
  padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cobalt);
  color: var(--chalk);
  border-bottom: 1px solid rgba(0, 251, 240, 0.18);
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--chalk);
  min-width: 0; flex: 1;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  height: auto;
}
.brand-mark img { height: 28px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong {
  font-family: Poppins, sans-serif; font-weight: 300; font-size: 1.05rem; letter-spacing: 0.02em;
}
.brand-text span {
  font-size: 0.72rem; color: var(--seaglass); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.nav {
  display: flex; align-items: center; gap: 0.15rem;
}
.nav a {
  color: rgba(255,255,255,0.88); text-decoration: none;
  font-size: 0.92rem; padding: 0.45rem 0.7rem; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--cobalt); background: var(--aqua);
}
.nav-cta {
  margin-left: 0.35rem !important;
  background: transparent;
  border: 1px solid var(--aqua);
  color: var(--aqua) !important;
}
.nav-cta:hover { background: var(--aqua) !important; color: var(--cobalt) !important; }
.menu-toggle {
  display: none; flex-shrink: 0;
  align-items: center; justify-content: center; gap: 0.45rem;
  background: transparent; border: 1px solid rgba(0,251,240,0.4);
  color: var(--aqua); border-radius: 10px; padding: 0.5rem 0.75rem; cursor: pointer;
  min-width: 44px; min-height: 44px; font: inherit; font-size: 0.88rem; font-weight: 600;
}
.menu-toggle-bars {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 18px;
}
.menu-toggle-bars span {
  display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--aqua);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-toggle-label { line-height: 1; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(0,251,240,0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(5,195,249,0.15), transparent 50%),
    linear-gradient(145deg, #050E3D 0%, #0a1a5c 45%, #263993 100%);
  color: var(--chalk);
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -40% 40%;
  height: 70%;
  background: linear-gradient(120deg, transparent, rgba(0,251,240,0.08));
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--aqua);
}
.hero h1 {
  color: var(--chalk); font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch; margin-bottom: 1rem;
}
.hero .lede {
  font-size: 1.08rem; color: rgba(255,255,255,0.86);
  max-width: 38ch; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(191,221,219,0.28);
  backdrop-filter: blur(10px);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.hero-card h2 { color: var(--chalk); font-size: 1.35rem; margin-bottom: 0.35rem; }
.hero-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: 0.78rem 1.35rem; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; transition: 0.15s ease;
  font-family: Inter, sans-serif;
}
.btn-aqua { background: var(--aqua); color: var(--cobalt); }
.btn-aqua:hover { filter: brightness(1.05); color: var(--cobalt); }
.btn-ghost {
  background: transparent; color: var(--chalk);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn-outline {
  background: transparent; color: var(--cobalt);
  border-color: var(--cobalt);
}
.btn-outline:hover { background: var(--cobalt); color: var(--chalk); }
.btn-coral { background: var(--coral); color: var(--chalk); }
.btn-coral:hover { filter: brightness(1.05); color: var(--chalk); }
.btn-legacy { background: var(--legacy); color: var(--cobalt); }
.btn-block { width: 100%; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-muted { background: var(--chrome-1); }
.section-navy {
  background: var(--cobalt); color: var(--chalk);
}
.section-navy h2, .section-navy h3 { color: var(--chalk); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem; align-items: end; margin-bottom: 2rem;
}
.section-head p { color: var(--slate); max-width: 42ch; margin: 0; }
.kicker {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--chrome-4); margin-bottom: 0.4rem; font-weight: 600;
}

/* Cards / grids */
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--chalk);
  border: 1px solid var(--chrome-2);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 24px rgba(5,14,61,0.04);
}
.card:hover { border-color: var(--seaglass); }
.card .icon-pill {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0,251,240,0.15); color: var(--cobalt);
  margin-bottom: 0.9rem; font-size: 1.1rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.card p { color: var(--slate); margin-bottom: 0; font-size: 0.95rem; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.area-chip {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--chalk); border: 1px solid var(--chrome-2);
  border-radius: 12px; text-decoration: none; color: var(--onyx);
  transition: 0.15s ease;
}
.area-chip:hover {
  border-color: var(--aqua); color: var(--cobalt);
  box-shadow: 0 10px 28px rgba(5,14,61,0.08);
}
.area-chip-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.area-chip:hover .area-chip-photo {
  transform: scale(1.04);
  filter: brightness(1.08);
}
.area-chip-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
  width: 100%;
}
.area-chip strong { font-family: Poppins, sans-serif; font-weight: 300; font-size: 1.1rem; }
.area-chip span { font-size: 0.8rem; color: var(--slate); }

/* Forms */
.form {
  display: grid; gap: 0.85rem;
}
.form-row { display: grid; gap: 0.85rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 0.35rem; }
.field span, .field label {
  font-size: 0.82rem; font-weight: 600; color: var(--slate);
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--chrome-3); border-radius: 10px;
  padding: 0.72rem 0.85rem; font: inherit; color: var(--onyx);
  background: var(--chalk);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(0,251,240,0.55); border-color: var(--legacy);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--slate); margin: 0; }
.form-status {
  display: none; padding: 0.75rem 0.9rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
}
.form-status.ok { display: block; background: rgba(0,251,240,0.18); color: var(--cobalt); }
.form-status.err { display: block; background: rgba(255,85,126,0.12); color: #a01f45; }
.field.error input, .field.error textarea, .field.error select {
  border-color: var(--coral);
}

.panel {
  background: var(--chalk);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--chrome-2);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.panel.dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(191,221,219,0.25);
  color: var(--chalk);
}
.panel.dark .field span { color: var(--seaglass); }
.panel.dark .field input,
.panel.dark .field select,
.panel.dark .field textarea {
  background: rgba(5,14,61,0.45);
  border-color: rgba(255,255,255,0.18);
  color: var(--chalk);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--cobalt), var(--chrome-4));
  color: var(--chalk);
  padding: 3.25rem 0 2.75rem;
}
.page-hero h1 { color: var(--chalk); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.84); max-width: 50ch; margin: 0; }

/* Split */
.split {
  display: grid; gap: 2rem; grid-template-columns: 1.1fr 0.9fr; align-items: start;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem;
}
.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,251,240,0.2);
  border-radius: 12px; padding: 1rem;
}
.stat strong {
  display: block; font-family: Poppins, sans-serif; font-weight: 300;
  font-size: 1.6rem; color: var(--aqua);
}
.stat span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

.list-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.list-check li {
  position: relative; padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--slate);
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--aqua); box-shadow: 0 0 0 3px rgba(0,251,240,0.2);
}

.neighborhood-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--chrome-2);
  background: var(--chalk);
  display: grid;
  grid-template-rows: auto 1fr;
}
.neighborhood-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.neighborhood-card .swatch {
  background:
    linear-gradient(135deg, rgba(5,14,61,0.55), rgba(0,251,240,0.35)),
    var(--chrome-4);
}
.neighborhood-card .body { padding: 1.15rem 1.2rem 1.3rem; }
.neighborhood-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.neighborhood-card p { color: var(--slate); font-size: 0.92rem; margin: 0; }

.coming-soon {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--chrome-3);
  border-radius: var(--radius);
  background: var(--chrome-1);
}
.coming-soon strong {
  display: block; font-family: Poppins, sans-serif; font-weight: 300;
  font-size: 1.6rem; color: var(--cobalt); margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--cobalt);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0,251,240,0.15);
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: var(--chalk); font-size: 1.05rem; margin-bottom: 0.75rem;
}
.site-footer a { color: var(--seaglass); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.footer-brand .real-rect {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.footer-brand .real-rect img { height: 24px; width: auto; display: block; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.45); max-width: 70ch; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

@media (max-width: 920px) {
  .hero-grid, .split, .footer-grid, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 0.35rem);
    flex-direction: column; align-items: stretch; z-index: 60;
    background: #071247; border: 1px solid rgba(0,251,240,0.25);
    border-radius: 14px; padding: 0.55rem; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.85rem 1rem;
    min-height: 44px;
    display: flex; align-items: center;
  }
  .nav-cta { margin-left: 0 !important; text-align: center; justify-content: center; }
  .stat-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .area-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
}

/* Google reviews */
.review-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}
.review-score { display: flex; align-items: baseline; gap: 0.65rem; flex-wrap: wrap; }
.review-score .score {
  font-family: Poppins, sans-serif; font-weight: 300; font-size: 2.5rem;
  color: var(--cobalt); line-height: 1;
}
.review-score .stars { letter-spacing: 0.08em; font-size: 1.15rem; display: inline-flex; gap: 0.12rem; }
.review-score .count { color: var(--slate); font-size: 0.9rem; }

.review-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.review-viewport {
  overflow: hidden;
  perspective: 1000px;
  position: relative;
}
.review-track {
  display: grid;
  min-height: 280px;
}
.review-card {
  grid-area: 1 / 1;
  position: relative;
  background: var(--chalk, #fff);
  border: 1px solid var(--gray, #DCDCDC);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow:
    0 18px 40px rgba(5, 14, 61, 0.08),
    0 2px 0 rgba(255,255,255,0.8) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px) rotateY(-8deg);
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: 0;
}
.review-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.review-stars {
  display: inline-flex;
  gap: 0.22rem;
  letter-spacing: 0;
  font-size: 1.7rem;
  line-height: 1;
}
.star-3d {
  display: inline-block;
  font-size: 1.7rem;
  line-height: 1;
  background: linear-gradient(180deg, #F4B400 0%, #F9AB00 48%, #E37400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #F9AB00;
  -webkit-text-fill-color: transparent;
  text-shadow:
    -1px -1px 0 rgba(255, 236, 180, 0.9),
    1px 1px 0 rgba(140, 60, 0, 0.5),
    2px 3px 0 rgba(90, 40, 0, 0.22);
  filter:
    drop-shadow(-1px -1px 0 rgba(255, 240, 190, 0.95))
    drop-shadow(1px 2px 0 rgba(130, 55, 0, 0.5))
    drop-shadow(0 3px 4px rgba(180, 90, 0, 0.35));
}
.review-score .star-3d { font-size: 1.2rem; }

.review-text {
  margin: 0;
  color: var(--onyx, #1D1D1D);
  font-size: 1.08rem;
  line-height: 1.65;
  flex: 1;
}
.review-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: baseline;
  font-size: 0.9rem; color: var(--slate);
  padding-right: 2.5rem;
}
.review-meta strong { color: var(--cobalt); font-weight: 700; }
.review-google {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(5, 14, 61, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}
.review-dot.is-active {
  background: var(--cobalt);
  width: 22px;
}
.review-dot:focus-visible {
  outline: 2px solid var(--aqua, #00fbf0);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-card.is-active {
    transition: opacity 0.2s ease;
    transform: none;
  }
}


/* Mortgage calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
}
.calc-panel h2 { margin-top: 0; margin-bottom: 1rem; }
.calc-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.calc-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.calc-form .field span {
  min-height: 1.2em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
}
.calc-form .field input,
.calc-form .field select {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--chrome-2, #DCDCDC);
  padding: 0 0.85rem;
  background: #fff;
  font-size: 1rem;
}
.calc-form .ghost-input {
  visibility: hidden;
  pointer-events: none;
  border-color: transparent !important;
  background: transparent !important;
}
.calc-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0 0 0.85rem;
}
.calc-form [data-calc-run] { margin-top: 0.25rem; }
.calc-disclaimer {
  font-size: 0.82rem; color: var(--slate); margin: 1rem 0 0;
}

/* Solid cobalt results so payment amount is always visible */
.calc-results {
  background: #050E3D !important;
  color: #FFFFFF !important;
  border: 1px solid #050E3D;
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 12px 32px rgba(5,14,61,0.22);
}
.calc-results-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00FBF0;
  margin-bottom: 0.35rem;
}
.calc-results .calc-total {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3rem);
  color: #FFFFFF !important;
  line-height: 1.1;
  margin: 0.2rem 0 0.45rem;
}
.calc-results .calc-sub {
  color: rgba(255,255,255,0.78);
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}
.calc-breakdown { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.calc-breakdown li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}
.calc-breakdown li strong { color: #FFFFFF; font-weight: 700; }
.calc-bar {
  display: flex; height: 10px; border-radius: 99px; overflow: hidden;
  margin-bottom: 1.15rem; background: rgba(255,255,255,0.12);
}
.calc-bar span { display: block; height: 100%; }
.calc-bar .seg-pi { background: #00FBF0; }
.calc-bar .seg-tax { background: #05C3F9; }
.calc-bar .seg-ins { background: #BFDDDB; }
.calc-bar .seg-hoa { background: #FF557E; }
.calc-bar .seg-pmi { background: #263993; }
.calc-note { color: rgba(255,255,255,0.65) !important; margin-top: 0.85rem; }
.calc-compact .calc-total { font-size: 2.2rem; }
@media (max-width: 640px) {
  .calc-form .form-row { grid-template-columns: 1fr; }
  .calc-form .field-spacer { display: none; }
}

#cursor-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  #cursor-fx { display: none !important; }
  .reveal, .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Blog + social */
.footer-social {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-top: 1.1rem;
}
.social-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0,251,240,0.35);
  background: rgba(255,255,255,0.06);
  color: var(--seaglass) !important;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none !important;
}
.social-link:hover {
  border-color: var(--aqua);
  color: var(--aqua) !important;
  background: rgba(0,251,240,0.1);
}
.social-link img { display: block; }

.follow-jose {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--chalk);
  border: 1px solid var(--chrome-2);
}
.follow-jose-copy {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.follow-jose-copy strong {
  font-family: Poppins, sans-serif; font-weight: 300;
  color: var(--cobalt); font-size: 1.15rem;
}
.follow-jose-copy span { color: var(--slate); font-size: 0.9rem; }
.follow-jose .social-link {
  border-color: rgba(5,14,61,0.18);
  background: var(--chrome-1);
  color: var(--cobalt) !important;
}
.follow-jose .social-link:hover {
  border-color: var(--legacy);
  color: var(--chrome-4) !important;
}

.blog-list {
  display: grid; gap: 1.35rem;
  grid-template-columns: repeat(2, 1fr);
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--chalk);
  border: 1px solid var(--chrome-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(5,14,61,0.04);
  transition: 0.15s ease;
}
.blog-card:hover { border-color: var(--seaglass); box-shadow: var(--shadow); }
.blog-card-media { display: block; overflow: hidden; }
.blog-card-media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.blog-card-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--chrome-4); font-weight: 600;
}
.blog-card h2, .blog-card h3 { font-size: 1.25rem; margin: 0; }
.blog-card h2 a, .blog-card h3 a { color: var(--cobalt); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--legacy); }
.blog-card p { color: var(--slate); font-size: 0.95rem; margin: 0; flex: 1; }
.blog-card-link {
  margin-top: 0.5rem; font-weight: 600; font-size: 0.92rem;
  color: var(--chrome-4); text-decoration: none;
}
.blog-card-link:hover { color: var(--legacy); }
.blog-card-compact .blog-card-body { padding-bottom: 1.15rem; }

.blog-breadcrumb {
  font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0 0 0.75rem;
}
.blog-breadcrumb a { color: var(--aqua); text-decoration: none; }
.blog-meta {
  margin-top: 0.85rem !important;
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.72) !important;
}
.blog-layout {
  display: grid; gap: 2rem;
  grid-template-columns: 1.35fr 0.75fr;
  align-items: start;
}
.blog-prose { max-width: 68ch; }
.blog-prose h2 { margin-top: 1.75rem; font-size: 1.45rem; }
.blog-prose p, .blog-prose li { color: var(--slate); font-size: 1.02rem; }
.blog-prose a { font-weight: 500; }
.blog-post-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--chrome-2);
}
.blog-cta { position: sticky; top: calc(var(--header-h) + 1rem); }
.blog-teaser-grid .blog-card h3 { font-size: 1.1rem; }

@media (max-width: 920px) {
  .blog-list, .blog-layout { grid-template-columns: 1fr; }
  .blog-cta { position: static; }
}


/* ——— Phone polish (intentional @ ~375–480px) ——— */
html, body { overflow-x: clip; }
body.nav-open { overflow: hidden; }

.ty-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; align-items: center;
}
.ty-photo {
  display: block; width: 100%; max-width: 100%; height: auto;
  border-radius: 12px;
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { width: min(100% - 1.5rem, var(--max)); }
  .brand-mark img { height: 24px; }
  .brand-text strong { font-size: 0.98rem; }
  .brand-text span { font-size: 0.64rem; letter-spacing: 0.06em; }

  .hero { padding: 2.1rem 0 2.4rem; }
  .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    max-width: none;
  }
  .hero .lede { font-size: 1rem; max-width: none; margin-bottom: 1.35rem; }
  .hero-card { padding: 1.15rem 1.1rem 1.25rem; }
  .hero-card h2 { font-size: 1.25rem; }

  .page-hero { padding: 2.2rem 0 1.9rem; }
  .section { padding: clamp(2.4rem, 7vw, 4rem) 0; }

  .field input, .field select, .field textarea {
    padding: 0.85rem 0.9rem;
    font-size: 16px; /* avoid iOS input zoom */
    min-height: 48px;
  }
  .field textarea { min-height: 120px; }
  .btn {
    padding: 0.9rem 1.25rem;
    min-height: 48px;
    font-size: 0.98rem;
  }
  .panel { padding: 1.2rem; }

  .review-card {
    padding: 1.25rem 1.15rem 1.4rem;
    min-height: 0;
    border-radius: 14px;
  }
  .review-text { font-size: 1rem; line-height: 1.6; }
  .review-stars, .star-3d { font-size: 1.4rem; }
  .review-meta { padding-right: 2rem; font-size: 0.85rem; }
  .review-track { min-height: 0; }

  .follow-jose {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.1rem;
  }
  .follow-jose .footer-social,
  .follow-jose-links { width: 100%; }

  .footer-grid { gap: 1.5rem; }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .social-link { min-height: 40px; }

  .blog-card-body { padding: 1rem 1.1rem 1.2rem; }
  .blog-card h2, .blog-card h3 { font-size: 1.15rem; }

  .ty-wrap { padding: 1.5rem 0 2.5rem !important; }
  .ty-card { padding: 1.5rem 1.15rem 1.4rem !important; }
  .ty-actions { flex-direction: column; align-items: stretch; }
  .ty-actions .btn { width: 100%; }

  .area-chip-meta {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .brand-text span { max-width: 16ch; }
  .menu-toggle-label { display: none; }
  .menu-toggle { padding: 0.55rem; }
}
