/* ==========================================================================
   Oakland Sauna — site stylesheet
   Ported from the WordPress sauna themes' style.css, with every rule that
   existed only to override Gutenberg block defaults removed. Same visual
   language, about half the lines.
   ========================================================================== */

:root {
  --tpla-primary:     #243027;
  --tpla-accent:      #C0872F;
  --tpla-accent-dark: #8E6220;
  --tpla-text:        #111827;
  --tpla-slate:       #5B6B63;
  --tpla-bg:          #FAFAF6;
  --tpla-bg-soft:     #F2EDE3;
  --tpla-line:        #E0D6C3;
  --tpla-yellow:      #F4C24A;
  --tpla-yellow-dark: #DFA825;
  --tpla-shadow:      0 6px 24px rgba(36, 48, 39, 0.10);
  --tpla-shadow-lift: 0 16px 40px rgba(36, 48, 39, 0.16);

  --tpla-content: 1080px;
  --tpla-wide:    1440px;

  --tpla-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;
  --tpla-serif: ui-serif, Charter, "Bitstream Charter", "Sitka Text", Cambria,
                Georgia, serif;
}

/* ---------- Reset and base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--tpla-bg);
  color: var(--tpla-text);
  font-family: var(--tpla-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--tpla-accent-dark); }
a:hover { color: var(--tpla-primary); }

h1, h2, h3, h4 {
  font-family: var(--tpla-serif);
  color: var(--tpla-primary);
  margin: 0 0 0.6em;
}
h1 { font-size: 2.75rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 2.1rem;  line-height: 1.2;  font-weight: 600; letter-spacing: -0.01em; }
h3 { font-family: var(--tpla-sans); font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.45rem; }

@media (max-width: 900px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }
}

/* ---------- Layout primitives (replacing the WP layout engine) ---------- */

.tpla-section { padding: 4rem 1.5rem; }
.tpla-section--soft { background: var(--tpla-bg-soft); }

.tpla-inner { max-width: var(--tpla-content); margin: 0 auto; }
.tpla-inner--wide { max-width: var(--tpla-wide); margin: 0 auto; }

.tpla-row { display: flex; gap: 2.5rem; align-items: flex-start; }
.tpla-row--center { align-items: center; }
.tpla-col { flex: 1 1 0; min-width: 0; }

@media (max-width: 860px) {
  .tpla-row { flex-direction: column; gap: 2rem; }
  .tpla-col { width: 100%; flex: 1 1 auto; }
}
@media (max-width: 700px) {
  .tpla-section, .tpla-section--tight { padding-left: 1.25rem; padding-right: 1.25rem; }
}

.tpla-eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--tpla-accent-dark);
  margin: 0 0 0.5rem;
}
.tpla-lead { font-size: 1.15rem; color: var(--tpla-slate); }
.tpla-figure img { border-radius: 12px; width: 100%; object-fit: cover; }

.tpla-btn {
  display: inline-block; padding: 0.9rem 1.6rem;
  background: var(--tpla-primary); color: #fff;
  font-weight: 700; border-radius: 6px; text-decoration: none;
  transition: background 0.18s ease;
}
.tpla-btn:hover { background: var(--tpla-accent-dark); color: #fff; }
.tpla-btn--outline {
  background: transparent; color: var(--tpla-primary);
  border: 2px solid var(--tpla-primary);
}
.tpla-btn--outline:hover { background: var(--tpla-primary); color: #fff; }

/* ---------- Header ---------- */

.tpla-nav-row {
  background: var(--tpla-primary); color: #fff;
  position: sticky; top: 0; z-index: 1000; width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.tpla-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; position: relative;
}
.tpla-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: #fff;
  transition: color 0.18s ease;
}
/* Without this the generic a:hover rule paints the brand in the primary green,
   which is the colour of the bar behind it, so the text disappears. */
.tpla-brand:hover, .tpla-brand:focus { color: var(--tpla-yellow); }
.tpla-brand img { width: 38px; height: 38px; border-radius: 6px; }
.tpla-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.tpla-brand-text b { font-size: 1.05rem; font-weight: 700; font-family: var(--tpla-serif); }
.tpla-brand-text span { font-size: 0.82rem; opacity: 0.82; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 480px) { .tpla-brand img { width: 32px; height: 32px; } }

.tpla-nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: 0.96rem; font-weight: 600;
}
.tpla-nav-links a, .tpla-nav-trigger { color: #fff; text-decoration: none; }

.tpla-nav-links > a,
.tpla-nav-links .tpla-nav-item > .tpla-nav-trigger {
  position: relative; padding: 0.35rem 0.1rem; cursor: pointer;
  transition: color 0.18s ease;
}
.tpla-nav-links > a::after,
.tpla-nav-links .tpla-nav-item > .tpla-nav-trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--tpla-yellow); transform: scaleX(0);
  transform-origin: left center; transition: transform 0.2s ease;
}
.tpla-nav-links > a:hover::after,
.tpla-nav-links .tpla-nav-item:hover > .tpla-nav-trigger::after,
.tpla-nav-links .tpla-nav-item:focus-within > .tpla-nav-trigger::after { transform: scaleX(1); }
.tpla-nav-links > a:hover,
.tpla-nav-links .tpla-nav-item:hover > .tpla-nav-trigger { color: var(--tpla-yellow); }

