:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --bg-soft: #eef4f8;
  --surface: #ffffff;
  --surface-strong: #fdfefe;
  --text: #172033;
  --muted: #5c687a;
  --line: #dce4ec;
  --accent: #ce2827;
  --accent-strong: #f7c4c3;
  --accent-soft: #d7f4f1;
  --shadow: 0 20px 50px rgba(23, 32, 51, 0.11);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10141b;
  --bg-soft: #171d25;
  --surface: #1c232d;
  --surface-strong: #232c38;
  --text: #f3f7fb;
  --muted: #aab6c5;
  --line: #344252;
  --accent: #ce2827;
  --accent-strong: #f7c4c3;
  --accent-soft: rgba(103, 216, 208, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body,
button,
input,
textarea {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

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

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  color-scheme: light;
  background: #f7f9fb;
  border-radius: 4px;
}

:root[data-theme="dark"] .logo-link {
  background: var(--bg);
}

.logo-link img {
  width: clamp(98px, 12.6vw, 147px);
  height: auto;
  filter: none;
  mix-blend-mode: normal;
}

.nav-actions,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.theme-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -6px -4px 0 var(--surface);
}

:root[data-theme="dark"] .theme-icon {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 4rem;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.94) 0%, rgba(247, 249, 251, 0.76) 48%, rgba(247, 249, 251, 0.22) 100%),
    url("assets/images/hero_001.jpeg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .hero {
  background:
    linear-gradient(90deg, rgba(16, 20, 27, 0.94) 0%, rgba(16, 20, 27, 0.76) 48%, rgba(16, 20, 27, 0.28) 100%),
    url("assets/images/hero_001.jpeg") center / cover no-repeat;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.hero-content p:not(.eyebrow),
.section-heading,
.info-card p,
.contact-panel p,
.contact-panel li,
.site-footer p,
.form-status {
  color: var(--muted);
  line-height: 1.7;
}

.hero-content p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.primary {
  color: #ffffff;
  border-color: var(--accent);
  background: var(--accent);
}

:root[data-theme="dark"] .primary {
  color: #071417;
}

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

.section {
  padding: 4rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card,
.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 260px;
  padding: 1.5rem;
}

.card-number {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  object-fit: contain;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-form,
.contact-panel {
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--surface-strong);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-status {
  min-height: 1.6em;
  margin: 0;
}

.contact-panel {
  background: var(--surface-strong);
}

.contact-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.site-footer p {
  margin: 0.5rem 0 0;
}

@media (max-width: 900px) {
  .card-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
    padding: 3rem;
  }

  h1 {
    max-width: 100%;
  }

}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 1rem, 1120px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-actions {
    gap: 0.75rem;
  }

  .nav-actions a {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 2rem 1.25rem;
    background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.95) 0%, rgba(247, 249, 251, 0.82) 62%, rgba(247, 249, 251, 0.34) 100%),
      url("assets/images/hero_001.jpeg") center / cover no-repeat;
  }

  :root[data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, rgba(16, 20, 27, 0.95) 0%, rgba(16, 20, 27, 0.82) 62%, rgba(16, 20, 27, 0.38) 100%),
      url("assets/images/hero_001.jpeg") center / cover no-repeat;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
