/* Milaao marketing site */
:root {
  --green: #629F4A;
  --green-deep: #3F6B2F;
  --green-soft: #E8F5E1;
  --ink: #102012;
  --body: #3A4A3C;
  --muted: #6B7A6D;
  --line: #D7E4D2;
  --cream-field: #F3F8F0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 32, 18, 0.14);
  --radius: 18px;
  --font: "Poppins", system-ui, sans-serif;
  --display: "Syne", "Poppins", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--cream-field);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 32, 18, 0.06);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(98, 159, 74, 0.35);
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost-dark:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

/* Hero — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(16, 40, 18, 0.88) 0%, rgba(63, 107, 47, 0.55) 48%, rgba(16, 32, 18, 0.35) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(98, 159, 74, 0.45), transparent 55%),
    linear-gradient(180deg, #1a3a1c 0%, #2d5a28 45%, #0f1c10 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.03) 28px,
      rgba(255, 255, 255, 0.03) 29px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  padding: 7.5rem 0 3.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-copy {
  padding-bottom: 2.5rem;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 18ch;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}

/* Promo posters already include a phone mockup — frame them as cards, not as phones */
.phone-frame {
  width: min(300px, 72vw);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, 0.1);
  background: #f3faf0;
  transform: translateY(40px) rotate(-4deg);
  opacity: 0;
  animation: phoneIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.phone-frame.alt {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(220px, 54vw);
  transform: translateY(60px) rotate(8deg);
  opacity: 0;
  animation: phoneInAlt 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 8px rgba(255, 255, 255, 0.06);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(-4deg);
  }
}

@keyframes phoneInAlt {
  to {
    opacity: 1;
    transform: translateY(0) rotate(8deg);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  max-width: 18ch;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
}

/* Feature strips — not card grids in hero; interaction-worthy strips */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.feature-strip:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-strip.reverse .feature-copy {
  order: 2;
}

.feature-strip.reverse .feature-media {
  order: 1;
}

.feature-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}

.feature-copy p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.1rem;
}

.feature-points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: var(--body);
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.feature-media {
  display: flex;
  justify-content: center;
}

.shot-wrap {
  width: min(340px, 80vw);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f3faf0;
  transition: transform 0.45s ease;
}

.feature-strip:hover .shot-wrap {
  transform: translateY(-6px);
}

.shot-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Intro band */
.intro-band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.intro-visual {
  position: relative;
  min-height: 320px;
}

.intro-visual .shot-wrap {
  margin-inline: auto;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(135deg, #2d5a28 0%, #629F4A 55%, #3F6B2F 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -80px;
  bottom: -120px;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 8rem 0 3rem;
  background:
    linear-gradient(180deg, #e5f0df 0%, var(--cream-field) 100%);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42ch;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: 22px;
  overflow: hidden;
  background: #f3faf0;
  box-shadow: 0 16px 40px rgba(16, 32, 18, 0.12);
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem 1.1rem;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: #132015;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand span {
  color: var(--green);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Privacy page inherits older styles — bridge */
.policy-main {
  padding: 7rem 0 4rem;
}

.policy-main .intro {
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 1.25rem 0 1.5rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.policy-main section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.policy-main h1 {
  font-family: var(--display);
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.policy-main h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.policy-main p,
.policy-main li {
  font-size: 0.95rem;
}

.policy-main ul {
  margin: 0.5rem 0 0 1.1rem;
}

.policy-main li {
  margin-bottom: 0.4rem;
}

.policy-main a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

.policy-main ol.steps {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  counter-reset: step;
}

.policy-main ol.steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.85rem;
}

.policy-main ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.65rem;
  text-align: center;
}

.policy-callout {
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 0.85rem;
}

.policy-callout strong {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .feature-strip,
  .feature-strip.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip.reverse .feature-copy,
  .feature-strip.reverse .feature-media {
    order: initial;
  }

  .hero-visual {
    min-height: 420px;
    order: -1;
  }

  .phone-frame.alt {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--green-soft);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-copy {
    padding-bottom: 1.5rem;
    text-align: center;
  }

  .hero-headline,
  .hero-sub {
    max-width: none;
    margin-inline: auto;
  }

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

  .section-title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }
}
