/* ===========================================================
   Wyld Media — Stylesheet
   Palette: lime #C6EB9E · cyan #1BE2EF · sky #9AEEFF · peach #FFBC7D
   Fonts:   Poppins (display) · Nunito Sans (body)
   =========================================================== */

:root {
  --lime:      #C6EB9E;
  --lime-2:    #B0E082;
  --cyan:      #1BE2EF;
  --cyan-2:    #0BC7D4;
  --sky:       #9AEEFF;
  --peach:     #FFBC7D;
  --lavender:  #CDC5D3;
  --bg:        #F8F8F8;
  --surface:   #FFFFFF;
  --ink:       #0E1116;
  --ink-2:     #2A2F37;
  --muted:     #5B6573;
  --line:      #E7EBEE;
  --shadow-sm: 0 2px 10px rgba(15, 23, 32, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 32, 0.12);
  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --container: 1180px;
  --ease:      cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: 1.1rem; color: var(--ink-2); }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 226, 239, 0.10);
  margin-bottom: 14px;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hl {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Layout ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; position: relative; }
.section--alt { background: #fff; }
.section--dark {
  background: linear-gradient(135deg, #0E1116 0%, #1A2330 100%);
  color: #E6ECF2;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark .lede { color: #B6C0CB; }

.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head .lede { margin-top: 8px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 17, 22, 0.18);
}
.btn--primary:hover { background: #1d2530; box-shadow: 0 14px 28px rgba(14, 17, 22, 0.25); }
.btn--accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--lime) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(27, 226, 239, 0.35);
}
.btn--accent:hover { box-shadow: 0 14px 30px rgba(27, 226, 239, 0.5); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 17, 22, 0.15);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm  { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 30px; font-size: 1rem; }

/* ---------------- Navigation ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 248, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav__logo img { height: 44px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.nav__links a:not(.btn) { color: var(--ink-2); position: relative; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width .25s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob--1 { width: 480px; height: 480px; top: -120px; right: -100px; background: var(--cyan); }
.blob--2 { width: 380px; height: 380px; bottom: -120px; left: -120px; background: var(--lime); }
.blob--3 { width: 280px; height: 280px; top: 40%; left: 38%; background: var(--peach); opacity: 0.3; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title { margin-bottom: 20px; }
.hero__lede { font-size: 1.18rem; max-width: 560px; margin-bottom: 32px; }
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
}
.stat__num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--cyan-2) 0%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.hero__media {
  position: relative;
  height: 540px;
}
.hero__card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  transform-origin: center;
  transition: transform .5s var(--ease);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--1 {
  width: 62%; aspect-ratio: 1/1;
  top: 0; right: 0;
  transform: rotate(3deg);
  z-index: 3;
}
.hero__card--2 {
  width: 50%; aspect-ratio: 1/1;
  bottom: 30px; left: 0;
  transform: rotate(-5deg);
  z-index: 2;
}
.hero__card--3 {
  width: 38%; aspect-ratio: 1/1;
  bottom: 0; right: 16%;
  transform: rotate(8deg);
  z-index: 1;
  opacity: 0.95;
}
.hero__media:hover .hero__card--1 { transform: rotate(0deg) translateY(-8px); }
.hero__media:hover .hero__card--2 { transform: rotate(-2deg) translateY(-4px); }
.hero__media:hover .hero__card--3 { transform: rotate(4deg) translateY(-6px); }

/* ---------------- Mission ---------------- */
.mission__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission__bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.mission__bullets li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
  color: var(--ink);
}
.mission__bullets span {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--lime) 0%, var(--cyan) 100%);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.mission__media { position: relative; }
.mission__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.mission__photo img { width: 100%; height: 100%; object-fit: cover; }
.mission__badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 230px;
  border: 1px solid var(--line);
}
.mission__badge-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--cyan-2) 0%, var(--lime-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.mission__badge-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------------- Services ---------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 226, 239, 0.06), rgba(198, 235, 158, 0.06));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }
.service__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--lime) 100%);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(27, 226, 239, 0.25);
}
.service__icon svg { width: 26px; height: 26px; }
.service p { margin: 0; font-size: 0.96rem; }

/* ---------------- Results / Gallery ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------------- Why ---------------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.why__head .btn { margin-top: 16px; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.why__list li {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.why__list li:last-child { border-bottom: 0; }
.why__num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cyan);
  min-width: 36px;
}
.why__list h4 { color: #fff; margin-bottom: 6px; }
.why__list p { margin: 0; }

/* ---------------- Contact ---------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact__info {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.contact__info li { display: grid; gap: 4px; }
.contact__info strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact__info a { color: var(--ink); font-weight: 600; }
.contact__info a:hover { color: var(--cyan-2); }

.contact__form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field--hp { display: none !important; }
.field label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 226, 239, 0.15);
}
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }
.form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.4em;
}
.form__status.is-success { color: #1F8F5E; }
.form__status.is-error   { color: #C0392B; }

/* ---------------- Footer ---------------- */
.footer {
  background: #0A0D12;
  color: #B6C0CB;
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand img { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__brand p { max-width: 360px; color: #8993A1; }
.footer__col h5 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  margin-bottom: 10px;
  color: #B6C0CB;
  transition: color .2s;
}
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.85rem;
  color: #6B7480;
}
.footer__bottom p { margin: 0; color: inherit; }

/* ---------------- Reveal Animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { height: 460px; max-width: 540px; margin: 0 auto; }
  .mission__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 12px; align-self: flex-start; }

  .hero { padding: 48px 0 80px; }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; }
  .hero__media { height: 380px; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 26px; }
  .mission__badge { left: 12px; right: 12px; bottom: -20px; max-width: none; }
  .footer__inner { grid-template-columns: 1fr; }
}
