/* ============================================================
   TM Computers — Neighborhood Page Styles
   Extends homepage.css with components specific to /computer-repair-{nb}/ pages
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.tm-breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px 32px;
}
.breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner .sep { margin: 0 10px; color: var(--line); }
.breadcrumb-inner .current { color: var(--ink); font-weight: 500; }

/* ---------- Neighborhood Hero (simpler than homepage, text-driven) ---------- */
.nb-hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--blue-bg-2) 100%);
  color: var(--paper);
  padding: 80px 32px 100px;
  overflow: hidden;
}
.nb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}
.nb-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Background neighborhood wordmark — editorial decorative element */
.nb-hero-wordmark {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(140px, 16vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.06);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font-variation-settings: "opsz" 144;
  text-align: right;
}

.nb-hero-text { max-width: 920px; position: relative; z-index: 1; }
.nb-hero-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}
.nb-hero-meta .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.nb-hero-meta .dot.dot-green {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
  animation: pulse 2s ease-in-out infinite;
}
.nb-hero-meta .dot.dot-gray {
  background: #9ca3af;
  box-shadow: 0 0 0 4px rgba(156,163,175,0.15);
}
.nb-hero-meta .dot:not(.dot-green):not(.dot-gray) {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
}
.nb-hero-meta .eyebrow {
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nb-h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.nb-h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: #fbbf24;
  font-variation-settings: "opsz" 144;
}
.nb-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 44px;
}
.nb-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  padding: 20px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.btn-ghost-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.nb-hero-trust {
  display: flex;
  gap: 32px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  flex-wrap: wrap;
}
.stat-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-inline .big {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-inline .big .stars { color: #fbbf24; }
.stat-inline .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nb-hero-trust .divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ---------- Local context section (the SEO meat) ---------- */
.nb-context-section {
  background: var(--bone);
  margin: 0;
  max-width: none;
}
.nb-context-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}
.nb-context-body {
  max-width: 900px;
  margin: 0 auto;
}
.nb-context-body p {
  font-size: 18px;
  color: #3a3a3a;
  line-height: 1.7;
  margin-bottom: 24px;
}
.nb-context-body p strong { color: var(--ink); font-weight: 600; }
.nb-context-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 40px 0 20px;
  color: var(--ink);
}
.nb-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.nb-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  font-size: 17px;
  line-height: 1.55;
  color: #3a3a3a;
  border-bottom: 1px solid var(--line);
}
.nb-list li:last-child { border-bottom: none; }
.nb-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--red);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.nb-list li strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ section ---------- */
.faq-section { padding-top: 80px; padding-bottom: 80px; }
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--red);
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 40px 28px 0;
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a3a;
}

