/*
Template Name: Brightwell - Dental Clinic HTML Template
Version: 1.0.0
Author: Artefact
*/

/* ====== Fonts ====== */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}

/* ====== Variables ====== */
:root {
  --primary: #164e63;
  --primary-dark: #083344;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --light: #f5f5f4;
  --body-bg: #fafaf9;
  --primary-light: #ecfeff;
  --text: #44403c;
  --muted: #57534e;
  --border: #e7e5e4;
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ====== General ====== */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--body-bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
}

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

a:hover {
  color: var(--accent);
}

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

.no-js [data-aos] {
  opacity: 1;
  transform: none;
}

.section {
  padding: 96px 0;
}

.bg-light-warm {
  background: var(--light);
}

.section-title {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-title.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title.d-md-flex {
  max-width: none;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* ====== Buttons ====== */
.btn {
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background-color .2s, color .2s, border-color .2s;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

.btn-outline-dark {
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

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

.btn-light {
  color: var(--accent-dark);
}

main p a:not(.btn),
.accordion-body a,
.copyright a {
  text-decoration: underline;
}

.link-arrow {
  font-weight: 700;
  color: var(--accent);
}

.link-arrow i {
  transition: margin .2s;
}

.link-arrow:hover i {
  margin-left: 4px;
}

/* ====== Emergency Bar ====== */
.emergency-bar {
  background: var(--primary-dark);
  color: #e7e5e4;
  font-size: 14px;
  padding: 9px 0;
}

.emergency-bar i {
  color: #fdba74;
  margin-right: 4px;
}

.emergency-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.emergency-bar .open-status {
  color: #fff;
}

/* ====== Open Status ====== */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.open-status:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a8a29e;
}

.open-status.is-open:before {
  background: #22c55e;
}

.open-status.is-closed:before {
  background: #ef4444;
}

/* ====== Header ====== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(28, 25, 23, .08);
}

.navbar {
  padding: 14px 0;
}

.navbar-toggler {
  border: 0;
  font-size: 30px;
  color: var(--primary-dark);
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 2px solid var(--primary);
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-dark);
  padding: 8px 12px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, .08);
}

.dropdown-item {
  border-radius: 8px;
  font-size: 15px;
  padding: 8px 14px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--light);
  color: var(--accent);
}

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

.header-phone {
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* ====== Banner ====== */
.banner {
  padding: 72px 0 96px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.banner h1 {
  font-size: 3.3rem;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  text-wrap: balance;
}

.banner-text {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.banner-points {
  margin: 32px 0 0;
  font-size: 15px;
  font-weight: 500;
}

.banner-points li {
  margin-right: 20px !important;
}

.banner-points i {
  color: var(--primary);
  margin-right: 4px;
}

.banner-image {
  position: relative;
  margin-left: auto;
  max-width: 500px;
}

.banner-image img {
  border-radius: 28px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 11 / 12;
}

.banner-card {
  position: absolute;
  left: -40px;
  bottom: 40px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 14px 40px rgba(28, 25, 23, .12);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.banner-card i {
  color: var(--accent);
  font-size: 22px;
}

.banner-card strong {
  color: var(--primary-dark);
  font-size: 16px;
  margin-top: 6px;
}

/* ====== Services ====== */
.service-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  color: var(--text);
  transition: border-color .2s, transform .2s;
}

.service-card:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-4px);
}

.service-card h3 {
  margin: 20px 0 10px;
}

.service-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 24px;
}

/* ====== Before / After ====== */
.compare {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  user-select: none;
}

.compare img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.compare:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  margin-left: -1px;
  background: #fff;
  pointer-events: none;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.compare-label {
  position: absolute;
  top: 16px;
  background: rgba(8, 51, 68, .8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  pointer-events: none;
}

.compare-label-before {
  left: 16px;
}

.compare-label-after {
  right: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 500;
}

.check-list li:before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.3;
}

/* ====== Steps ====== */
.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.step-card p {
  margin-bottom: 0;
}

/* ====== Dentists ====== */
.dentist-card img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  margin-bottom: 16px;
}

.dentist-card h3 {
  margin-bottom: 2px;
}

.dentist-card span {
  font-size: 15px;
  color: var(--muted);
}

/* ====== Reviews ====== */
.reviews-slider {
  padding-bottom: 50px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews-slider .swiper-slide {
  height: auto;
}

.review-card p {
  font-size: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.review-author strong {
  display: block;
  color: var(--primary-dark);
}

.review-author small {
  color: var(--muted);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.reviews-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 7px !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* ====== Insurance ====== */
.insurance-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.insurance-strip p {
  font-weight: 700;
  color: var(--primary-dark);
}

.insurance-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 48px;
  margin: 24px 0 28px;
}

.insurance-logos img {
  opacity: .7;
}

/* ====== Locations ====== */
.location-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
}

.location-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.location-body {
  padding: 26px 28px 20px;
}

.location-body h3 {
  margin-bottom: 6px;
}

.location-body .open-status {
  margin-bottom: 14px;
}

.location-body p {
  margin-bottom: 8px;
  font-size: 15px;
}

.location-body p i {
  color: var(--primary);
  margin-right: 6px;
}

/* ====== FAQ ====== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  padding: 20px 24px;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.accordion-body {
  padding: 0 24px 22px;
}

/* ====== CTA ====== */
.cta {
  background: var(--primary);
  color: #cffafe;
  padding: 64px 0;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

/* ====== Footer ====== */
.site-footer {
  background: var(--primary-dark);
  color: #a5b4bb;
  padding-top: 72px;
  font-size: 15px;
}

.site-footer a {
  color: #e7e5e4;
}

.site-footer a:hover {
  color: #fdba74;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-about {
  max-width: 380px;
}

.footer-contact a {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin-top: 8px;
}

.footer-contact i {
  color: #fdba74;
  margin-right: 8px;
}

.footer-title {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-menu {
  columns: 2;
  column-gap: 24px;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-hours {
  width: 100%;
}

.footer-hours th,
.footer-hours td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-hours th {
  color: #fff;
  font-weight: 500;
}

.footer-hours td {
  text-align: right;
}

.footer-note {
  font-size: 13px;
  margin: 8px 0 18px;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  margin-right: 8px;
}

.footer-phone {
  font-weight: 700;
  font-size: 17px;
}

.copyright {
  background: rgba(0, 0, 0, .18);
  margin-top: 64px;
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
}

.copyright span {
  display: block;
  margin-top: 4px;
}

/* ====== Scroll Top ====== */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top:hover {
  background: var(--accent-dark);
}

/* ====== Page Header ====== */
.page-header {
  background: var(--light);
  padding: 56px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 14px;
}

.breadcrumb-item.active {
  color: var(--muted);
}

.rounded-img {
  border-radius: 24px;
  width: 100%;
  object-fit: cover;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--primary-dark);
}

/* ====== About ====== */
.stat-box {
  background: var(--light);
  border-radius: 18px;
  padding: 22px 24px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-box p {
  margin: 0;
  font-weight: 500;
}

.dentist-bio {
  font-size: 15px;
  margin: 10px 0 0;
}

.staff-note {
  text-align: center;
  margin-top: 40px;
  font-weight: 500;
}

/* ====== Services Page ====== */
.service-group {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.service-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-item {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
}

a.service-item:hover {
  border-color: var(--primary);
  color: var(--text);
}

.service-item i {
  font-size: 24px;
  color: var(--primary);
  line-height: 1.2;
}

.service-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.service-item p {
  font-size: 15px;
  margin: 0;
}

.emergency-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--accent);
  color: #ffedd5;
  border-radius: 24px;
  padding: 44px 48px;
}

.emergency-box h2 {
  color: #fff;
}

.emergency-box p {
  max-width: 560px;
  margin: 0;
}

/* ====== Timeline ====== */
.timeline {
  margin-top: 24px;
}

.timeline-item {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 26px;
}

.timeline-item:not(:last-child):before {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item > span {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin: 8px 0 4px;
}

.timeline-item p {
  margin: 0;
}

/* ====== Sidebar ====== */
.sidebar {
  position: sticky;
  top: 110px;
}

.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
}

.widget h3 {
  margin-bottom: 14px;
}

.widget-links li {
  border-bottom: 1px solid var(--border);
}

.widget-links li:last-child {
  border-bottom: 0;
}

.widget-links a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
}

.widget-dark {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #cbd5d8;
}

.widget-dark h3,
.widget-dark a {
  color: #fff;
}

.price-widget span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.price-widget strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-dark);
  margin: 4px 0 6px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}

.hours-list li span {
  font-weight: 700;
  color: var(--primary-dark);
}

/* ====== Gallery ====== */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 50px;
  padding: 9px 20px;
  font-weight: 500;
  color: var(--primary-dark);
}

