/* ==========================================================================
   예인건설산업 랜딩페이지
   ========================================================================== */

:root {
  --navy-900: #0b1224;
  --navy-800: #101d3a;
  --navy-700: #16244a;
  --navy-600: #1c2f5c;
  --gold: #f2b010;
  --gold-dark: #d99a0a;
  --bg-light: #f4f4f2;
  --bg-beige: #ece7db;
  --bg-pink: #f7e3e0;
  --text-dark: #171f33;
  --text-body: #4b5468;
  --text-muted: #7b8296;
  --white: #ffffff;
  --border: #e6e5e0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px rgba(16, 29, 58, 0.06);
  --shadow-card-hover: 0 16px 40px rgba(16, 29, 58, 0.12);
  --container: 1160px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic",
    "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(242, 176, 16, 0.35);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-700);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border: 1px solid var(--border);
}

.btn-outline-navy:hover {
  border-color: var(--navy-800);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 17px 28px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  flex-shrink: 0;
  height: 26px;
  width: auto;
}

.brand-text .brand-tag {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.main-nav a:hover {
  color: var(--navy-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 13, 28, 0.94) 0%, rgba(10, 18, 40, 0.88) 45%, rgba(16, 29, 58, 0.65) 100%);
}

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-badge {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.mobile-break {
  display: none;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 640px;
}

.hero-desc {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Check Section ---------- */
.check-section {
  background: var(--bg-light);
  padding: 96px 0;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.check-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}

.check-item .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold-dark);
}

.check-item h3 {
  font-size: 16px;
  font-weight: 700;
}

.check-item p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Phone Banner ---------- */
.phone-banner {
  background: var(--navy-900);
  color: var(--white);
  padding: 34px 0;
}

.phone-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.phone-banner p {
  font-size: 14px;
  font-weight: 500;
  color: rgba(219, 227, 244, 0.92);
}

.phone-banner .btn-gold {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
}

.phone-banner .btn-gold:hover {
  background: none;
  color: var(--gold-dark);
}

.phone-banner .btn-gold svg path {
  stroke: var(--gold);
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--white);
  padding: 56px 0;
  text-align: center;
}

.stats-section .section-title {
  max-width: 720px;
  margin: 0 auto;
}

.stats-icon {
  color: var(--navy-800);
  margin-bottom: 18px;
}

.stats-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-beige);
  border-radius: var(--radius-md);
  padding: 32px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-800);
}

