/**
 * Above-the-fold styles for fast LCP (KH-045). layout/components/a11y/perf load synchronously.
 */

:root {
  --color-brand-yellow: #ffc322;
  --color-brand-teal: #05b9be;
  --color-link: #046a6e;
  --color-focus: #046a6e;
  --color-text: #211e22;
  --color-text-muted: #5a5560;
  --color-bg: #fefefe;
  --color-bg-muted: #e7e7e7;
  --color-white: #ffffff;
  --color-border: #d8d8d8;
  --font-brand: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgb(33 30 34 / 8%);
  --max-width: 72rem;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-brand);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

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

.inline-icon,
.site-footer__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .inline-icon {
  color: var(--color-link);
}

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

.site-header {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-brand-yellow);
  box-shadow: var(--shadow-card);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 4.5rem;
  padding-block: var(--space-sm);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
}

.site-logo__image {
  width: 9.5rem;
  height: auto;
  aspect-ratio: 152 / 40;
}

.site-logo__tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, rgb(255 195 34 / 18%) 0%, rgb(255 195 34 / 0%) 70%);
  text-align: center;
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 20ch;
  margin-inline: auto;
  line-height: 1.2;
  font-weight: 700;
}

.hero__subtitle {
  margin: 0 0 var(--space-md);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-inline: auto;
}

.is-hidden {
  display: none !important;
}
