:root {
  --color-navy: #0e4d64;
  --color-teal: #4fb0c6;
  --color-sky: #d1e9f3;
  --color-lime: #7ae582;
  --color-sun: #ffb703;
  --color-ice: #f5f7fa;
  --color-slate: #1f2f3a;
  --font-primary: 'Montserrat', Arial, sans-serif;
  --max-width: 1120px;
  --shadow-soft: 0 12px 32px rgba(14, 77, 100, 0.12);
  --shadow-card: 0 18px 38px rgba(14, 77, 100, 0.16);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-slate);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-sky) 100%);
}

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

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

a:hover,
a:focus {
  color: var(--color-teal);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: rgba(31, 47, 58, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(14, 77, 100, 0.1);
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-navy);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(31, 47, 58, 0.85);
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--color-teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-line {
  width: 26px;
  height: 2px;
  background-color: var(--color-navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-section {
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
  background: linear-gradient(135deg, rgba(14, 77, 100, 0.9), rgba(79, 176, 198, 0.9));
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-visual {
  justify-self: center;
}

.hero-visual img {
  width: clamp(280px, 48vw, 640px);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--color-lime);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin: 1.5rem 0 2rem;
}

.hero-subheadline {
  max-width: 520px;
  margin: 0 0 2.2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-section .button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-section .button.ghost:hover,
.hero-section .button.ghost:focus {
  color: var(--color-slate);
  background-color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.button.primary {
  background-color: var(--color-navy);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover,
.button.primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.button.secondary {
  background-color: var(--color-teal);
  color: #ffffff;
}

.button.light {
  background-color: #ffffff;
  color: var(--color-navy);
  border: 1px solid rgba(14, 77, 100, 0.12);
}

.button.ghost {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid rgba(14, 77, 100, 0.25);
}

.button.full-width {
  width: 100%;
}

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

.feature-section {
  position: relative;
  background: #ffffff;
}

.about-section {
  background: #ffffff;
}

.about-intro {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.about-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14, 77, 100, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card img {
  width: 60px;
  margin: 0 auto 1.5rem;
}

.about-card h3 {
  margin-bottom: 0.75rem;
}

.about-card p {
  color: rgba(31, 47, 58, 0.72);
}

.about-card:hover,
.about-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.feature-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14, 77, 100, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card img {
  width: 56px;
  height: auto;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: rgba(31, 47, 58, 0.72);
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-section.secondary {
  background: rgba(209, 233, 243, 0.4);
}

.cta-section {
  position: relative;
  background: linear-gradient(135deg, rgba(79, 176, 198, 0.92), rgba(122, 229, 130, 0.9));
  color: var(--color-slate);
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.25);
  filter: blur(60px);
}

.cta-section::before {
  top: -60px;
  right: -100px;
}

.cta-section::after {
  bottom: -80px;
  left: -80px;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-text h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.cta-text p {
  max-width: 480px;
  color: rgba(31, 47, 58, 0.8);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-actions .button {
  min-width: 180px;
}

.cta-section .button.primary {
  box-shadow: none;
}

.cta-section .button.secondary {
  background-color: #ffffff;
  color: var(--color-navy);
  box-shadow: none;
}

.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list a {
  color: var(--color-navy);
  font-weight: 600;
}

.contact-form {
  background: var(--color-sky);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.form-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--color-navy);
}

.form-field input,
.form-field textarea {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(14, 77, 100, 0.18);
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(79, 176, 198, 0.2);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: rgba(31, 47, 58, 0.6);
  margin: 0.75rem 0 0;
  text-align: center;
}

.site-footer {
  background: #0b3c4e;
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.75rem;
}

.footer-links h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-slogan {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  max-width: 32rem;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: #ffffff;
}

.footer-links-inline {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-links-inline a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-links-inline a:hover,
.footer-links-inline a:focus {
  color: #ffffff;
}

.footer-meta {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

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

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

[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 2rem;
  }

  .feature-card {
    padding: 2rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    width: min(260px, 90vw);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border-radius: 18px;
    padding: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-grid,
  .card-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

.hero-visual {
  order: -1;
}

  .cta-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
    justify-content: center;
  }
}

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

  .hero-section {
    padding-top: 4rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .feature-card {
    padding: 1.8rem;
  }

  .cta-section {
    padding: 3.5rem 0;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
}
