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

:root {
  --coral: #da6e5d;
  --coral-dark: #c25d4c;
  --features-bg: #ffefed;
  --teal: #1b5e7b;
  --navy: #2d3561;
  --white: #ffffff;
  --text-dark: #2a2a2a;
  --font-display: 'MuseoModerno', cursive;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
}

/* ════════════════════════════════
   NAVIGATION
════════════════════════════════ */
nav {
  background: #ffffff;
  padding: 0 5%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.nav-social-link:hover {
  opacity: 0.7;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a4a;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-active {
  color: var(--coral) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
.hero-wrapper {
  padding: 2.2rem 4.5% 3rem;
  background: #ffffff;
}

.hero-card {
  background: #ce6b58;
  border-radius: 28px;
  padding: 3.8rem 5% 2.5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.hero-text {
  padding-bottom: 0;
  padding-right: 3rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.3rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-body p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  font-weight: 300;
  line-height: 1.75;
}

.hero-body p + p {
  margin-top: 1.1rem;
}

.hero-cta-button {
  display: inline-block;
  margin-top: 1.8rem;
  background: #ffffff;
  color: #ce6b58;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -2.5rem;
}

.hero-illustration img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}

/* ════════════════════════════════
   FEATURES SECTION
════════════════════════════════ */
.features {
  background: var(--features-bg);
  padding: 5rem 5%;
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  color: var(--coral);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 3.8rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 2rem;
  max-width: 1020px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.2rem 1.6rem 2rem;
  background: rgba(255,255,255,0.6);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(218, 110, 93, 0.13);
}

.feature-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 1.3rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.68;
  font-weight: 400;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #ffffff;
  padding: 4rem 5% 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
}

.footer-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.04em;
}

/* ════════════════════════════════
   BACK TO TOP
════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--coral-dark);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links {
    gap: 1.4rem;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0 1.2rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    z-index: 9999;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.82rem;
  }

  .nav-social {
    display: none;
  }

  .footer-contacts {
    gap: 2.5rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 2.8rem 6% 0;
    min-height: auto;
  }

  .hero-text {
    padding-right: 0;
    padding-bottom: 2.2rem;
  }

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

  .hero-illustration img {
    max-width: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}