.gallery-filter button.active,
.gallery-filter button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.case-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 4px 0;
}

.case-info h3 {
  margin: 0;
}

.case-info span {
  font-size: 14px;
  color: var(--muted);
}

/* ====== Pricing ====== */
.price-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.price-list h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.price-list li:last-child {
  border-bottom: 0;
}

.price-list strong {
  color: var(--primary-dark);
  white-space: nowrap;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  height: 100%;
}

.plan-card.featured {
  border: 2px solid var(--primary);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 8px 0 4px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.payment-example {
  background: var(--primary-light);
  border-radius: 24px;
  padding: 40px;
}

.payment-example span {
  color: var(--primary);
  font-weight: 700;
}

.payment-example strong {
  display: block;
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin: 6px 0 2px;
}

/* ====== Forms ====== */
.form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
}

.form-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
}

.form-control,
.form-select {
  border-color: #d6d3d1;
  border-radius: 12px;
  padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 78, 99, .15);
}

.form-check-input {
  border-color: #a8a29e;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ====== Booking ====== */
.booking-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 24px;
}

.booking-step h2 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.booking-step h2 span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.office-options {
  display: grid;
  gap: 12px;
}

.office-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d6d3d1;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.office-option small {
  color: var(--muted);
}

.btn-check:checked + .office-option {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn-check:focus-visible + .office-option {
  outline: 2px solid var(--primary);
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-slot {
  border: 1px solid #d6d3d1;
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  min-width: 86px;
}

.time-slot:hover {
  border-color: var(--primary);
}

.time-slot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.time-slot:disabled {
  color: #a8a29e;
  text-decoration: line-through;
  background: var(--light);
}

.slot-note {
  font-size: 15px;
  color: var(--muted);
  margin: 10px 0 0;
}

.slot-error .time-slot {
  border-color: #ef4444;
}

.slot-message {
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0;
}

/* ====== Contact ====== */
.office-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
}

.office-card h2 {
  font-size: 1.6rem;
}

.office-card p i {
  color: var(--primary);
  margin-right: 6px;
}

.office-card .hours-list {
  margin: 20px 0;
}

.map-box {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ====== 404 ====== */
.error-page {
  padding: 120px 0;
}

.error-code {
  display: block;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
  -webkit-text-stroke: 2px var(--primary);
  margin-bottom: 16px;
}

.card-lift:hover {
  transform: translateY(-4px);
}

/* ====== Responsive ====== */
@media (max-width: 1199.98px) {
  .header-actions {
    padding-bottom: 12px;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 72px 0;
  }

  .banner {
    padding: 48px 0 72px;
  }

  .banner h1 {
    font-size: 2.5rem;
  }

  .banner-image {
    margin: 0 auto;
  }

  .banner-card {
    left: 16px;
    bottom: 16px;
  }

  .sidebar {
    position: static;
  }

  .footer-contact {
    margin-bottom: 16px;
  }

  .page-header h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 1.7rem;
  }

  .banner h1 {
    font-size: 2.1rem;
  }

  .header-phone {
    display: none;
  }

  .emergency-bar {
    font-size: 13px;
  }

  .form-box,
  .emergency-box {
    padding: 28px 22px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}
