:root {
  --green-deep: #3e5a46;
  --green: #6f8f70;
  --green-soft: #a8bfa8;
  --green-pale: #d8e0cf;
  --brown: #8a5e3c;
  --brown-dark: #5d3b24;
  --sand: #dccdba;
  --cream: #f6efe4;
  --ink: #2e2a24;
  --muted: #625c51;
  --white: #fffaf4;
  --shadow: 0 18px 48px rgba(62, 50, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

#inicio {
  scroll-margin-top: 92px;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(138, 94, 60, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 84px;
  padding: 14px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  aspect-ratio: 1;
  height: 60px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong,
h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.brand__text strong {
  color: var(--brown-dark);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.brand__text small,
.eyebrow {
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2.5vw, 32px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 8px;
}

.main-nav a:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.hero {
  align-items: flex-end;
  background: var(--sand);
  display: flex;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  position: relative;
}

.hero__video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(246, 239, 228, 0.9) 0%, rgba(246, 239, 228, 0.68) 38%, rgba(246, 239, 228, 0.12) 78%),
    linear-gradient(180deg, rgba(46, 42, 36, 0.02) 0%, rgba(46, 42, 36, 0.12) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero__content {
  max-width: 650px;
  position: relative;
  width: min(55vw, 650px);
  z-index: 2;
}

.hero__content .eyebrow {
  animation: fadeInUp 760ms ease 160ms both;
}

.hero h1 {
  animation: fadeInUp 850ms ease 320ms both;
  color: var(--brown-dark);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.94;
  margin: 18px 0 20px;
  text-shadow: 0 2px 16px rgba(255, 250, 244, 0.56);
}

.hero__lead {
  animation: fadeInUp 820ms ease 520ms both;
  color: #4f493f;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(255, 250, 244, 0.72);
}

.hero__actions {
  animation: fadeInUp 820ms ease 700ms both;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tree-reveal__ground {
  animation: groundBloom 1400ms ease-out 560ms both;
  background: linear-gradient(90deg, transparent, rgba(138, 94, 60, 0.32), transparent);
  border-radius: 50%;
  bottom: 20%;
  content: "";
  height: 2px;
  position: absolute;
  width: min(44vw, 520px);
}

.tree-reveal__seed {
  animation: seedWake 980ms ease-out 120ms both, sproutFade 520ms ease 1280ms forwards;
  background: radial-gradient(circle at 35% 35%, #d7b78c, var(--brown) 62%, #5d3c24);
  border-radius: 58% 42% 55% 45%;
  bottom: calc(20% - 9px);
  box-shadow: 0 8px 18px rgba(62, 50, 35, 0.2);
  height: 18px;
  position: absolute;
  transform: rotate(-18deg);
  width: 14px;
  z-index: 3;
}

.tree-reveal__seed::after {
  animation: sproutRise 900ms cubic-bezier(0.2, 0.74, 0.24, 1) 520ms both;
  background: linear-gradient(var(--green), var(--green-deep));
  border-radius: 999px;
  bottom: 12px;
  content: "";
  height: 72px;
  left: 6px;
  position: absolute;
  transform-origin: 50% 100%;
  width: 3px;
}

.tree-reveal__seed::before {
  animation: leafOpen 760ms ease-out 900ms both;
  background: var(--green);
  border-radius: 80% 0 80% 0;
  bottom: 66px;
  content: "";
  height: 18px;
  left: 8px;
  position: absolute;
  transform-origin: 0 100%;
  width: 28px;
}

.button {
  align-items: center;
  border: 1px solid var(--brown);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: 700 14px/1 Inter, Arial, sans-serif;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.button--primary {
  background: var(--brown);
  color: var(--white);
}

.button--ghost {
  background: rgba(255, 250, 244, 0.74);
  color: var(--brown);
}

.statement {
  background:
    linear-gradient(90deg, rgba(47, 66, 53, 0.72) 0%, rgba(47, 66, 53, 0.84) 46%, rgba(47, 66, 53, 0.9) 100%),
    url("./assets/sofa-terapia.png") center / cover no-repeat;
  color: var(--white);
  min-height: clamp(430px, 48vw, 620px);
  overflow: hidden;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  position: relative;
}

.statement::before {
  background: url("./assets/textura-papel.png") center / cover no-repeat;
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.statement__inner {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(280px, 1.15fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: inherit;
  position: relative;
  z-index: 1;
}

.statement__copy {
  grid-column: 2;
}

.statement__copy p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.1;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 18px 36px rgba(18, 28, 21, 0.38);
}

.about,
.approach,
.process,
.downloads,
.contact {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 28px;
  max-width: 680px;
}

.section-heading h2,
.contact__intro h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 1;
  margin: 8px 0 0;
}

.about-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
}

.about-mark {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 244, 0.98), rgba(168, 191, 168, 0.32) 62%, rgba(62, 90, 70, 0.18)),
    var(--green-pale);
  border: 1px solid rgba(138, 94, 60, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(62, 50, 35, 0.12);
  display: grid;
  gap: 18px;
  justify-items: center;
  min-height: 360px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.about-mark__photo {
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(37, 48, 38, 0.18));
  max-width: min(64%, 240px);
  opacity: 1;
}

.about-mark__logo {
  filter: drop-shadow(0 16px 26px rgba(37, 48, 38, 0.16));
  max-width: min(78%, 300px);
  opacity: 0.92;
}

.tree-reveal img {
  opacity: 0;
}

.tree-reveal.is-visible img {
  animation: treeGrow 1700ms cubic-bezier(0.2, 0.74, 0.24, 1) 950ms both, treeBreathe 5600ms ease-in-out 2850ms infinite;
  opacity: 0.82;
}

.tree-reveal.is-visible .tree-reveal__ground {
  animation: groundBloom 1400ms ease-out 420ms both;
}

.tree-reveal .tree-reveal__seed,
.tree-reveal .tree-reveal__seed::before,
.tree-reveal .tree-reveal__seed::after {
  animation-play-state: paused;
  opacity: 0;
}

.tree-reveal.is-visible .tree-reveal__seed {
  animation: seedWake 980ms ease-out 80ms both, sproutFade 520ms ease 1220ms forwards;
  opacity: 1;
}

.tree-reveal.is-visible .tree-reveal__seed::after {
  animation: sproutRise 900ms cubic-bezier(0.2, 0.74, 0.24, 1) 480ms both;
  opacity: 1;
}

.tree-reveal.is-visible .tree-reveal__seed::before {
  animation: leafOpen 760ms ease-out 860ms both;
  opacity: 1;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.72;
  margin: 0;
}

.approach {
  background: #eadfce;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(138, 94, 60, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(62, 50, 35, 0.08);
  min-height: 236px;
  padding: 28px;
}

.feature-card:hover {
  border-color: var(--brown);
}

.feature-card span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green-deep);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  padding-inline: 16px;
  text-transform: uppercase;
}

.feature-card h3 {
  color: var(--green-deep);
  font-size: 24px;
  margin: 24px 0 10px;
}

.feature-card p,
.contact__intro p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.process {
  background: var(--green-deep);
  color: var(--white);
}

.process .eyebrow,
.process .section-heading h2 {
  color: var(--white);
}

.process-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list article {
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid rgba(255, 250, 244, 0.18);
  min-height: 260px;
  padding: 28px;
}

.process-list b {
  align-items: center;
  border: 1px solid rgba(255, 250, 244, 0.44);
  border-radius: 50%;
  color: var(--sand);
  display: flex;
  font-size: 14px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.process-list h3 {
  font-size: 22px;
  margin: 26px 0 10px;
}

.process-list p {
  color: var(--sand);
  line-height: 1.65;
  margin: 0;
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-item {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(138, 94, 60, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px;
}

.download-item strong,
.download-item small {
  display: block;
}

.download-item strong {
  color: var(--green-deep);
  font-size: 18px;
}

.download-item small {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.download-item b {
  background: var(--green-deep);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
  padding: 12px 16px;
  text-transform: uppercase;
}

.contact {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(138, 94, 60, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  color: var(--green-deep);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: #fffdf9;
  border: 1px solid rgba(122, 154, 122, 0.38);
  border-radius: 6px;
  color: var(--ink);
  font: 500 16px/1.4 Inter, Arial, sans-serif;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.form-status {
  color: var(--green-deep);
  font-weight: 700;
  margin: -6px 0 0;
  min-height: 20px;
}

.form-status.is-error {
  color: #8a3c3c;
}

.site-footer {
  background: #2f4235;
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 42px clamp(20px, 5vw, 72px);
}

.site-footer h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logos img {
  height: 68px;
  object-fit: contain;
  width: 68px;
}

.fade-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.fade-reveal.is-visible {
  animation: fadeInUp 760ms ease both;
}

.footer-logos span {
  border: 1px solid rgba(255, 250, 244, 0.38);
  border-radius: 6px;
  color: var(--sand);
  font-weight: 800;
  padding: 12px 14px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-footer address {
  color: var(--sand);
  font-style: normal;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .site-header {
    gap: 16px;
    padding-inline: 28px;
  }

  .brand__logo {
    height: 52px;
  }

  .brand__text strong {
    font-size: 22px;
  }

  .main-nav {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  #inicio {
    scroll-margin-top: 290px;
  }

  .site-header,
  .main-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 6px;
  }

  .brand__text strong {
    white-space: normal;
  }

  .hero {
    display: grid;
    gap: 28px;
    min-height: 820px;
    padding-bottom: 48px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(246, 239, 228, 0.88) 0%, rgba(246, 239, 228, 0.72) 48%, rgba(246, 239, 228, 0.18) 100%),
      linear-gradient(180deg, rgba(46, 42, 36, 0.02), rgba(46, 42, 36, 0.16));
  }

  .tree-reveal__ground {
    bottom: 12%;
    width: min(78vw, 360px);
  }

  .statement {
    background:
      linear-gradient(180deg, rgba(47, 66, 53, 0.86) 0%, rgba(47, 66, 53, 0.76) 100%),
      url("./assets/sofa-terapia.png") 42% center / cover no-repeat;
    min-height: 560px;
  }

  .statement__inner {
    align-content: center;
    min-height: 420px;
  }

  .statement__copy {
    grid-column: 1;
  }

  .about-layout,
  .statement__inner,
  .feature-grid,
  .process-list,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand__logo {
    height: 52px;
  }

  .brand__text small,
  .eyebrow {
    letter-spacing: 0.18em;
  }

  .hero h1 {
    font-size: 46px;
  }

  .download-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .statement__copy p {
    font-size: 34px;
  }
}

@keyframes treeGrow {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateY(34px) scaleX(0.82) scaleY(0.18);
  }

  42% {
    clip-path: inset(48% 0 0 0);
    opacity: 0.72;
    transform: translateY(16px) scaleX(0.9) scaleY(0.62);
  }

  72% {
    clip-path: inset(12% 0 0 0);
    transform: translateY(-4px) scaleX(1.02) scaleY(1.04);
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0.82;
    transform: translateY(0) scale(1);
  }
}

@keyframes treeBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.015);
  }
}

@keyframes groundBloom {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes seedWake {
  0% {
    opacity: 0;
    transform: translateY(10px) rotate(-18deg) scale(0.38);
  }

  58% {
    opacity: 1;
    transform: translateY(0) rotate(-18deg) scale(1.12);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-18deg) scale(1);
  }
}

@keyframes sproutRise {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes leafOpen {
  0% {
    opacity: 0;
    transform: rotate(-28deg) scale(0.2);
  }

  100% {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

@keyframes sproutFade {
  100% {
    opacity: 0;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tree-reveal img,
  .tree-reveal__ground,
  .tree-reveal__seed,
  .tree-reveal__seed::before,
  .tree-reveal__seed::after,
  .fade-reveal,
  .fade-reveal.is-visible,
  .hero__content .eyebrow,
  .hero h1,
  .hero__lead,
  .hero__actions {
    animation: none;
    clip-path: none;
    opacity: 1;
    transform: none;
  }

  .tree-reveal__seed {
    display: none;
  }
}
