:root {
  --blue-950: #07152d;
  --blue-925: #0c1d3d;
  --blue-900: #102653;
  --blue-800: #18376f;
  --blue-700: #214b8f;
  --red-700: #cb1725;
  --red-600: #df2531;
  --ink: #162033;
  --muted: #607087;
  --line: #dce3ed;
  --soft: #f5f7fb;
  --white: #ffffff;
  --green: #128c55;
  --gold: #f4b63e;
  --shadow: 0 24px 70px rgba(16, 38, 83, 0.16);
  --shadow-soft: 0 16px 40px rgba(16, 38, 83, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(244, 182, 62, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-900);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 237, 0.78);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 38, 83, 0.08);
}

.emergency-bar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-900));
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 850;
}

.emergency-bar-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.emergency-bar a {
  color: var(--white);
  text-decoration: none;
}

.emergency-bar span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(180px, 20vw, 240px);
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--blue-900);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--red-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  border-radius: var(--radius);
  background: var(--red-700);
  color: var(--white);
  padding: 11px 15px;
  box-shadow: 0 10px 22px rgba(203, 23, 37, 0.22);
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: var(--red-600);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100svh - 56px));
  overflow: hidden;
  color: var(--white);
  background: var(--blue-950);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background: url("../images/fatbike-workshop-hero.jpg") center / cover no-repeat;
  transform: scale(1.035);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(203, 23, 37, 0.26), transparent 22%),
    linear-gradient(90deg, rgba(7, 21, 45, 0.98) 0%, rgba(16, 38, 83, 0.88) 38%, rgba(16, 38, 83, 0.42) 68%, rgba(7, 21, 45, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 21, 45, 0.22), rgba(7, 21, 45, 0.08));
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -120px;
  z-index: -1;
  width: min(560px, 72vw);
  height: min(560px, 72vw);
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 52px rgba(255, 255, 255, 0.035);
}

.hero::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--red-700), var(--gold), var(--blue-700));
}

.hero-content {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(58px, 8vw, 110px) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6.4vw, 5.45rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 38, 83, 0.18);
}

.btn-primary {
  background: var(--red-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-600);
}

.btn-light {
  background: var(--white);
  color: var(--blue-900);
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}

.btn-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue-900);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 720px);
  margin: 36px 0 0;
}

.hero-facts div {
  border-left: 4px solid var(--red-700);
  background: rgba(255, 255, 255, 0.13);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(7, 21, 45, 0.16);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  scroll-margin-top: 96px;
  padding: clamp(66px, 9vw, 118px) 0;
}

.intro-band {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.intro-grid h2 {
  color: var(--blue-900);
}

.intro-grid p:last-child,
.section-heading p,
.appointment-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

.section-heading h2 {
  color: var(--blue-900);
}

.section-heading.compact {
  margin: 0;
}

.service-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover,
.trust-grid article:hover {
  border-color: rgba(203, 23, 37, 0.32);
  box-shadow: 0 26px 70px rgba(16, 38, 83, 0.13);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 950;
}

.service-card h3,
.trust-grid h3,
.feature-list h3 {
  color: var(--blue-900);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--red-700);
}

.emergency-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(244, 182, 62, 0.14), transparent 24%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.emergency-section .section-heading h2,
.emergency-section .feature-list h3 {
  color: var(--white);
}

.emergency-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.feature-list span {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 4px solid var(--red-600);
  border-radius: 50%;
  background: var(--white);
}

.feature-list p,
.trust-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.trust-section {
  background: var(--soft);
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid article {
  min-height: 176px;
  border-top: 5px solid var(--red-700);
}

.trust-grid p {
  color: var(--muted);
}

.appointment-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(203, 23, 37, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(16, 38, 83, 0.05), rgba(203, 23, 37, 0.04)),
    var(--white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.appointment-copy {
  position: sticky;
  top: 116px;
}

.appointment-copy h2 {
  color: var(--blue-900);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.appointment-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-700);
  outline: none;
  box-shadow: 0 0 0 4px rgba(33, 75, 143, 0.12);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-step {
  display: grid;
  gap: 16px;
}

.form-step + .form-step {
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--blue-900);
  font-size: 1.08rem;
  font-weight: 950;
}

.form-step-num {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-700);
  color: var(--white);
  font-size: 0.85rem;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.calendar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-title {
  color: var(--blue-900);
  font-weight: 950;
  text-transform: capitalize;
}

.calendar-nav {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-900);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.calendar-nav:hover:not(:disabled) {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: var(--white);
}

.calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-nav svg {
  width: 18px;
  height: 18px;
}

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

.calendar-weekdays {
  margin-bottom: 7px;
}

.calendar-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  display: inline-flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--soft);
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.calendar-day:hover:not(:disabled):not(.is-selected) {
  border-color: var(--red-700);
  transform: translateY(-1px);
}

.calendar-day:disabled {
  background: transparent;
  color: #c2cbd8;
  cursor: not-allowed;
}

.calendar-day.is-empty {
  background: transparent;
  border: 0;
  pointer-events: none;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--blue-700);
}

.calendar-day.is-selected {
  background: var(--red-700);
  border-color: var(--red-700);
  color: var(--white);
}