.tpla-nav-item { position: relative; }
.tpla-nav-caret {
  display: inline-block; margin-left: 4px; font-size: 0.7em;
  opacity: 0.85; transition: transform 0.2s ease;
}
.tpla-nav-item:hover .tpla-nav-caret,
.tpla-nav-item:focus-within .tpla-nav-caret { transform: rotate(180deg); }

.tpla-nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: var(--tpla-primary);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
  padding: 0.4rem 0; min-width: 250px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.tpla-nav-item:hover > .tpla-nav-dropdown,
.tpla-nav-item:focus-within > .tpla-nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.tpla-nav-dropdown a {
  display: block; padding: 0.55rem 1rem; font-size: 0.92rem;
  white-space: nowrap; font-weight: 500;
}
.tpla-nav-dropdown a:hover { background: rgba(255, 255, 255, 0.08); color: var(--tpla-yellow); }

.tpla-nav-phone a {
  color: var(--tpla-yellow); text-decoration: none; font-weight: 700;
  padding: 0.45rem 0.9rem; border: 1.5px solid var(--tpla-yellow);
  border-radius: 6px; white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.tpla-nav-phone a:hover { background: var(--tpla-yellow); color: var(--tpla-primary); }

.tpla-nav-hamburger {
  display: none; background: none; border: 0; color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 6px;
}
.tpla-nav-right { display: flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
  .tpla-nav-hamburger { display: block; }
  .tpla-nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--tpla-primary); flex-direction: column;
    align-items: stretch; gap: 0; padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  }
  .tpla-nav-open .tpla-nav-links { display: flex; }
  .tpla-nav-links > a,
  .tpla-nav-links .tpla-nav-item > .tpla-nav-trigger { padding: 0.7rem 24px; }
  .tpla-nav-links > a::after,
  .tpla-nav-links .tpla-nav-item > .tpla-nav-trigger::after { display: none; }
  .tpla-nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; margin: 0;
    padding: 0 0 0.4rem; display: none;
  }
  .tpla-nav-item.is-open > .tpla-nav-dropdown { display: block; }
  .tpla-nav-dropdown a { padding-left: 40px; }
  .tpla-brand-text span { display: none; }
}

/* ---------- Hero ---------- */