/* ---------- Theme override protection for neighborhood pages ---------- */
body.tm-nb .nb-h1,
body.tm-nb .nb-h1 * { color: #ffffff !important; }
body.tm-nb .nb-h1 .italic { color: #fbbf24 !important; }
body.tm-nb .nb-sub { color: rgba(255,255,255,0.88) !important; }
body.tm-nb .nb-hero-meta .eyebrow { color: #ffffff !important; }
body.tm-nb .stat-inline .big { color: #ffffff !important; }
body.tm-nb .stat-inline .lbl { color: rgba(255,255,255,0.65) !important; }
body.tm-nb .nb-context-body p { color: #3a3a3a !important; }
body.tm-nb .nb-context-body p strong { color: #0f1929 !important; }
body.tm-nb .nb-context-body h3 { color: #0f1929 !important; }
body.tm-nb .nb-list li { color: #3a3a3a !important; }
body.tm-nb .nb-list li strong { color: #0f1929 !important; }
body.tm-nb .faq-item summary { color: #0f1929 !important; }
body.tm-nb .faq-answer { color: #3a3a3a !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nb-h1 { font-size: clamp(38px, 9vw, 64px); }
  .nb-hero { padding: 60px 24px 80px; }
  .nb-context-inner, .faq-section { padding: 80px 24px; }
  .nb-cta-row { flex-direction: column; align-items: stretch; }
  .btn-ghost-dark { justify-content: center; }
  .nb-hero-trust { gap: 20px; }
  .nb-hero-trust .divider { display: none; }
}
@media (max-width: 720px) {
  .tm-breadcrumb { padding: 10px 20px; font-size: 10px; }
  .breadcrumb-inner .sep { margin: 0 6px; }
  .nb-h1 { font-size: clamp(34px, 11vw, 54px); }
  .nb-hero { padding: 40px 20px 60px; }
  .nb-context-inner, .faq-section { padding: 60px 20px; }
  .nb-context-body p { font-size: 16px; }
  .nb-context-body h3 { font-size: 24px; }
  .faq-item summary { font-size: 18px; padding-right: 35px; }
  .faq-answer { font-size: 15px; padding-right: 0; }
  .stat-inline .big { font-size: 22px; }
}

/* ============================================================
   Areas Served — landing page grid
   ============================================================ */
.areas-grid-section { padding-top: 80px; padding-bottom: 80px; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
  border: 1px solid var(--line);
}
.area-card-wrap {
  background: var(--bone);
  display: flex;
  flex-direction: column;
  position: relative;
}
.area-card {
  background: var(--bone);
  padding: 48px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
  flex: 1;
  min-height: 280px;
}
.area-card:hover { background: var(--paper); }
.area-card:visited { color: inherit; }
.area-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 700;
}
.area-card-name {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}
.area-card-distance {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.area-card-hook {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.area-card-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 12px;
  transition: letter-spacing 0.2s;
}
.area-card:hover .area-card-cta { letter-spacing: 0.08em; }

/* Spanish link — sits below the card inside the same wrap */
.area-card-es-link {
  display: block;
  background: var(--bone);
  padding: 14px 36px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-top: 1px dashed var(--line);
  transition: background 0.2s, color 0.2s;
}
.area-card-es-link:hover {
  background: var(--paper);
  color: var(--red);
}

/* Theme override protection */
body.tm-areas-served .area-card-name { color: #0f1929 !important; }
body.tm-areas-served .area-card-hook { color: #4a4a4a !important; }
body.tm-areas-served .nb-context-body p { color: #3a3a3a !important; }
body.tm-areas-served .nb-context-body p strong { color: #0f1929 !important; }

@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { padding: 36px 24px 28px; min-height: auto; }
  .area-card-name { font-size: 26px; }
  .area-card-es-link { padding: 14px 24px 20px; }
}

/* ============================================================
   Services page — sticky jump nav + service sections
   ============================================================ */
.service-jumpnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-jumpnav::-webkit-scrollbar { display: none; }
.service-jumpnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  gap: 28px;
  white-space: nowrap;
}
.service-jumpnav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 600;
}
.service-jumpnav a:hover {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.service-section {
  padding: 100px 32px;
  background: var(--paper);
  scroll-margin-top: 80px; /* offset for sticky nav when jump-linking */
}
.service-section-alt { background: var(--bone); }
.service-section-dark {
  background: var(--blue-bg);
  color: var(--paper);
}

.service-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.service-meta {
  max-width: 900px;
  margin-bottom: 60px;
}
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}
.service-section-dark .service-num { color: #fbbf24; }
.service-meta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink);
}
.service-section-dark .service-meta h2 { color: var(--paper); }
.service-meta h2 .italic { color: var(--red); font-style: italic; font-weight: 400; }
.service-section-dark .service-meta h2 .italic { color: #fbbf24; }
.service-tagline {
  font-size: clamp(17px, 1.6vw, 21px);
  color: #4a4a4a;
  line-height: 1.55;
  max-width: 760px;
  margin: 0;
}
.service-section-dark .service-tagline { color: rgba(255,255,255,0.85); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.service-col h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
.service-section-dark .service-col h3 { color: var(--paper); }
.service-col p {
  font-size: 16px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0 0 16px;
}
.service-section-dark .service-col p { color: rgba(255,255,255,0.85); }
.service-col p strong { color: var(--ink); font-weight: 600; }
.service-section-dark .service-col p strong { color: var(--paper); }

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #3a3a3a;
  border-bottom: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--red);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.service-list li strong { color: var(--ink); font-weight: 600; }

.service-list-dark li {
  color: rgba(255,255,255,0.88);
  border-bottom-color: rgba(255,255,255,0.12);
}
.service-list-dark li::before { color: #fbbf24; }
.service-list-dark li strong { color: var(--paper); }

/* Theme override protection */
body.tm-services .service-meta h2 { color: #0f1929 !important; }
body.tm-services .service-section-dark .service-meta h2 { color: #ffffff !important; }
body.tm-services .service-meta h2 .italic { color: #c4202c !important; }
body.tm-services .service-section-dark .service-meta h2 .italic { color: #fbbf24 !important; }
body.tm-services .service-col h3 { color: #0f1929 !important; }
body.tm-services .service-section-dark .service-col h3 { color: #ffffff !important; }
body.tm-services .service-col p { color: #3a3a3a !important; }
body.tm-services .service-section-dark .service-col p { color: rgba(255,255,255,0.85) !important; }
body.tm-services .service-list li { color: #3a3a3a !important; }
body.tm-services .service-list-dark li { color: rgba(255,255,255,0.88) !important; }
body.tm-services .nb-context-body p a { color: var(--red) !important; }
body.tm-services .nb-context-body p a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-section { padding: 70px 24px; }
  .service-jumpnav-inner { padding: 12px 20px; gap: 22px; }
}
@media (max-width: 640px) {
  .service-section { padding: 54px 20px; }
  .service-meta { margin-bottom: 40px; }
  .service-meta h2 { font-size: 32px; }
  .service-col h3 { font-size: 22px; }
  .service-jumpnav a { font-size: 11px; }
}

/* ============================================================
   About page — story sections, stats grid
   ============================================================ */
.about-story-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.about-story-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-story-body {
  max-width: 800px;
  margin: 40px 0 0;
}
.about-story-body p {
  font-size: 18px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 22px;
  font-family: 'Inter', system-ui, sans-serif;
}
.about-story-body p strong { color: var(--ink); font-weight: 600; }

/* Reverse layout for alternating photo position */
.about-block.about-block-reverse {
  flex-direction: row-reverse;
}
@media (max-width: 1024px) {
  .about-block.about-block-reverse { flex-direction: column; }
}

/* Stats grid for About page */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
  border: 1px solid var(--line);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.about-fact {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-fact-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
}
.about-fact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-top: 4px;
}
.about-fact-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

/* Workshop section spacing */
.about-workshop-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Theme override protection */
body.tm-about .about-story-body p { color: #3a3a3a !important; }
body.tm-about .about-story-body p strong { color: #0f1929 !important; }
body.tm-about .about-fact-num { color: #1e3a8a !important; }
body.tm-about .about-fact-label { color: #0f1929 !important; }
body.tm-about .about-fact-detail { color: #6a6a6a !important; }

@media (max-width: 900px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-fact-num { font-size: 44px; }
}
@media (max-width: 540px) {
  .about-stats-grid { grid-template-columns: 1fr; }
  .about-story-body p { font-size: 16px; }
  .about-fact { padding: 32px 24px; }
}

/* ============================================================
   Contact page — three methods grid + form styling
   ============================================================ */

/* Three contact methods grid */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
  border: 1px solid var(--line);
}
.contact-method {
  background: var(--paper);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  border-radius: 4px;
}
.contact-method-icon svg {
  width: 22px;
  height: 22px;
}
.contact-method-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.contact-method-detail {
  margin: 0;
}
.contact-method-primary {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}
.contact-method-primary:hover {
  color: var(--red);
}
.contact-method-meta {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin: 8px 0 0;
}

/* Contact form section */
.contact-form-section {
  background: var(--bone);
}
.contact-form-intro {
  max-width: 760px;
  margin: 30px auto 40px;
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
  text-align: center;
}
.contact-form-intro a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.contact-form-intro a:hover { text-decoration: underline; }

.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line);
}

.contact-form-placeholder {
  text-align: center;
  color: #555;
}
.contact-form-placeholder p {
  margin: 0 0 16px;
  line-height: 1.6;
}
.contact-form-placeholder code {
  background: var(--bone);
  padding: 2px 8px;
  font-size: 13px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
}

/* CF7 form styling — make it match v4 */
.contact-form-wrap .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
}
.contact-form-wrap label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="url"],
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form-wrap input[type="submit"],
.contact-form-wrap .wpcf7-submit {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 18px 32px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.02em;
  width: fit-content;
}
.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap .wpcf7-submit:hover {
  background: var(--blue);
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: var(--red);
  font-size: 13px;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 14px;
  background: var(--bone);
  margin-top: 20px !important;
}

/* Theme override protection */
body.tm-contact .contact-method-primary { color: #0f1929 !important; }
body.tm-contact .contact-method-meta { color: #555 !important; }
body.tm-contact .contact-form-intro { color: #4a4a4a !important; }
body.tm-contact label { color: #0f1929 !important; }

@media (max-width: 900px) {
  .contact-methods-grid { grid-template-columns: 1fr; }
  .contact-method { padding: 36px 28px; }
  .contact-method-primary { font-size: 24px; }
  .contact-form-wrap { padding: 32px 24px; }
}
