:root {
  --bg:        #FFFFFF;
  --footer:    #2B2B2B;
  --accent:    #495167;
  --text-blue: #1164AC;
  --nav-a:     #18B9DB;
  --nav-b:     #0094B8;
  --white:     #ffffff;
  --gray-light:#f4f6f8;
  --radius:    6px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: #222;
  line-height: 1.6;
}

/* ── Concept disclaimer ── */
.concept-banner {
  position: relative; z-index: 100;
  padding: .65rem 1rem;
  border-bottom: 1px solid #eadb8a;
  background: #fff3bf; color: #2b250d;
  text-align: center; font-size: .9rem; font-weight: 700;
}
.concept-banner a { color: var(--text-blue); font-weight: 900; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--text-blue); color: #fff;
  padding: .5rem 1rem; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Site header / wordmark ── */
.sticky-shell {
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.site-header {
  background: var(--bg);
  padding: 1.25rem 22rem .85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  border-bottom: 2px solid #2B2B2B;
  position: relative;
  transition: padding .22s ease;
}
.site-header.is-condensed { padding-top: .45rem; padding-bottom: .35rem; }
.site-header.is-condensed .logo-concept-img { width: 166px; }
.site-header.is-condensed .logo-concept-location { display: none; }
.site-header.is-condensed .header-contact { top: .55rem; }
.site-header.is-condensed .header-contact small { display: none; }
.wordmark {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 0;
}
.logo-concept-img {
  display: block;
  width: clamp(190px, 24vw, 265px);
  height: auto;
  transition: width .22s ease;
}
.logo-concept-meta { display: grid; gap: .3rem; justify-items: start; }
.logo-concept-label {
  display: inline-block;
  padding: .22rem .5rem;
  border: 1px solid #8bcfdf;
  border-radius: 999px;
  background: #eaf9fc;
  color: #005b78;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.2;
}
.logo-concept-location {
  color: var(--accent);
  font-size: .78rem;
  line-height: 1.25;
}
.header-contact {
  font-size: .95rem;
  color: var(--accent);
  text-align: right;
  position: absolute;
  left: calc(100vw - 20.5rem);
  right: auto;
  top: 1.25rem;
  width: 19rem;
}
.header-contact a {
  color: var(--text-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.header-contact a:hover { text-decoration: underline; }

/* ── Nav ── */
.site-nav {
  background: linear-gradient(to bottom, var(--nav-a), var(--nav-b));
}
.site-nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap;
  max-width: 1140px; margin: 0 auto;
}
.site-nav a {
  display: block;
  padding: .75rem 1.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(0,0,0,.2);
}
.site-header.is-condensed + .site-nav a { padding-top: .5rem; padding-bottom: .5rem; }
main [id] { scroll-margin-top: 9rem; }

/* ── Layout ── */
.container {
  max-width: 1140px; margin: 0 auto; padding: 0 1.25rem;
}
.section {
  padding: 3.5rem 1.25rem;
  max-width: 1140px; margin: 0 auto;
}
.section-alt {
  background: var(--gray-light);
}
.mt-05 { margin-top: .5rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.contact-link { color: var(--text-blue); }
.contact-link-strong { color: var(--text-blue); font-weight: 700; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--nav-a) 0%, var(--nav-b) 100%);
  color: #fff;
  padding: 4rem 1.25rem;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 640px; margin: 0 0 2rem;
  opacity: .92;
}
.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 20px 45px rgba(0,0,0,.3);
}
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary {
  background: var(--text-blue); color: #fff;
}
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.8);
  margin-left: .5rem;
}
.btn-accent {
  background: var(--accent); color: #fff;
}

