/* Locally served variable Manrope: one request, no third-party connections. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
}

:root {
  --accent-orange: #c65b16;
  --text: #242424;
  --text-muted: #62625e;
  --page: #f7f6f2;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --page-gutter: clamp(1.25rem, 4vw, 2rem);
  --card-padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Manrope", Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; }
main { width: 100%; max-width: 70rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 4.5rem) var(--page-gutter) 3rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; }

/* Preserve the original badge and the centered, stacked mobile header. */
.brand-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-8); }
.brand-logo { display: block; flex: 0 0 auto; width: 8rem; height: 8rem; object-fit: contain; }
.brand-copy { min-width: 0; }
.tagline { margin-top: var(--space-3); font-size: 1.125rem; line-height: 1.5; font-weight: 500; }
.location { margin-top: var(--space-1); color: var(--text-muted); font-size: .875rem; }

/* A shared spacing scale keeps open and closed cards consistent. */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--space-5); margin-top: var(--space-10); }
.package { min-width: 0; background: #fff; color: var(--text); border: 1px solid #d8d8d1; border-radius: 8pt; }
.package-summary { display: block; min-height: 44px; padding: var(--card-padding); list-style: none; cursor: pointer; }
.package-summary::-webkit-details-marker { display: none; }
.package-summary:focus-visible { outline: 3px solid var(--accent-orange); outline-offset: 5px; border-radius: 8pt; }
.package h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.package-description { display: block; margin-top: var(--space-2); color: var(--text-muted); font-size: .875rem; line-height: 1.6; }
.price-value { display: block; margin-top: var(--space-5); font-size: 1.875rem; line-height: 1.25; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.price-period { display: inline-block; margin-left: .25em; color: var(--text-muted); font-size: .875rem; line-height: 1.5; letter-spacing: 0; font-weight: 400; }
.package-toggle-label { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); color: #a84b10; font-size: .875rem; line-height: 1.5; font-weight: 600; }
.disclosure-icon { display: block; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; }
.package-toggle-open { display: none; }
.package[open] > .package-summary .package-toggle-closed { display: none; }
.package[open] > .package-summary .package-toggle-open { display: inline; }
.package[open] > .package-summary .disclosure-icon { transform: rotate(180deg); }

/* Keep the divider inset to the same content edge as headings and lists. */
.package-content { margin: 0 var(--card-padding); padding: var(--space-6) 0 var(--card-padding); border-top: 1px solid #e6e5df; }
.package-section + .package-section { margin-top: var(--space-6); }
.package-section h3 { padding-bottom: var(--space-2); margin-bottom: var(--space-3); border-bottom: 1px solid #e6e5df; color: var(--text-muted); font-size: .875rem; line-height: 1.5; font-weight: 600; }
.package ul { list-style: none; padding: 0; margin: 0; font-size: .9375rem; line-height: 1.6; }
.package li { display: flex; align-items: flex-start; gap: var(--space-3); padding: 0; }
.package li + li { margin-top: var(--space-3); }
.package li span { min-width: 0; }
.equipment-icon { display: block; flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin-top: .2em; }

.contact { min-width: 0; }
.contact h2 { margin-bottom: var(--space-3); font-size: 1rem; line-height: 1.5; font-weight: 700; }
.contact-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.inquiry { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) var(--space-5); border: 1px solid #c9c9c1; border-radius: 3px; background: #fff; color: var(--text); font-size: .875rem; line-height: 1.5; font-weight: 600; text-decoration: none; }
.inquiry:hover { background: #f0efeb; border-color: #a6a69d; }
.inquiry:focus-visible { outline: 3px solid #996018; outline-offset: 5px; }
.social-icon { display: block; flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; }

/* Minimum rows align comparison prices without clipping larger text. */
@media (min-width: 900px) {
  .package-description { min-height: 3.2em; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .package h2 { min-height: 2.6em; }
}
@media (max-width: 899px) {
  .brand-header { grid-template-columns: auto minmax(0, 1fr); }
  .contact { grid-column: 1 / -1; }
  .packages { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 640px) {
  main { padding-top: var(--space-6); }
  .brand-header { display: flex; flex-direction: column; gap: var(--space-5); text-align: center; }
  .brand-logo { width: 6.5rem; height: 6.5rem; }
  .tagline { margin-top: var(--space-2); }
  .packages { margin-top: var(--space-8); }
  .contact-links { justify-content: center; }
}

/* Preserve the mobile contact bar with clearance that scales with text. */
@media (max-width: 640px) and (min-height: 480px) {
  html { scroll-padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px)); }
  main { padding-bottom: calc(11rem + env(safe-area-inset-bottom, 0px)); }
  .contact { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; margin: 0; padding: var(--space-3) max(var(--page-gutter), env(safe-area-inset-right, 0px)) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)) max(var(--page-gutter), env(safe-area-inset-left, 0px)); border-top: 1px solid #d8d8d1; background: var(--page); text-align: left; }
  .contact h2 { margin-bottom: var(--space-2); font-size: .875rem; }
  .contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry { padding: .625rem var(--space-3); }
  .package-summary { scroll-margin-bottom: calc(9rem + env(safe-area-inset-bottom, 0px)); }
}

/* Existing motion and reduced-motion/no-JavaScript fallbacks are preserved. */
html.motion-ok .motion-card:not(.is-revealed):not(:focus-within) { opacity: .18; transform: translateY(8px); }
html.motion-ok .motion-card.is-revealed { opacity: 1; transform: none; transition: opacity 380ms ease-out, transform 380ms ease-out; transition-delay: var(--motion-delay, 0ms); }
::highlight(motion-pending) { color: transparent; }
@media (prefers-reduced-motion: reduce) {
  html.motion-ok .motion-card { opacity: 1 !important; transform: none !important; transition: none !important; transition-delay: 0ms !important; }
}