.stat-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- Equipment ---------- */
.equipment-section {
  padding: 96px 0;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.equipment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.equipment-card .icon {
  color: var(--navy-800);
  margin-bottom: 16px;
}

.equipment-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.equipment-card ul {
  margin-top: 10px;
}

.equipment-card li {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Statement Photo ---------- */
.statement-photo {
  position: relative;
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.statement-photo .hero-bg {
  background-image: url("../images/statement-bg.jpg");
}

.statement-photo .hero-overlay {
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.55) 0%, rgba(10, 18, 38, 0.82) 100%);
}

.statement-photo .container {
  position: relative;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.statement-photo h2 {
  font-size: 30px;
  font-weight: 800;
}

/* ---------- 5 Step System ---------- */
.step-section {
  background: var(--navy-900);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.step-section .eyebrow {
  color: var(--gold);
}

.step-section .section-title {
  color: var(--white);
}

.step-grid {
  margin-top: 44px;
  overflow: hidden;
}

.step-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  user-select: none;
}

.step-track::-webkit-scrollbar {
  display: none;
}

.step-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.step-track-dup {
  display: contents;
}

.step-card {
  flex: 0 0 340px;
  width: 340px;
  background: var(--navy-700);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.step-card-body {
  padding: 22px 20px 26px;
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step-card h3 {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.step-card p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Before / After ---------- */
.before-after-section {
  padding: 96px 0;
  background: var(--bg-light);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.ba-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ba-images figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.ba-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ba-images img:hover {
  transform: scale(1.08);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 18, 36, 0.9);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ba-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(11, 18, 36, 0.72);
  color: var(--white);
}

.ba-caption {
  margin-top: 14px;
  padding: 0 4px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ---------- Team ---------- */
.team-section {
  background: var(--bg-beige);
  padding: 96px 0;
  text-align: center;
}

.team-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.team-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-muted);
}

.team-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
}

.team-role {
  margin-top: 4px;
  font-size: 14px;
  color: var(--navy-700);
  font-weight: 600;
}

.team-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Reviews ---------- */
.reviews-section {
  padding: 96px 0;
  background: var(--bg-light);
  text-align: center;
}

.review-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 14px;
}

.review-card h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

.review-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.review-text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.review-photo {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.review-card:hover .review-photo img {
  transform: scale(1.06);
}

.review-photo span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(0deg, rgba(11, 18, 36, 0.75), transparent);
}

/* ---------- Leak Types ---------- */
.leak-section {
  background: var(--bg-beige);
  padding: 96px 0;
  text-align: center;
}

.leak-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.leak-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.leak-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.leak-top {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.leak-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.leak-card:hover .leak-top img {
  transform: scale(1.08);
}

.leak-body {
  padding: 20px 22px 24px;
}

.leak-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-700);
}

.leak-body h3 {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
}

.leak-body dl {
  margin-top: 14px;
}

.leak-body dl div {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.leak-body dt {
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
  width: 46px;
}

/* ---------- Lead Form ---------- */
.leadform-section {
  padding: 96px 0;
  text-align: center;
}

.leadform-box {
  margin: 44px auto 0;
  max-width: 640px;
  background: var(--bg-beige);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row .field {
  margin-top: 0;
}

.field {
  margin-top: 20px;
}

.field:first-child {
  margin-top: 0;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.field label .req {
  color: var(--gold-dark);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
}

.consent {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.leadform-box .btn {
  margin-top: 20px;
}

.form-msg {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-msg.success {
  color: #1a7f4b;
  display: block;
}

.form-msg.error {
  color: #c0392b;
  display: block;
}

/* ---------- Warning ---------- */
.warning-section {
  background: var(--bg-pink);
  padding: 90px 0;
}

.warning-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.warning-tag {
  display: inline-block;
  background: #9c3b34;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
}

.warning-headline {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #6b2b26;
}

.warning-title {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
}

.warning-desc {
  margin-top: 18px;
  font-size: 15px;
  color: #6b5a58;
  line-height: 1.7;
}

.warning-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.warning-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 0.3s ease;
}

.warning-photo:hover img {
  transform: scale(1.06);
}

.warning-photo span {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Statement ---------- */
.statement-section {
  background: var(--navy-900);
  padding: 64px 0;
  text-align: center;
}

.statement-section .eyebrow {
  color: var(--gold);
}

.statement-section h2 {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--white);
}

.statement-section h2 .accent-gold {
  color: var(--gold);
}

/* ---------- Coverage ---------- */
.coverage-section {
  padding: 90px 0 100px;
  text-align: center;
}

.coverage-map {
  margin-top: 30px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  position: relative;
}

.coverage-map .pin {
  color: var(--white);
  margin-bottom: 14px;
}

.coverage-map p {
  font-size: 17px;
  font-weight: 700;
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 13px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-info div {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  margin-top: 8px;
}

.footer-info dt {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  width: 108px;
  white-space: nowrap;
}

.dd-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col li {
  margin-top: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Fixed Call / Inquiry Buttons (mobile) ---------- */
.fab-group {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  gap: 8px;
}

.fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 29, 58, 0.25);
}

.fab-btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

.fab-btn-navy:hover {
  background: var(--navy-700);
}

.fab-btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(242, 176, 16, 0.4);
}

.fab-btn-gold:hover {
  background: var(--gold-dark);
}

/* ---------- Quick Menu (desktop) ---------- */
.quick-menu {
  display: none;
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  flex-direction: column;
  gap: 10px;
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-card-hover);
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.quick-btn:hover {
  transform: translateX(-4px);
  background: var(--navy-700);
}

.quick-btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}

.quick-btn-gold:hover {
  background: var(--gold-dark);
}

.to-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 96;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top-btn:hover {
  background: var(--navy-700);
}

@media (max-width: 860px) {
  .to-top-btn {
    right: 16px;
    bottom: 88px;
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 861px) {
  .quick-menu {
    display: flex;
  }
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .header-actions .btn {
    padding: 8px 10px;
    font-size: 12px;
    gap: 5px;
  }

  .header-actions .btn svg {
    width: 13px;
    height: 13px;
  }

  .brand-text .brand-tag {
    font-size: 10px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .section-title {
    font-size: 25px;
  }

  .check-grid,
  .stats-grid,
  .ba-grid,
  .team-grid,
  .review-grid,
  .leak-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .equipment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .warning-grid {
    grid-template-columns: 1fr;
  }

  .warning-photo {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .leadform-box {
    padding: 28px 22px;
  }

  .fab-group {
    display: flex;
  }

  /* Tighten vertical section spacing to match the Figma mobile rhythm
     (44px generally) instead of the desktop 80-96px values. */
  .check-section,
  .stats-section,
  .equipment-section,
  .step-section,
  .before-after-section,
  .team-section,
  .reviews-section,
  .leak-section,
  .leadform-section,
  .statement-section,
  .coverage-section {
    padding: 44px 0;
  }

  .coverage-map {
    padding: 40px 20px;
  }

  .phone-banner {
    padding: 22px 0;
  }

  .warning-section {
    padding: 30px 0;
  }

  .site-footer {
    padding: 30px 0 20px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    padding: 14px 6px;
  }

  .equipment-card {
    padding: 14px 12px;
  }

  .equipment-card .icon {
    margin-bottom: 8px;
  }

  .equipment-card h3 {
    font-size: 13px;
  }

  .equipment-card ul {
    margin-top: 6px;
  }

  .equipment-card li {
    font-size: 11px;
  }
}

/* True tablet widths (roughly 640-860px) were falling through to the
   phone layout above and collapsing to one oversized column. Give
   them two columns instead so the width is actually used. */
@media (min-width: 640px) and (max-width: 860px) {
  .check-grid,
  .team-grid,
  .review-grid,
  .leak-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .mobile-break {
    display: inline;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .section-title {
    font-size: 20px;
  }

  .check-section .section-title,
  .equipment-section .section-title {
    font-size: 22px;
  }

  .before-after-section .section-title {
    font-size: 19px;
  }

  .warning-headline {
    font-size: 13px;
  }

  .warning-title {
    font-size: 19px;
  }

  .team-sub {
    font-size: 13px;
  }

  .statement-section h2 {
    font-size: 19px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .stat-card {
    padding: 16px 6px;
  }

  .stat-num {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  .ba-images {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 29px;
  }

  .site-header .container {
    height: 66px;
  }

  .brand-text .brand-tag {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 66px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 24px;
}