/* ── Rating badge ── */
.rating-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15); border-radius: 2rem;
  padding: .3rem .9rem; margin-bottom: 1.5rem;
  font-size: .9rem;
}
.stars { color: #FFCC00; letter-spacing: 1px; }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--nav-b);
}
.service-card p { color: #444; }

/* ── Why Tep's ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.why-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.why-icon {
  font-size: 2.5rem; margin-bottom: .75rem;
}
.why-card h3 { color: var(--accent); margin-bottom: .4rem; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-top: 4px solid var(--nav-b);
}
.testimonial blockquote {
  font-style: italic;
  color: #444;
  margin-bottom: .75rem;
}
.testimonial .reviewer {
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
}
.testimonial .t-stars { color: #FFCC00; font-size: .9rem; margin-bottom: .5rem; }

/* ── Section headings ── */
.section-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-subhead {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.rule {
  width: 60px; height: 4px;
  background: linear-gradient(to right, var(--nav-a), var(--nav-b));
  border-radius: 2px;
  margin: .5rem 0 1.5rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.contact-card {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h3 { margin-bottom: .6rem; font-size: 1rem; letter-spacing: .5px; text-transform: uppercase; }
.contact-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.contact-card a:hover { text-decoration: underline; }
.contact-card p { font-size: .97rem; line-height: 1.6; }
.contact-card address { font-style: normal; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.estimate-panel {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #cbd7df;
  border-left: 5px solid var(--nav-b);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.estimate-panel h3 { color: var(--accent); margin-bottom: .35rem; }
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.form-field { display: grid; gap: .35rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { color: var(--accent); font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .78rem;
  border: 1px solid #9eb5c4;
  border-radius: var(--radius);
  background: #fff;
  color: #222;
  font: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(24,185,219,.24); border-color: var(--nav-b); }
.form-note { grid-column: 1 / -1; color: #555; font-size: .9rem; }
.inquiry-form .btn { justify-self: start; border: 0; cursor: pointer; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.gallery-grid img {
  width: 100%; height: 225px;
  object-fit: cover; display: block;
}
.gallery-grid figcaption {
  padding: .6rem 1rem;
  background: var(--gray-light);
  font-size: .85rem;
  color: #555;
}

/* ── Specials ── */
.special-card {
  background: linear-gradient(135deg, var(--nav-a), var(--nav-b));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 1.5rem;
}
.special-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: .75rem;
}
.special-card p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  opacity: .95;
}

/* ── Page-level content ── */
.page-hero {
  background: linear-gradient(135deg, var(--nav-a) 0%, var(--nav-b) 100%);
  color: #fff;
  padding: 3rem 1.25rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
}
.page-hero p {
  margin-top: .75rem;
  font-size: 1.05rem;
  opacity: .9;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.policy-copy { max-width: 820px; }
.policy-copy h2 { color: var(--accent); margin: 2rem 0 .5rem; }
.policy-copy p { margin-bottom: 1rem; }
.policy-copy ul { margin: 0 0 1rem 1.4rem; }

/* ── Repair / list content ── */
.content-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.content-list li {
  padding: .9rem 1.1rem .9rem 2.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #dde3ea;
  border-left: 4px solid var(--nav-b);
  position: relative;
  color: #333;
}
.content-list li::before {
  content: "✓";
  position: absolute; left: .7rem;
  color: var(--nav-b);
  font-weight: 700;
}

/* ── Casual-tier wave and progressive reveal ── */
.hero-divider {
  height: 36px; overflow: hidden; line-height: 0;
  background: linear-gradient(135deg, var(--nav-a), var(--nav-b));
}
.hero-divider svg { display: block; width: 100%; height: 100%; }
.hero-divider path { fill: var(--bg); }
.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending {
  opacity: 0; transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .logo-concept-img, .reveal.reveal-pending { transition: none; }
  .reveal.reveal-pending { opacity: 1; transform: none; }
}

/* ── Footer ── */
.site-footer {
  background: var(--footer);
  color: #ccc;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: .88rem;
  margin-top: 3rem;
}
.site-footer a { color: #adc8e8; }
.site-footer .footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; align-items: flex-start;
}
.footer-col { flex: 1 1 200px; text-align: left; }
.footer-col h4 { color: #fff; margin-bottom: .5rem; font-size: .9rem; }
.footer-col p, .footer-col a { color: #bbb; line-height: 1.8; display: block; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
  font-size: .8rem;
  color: #888;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-header { flex-direction: column; align-items: flex-start; padding-right: 1.5rem; }
  .header-contact { position: static; text-align: left; width: 100%; overflow-wrap: anywhere; }
}
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; width: 100%; }
}
@media (max-width: 640px) {
  .wordmark { align-items: flex-start; flex-direction: column; max-width: 100%; }
  .logo-concept-img { width: min(250px, 100%); }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .site-nav a { padding: .6rem .8rem; font-size: .88rem; }
  .btn-outline { margin-left: 0; margin-top: .5rem; }
  main [id] { scroll-margin-top: 12.5rem; }
}
