:root {
  --color-primary: #C41E3A;
  --color-primary-rgb: 196, 30, 58;
  --color-secondary: #F4A020;
  --color-secondary-rgb: 244, 160, 32;
  --color-accent: #05693A;
  --color-background: #FFF8F0;
  --color-surface: #FFFFFF;
  --color-surface-rgb: 255, 255, 255;
  --color-background-rgb: 255, 248, 240;
  --color-text: #1A1A1A;
  --color-text-muted: #5C5C5C;
  --font-body: "Avenir Medium", "Avenir Next Medium", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "KN Yuanmo SC", sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(var(--color-primary-rgb), 0.12);
  --max-width: 1100px;
  --header-height: 64px;
  --mobile-bar-offset: 0px;
  --nav-glass-bg: rgba(var(--color-background-rgb), 0.78);
  --nav-glass-backdrop: saturate(180%) blur(8px);
  --nav-glass-border: rgba(0, 0, 0, 0.06);
}

section[id] {
  scroll-margin-top: var(--header-height);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-background);
}

img,
svg,
picture {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

svg {
  -webkit-user-drag: none;
  user-drag: none;
}

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

button,
input,
select,
textarea,
label {
  touch-action: manipulation;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(var(--color-secondary-rgb), 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.hero-logo,
.header-logo,
.footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero-logo {
  max-width: 280px;
  box-shadow: none;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 18ch;
  color: var(--color-primary);
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 0.5rem;
}

.hero-actions .btn,
.cta-actions .btn {
  flex: 1 1 auto;
  min-width: 220px;
  max-width: 280px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
  filter: brightness(0.92);
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn-secondary:hover {
  filter: brightness(1.05);
  color: var(--color-text);
}

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

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

.icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.btn .icon,
.mobile-bar-btn .icon {
  width: 1.5em;
  height: 1.5em;
}

.icon-instagram {
  overflow: visible;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-subheading {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.section-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 65ch;
  margin: 0 auto;
  text-align: center;
}

.about {
  background: var(--color-surface);
  text-align: center;
}

.about .section-heading {
  text-align: center;
}

.about-body {
  margin-top: 2rem;
  text-align: left;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-description {
  color: var(--color-text-muted);
  font-size: 0.975rem;
  margin: 0;
  line-height: 1.6;
}

/* Rates */
.rates {
  background: var(--color-surface);
}

.rates-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}

.rates-table th,
.rates-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rates-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
}

.rates-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.rates-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.rates-table tbody tr:hover {
  background: rgba(var(--color-primary-rgb), 0.03);
}

.rates-table td:nth-child(3) {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.rates-disclaimer {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* FAQ */
.faq {
  background: var(--color-background);
  padding-top: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA */
.cta {
  background: var(--color-primary);
  color: #fff;
}

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

.cta .section-heading {
  color: #fff;
}

.cta .section-body {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

.cta .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
}

.footer-brand span {
  font-family: var(--font-heading);
}

.footer-logo {
  max-height: 40px;
}

.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
}

.rates-disclaimer a {
  color: var(--color-primary);
  font-weight: 600;
}

.rates-table a {
  color: var(--color-primary);
  font-weight: 600;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: var(--nav-glass-bg);
  -webkit-backdrop-filter: var(--nav-glass-backdrop);
  backdrop-filter: var(--nav-glass-backdrop);
  border-bottom: 1px solid var(--nav-glass-border);
  transition: box-shadow 0.2s, background 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text);
  font-weight: 700;
  flex-shrink: 0;
}

.header-brand:hover {
  text-decoration: none;
}

.header-logo {
  width: 36px;
  height: auto;
}

.header-brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link.is-active {
  text-decoration: none;
  opacity: 1;
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}

/* Hero stats / trust band */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  width: min(100%, 560px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Testimonials */
.testimonials {
  background: var(--color-background);
  padding-top: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-mark {
  width: 32px;
  height: 32px;
  fill: var(--color-secondary);
  opacity: 0.9;
}

.testimonial-quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
}

.testimonial-role {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Quote form */
.quote {
  background: var(--color-background);
}

.quote-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  border-top: 4px solid var(--color-primary);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-background);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.quote-actions .btn {
  flex: 1 1 auto;
  min-width: 200px;
  justify-content: center;
}

.quote-note {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

.quote-note a {
  font-weight: 600;
}

/* Floating mobile contact bar */
.mobile-bar {
  display: none;
}

.mobile-bar-btn {
  display: flex;
  align-items: normal;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-align: center;
}

.mobile-bar-btn:hover {
  text-decoration: none;
}

.mobile-bar-email {
  background: var(--color-primary);
  color: #fff;
}

.mobile-bar-dm {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 200;
  max-width: min(90vw, 420px);
  background: var(--color-text);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-stats {
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-stat {
    flex: 1;
    min-width: 0;
  }

  .hero-stat-value {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }

  .hero-stat-label {
    font-size: 0.825rem;
    line-height: 1.25;
    text-align: center;
  }

  .section {
    padding: 3rem 0;
  }

  .rates-table th,
  .rates-table td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    isolation: isolate;
    --mobile-nav-height: 0px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: none;
  }

  .site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: var(--header-height);
    background: var(--nav-glass-bg);
    -webkit-backdrop-filter: var(--nav-glass-backdrop);
    backdrop-filter: var(--nav-glass-backdrop);
    border-bottom: 1px solid var(--nav-glass-border);
    transition: height 0.25s ease;
    pointer-events: none;
  }

  .site-header:has(.nav-links.open)::before {
    height: calc(var(--header-height) + var(--mobile-nav-height));
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    gap: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.25s;
    z-index: 1;
  }

  .nav-links.open {
    max-height: var(--mobile-nav-height);
    padding: 0.5rem 0 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-top: 1px solid var(--nav-glass-border);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    opacity: 1;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .nav-link:hover,
  .nav-link.is-active,
  .nav-link:active {
    background: rgba(var(--color-primary-rgb), 0.06);
  }

  .header-brand-name {
    font-size: 0.95rem;
  }

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

  .quote-card {
    padding: 1.5rem 1.25rem;
  }

  .mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    padding: 0.6rem 0 calc(0.6rem + env(safe-area-inset-bottom, 0));
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    background: var(--nav-glass-bg);
    -webkit-backdrop-filter: var(--nav-glass-backdrop);
    backdrop-filter: var(--nav-glass-backdrop);
    border-top: 1px solid var(--nav-glass-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }

  .mobile-bar-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  body:has(.mobile-bar) {
    --mobile-bar-offset: calc(5rem + env(safe-area-inset-bottom, 0));
  }

  body:has(.mobile-bar) .site-footer {
    padding-bottom: calc(2.5rem + var(--mobile-bar-offset));
  }

  body:has(.mobile-bar) .toast {
    bottom: calc(var(--mobile-bar-offset) + 12px);
  }
}

@media (max-width: 360px) {
  .mobile-bar-btn {
    padding: 0.75rem 0.65rem;
    font-size: 0.875rem;
    gap: 0.35rem;
  }

  .mobile-bar-btn .icon {
    width: 1.35em;
    height: 1.35em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