.tpla-hero {
  position: relative; isolation: isolate;
  padding: 5.5rem 1.5rem; color: #fff;
  background: var(--tpla-primary);
  background-size: cover;
  /* The hero photo is portrait, so a wide hero crops to a horizontal band
     covering roughly 40% of the image height. 38% puts the whole arc of the
     curved glass dome and the deck behind it, and keeps the bright sky to a
     sliver. Lower than this the crop tightens onto dark glass and the shape
     stops reading as a sauna. */
  background-position: center 38%;
}
.tpla-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(18, 24, 19, 0.82) 0%,
                                      rgba(18, 24, 19, 0.58) 48%,
                                      rgba(18, 24, 19, 0.38) 100%);
}
.tpla-hero h1, .tpla-hero h2, .tpla-hero p, .tpla-hero li { color: #fff; }
.tpla-hero .tpla-eyebrow { color: var(--tpla-yellow); font-size: 0.82rem; letter-spacing: 2.5px; }
.tpla-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; margin: 0.5rem 0 1.1rem; }
.tpla-hero-lead { font-size: 1.22rem; line-height: 1.55; color: #EDEFE8; max-width: 34em; }
.tpla-hero-bullets { margin-top: 1.5rem; font-size: 1.02rem; }
.tpla-hero-bullets li::marker { color: var(--tpla-yellow); }
.tpla-hero-callout { font-size: 1.1rem; margin-top: 1.25rem; }
.tpla-hero-callout a {
  color: var(--tpla-yellow); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.tpla-hero-row { align-items: center; gap: 3rem; }
.tpla-hero-form-col { flex: 0 0 40%; }

/* Copy is centred within its column. The lead needs its own auto margins to
   centre once it hits its max-width, and the bullet list is centred as a block
   with its items still left-aligned. Centring the list items themselves leaves
   the markers stepping in and out down the left edge. */
.tpla-hero-text-col { flex: 1 1 55%; text-align: center; }
.tpla-hero-text-col .tpla-hero-lead { margin-left: auto; margin-right: auto; }
.tpla-hero-bullets {
  display: inline-block;
  text-align: left;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .tpla-hero { padding: 3rem 1.5rem; }
  .tpla-hero-form-col, .tpla-hero-text-col { flex: 1 1 auto; }
}
@media (max-width: 600px) {
  .tpla-hero .tpla-eyebrow { display: none; }
}

/* ---------- Slim page hero (interior pages) ---------- */

.tpla-page-hero { background: var(--tpla-bg-soft); padding: 3.5rem 1.5rem; }
.tpla-page-hero h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 0.75rem; }
.tpla-page-hero .tpla-lead { font-size: 1.1rem; margin-bottom: 0; }
.tpla-page-hero .tpla-figure img { aspect-ratio: 5 / 4; }
.tpla-page-hero-text { flex: 1 1 55%; }
.tpla-page-hero-img { flex: 0 0 45%; }

/* ---------- Trust strip ---------- */

.tpla-trust-strip { padding: 1.75rem 1.5rem; border-bottom: 1px solid var(--tpla-line); }
.tpla-trust-grid {
  max-width: var(--tpla-content); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem;
}
.tpla-trust-item {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.25rem 0 0.25rem 0.85rem; border-left: 2px solid var(--tpla-yellow);
}
.tpla-trust-kicker {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tpla-accent-dark);
}
.tpla-trust-label { font-size: 1rem; font-weight: 700; color: var(--tpla-primary); line-height: 1.25; }
.tpla-trust-sub { font-size: 0.85rem; color: var(--tpla-slate); }
@media (max-width: 900px) { .tpla-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tpla-trust-grid { grid-template-columns: 1fr; } }

/* Home feature photos: About Oakland Custom Saunas, Why Choose Us, and What
   Affects the Cost. They take 46% of the row and share one 3:4 crop, so the
   three read as a set rather than three different shapes down the page.
   Portrait suits them because the copy beside them runs long; a landscape
   figure left a small picture stranded in the middle of a very tall column.
   Sticky keeps it in view while that copy scrolls past. */
