:root {
  --blue: #37b8e8;
  --blue-dark: #1398cf;
  --ink: #55565a;
  --heading: #3f4044;
  --light: #f5f7f8;
  --line: #e4e8ea;
  --white: #fff;
  --shadow: 0 18px 50px rgba(22, 47, 61, .13);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.16; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #aee9ff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: rgba(22, 37, 46, .18);
  backdrop-filter: blur(12px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { width: 210px; height: auto; }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-header:not(.scrolled) .nav-links { color: var(--white); }
.nav-links a { position: relative; padding-block: 10px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20,39,48,.82), rgba(20,39,48,.2)),
    url('../images/sad1.jpg') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(transparent, rgba(16,31,39,.36));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  padding-top: 90px;
}

.hero-copy { max-width: 780px; }
.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero h1 span { color: var(--blue); }
.hero p {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.9);
  font-size: clamp(18px, 2vw, 23px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 27px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(55,184,232,.28);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); }
.button.ghost { border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); box-shadow: none; }
.button.ghost:hover { background: rgba(255,255,255,.18); }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

section { padding: 105px 0; }

.intro-grid,
.solution-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.logo-panel {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 55px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #eef9fd, #fff);
  box-shadow: var(--shadow);
}
.logo-panel img { width: min(100%, 410px); }

.section-title {
  margin-bottom: 25px;
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -.035em;
}

.lead { font-size: 21px; color: #63656a; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 800;
}

.solution { background: var(--light); }
.solution-card {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.solution-logo { width: 250px; margin-bottom: 28px; }
.big-statement {
  margin-bottom: 24px;
  color: var(--heading);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.25;
}
.big-statement strong { color: var(--blue-dark); }

.photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.photo-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 250px;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px);
  font-weight: 800;
  color: var(--heading);
}
.photo-badge span { display: block; color: var(--blue-dark); font-size: 36px; line-height: 1; }

.features-heading { max-width: 760px; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  min-height: 275px;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature-card img { width: 105px; margin-bottom: 25px; }
.feature-card h3 { margin-bottom: 0; font-size: 25px; }

.details { background: #29363d; color: rgba(255,255,255,.78); }
.details .section-title, .details h3 { color: var(--white); }
.details-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-item {
  position: relative;
  padding: 20px 20px 20px 50px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}
.detail-item::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 19px;
  color: var(--blue);
  font-weight: 900;
}

.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.number {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f7fd;
  color: var(--blue-dark);
  font-weight: 900;
}
.why-item h3 { margin: 3px 0 0; font-size: 22px; }

.gallery-strip {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1.25fr;
  min-height: 410px;
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip .tomato { object-fit: contain; padding: 45px; background: #fff; }

.contact { background: var(--light); }
.contact-card {
  padding: 46px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 28px; }
.contact-meta { display: grid; gap: 8px; margin-top: 28px; }
.contact-meta a { color: var(--blue-dark); font-weight: 800; }
.contact-actions { margin-top: 30px; }

.page-404 {
  padding: 120px 0;
  text-align: center;
}

.site-footer {
  padding: 30px 0;
  background: #1e292f;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }

@media (max-width: 900px) {
  .menu-button { display: block; color: var(--white); }
  .site-header.scrolled .menu-button { color: var(--heading); }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    padding: 25px;
    border-radius: 15px;
    background: rgba(255,255,255,.98);
    color: var(--heading) !important;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; gap: 8px; }
  .intro-grid, .solution-grid, .contact-grid, .details-grid, .why-grid { grid-template-columns: 1fr; gap: 45px; }
  .features-grid { grid-template-columns: 1fr; }
  .photo-frame, .photo-frame img { min-height: 440px; }
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { height: 320px; }
  .gallery-strip .tomato { height: 280px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 75px 0; }
  .brand img { width: 175px; }
  .hero h1 { font-size: 51px; }
  .detail-list { grid-template-columns: 1fr; }
  .logo-panel, .solution-card, .contact-card { padding: 30px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
