:root {
  --ha-bg: #f4f6fb;
  --ha-surface: #ffffff;
  --ha-surface-soft: #eef5f7;
  --ha-text: #14365b;
  --ha-text-soft: #56708e;
  --ha-border: #dbe4ee;
  --ha-primary: #10b7b3;
  --ha-primary-dark: #0b8c97;
  --ha-accent: #1f73b7;
  --ha-shadow: 0 18px 40px rgba(17, 44, 81, 0.08);
  --ha-radius: 24px;
  --ha-radius-sm: 14px;
  --ha-container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fafe 0%, var(--ha-bg) 100%);
  color: var(--ha-text);
  line-height: 1.6;
}

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

a:hover {
  color: var(--ha-primary-dark);
}

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

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

.narrow {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
}

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

.site-title,
.footer-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.site-title-mark {
  color: var(--ha-primary);
}

.primary-menu,
.footer-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.primary-menu a,
.footer-menu a {
  color: var(--ha-text-soft);
  font-weight: 600;
}

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

.header-cart {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ha-surface-soft);
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ha-primary);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  transform: translateY(-1px);
}

.button-primary,
.booking-demo-form button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: linear-gradient(90deg, var(--ha-accent), var(--ha-primary));
  color: #fff;
  padding: 16px 22px;
  box-shadow: 0 14px 30px rgba(16, 183, 179, 0.24);
}

.button-secondary {
  padding: 12px 18px;
  background: #edf2f8;
  color: var(--ha-text);
}

.card,
.woocommerce div.product,
.woocommerce-page .woocommerce,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout-review-order,
.woocommerce ul.products li.product,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--ha-surface);
  border: 1px solid var(--ha-border);
  border-radius: var(--ha-radius);
  box-shadow: var(--ha-shadow);
}

.hero-section {
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-preview,
.page-card,
.post-card {
  padding: 28px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,183,179,.1);
  color: var(--ha-primary-dark);
  font-weight: 700;
  font-size: .9rem;
}

.hero-copy h1,
.section h2,
.entry-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
}

.hero-copy p,
.section p,
.entry-content,
.provider-content p {
  color: var(--ha-text-soft);
}

.booking-search-shell {
  margin: 28px 0 24px;
}

.booking-demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  padding: 18px;
  background: #f7fafc;
  border: 1px solid var(--ha-border);
  border-radius: 20px;
}

.booking-field label {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ha-text-soft);
  margin-bottom: 8px;
}

.booking-field input,
.booking-field select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  border: 1px solid var(--ha-border);
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ha-text);
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.hero-benefits li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.hero-benefits li::before,
.woocommerce-message::before,
.woocommerce-info::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ha-primary);
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.trust-strip > div {
  background: #f6fafb;
  border: 1px solid var(--ha-border);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ha-text-soft);
}

.microcopy {
  margin: 0;
  font-size: .94rem;
  text-align: center;
}

.preview-map {
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
    radial-gradient(circle at 20% 30%, #c7f2ee 0, #c7f2ee 8px, transparent 9px),
    linear-gradient(115deg, #dfeef6 25%, transparent 25%),
    linear-gradient(25deg, #dfeef6 25%, transparent 25%),
    #edf3f8;
  background-size: auto, 140px 140px, 32px 32px, 32px 32px, auto;
  position: relative;
  padding: 18px;
}

.map-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-pill {
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid var(--ha-border);
}

.map-pill-light {
  background: rgba(255,255,255,.7);
}

.map-dots span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ha-primary), var(--ha-accent));
  position: absolute;
  box-shadow: 0 10px 16px rgba(31, 115, 183, 0.18);
}

.map-dots span:nth-child(1) { top: 80px; left: 58%; }
.map-dots span:nth-child(2) { top: 138px; left: 70%; }
.map-dots span:nth-child(3) { top: 112px; left: 28%; }
.map-dots span:nth-child(4) { top: 196px; left: 78%; }

.provider-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.provider-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fbfdff;
  border: 1px solid var(--ha-border);
}

.provider-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(180deg, #d8e9f4, #f6fafc);
}

.provider-avatar-two {
  background: linear-gradient(180deg, #eef5ff, #e3f8f4);
}

.provider-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.time-slots span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #b7dae1;
  border-radius: 12px;
  background: #fff;
  color: var(--ha-accent);
  font-weight: 700;
  cursor: pointer;
}

.time-slots span.is-active {
  background: rgba(16,183,179,.12);
  border-color: var(--ha-primary);
  color: var(--ha-primary-dark);
}

.section {
  padding: 32px 0;
}

.center-text {
  text-align: center;
}

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

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-main,
.blog-main,
.commerce-main {
  padding: 34px 0 48px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.site-footer {
  margin-top: 48px;
  padding: 42px 0 24px;
  border-top: 1px solid var(--ha-border);
  background: rgba(255,255,255,0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ha-border);
}

.footer-trust,
.widget-title,
.site-footer p,
.site-footer li,
.woocommerce .woocommerce-breadcrumb,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .product_meta,
.woocommerce .woocommerce-result-count {
  color: var(--ha-text-soft);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px;
}

.woocommerce ul.products li.product a img {
  border-radius: 18px;
}

.woocommerce .quantity .qty {
  min-height: 46px;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce-account .addresses .title .edit {
  background: #fff;
  border-radius: 20px;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: #fff;
  border: 1px solid var(--ha-border);
  border-radius: 18px;
  color: var(--ha-text);
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: 48%;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 999;
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--ha-shadow);
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    display: none;
  }

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

@media (max-width: 767px) {
  .header-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-preview,
  .page-card,
  .post-card,
  .feature-card {
    padding: 20px;
  }

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

  .provider-card {
    grid-template-columns: 1fr;
  }

  .provider-avatar {
    width: 72px;
    height: 72px;
  }

  .woocommerce .col2-set .col-1,
  .woocommerce-page .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-2 {
    width: 100%;
  }
}