.tpla-feature-figure { position: sticky; top: 6rem; }
.tpla-feature-figure img { aspect-ratio: 3 / 4; max-height: 620px; }
@media (max-width: 860px) {
  .tpla-feature-figure { position: static; }
  .tpla-feature-figure img { aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Recent builds: dark mosaic gallery ---------- */

.tpla-gallery {
  background: var(--tpla-primary);
  color: #fff;
  padding: 4.5rem 1.5rem;
}
.tpla-gallery h2 { color: #fff; }
.tpla-gallery .tpla-eyebrow { color: var(--tpla-yellow); }
.tpla-gallery-lead { color: #C9D2C8; font-size: 1.12rem; max-width: 60ch; }

.tpla-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.tpla-gallery-item { aspect-ratio: 4 / 3; }

.tpla-gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1a231c;
}
.tpla-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tpla-gallery-item:hover img { transform: scale(1.04); }
.tpla-gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.15rem;
  background: linear-gradient(to top, rgba(12, 17, 13, 0.92) 0%,
                                      rgba(12, 17, 13, 0.62) 45%,
                                      rgba(12, 17, 13, 0) 100%);
}
.tpla-gallery-loc {
  display: block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tpla-yellow);
}
.tpla-gallery-item h3 {
  margin: 0.3rem 0 0.15rem;
  font-family: var(--tpla-serif);
  font-size: 1.3rem; font-weight: 600; color: #fff; line-height: 1.2;
}
.tpla-gallery-type { font-size: 0.85rem; color: #BFC9BE; }

@media (max-width: 1040px) { .tpla-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .tpla-gallery-grid { grid-template-columns: 1fr; } }

.tpla-btn--ghost {
  background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.5);
}
.tpla-btn--ghost:hover { background: #fff; color: var(--tpla-primary); border-color: #fff; }

/* ---------- Services grid ---------- */

.tpla-service-briefs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
/* There are 13 services and 13 is prime, so most column counts strand a card
   on its own in the last row. Five across gives 5 + 5 + 3, which reads as a
   balanced block. Narrower breakpoints still leave a remainder, so the row is
   centred as well and a short last row looks deliberate rather than broken. */
.tpla-service-brief {
  flex: 1 1 240px;
  max-width: calc(20% - 1.2rem);     /* 5 across */
  border: 1px solid var(--tpla-line); border-top: 3px solid var(--tpla-primary);
  border-radius: 10px; padding: 1.25rem 1.35rem 1.4rem; background: #fff;
  display: flex; flex-direction: column;
}
@media (max-width: 1240px) { .tpla-service-brief { max-width: calc(25% - 1.125rem); } }
@media (max-width: 980px)  { .tpla-service-brief { max-width: calc(33.333% - 1rem); } }
@media (max-width: 740px)  { .tpla-service-brief { max-width: calc(50% - 0.75rem); } }
@media (max-width: 540px)  { .tpla-service-brief { max-width: 100%; } }

.tpla-service-brief h2 { font-size: 1.45rem; font-weight: 600; margin: 0 0 0.5rem; }
.tpla-service-brief p { font-size: 1rem; line-height: 1.6; color: var(--tpla-slate); }
.tpla-service-brief > p:last-child { margin-top: auto; margin-bottom: 0; padding-top: 0.6rem; color: var(--tpla-accent-dark); }
.tpla-service-brief > p:last-child a { font-weight: 700; text-decoration: none; }
.tpla-service-brief > p:last-child a:hover { text-decoration: underline; }

/* Buttons sit centred in their own row. */
.tpla-btn-row { margin-top: 2rem; text-align: center; }

/* ---------- Reasons (H3 items) and process steps ---------- */

.tpla-reason { margin-bottom: 1.6rem; }
.tpla-reason h3 { font-size: 1.28rem; margin-bottom: 0.4rem; }
.tpla-reason p { margin: 0; color: var(--tpla-slate); }
.tpla-sticky-figure { position: sticky; top: 6rem; }
.tpla-sticky-figure img { aspect-ratio: 4 / 5; }

.tpla-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
@media (max-width: 860px) { .tpla-steps { grid-template-columns: 1fr; gap: 1.5rem; } }
.tpla-step__num {
  font-family: var(--tpla-serif); font-size: 2.2rem; line-height: 1;
  color: var(--tpla-accent); margin-bottom: 0.5rem;
}
.tpla-step h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.tpla-step p { color: var(--tpla-slate); margin: 0; }

.tpla-subtopics {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.tpla-subtopic h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.tpla-subtopic p { color: var(--tpla-slate); margin: 0; font-size: 0.99rem; }

/* ---------- FAQ ---------- */

.tpla-faq details {
  background: #fff; border: 1px solid var(--tpla-line); border-radius: 10px;
  padding: 1rem 1.3rem; margin-bottom: 0.75rem; transition: border-color 0.18s ease;
}
.tpla-faq details:hover, .tpla-faq details[open] { border-color: var(--tpla-accent); }
.tpla-faq summary {
  font-weight: 600; color: var(--tpla-primary); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; font-size: 1.05rem;
}
.tpla-faq summary::-webkit-details-marker { display: none; }
.tpla-faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--tpla-accent-dark); margin-left: 1rem;
}
.tpla-faq details[open] summary::after { content: "\2212"; }
.tpla-faq summary > h3 {
  display: inline; margin: 0; font-size: inherit; font-weight: inherit;
  color: inherit; font-family: inherit;
}
.tpla-faq details > p { margin: 0.85rem 0 0; color: var(--tpla-slate); }
.tpla-faq-group { margin-bottom: 2.5rem; }
.tpla-faq-group > h3 { font-family: var(--tpla-serif); font-size: 1.6rem; margin-bottom: 0.9rem; }
.tpla-faq-group > h3 a { color: inherit; text-decoration: none; }
.tpla-faq-group > h3 a:hover { color: var(--tpla-accent-dark); }

.tpla-cta-link { margin-top: 1.25rem; font-weight: 600; }

/* ---------- Link note (in-prose internal links) ---------- */

.tpla-home-link-note { padding: 2.5rem 1.5rem; }
.tpla-home-link-note p {
  max-width: 68ch; margin: 0 auto; font-size: 1.08rem;
  line-height: 1.65; color: var(--tpla-slate);
}

/* ---------- Service areas ---------- */

.tpla-city-cols { display: flex; gap: 2rem; }
.tpla-city-cols ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.tpla-city-cols li { padding: 0.28rem 0; }

/* ---------- Review badges ---------- */

.tpla-review-badges {
  max-width: 820px; margin: 0 auto; display: flex; justify-content: center;
  gap: 2rem; flex-wrap: wrap; align-items: center;
}
.tpla-review-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--tpla-line); border-radius: 12px;
  padding: 1.25rem 1.5rem; min-height: 180px; min-width: 280px;
}
.tpla-review-badge img { max-height: 130px; width: auto; object-fit: contain; }

