:root {
  --ink: #14241c;
  --ink-soft: #3d5348;
  --paper: #f2f6f1;
  --field: #1f4d38;
  --field-deep: #0f2a1e;
  --sun: #d4a84b;
  --mist: rgba(242, 246, 241, 0.88);
  --font-display: "Syne", system-ui, sans-serif;
  --font-brand: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: clamp(1.85rem, 6vw, 3.25rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #f7faf6;
  white-space: nowrap;
  max-width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.15rem);
  min-width: 0;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: clamp(3.5rem, 9vw, 5.25rem);
  height: clamp(3.5rem, 9vw, 5.25rem);
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: fade-up 0.9s ease-out both;
}

.brand--footer {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--field);
  margin-bottom: 0.35rem;
  overflow-wrap: normal;
  word-break: normal;
}

/* —— Hero: one composition —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  justify-items: start;
  padding: clamp(1.25rem, 4vw, 3rem);
  padding-top: max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-top, 0px));
  padding-bottom: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-bottom, 0px));
  overflow: visible;
  color: #f7faf6;
  background: var(--field-deep);
}

/* On phones, leave a peek of the next section so scrolling is obvious. */
@media (max-width: 720px) {
  .hero {
    min-height: 72svh;
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(247, 250, 246, 0.88);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero__scroll span {
  width: 1.15rem;
  height: 1.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-nudge 1.6s ease-in-out infinite;
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.55;
  }
  50% {
    transform: rotate(45deg) translate(3px, 3px);
    opacity: 1;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  left: -5%;
  top: -25%;
  width: 110%;
  height: 150%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.25);
  backface-visibility: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 42, 30, 0.72) 0%, rgba(15, 42, 30, 0.35) 42%, rgba(15, 42, 30, 0.55) 100%);
  pointer-events: none;
}

.hero__atmosphere::before,
.hero__atmosphere::after {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(40rem, 100%);
  min-width: 0;
  animation: fade-up 0.9s ease-out 0.15s both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 3.8vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(247, 250, 246, 0.95);
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.lede {
  margin: 1.35rem 0 1.5rem;
  font-size: clamp(0.98rem, 3.6vw, 1.2rem);
  line-height: 1.5;
  color: rgba(247, 250, 246, 0.82);
  max-width: min(32rem, 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: fade-up 0.9s ease-out 0.35s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--field-deep);
  background: var(--sun);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: #e0b85a;
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid #f7faf6;
  outline-offset: 3px;
}

.cta--ghost {
  color: #f7faf6;
  background: transparent;
  border-color: rgba(247, 250, 246, 0.45);
}

.cta--ghost:hover {
  background: rgba(247, 250, 246, 0.1);
  transform: translateY(-1px);
}

/* —— Floating parallax sections —— */
.parallax-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.parallax-media__photo {
  position: absolute;
  left: -5%;
  top: -25%;
  width: 110%;
  height: 150%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.25);
  backface-visibility: hidden;
}

.parallax-media__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 42, 30, 0.72) 0%, rgba(15, 42, 30, 0.58) 45%, rgba(15, 42, 30, 0.78) 100%);
}

.parallax-media__veil--deep {
  background:
    linear-gradient(180deg, rgba(10, 28, 20, 0.78) 0%, rgba(12, 34, 24, 0.7) 50%, rgba(10, 28, 20, 0.84) 100%);
}

.float-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f7faf6;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.float-section__content {
  position: relative;
  z-index: 2;
  width: min(64rem, calc(100% - 2 * clamp(1.5rem, 4vw, 3rem)));
  margin: 0 auto;
}

.float-section__content--narrow {
  width: min(42rem, calc(100% - 2 * clamp(1.5rem, 4vw, 3rem)));
}

.float-section--center {
  text-align: center;
}

.float-section--center .section__intro,
.float-section--center .pipeline {
  margin-inline: auto;
}

.float-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #f7faf6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section__intro {
  margin: 0 0 2.25rem;
  max-width: min(36rem, 100%);
  color: rgba(247, 250, 246, 0.82);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section__intro--wide {
  max-width: 42rem;
  margin-bottom: 0;
}

.panel {
  background: rgba(242, 246, 241, 0.94);
  border: 1px solid rgba(247, 250, 246, 0.18);
  border-radius: 10px;
  color: var(--ink);
}

.pricing-card {
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  text-align: left;
  background: rgba(242, 246, 241, 0.95);
  border: 1px solid rgba(247, 250, 246, 0.2);
  border-radius: 10px;
  color: var(--ink);
}

.pricing-card__label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--field);
}

.pricing-card__price {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--field-deep);
}

.pricing-card__price--secondary {
  margin-bottom: 1.25rem;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.pricing-card__perks {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.pricing-card__perks li {
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(31, 77, 56, 0.12);
  color: var(--ink-soft);
  font-weight: 500;
}

.pricing-card__perks li:last-child {
  border-bottom: none;
}

.pricing-card .cta {
  display: inline-flex;
}

.pricing-card__note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pipeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 28rem;
  text-align: left;
}

.pipeline li {
  margin: 0;
  padding: 0.7rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(247, 250, 246, 0.92);
  border-bottom: 1px solid rgba(247, 250, 246, 0.18);
}

.pipeline li:last-child {
  border-bottom: none;
}

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

@media (min-width: 720px) {
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.modules li {
  padding: 0.85rem;
  background: rgba(242, 246, 241, 0.94);
  border-radius: 10px;
  border: 1px solid rgba(247, 250, 246, 0.16);
}

.modules img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.modules h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--field);
}

.modules p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* —— Contact —— */
.contact {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  text-align: left;
}

@media (min-width: 800px) {
  .contact {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--field-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: rgba(242, 246, 241, 0.85);
  border: 1px solid rgba(31, 77, 56, 0.22);
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--field);
  outline-offset: 1px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-submit {
  justify-self: start;
  border: none;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-status {
  margin: 0;
  font-size: 0.95rem;
}

.contact-status--ok {
  color: var(--field);
}

.contact-status--error {
  color: #8a2f2f;
}

.contact-status--info {
  color: var(--ink-soft);
}

.contact-aside {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  align-content: start;
}

.contact-aside > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.cta--whatsapp {
  justify-self: start;
  gap: 0.55rem;
  color: #f7faf6;
  background: #25d366;
}

.cta--whatsapp:hover {
  background: #1ebe57;
}

.whatsapp-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.contact-note {
  font-size: 0.9rem;
}

.contact-note a {
  color: var(--field);
}

.footer {
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem) 3rem;
  border-top: 1px solid #cfd9d1;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer p:last-child {
  margin: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-mark,
  .hero__photo,
  .hero__content,
  .cta-row,
  .parallax-media__photo,
  .hero__scroll span {
    animation: none;
  }

  .parallax-media__photo,
  .hero__photo {
    transform: none !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* —— Legal / Terms page —— */
.legal-page {
  background: var(--paper);
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid #cfd9d1;
  background: #fff;
}

.legal-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--field-deep);
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.legal-top__brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
}

.legal-top__back {
  color: var(--field);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-top__back:hover {
  text-decoration: underline;
}

.legal {
  width: min(46rem, calc(100% - 2 * clamp(1.25rem, 4vw, 3rem)));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--field-deep);
}

.legal__meta {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal section {
  margin-bottom: 1.75rem;
}

.legal h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--field-deep);
}

.legal h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1rem;
  color: var(--field);
}

.legal p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal a,
.footer a {
  color: var(--field);
}

.footer__links {
  margin: 0.65rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  font-weight: 600;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}
