:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #0f4c81;
  --primary-dark: #0b3a63;
  --danger-soft: #fde8e8;
  --warning-soft: #fff7ed;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
}

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

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

.site-navbar {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  padding: 0.75rem 0;
}

.site-navbar .navbar-brand,
.site-navbar .nav-link {
  color: #fff;
}

.site-navbar .navbar-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.site-navbar .nav-link {
  font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: #dbeafe;
}

.site-navbar .navbar-toggler {
  border-color: #4b5563;
}

.site-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.tool-hero,
.section-block {
  padding: 3.25rem 0;
}

.hero-section {
  padding: 0;
}

.hero {
  background-image: url("../../images/mow1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero .lead {
  color: #f3f4f6;
  font-size: 1.2rem;
  font-weight: 500;
}

.hero-grid,
.tool-hero-grid,
.content-grid,
.two-column-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.hero-grid,
.tool-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.hero-copy,
.hero-panel-card,
.tool-summary,
.content-card,
.detail-card,
.contact-card,
.tool-gallery-main,
.tool-thumb,
.tool-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-copy,
.hero-panel-card,
.tool-summary,
.content-card,
.detail-card,
.contact-card,
.feature-card {
  padding: 1.5rem;
}

.hero-eyebrow,
.section-eyebrow,
.tool-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.hero-copy h1,
.tool-summary h1,
.section-heading h2,
.content-card h2,
.detail-card h2,
.contact-grid h2,
.not-found-wrap h1 {
  margin: 0.6rem 0 1rem;
  font-family: "Outfit", sans-serif;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.tool-summary h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.hero-copy p,
.tool-lead,
.section-heading p,
.content-card p,
.detail-card p,
.contact-grid p,
.booking-summary p,
.video-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions,
.summary-actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn-accent {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-mini-stats div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
}

.hero-mini-stats strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

.hero-mini-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel-card {
  height: 100%;
}

.hero-panel-label {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-steps {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-steps li {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.section-muted {
  background: #f9fafb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.category-block + .category-block {
  margin-top: 1.8rem;
}

.category-head {
  margin-bottom: 0.75rem;
}

.category-head h3,
.tool-card h3,
.feature-card h3,
.payment-item strong,
.info-stack h3 {
  font-family: "Outfit", sans-serif;
}

.tool-card-link {
  display: block;
  height: 100%;
}

.tool-card {
  height: 100%;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.tool-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
}

.tool-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.9rem;
}

.tool-card-badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
}

.tool-card-body {
  padding: 1rem;
}

.tool-card-topline,
.tool-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tool-card-topline strong {
  color: var(--primary);
}

.tool-card h3 {
  margin: 0.6rem 0;
  font-size: 1.25rem;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow-x: auto;
}

.pricing-table {
  margin: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
}

.pricing-table th {
  color: var(--muted);
  font-weight: 600;
}

.pricing-table a {
  color: var(--primary);
  font-weight: 700;
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.contact-band {
  background: #0f172a;
  color: #e5e7eb;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}

.contact-card {
  background: #111827;
  border-color: #1f2937;
}

.contact-card a,
.footer-link {
  color: #93c5fd;
}

.site-footer {
  padding: 1rem 0;
  background: #111827;
  color: #cbd5e1;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.tool-gallery {
  display: grid;
  gap: 0.75rem;
}

.tool-gallery-main {
  min-height: 380px;
  display: grid;
  place-items: center;
  background: #fff;
}

.tool-gallery-main img {
  max-height: 340px;
  object-fit: contain;
}

.tool-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tool-thumb {
  min-height: 90px;
  display: grid;
  place-items: center;
}

.tool-thumb img {
  max-height: 70px;
  object-fit: contain;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0.9rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
}

.price-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.price-card strong {
  font-size: 1.2rem;
  font-family: "Outfit", sans-serif;
}

.tool-highlights,
.note-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.tool-highlights li,
.note-list li {
  margin-bottom: 0.45rem;
}

.content-grid,
.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  min-height: 220px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
  color: var(--muted);
}

.legend-box {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.legend-available {
  background: #fff;
}

.legend-unavailable {
  background: var(--danger-soft);
}

.legend-selected {
  background: var(--warning-soft);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.calendar-month {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.8rem;
}

.calendar-month-header {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.calendar-day {
  min-height: 2.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  font-size: 0.85rem;
}

.calendar-day:hover,
.calendar-day:focus {
  border-color: #93c5fd;
  outline: none;
}

.calendar-day-empty {
  background: transparent;
}

.calendar-day.is-unavailable {
  background: var(--danger-soft);
  color: #b91c1c;
}

.calendar-day.is-selected {
  background: #e0ecff;
  border-color: #60a5fa;
}

.calendar-day.is-in-range {
  background: #f1f5f9;
}

.booking-form .form-control {
  border-radius: 10px;
  border-color: #d1d5db;
  min-height: 2.85rem;
}

.booking-form .form-select {
  border-radius: 10px;
  border-color: #d1d5db;
  min-height: 2.85rem;
}

.booking-form textarea.form-control {
  min-height: 120px;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.booking-summary {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fafb;
  padding: 0.8rem 1rem;
}

.payment-list,
.info-stack {
  display: grid;
  gap: 0.75rem;
}

.payment-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem;
}

.payment-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.payment-icon {
  min-width: 3rem;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 0.45rem;
}

.not-found-wrap {
  padding: 6rem 0;
}

.terms-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.terms-hero {
  position: relative;
  background-image: linear-gradient(135deg, #0f172a 0%, #0f4c81 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 5.5rem 0 5rem;
}

.terms-hero-inner {
  max-width: 980px;
}

.terms-hero h1 {
  margin: 0.55rem 0 1rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.terms-hero p {
  margin: 0;
  max-width: 820px;
  font-size: 1.22rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.terms-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.terms-card {
  padding: 2.2rem;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.terms-card p {
  font-size: clamp(1.14rem, 1.5vw, 1.32rem);
  line-height: 1.9;
  color: #273244;
}

.terms-card .summary-actions {
  margin-top: 1.6rem !important;
}

.terms-card .btn-accent {
  min-width: 320px;
  font-weight: 700;
  font-size: 1.05rem;
}

.terms-contact-band {
  border-top: 1px solid #1f2937;
}

@media (max-width: 991.98px) {
  .hero-grid,
  .tool-hero-grid,
  .content-grid,
  .two-column-grid,
  .contact-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .hero-mini-stats,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .terms-hero {
    padding: 4.4rem 0 4rem;
  }

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-card {
    padding: 1.7rem;
  }

  .terms-card p {
    font-size: 1.08rem;
  }

}

@media (max-width: 767.98px) {
  .tool-hero,
  .section-block {
    padding: 2.4rem 0;
  }

  .hero {
    min-height: 420px;
  }

  .tool-gallery-main {
    min-height: 280px;
  }

  .tool-gallery-main img {
    max-height: 230px;
  }

  .tool-gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .terms-section {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }

  .terms-hero {
    padding: 3.6rem 0 3.2rem;
  }

  .terms-hero h1 {
    font-size: 1.95rem;
  }

  .terms-hero p {
    font-size: 1.04rem;
    line-height: 1.65;
  }

  .terms-card {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .terms-card p {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .terms-card .btn-accent {
    width: 100%;
    min-width: 0;
  }

}