/* ---------- Credentials card ---------- */

.tpla-cred-card {
  background: var(--tpla-bg-soft); border-radius: 10px; padding: 1.25rem;
  margin-top: 1.5rem;
}
.tpla-cred-card__label {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tpla-accent-dark); margin: 0 0 0.6rem;
}
.tpla-cred-card ul { font-size: 0.95rem; margin: 0; padding-left: 1.1rem; }

/* These two are added by assets/js/main.js at runtime, so they never appear in
   the generated HTML and a dead-class scan will flag them. They are live. */
/* .tpla-nav-open, .tpla-form__error */

/* ---------- Form ---------- */

.tpla-form {
  background: #fff; border: 1px solid var(--tpla-line); border-radius: 12px;
  padding: 1.75rem 1.5rem; box-shadow: var(--tpla-shadow-lift);
  color: var(--tpla-text);
}
.tpla-form__heading {
  margin: 0 0 0.25rem; font-size: 1.3rem; font-weight: 700;
  color: var(--tpla-primary); font-family: var(--tpla-sans);
}
.tpla-form label {
  display: block; font-size: 0.8rem; font-weight: 600;
  margin: 0.85rem 0 0.3rem; text-transform: uppercase; letter-spacing: 0.01em;
}
.tpla-form input, .tpla-form textarea {
  display: block; width: 100%; padding: 0.72rem 0.85rem;
  border: 1px solid var(--tpla-line); border-radius: 6px;
  font-size: 0.97rem; font-family: inherit; background: var(--tpla-bg);
  line-height: 1.4; color: var(--tpla-text);
}
.tpla-form textarea { min-height: 100px; resize: vertical; }
.tpla-form input:focus, .tpla-form textarea:focus {
  outline: none; border-color: var(--tpla-primary);
  box-shadow: 0 0 0 3px rgba(36, 48, 39, 0.15);
}
.tpla-form__submit {
  display: block; width: 100%; margin-top: 1.1rem; padding: 0.95rem 1.4rem;
  background: var(--tpla-primary); color: #fff; font-weight: 700;
  font-size: 1rem; font-family: inherit; border: 0; border-radius: 6px;
  cursor: pointer; transition: background 0.18s ease;
}
.tpla-form__submit:hover:not(:disabled) { background: var(--tpla-accent-dark); }
.tpla-form__submit:disabled { opacity: 0.55; background: var(--tpla-slate); cursor: not-allowed; }
.tpla-form__submit:disabled::before {
  content: ""; display: inline-block; width: 0.85em; height: 0.85em;
  margin-right: 0.5em; vertical-align: -0.1em;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff;
  border-radius: 50%; animation: tpla-spin 0.9s linear infinite;
}
@keyframes tpla-spin { to { transform: rotate(360deg); } }
.tpla-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tpla-form__fineprint { font-size: 0.75rem; color: var(--tpla-slate); margin: 0.85rem 0 0; }
.tpla-form__error {
  background: #fde8e8; color: #8a1f1f; border: 1px solid #f5c2c2;
  padding: 0.75rem 1rem; border-radius: 6px; margin: 0.75rem 0 0; font-size: 0.92rem;
}
.cf-turnstile { margin: 1rem 0 0; min-height: 65px; }