.calendar-legend {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-times-head {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 950;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.booking .time-slot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-slot {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--blue-900);
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.time-slot:hover:not(:disabled),
.time-slot.is-selected {
  border-color: var(--red-700);
  background: var(--red-700);
  color: var(--white);
  transform: translateY(-1px);
}

.time-slot.is-taken {
  opacity: 0.55;
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-help {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-summary[hidden] {
  display: none;
}

.booking-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 13px 16px;
  border: 1px solid rgba(18, 140, 85, 0.32);
  border-radius: 12px;
  background: rgba(18, 140, 85, 0.1);
  color: var(--green);
  font-weight: 900;
}

.booking-summary::before {
  content: "✓";
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(203, 23, 37, 0.22), transparent 26%),
    radial-gradient(circle at 88% 92%, rgba(33, 75, 143, 0.32), transparent 30%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900));
  color: var(--white);
}

.contact-section .section-kicker {
  color: var(--gold);
}

.contact-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.contact-head h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-head p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  padding: 18px 20px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 182, 62, 0.5);
  transform: translateY(-2px);
}

.contact-card-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red-700), var(--red-600));
  color: var(--white);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-text {
  display: block;
  line-height: 1.5;
}

.contact-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-form-title {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.35rem;
}

.contact-form-panel label {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-panel input,
.contact-form-panel textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(244, 182, 62, 0.18);
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.contact-form-submit:hover svg {
  transform: translateX(4px);
}

.contact-form-panel .form-note {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  background:
    radial-gradient(circle at 85% 0%, rgba(33, 75, 143, 0.25), transparent 35%),
    #050f22;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 48px);
}

.footer-brand img {
  width: clamp(148px, 14vw, 196px);
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}

.footer-brand-col p {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-social a:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.admin-auth-page,
.admin-page {
  background: var(--soft);
}

.admin-login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.admin-login-card img,
.admin-logo img {
  width: 190px;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}

.admin-login-card h1 {
  color: var(--blue-900);
  font-size: 2rem;
}

.admin-login-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.admin-alert {
  border-radius: var(--radius);
  background: rgba(203, 23, 37, 0.1);
  color: var(--red-700);
  padding: 12px;
  font-weight: 850;
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header nav a {
  color: var(--blue-900);
  font-weight: 900;
  text-decoration: none;
}

.admin-main {
  padding: 42px 0 80px;
}

.admin-hero {
  margin-bottom: 28px;
}

.admin-hero h1,
.admin-section h2 {
  color: var(--blue-900);
}

.admin-hero p {
  color: var(--muted);
  margin: 12px 0 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.admin-record,
.admin-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  --accent: var(--red-700);
  --accent-soft: rgba(203, 23, 37, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 22px 56px rgba(16, 38, 83, 0.14);
}

.stat-card-blue {
  --accent: var(--blue-700);
  --accent-soft: rgba(33, 75, 143, 0.12);
}

.stat-card-gold {
  --accent: #c08407;
  --accent-soft: rgba(244, 182, 62, 0.2);
}

.stat-card-green {
  --accent: var(--green);
  --accent-soft: rgba(18, 140, 85, 0.12);
}

.stat-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.stat-icon svg {
  width: 27px;
  height: 27px;
}

.stat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stat-card strong {
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
}

.admin-section {
  margin-top: 42px;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

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

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-record {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 20px;
  padding: 22px;
}

.admin-record h3 {
  color: var(--blue-900);
}

.admin-record p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-badge {
  display: inline-flex;
  width: max-content;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(203, 23, 37, 0.1);
  color: var(--red-700);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-update-form {
  display: grid;
  gap: 10px;
}

.admin-empty {
  padding: 22px;
  color: var(--muted);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 45, 0.62);
  backdrop-filter: blur(4px);
  animation: modal-fade 200ms ease;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  border-radius: 18px;
  background: var(--white);
  padding: clamp(28px, 5vw, 42px);
  text-align: center;
  box-shadow: var(--shadow);
  animation: modal-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.modal-close:hover {
  background: var(--line);
  color: var(--blue-900);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-icon {
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-icon.is-success {
  background: rgba(18, 140, 85, 0.14);
  color: var(--green);
}

.modal-icon.is-error {
  background: rgba(203, 23, 37, 0.12);
  color: var(--red-700);
}

.modal-title {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.42rem;
}

.modal-message {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.modal-action {
  width: 100%;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 3;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(16, 38, 83, 0.08);
  }

  .site-nav {
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: calc(100svh - 108px);
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 10px 16px 18px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    padding: 14px 16px;
    text-align: center;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 38, 83, 0.96) 0%, rgba(16, 38, 83, 0.88) 58%, rgba(16, 38, 83, 0.52) 100%),
      linear-gradient(0deg, rgba(11, 20, 38, 0.2), rgba(11, 20, 38, 0.1));
  }

  .hero-content {
    min-height: calc(100svh - 100px);
    padding: 64px 0 44px;
  }

  .hero-facts,
  .intro-grid,
  .split-layout,
  .appointment-grid,
  .contact-layout,
  .booking,
  .admin-record,
  .admin-section-head {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .admin-section-head {
    display: grid;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .emergency-bar {
    font-size: 0.76rem;
  }

  .emergency-bar-inner {
    display: grid;
    min-height: 56px;
    align-content: center;
    justify-content: start;
    gap: 2px;
  }

  .emergency-bar span {
    max-width: none;
  }

  .site-nav {
    top: 130px;
    max-height: calc(100svh - 130px);
  }

  h1 {
    font-size: clamp(1.82rem, 7.4vw, 2.05rem);
    line-height: 1.12;
  }

  .hero-content {
    overflow: hidden;
    padding-right: 10px;
  }

  .hero-text {
    max-width: 32ch;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-facts,
  .service-grid,
  .two-columns,
  .time-slot-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .service-card,
  .trust-grid article,
  .feature-list article,
  .appointment-form {
    padding: 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
