:root {
  --lw-blue-deep: #07385b;
  --lw-blue-main: #0b5f8f;
  --lw-aqua: #7cc8df;
  --lw-gold: #d4a44f;
  --bg-mist: #f0f7fc;
  --surface: #ffffff;
  --text-main: #142738;
  --text-soft: #466176;
  --line: #cde0ef;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(900px 450px at 92% -5%, rgba(124, 200, 223, 0.48) 0%, rgba(124, 200, 223, 0) 65%),
    radial-gradient(700px 400px at -10% 35%, rgba(11, 95, 143, 0.13) 0%, rgba(11, 95, 143, 0) 70%),
    linear-gradient(180deg, #f8fcff 0%, #edf5fb 100%);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(125deg, var(--lw-blue-deep) 0%, var(--lw-blue-main) 66%, #1f7eac 100%);
  color: #ffffff;
  padding: 18px 0 46px;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.site-header.inner {
  padding-bottom: 24px;
}

.navbar {
  width: 100%;
  overflow: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 2;
}

.logo {
  float: left;
  color: #ffffff;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.nav-links {
  float: right;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
  margin-left: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  border-bottom-color: var(--lw-gold);
  color: #ffe6b8;
}

.page-heading {
  padding-top: 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin-top: 0;
  color: var(--lw-blue-deep);
}

.hero h1,
.page-heading h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.tagline {
  margin-top: 0;
  color: #e9f6ff;
  font-size: 1.15rem;
}

.hero p {
  color: #e9f6ff;
}

.hero-media {
  text-align: center;
}

.hero-media img {
  width: min(440px, 100%);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 30px rgba(124, 220, 255, 0.9),
    0 0 76px rgba(124, 220, 255, 0.55),
    0 18px 40px rgba(4, 24, 36, 0.45);
}

main {
  padding: 28px 0 36px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 12px 26px rgba(8, 44, 69, 0.09);
}

.muted {
  color: var(--text-soft);
}

.float-section {
  width: 100%;
}

.float-card {
  float: left;
  width: 48%;
  margin: 1%;
  padding: 20px;
  min-height: 280px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  clear: both;
}

.feature-grid .float-card {
  float: none;
  width: auto;
  margin: 0;
  min-height: auto;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.feature img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d3e7f4;
}

.cta,
.cta-repeat {
  background: linear-gradient(130deg, #fffef8 0%, #fff6df 100%);
  border-color: #efddb1;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  padding: 11px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--lw-blue-main);
  box-shadow: 0 8px 18px rgba(10, 82, 124, 0.32);
}

.btn-secondary {
  color: var(--lw-blue-main);
  background: #ffffff;
  border: 2px solid var(--lw-blue-main);
}

a {
  color: var(--lw-blue-main);
}

a:hover,
a:focus {
  color: #0f729f;
}

.text-link {
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.about-photo {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d3e7f4;
}

.contact-mini {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.products-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fbfdff;
  text-align: center;
}

.products-grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.products-grid figcaption {
  margin-top: 8px;
  font-weight: 700;
  color: var(--lw-blue-deep);
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-form label {
  font-weight: 700;
  color: var(--lw-blue-deep);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #b7d2e3;
  margin-bottom: 8px;
}

.site-footer {
  background: var(--lw-blue-deep);
  color: #d7ebf8;
  text-align: center;
  padding: 15px 0;
}

@media (max-width: 920px) {
  .hero,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .float-card {
    width: 98%;
    margin: 1% 1%;
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .logo,
  .nav-links {
    float: none;
    display: block;
    text-align: center;
  }

  .nav-links li {
    margin: 0 8px;
  }

  .panel {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 1.85rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .nav-links li {
    display: block;
    margin-top: 8px;
  }
}