/* Keep the white-on-photo hero rule out of the form card. */
.tpla-hero .tpla-form,
.tpla-hero .tpla-form label,
.tpla-hero .tpla-form p,
.tpla-hero .tpla-form h3 { color: var(--tpla-text); }
.tpla-hero .tpla-form .tpla-form__fineprint { color: var(--tpla-slate); }

/* ---------- Map ---------- */

.tpla-map {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--tpla-line); box-shadow: var(--tpla-shadow);
}
.tpla-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .tpla-map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */

.tpla-site-footer {
  background: var(--tpla-primary); color: #fff; padding: 3rem 1.5rem 1.5rem;
}
.tpla-site-footer h3, .tpla-site-footer h4, .tpla-site-footer p, .tpla-site-footer li { color: #fff; }
.tpla-site-footer h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.tpla-site-footer h4 {
  font-size: 0.95rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 0.8rem; font-family: var(--tpla-sans);
}
.tpla-site-footer p { font-size: 0.95rem; line-height: 1.55; }
.tpla-site-footer ul { list-style: none; padding: 0; margin: 0; }
.tpla-site-footer li { padding: 0.2rem 0; font-size: 0.95rem; margin: 0; }
.tpla-site-footer a { color: #fff; text-decoration: none; }
.tpla-site-footer a:hover { color: var(--tpla-yellow); text-decoration: underline; }
.tpla-site-footer .tpla-phone { color: var(--tpla-yellow); font-weight: 700; }
.tpla-site-footer .tpla-phone:hover { color: #fff; }
.tpla-footer-grid { display: flex; gap: 2.5rem; max-width: var(--tpla-wide); margin: 0 auto; }
.tpla-footer-grid > div { flex: 1; }
.tpla-footer-grid > div:first-child { flex: 0 0 34%; }
@media (max-width: 900px) {
  .tpla-footer-grid { flex-wrap: wrap; gap: 2rem; }
  .tpla-footer-grid > div { flex: 1 1 45%; }
  .tpla-footer-grid > div:first-child { flex: 1 1 100%; }
}
@media (max-width: 560px) { .tpla-footer-grid > div { flex: 1 1 100%; } }
.tpla-site-footer .tpla-map { aspect-ratio: 4 / 3; border-color: rgba(255, 255, 255, 0.18); margin-top: 1rem; }
.tpla-footer-bottom {
  max-width: var(--tpla-wide); margin: 2rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center; font-size: 0.85rem; opacity: 0.85;
}

/* ---------- Directories ---------- */

.tpla-directory-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.75rem; list-style: none; padding: 0; margin-top: 2rem;
}
.tpla-directory-list li { margin: 0; }
.tpla-directory-list a {
  display: block; padding: 0.85rem 1.1rem; background: #fff;
  border: 1px solid var(--tpla-line); border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.tpla-directory-list a:hover { border-color: var(--tpla-accent); }

/* ---------- Skip link ---------- */

.tpla-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--tpla-yellow); color: var(--tpla-primary);
  padding: 0.75rem 1.25rem; font-weight: 700; border-radius: 0 0 6px 0;
}
.tpla-skip:focus { left: 0; }

@media print {
  .tpla-nav-row, .tpla-form, .tpla-map, .tpla-site-footer { display: none; }
}
