:root {
  --ink: #1c2420;
  --muted: #5c6b63;
  --line: rgba(28, 36, 32, 0.1);
  --paper: #f3f7f4;
  --card: rgba(255, 255, 255, 0.72);
  --sky: #3aa0d8;
  --sky-deep: #1f7fb8;
  --hill: #4f8f5a;
  --road: #2d3338;
  --dash: #e8c547;
  --shadow: 0 18px 50px rgba(28, 52, 40, 0.12);
  --radius: 22px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(58, 160, 216, 0.22), transparent 55%),
    radial-gradient(900px 500px at 95% 5%, rgba(79, 143, 90, 0.18), transparent 50%),
    linear-gradient(180deg, #eaf3ef 0%, var(--paper) 42%, #e7eef2 100%);
  overflow-x: hidden;
}

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

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bg-glow,
.bg-road {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg-road::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 28vh;
  background:
    linear-gradient(180deg, transparent, rgba(45, 51, 56, 0.06)),
    repeating-linear-gradient(
      90deg,
      transparent 0 42px,
      rgba(232, 197, 71, 0.18) 42px 58px,
      transparent 58px 100px
    );
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 244, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(45, 51, 56, 0.18);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-header nav {
  display: flex;
  gap: 1.15rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--sky-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 10ch;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  box-shadow: 0 10px 28px rgba(31, 127, 184, 0.28);
}

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

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.logo-frame {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1;
  padding: 1rem;
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  animation: float 6.5s ease-in-out infinite;
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 48px;
  background: conic-gradient(from 180deg, rgba(58, 160, 216, 0.2), transparent 35%, rgba(79, 143, 90, 0.18), transparent 70%, rgba(232, 197, 71, 0.16));
  z-index: -1;
  filter: blur(8px);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

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

.section {
  padding: 2.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.contact-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(28, 52, 40, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 52, 40, 0.1);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  color: var(--sky-deep);
  background: linear-gradient(145deg, rgba(58, 160, 216, 0.16), rgba(79, 143, 90, 0.12));
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  padding-top: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(31, 127, 184, 0.12), rgba(79, 143, 90, 0.1)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  margin: 0.8rem 0 0;
  max-width: 36rem;
}

.mail-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.3rem 1.4rem;
  border-radius: 20px;
  background: var(--road);
  color: #f4f7f5;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(45, 51, 56, 0.28);
  transition: transform 0.2s ease;
}

.mail-card:hover {
  transform: translateY(-2px);
}

.mail-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 247, 245, 0.65);
}

.mail-address {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: #fff;
  word-break: break-all;
}

.mail-hint {
  color: var(--dash);
  font-size: 0.88rem;
}

.site-footer {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .logo-frame {
    width: min(240px, 70vw);
  }
}

@media (max-width: 640px) {
  .site-header nav {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  main {
    width: min(1120px, calc(100% - 1.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-frame { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
