:root {
  color-scheme: light;
  --brand: #2a7db2;
  --brand-deep: #1e6591;
  --ink: #0b1020;
  --ink-soft: #3a4258;
  --mute: #5d6578;
  --paper: #ffffff;
  --paper-soft: #f6f7fa;
  --line: rgba(11, 16, 32, 0.07);
  --line-strong: rgba(11, 16, 32, 0.13);
  --shadow-img: 0 24px 48px -20px rgba(11, 16, 32, 0.18),
                0 0 0 1px rgba(11, 16, 32, 0.03);
  --shadow-card: 0 1px 3px rgba(11, 16, 32, 0.05),
                 0 0 0 1px rgba(11, 16, 32, 0.04);
  --shadow-card-hover: 0 20px 40px -16px rgba(11, 16, 32, 0.14),
                       0 0 0 1px rgba(11, 16, 32, 0.07);
  --shadow-elevated: 0 8px 24px -8px rgba(11, 16, 32, 0.12),
                     0 0 0 1px rgba(11, 16, 32, 0.04);
  --shadow-btn: 0 1px 2px rgba(11, 16, 32, 0.1),
                0 0 0 1px rgba(11, 16, 32, 0.06);
  --shadow-btn-hover: 0 6px 16px -4px rgba(11, 16, 32, 0.2),
                      0 0 0 1px rgba(11, 16, 32, 0.08);
  --radius: 0.875rem;
  --radius-sm: 0.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink-soft);
  background: var(--paper-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
}

.font-heading {
  font-family: 'Sora', sans-serif;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }
[data-animate][data-delay="6"] { transition-delay: 0.6s; }

body .bg-sky-600 { background-color: var(--brand); }
body .bg-sky-50 { background-color: #eef4f9; }
body .text-sky-600 { color: var(--brand); }
body .text-sky-700 { color: var(--brand-deep); }
body .text-sky-300 { color: #8ec4e0; }
body .text-sky-400 { color: #6ab0d6; }
body .hover\:text-sky-600:hover { color: var(--brand); }
body .hover\:text-sky-700:hover { color: var(--brand-deep); }

body .bg-slate-900 { background-color: var(--ink); }
body .bg-slate-950 { background-color: #05060f; }
body .text-slate-900 { color: var(--ink); }

body .border-slate-200 { border-color: var(--line); }
body .border-slate-100 { border-color: var(--line); }
body .border-slate-800 { border-color: rgba(255, 255, 255, 0.06); }
body .border-slate-700 { border-color: rgba(255, 255, 255, 0.1); }

header {
  transition: box-shadow 0.3s var(--ease);
}

header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -12px rgba(11, 16, 32, 0.1);
}

.nav-link {
  font-family: 'Sora', sans-serif;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  background-color: rgba(11, 16, 32, 0.04);
}

.mobile-menu-text {
  font-size: 15px;
}

#hero {
  background: var(--paper);
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--mute);
}

@media (min-width: 1024px) {
  .hero-lede { font-size: 1.125rem; }
}

.hero-figure {
  box-shadow: var(--shadow-img);
  overflow: hidden;
  position: relative;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(11, 16, 32, 0.06);
  pointer-events: none;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  display: block;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.3;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

#about {
  background: var(--paper-soft);
}

#about figure {
  box-shadow: var(--shadow-img);
  overflow: hidden;
}

.facts-strip dt {
  font-family: 'Sora', sans-serif;
}

.facts-strip dd {
  margin-top: 0.125rem;
}

#services {
  background: #eef1f6;
}

#services figure {
  box-shadow: var(--shadow-img);
  overflow: hidden;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}

.service-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.service-card__desc {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.55;
}

#references {
  background: var(--ink);
}

.ref-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ref-scroll::-webkit-scrollbar { display: none; }
.ref-scroll > article { scroll-snap-align: start; }

.ref-card__img {
  border-radius: 0.75rem;
}

.ref-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.05) 70%,
    transparent 100%
  );
  border-radius: 0.75rem;
  transition: background 0.4s;
}

.ref-card:hover .ref-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.08) 70%,
    transparent 100%
  );
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 16, 32, 0.08);
}

#offer {
  overflow: clip;
}

.offer-overlay {
  background: rgba(255, 255, 255, 0.62);
}

#offer .rounded-2xl,
#offer .rounded-3xl,
#offer .lg\:rounded-3xl {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 64px -24px rgba(11, 16, 32, 0.35);
}

body .btn-primary {
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              background-color 0.2s;
}

body .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

a.border {
  transition: transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              background-color 0.2s,
              border-color 0.2s;
}

a.border:hover {
  transform: translateY(-1px);
}

#contact {
  background: #05060f;
}

a.group span[aria-hidden] {
  transition: transform 0.3s var(--ease);
}

a.group:hover span[aria-hidden] {
  transform: translateX(3px);
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-info-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.contact-info-card i {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.contact-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(42, 125, 178, 0.1);
}

.contact-input::placeholder {
  color: var(--mute);
  opacity: 0.6;
}

select.contact-input {
  cursor: pointer;
}

textarea.contact-input {
  resize: vertical;
  min-height: 8rem;
}

#contact-form {
  max-width: 100%;
  overflow: hidden;
}

#contact-form .g-recaptcha {
  transform-origin: left center;
  max-width: 100%;
}

@media (max-width: 400px) {
  #contact-form .g-recaptcha {
    transform: scale(0.85);
  }
}

@media (max-width: 340px) {
  #contact-form .g-recaptcha {
    transform: scale(0.75);
  }
}

.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
.about-sidebar-grid { grid-template-columns: 1fr 18rem; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-5-4 { aspect-ratio: 5/4; }
.aspect-3-4 { aspect-ratio: 3/4; }
.aspect-16-10 { aspect-ratio: 16/10; }
.aspect-16-9 { aspect-ratio: 16/9; }

@media (max-width: 640px) {
  section > div, section > div > div, section > div > div > div {
    max-width: 100%;
    box-sizing: border-box;
  }
  .grid > div {
    min-width: 0;
    max-width: 100%;
  }
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about-hero {
  overflow: clip;
}

.about-timeline-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

@media (min-width: 640px) {
  .about-timeline-row {
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
  }
}

.about-timeline-year {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.about-cta {
  overflow: clip;
}

.install-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              border-color 0.25s;
}

.install-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}

.install-card__img {
  transition: transform 0.6s var(--ease);
}

.install-card:hover .install-card__img {
  transform: scale(1.03);
}

.kitchen-step {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.kitchen-step:last-child {
  border-bottom: none;
}

.kitchen-step h3 {
  font-family: 'Sora', sans-serif;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.strength-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.strength-item i {
  color: var(--brand);
  font-size: 0.75rem;
  flex-shrink: 0;
}
