/* Hot Tub Repair Bournemouth — Mobile-First, Fast, Conversion-Optimised */

:root {
  --primary: #1a6bb5;
  --primary-dark: #134e82;
  --accent: #e8a830;
  --accent-dark: #c48a1f;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --text: #2c3e50;
  --text-light: #6c757d;
  --border: #dee2e6;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 1rem;
}

.logo:hover { text-decoration: none; }

.logo-icon { font-size: 1.5rem; }

.logo-text strong { color: var(--primary); }

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}

.header-cta:hover { background: var(--primary-dark); text-decoration: none; }

.cta-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }
.cta-phone { font-size: 0.95rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight { color: var(--accent); }

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  min-width: 260px;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); }

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Sections */
section { padding: 3rem 0; }
section:nth-child(even) { background: var(--bg-white); }

h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.problem-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.2s;
  color: var(--text);
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
}

.problem-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.problem-card p { font-size: 0.9rem; color: var(--text-light); }

.see-all { text-align: center; font-weight: 600; }

/* Services */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-item {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.service-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-item p { font-size: 0.9rem; color: var(--text-light); }

/* Areas */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.area-tags span {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text);
}

.areas p { text-align: center; color: var(--text-light); }

/* Contact Form */
.contact { background: var(--bg-white); }

.contact-form {
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full-width { margin-bottom: 1rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,181,0.15);
}

.btn-full { width: 100%; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 2rem 0 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-info p { margin-bottom: 0.3rem; }
.footer-info a { color: rgba(255,255,255,0.7); }
.footer-contact a { color: white; font-weight: 600; }
.footer-contact p { margin-bottom: 0.3rem; }

.copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* Tablet+ */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* Desktop */
@media (min-width: 960px) {
  .hero h1 { font-size: 2.8rem; }
  .hero { padding: 4rem 0; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .logo { font-size: 1.1rem; }
}

/* Article/Content Pages */
.content-page { padding: 2rem 0; }

.content-page .container { max-width: 720px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--primary); }

.content-page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: left;
  line-height: 1.3;
}

.content-page h2 {
  font-size: 1.3rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.content-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.content-page p {
  margin-bottom: 1rem;
  color: var(--text);
}

.content-page ul, .content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-page li { margin-bottom: 0.4rem; }

.callout-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout-box.danger {
  background: #f8d7da;
  border-color: #dc3545;
}

.callout-box.info {
  background: #d1ecf1;
  border-color: #17a2b8;
}

.callout-box strong { display: block; margin-bottom: 0.3rem; }

.cta-inline {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2rem 0;
}

.cta-inline h3 { color: white; margin-bottom: 0.5rem; font-size: 1.2rem; }
.cta-inline p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.cta-inline .btn-primary { min-width: 200px; }

/* Error Code Grid */
.error-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.error-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}

.error-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

a.error-card { cursor: pointer; }

.error-code {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.error-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.error-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.error-severity {
  font-size: 0.82rem;
  font-weight: 600;
}

.error-common { border-color: #28a745; background: #f0faf3; }
.error-common .error-code { color: #28a745; }
.error-medium { border-color: #e8a830; background: #fffdf5; }
.error-medium .error-code { color: #c48a1f; }
.error-serious { border-color: #dc3545; background: #fdf0f1; }
.error-serious .error-code { color: #dc3545; }
.error-critical { border-color: #6f42c1; background: #f5f0fa; }
.error-critical .error-code { color: #6f42c1; }

/* Symptom List */
.symptom-list {
  margin: 1.5rem 0 2.5rem;
}

.symptom-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.75rem;
}

.symptom-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.symptom-item h3 a {
  color: var(--primary);
  text-decoration: none;
}

.symptom-item h3 a:hover {
  text-decoration: underline;
}

.symptom-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
}

/* Cost Table */
.cost-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cost-table th, .cost-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.cost-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: var(--bg); }

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.two-col .col {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}

.two-col .col h3 { margin-bottom: 0.8rem; font-size: 1.05rem; }
.two-col .col ul { list-style: none; padding: 0; }
.two-col .col li { padding: 0.3rem 0; font-size: 0.92rem; }
.two-col .col li::before { content: "• "; color: var(--text-light); }

@media (max-width: 600px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Season Grid */
.season-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.season-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}

.season-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.season-card h3 a { color: var(--primary); text-decoration: none; }
.season-card h3 a:hover { text-decoration: underline; }
.season-card p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

@media (max-width: 600px) {
  .season-grid { grid-template-columns: 1fr; }
  .error-grid { grid-template-columns: 1fr; }
}

/* Steps List */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.steps-list li {
  counter-increment: step;
  padding: 1rem 1rem 1rem 3.5rem;
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* CTA Box (large) */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box h3 { color: white; font-size: 1.4rem; margin-bottom: 0.8rem; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 1.2rem; }
.cta-box .btn-lg { font-size: 1.1rem; padding: 1rem 2rem; }
.cta-sub { font-size: 0.85rem !important; margin-top: 0.8rem !important; }
.cta-sub a { color: var(--accent); }

/* Intro Text */
.intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text);
}
