/* Fuentes alojadas aquí: más rápidas y sin mandar a Google la IP de cada visita. */
@font-face {
  font-family: "Libre Caslon Display";
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fuentes/libre-caslon-display-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fuentes/dmsans.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fuentes/inter-500.woff2") format("woff2");
}
/* Base del diseño. */

:root {
  --ink: #080b0b;
  --ivory: #e8e4da;
  --jade: #006b5b;
  --electric: #22f7a6;
  --stone: #686f6a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 5px;
}
header {
  height: 94px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid #ffffff20;
}
.brand img {
  width: 215px;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}
.pill {
  border: 1px solid #e8e4da70;
  border-radius: 30px;
  padding: 9px 24px;
}
.menu {
  display: none;
}
.dark {
  background: var(--ink);
  color: var(--ivory);
}
.hero {
  min-height: 720px;
  padding: 68px 6% 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-label,
.art-line,
.hero-bottom,
.product-top,
.steps article > span,
.signature {
  font-size: 12px;
  letter-spacing: 1.8px;
}
.eyebrow {
  color: var(--electric);
  margin: 0 0 28px;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin: 0;
}
h1 {
  font-size: clamp(58px, 6.5vw, 100px);
}
em {
  font-style: normal;
  color: var(--electric);
}
.intro {
  font-size: 18px;
  max-width: 470px;
  color: #d2d3cc;
  margin: 28px 0 32px;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: var(--ivory);
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}
.button:hover {
  filter: brightness(1.15);
}
.electric {
  background: var(--electric);
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #797f78;
  padding-bottom: 4px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse, #006b5b35 0%, transparent 65%);
}
.hero-art img {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 35px 35px #000);
}
.art-line {
  position: absolute;
  color: #a2aaa2;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.art-line.top {
  top: 30px;
}
.art-line.bottom {
  bottom: 62px;
}
.hero-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff25;
  padding-top: 20px;
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  color: #9ba69d;
}
.section {
  padding: 78px 6% 90px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 27px;
  border-bottom: 1px solid #686f6a50;
  margin-bottom: 52px;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8%;
}
h2 {
  font-size: clamp(38px, 4.2vw, 62px);
}
h2 span {
  color: var(--stone);
}
.large {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.split p:not(.large) {
  color: var(--stone);
}
.solutions {
  padding-top: 0;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
}
.solution-grid article {
  padding: 27px 26px 10px;
  border-left: 1px solid #686f6a55;
}
.solution-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}
.number {
  display: block;
  font-size: 14px;
  color: var(--jade);
  margin-bottom: 30px;
}
h3 {
  font-size: 27px;
  letter-spacing: -0.045em;
}
.solution-grid p {
  font-size: 15px;
  color: #545b56;
  min-height: 126px;
}
.solution-grid a {
  font-size: 14px;
  color: var(--jade);
  border-bottom: 1px solid #006b5b55;
}
.method .section-label,
.contact .section-label {
  border-color: #ffffff30;
  color: #a5afa7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 65px;
}
.steps article {
  border-top: 1px solid #ffffff40;
  padding-top: 25px;
}
.steps article > span {
  color: var(--electric);
}
.steps h3 {
  font-size: 24px;
  margin: 22px 0;
}
.steps p {
  color: #b4beb5;
}
.about {
  padding-top: 90px;
  padding-bottom: 110px;
}
.about em {
  color: var(--jade);
}
.signature {
  margin-top: 40px;
  color: var(--jade);
}
.products {
  background: #dcd8ce;
}
.products-heading {
  display: flex;
  gap: 12%;
  align-items: end;
  justify-content: space-between;
}
.products-heading p {
  max-width: 380px;
  margin: 0;
  color: #505952;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}
.product-grid article {
  background: var(--ivory);
  border-top: 3px solid var(--jade);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.product-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--jade);
  letter-spacing: 1px;
  margin-bottom: 35px;
}
.product-grid h3 {
  font-size: 31px;
}
.product-grid p {
  font-size: 16px;
}
.product-grid ul {
  padding-left: 18px;
  font-size: 14px;
  line-height: 2;
}
.product-grid .audience {
  color: #58615b;
  font-size: 14px;
  margin-bottom: 28px;
}
.product-grid .button {
  margin-top: auto;
}
.contact p {
  max-width: 440px;
  color: #b5bfb5 !important;
}
.contact .outline {
  background: transparent;
  border: 1px solid #e8e4da80;
  margin-top: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}
label span {
  color: #9ba69d;
}
input,
select,
textarea {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff50;
  border-radius: 0;
  color: var(--ivory);
  padding: 10px 0;
  resize: vertical;
}
select {
  background: var(--ink);
}
form .button {
  width: 100%;
  margin-top: 8px;
}
#form-status {
  font-size: 14px;
  min-height: 24px;
}
footer {
  background: var(--ink);
  color: #b5bfb5;
  border-top: 1px solid #ffffff25;
  padding: 30px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 25px;
}
footer img {
  width: 170px;
  display: block;
}
dialog {
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  padding: 32px;
  max-width: 480px;
  width: calc(100% - 40px);
}
dialog::backdrop {
  background: #000b;
}
dialog h3 {
  font-size: 25px;
}
@media (min-width: 1600px) {
  header,
  .section,
  .hero,
  footer {
    padding-left: max(6%, calc((100vw - 1400px) / 2));
    padding-right: max(6%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 950px) {
  nav {
    gap: 20px;
  }
  .hero {
    min-height: 620px;
  }
  .hero-art img {
    width: 115%;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .solution-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .solution-grid p {
    min-height: 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
  .product-top {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .product-grid ul {
    grid-column: 2;
    grid-row: 2/4;
  }
  .product-grid .button {
    grid-column: 2;
    grid-row: 4;
  }
  .steps {
    gap: 25px;
  }
  .products-heading {
    gap: 35px;
  }
  .large {
    font-size: 20px;
  }
}
@media (max-width: 650px) {
  header {
    height: 78px;
    padding: 0 6%;
    position: relative;
    z-index: 5;
  }
  .brand img {
    width: 174px;
  }
  .menu {
    display: block;
    background: transparent;
    color: var(--ivory);
    border: 1px solid #ffffff50;
    padding: 7px 13px;
    font-size: 14px;
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #ffffff40;
  }
  nav.open {
    display: flex;
  }
  .pill {
    text-align: center;
  }
  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: clamp(49px, 12vw, 72px);
  }
  .intro {
    font-size: 16px;
    margin: 25px 0;
  }
  .actions {
    gap: 22px;
  }
  .hero-art {
    min-height: 300px;
    margin-top: 24px;
  }
  .hero-art img {
    max-width: 330px;
    width: 100%;
  }
  .art-line.top {
    top: 5px;
  }
  .art-line.bottom {
    bottom: 4px;
  }
  .hero-bottom {
    margin-top: 30px;
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .section {
    padding: 52px 6%;
  }
  .section-label {
    margin-bottom: 34px;
    font-size: 10px;
    letter-spacing: 1px;
    gap: 20px;
  }
  .section-label span:last-child {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h2 {
    font-size: 39px;
  }
  .large {
    font-size: 20px;
  }
  .solutions {
    padding-top: 8px;
  }
  .solution-grid {
    margin-top: 30px;
    gap: 25px 20px;
  }
  .solution-grid article {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid #686f6a55;
  }
  .solution-grid h3 {
    font-size: 23px;
  }
  .solution-grid p {
    font-size: 14px;
  }
  .number {
    margin-bottom: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }
  .steps h3 {
    font-size: 25px;
    margin: 16px 0;
  }
  .steps p {
    margin-bottom: 8px;
  }
  .products-heading {
    display: block;
  }
  .products-heading p {
    margin-top: 25px;
  }
  .product-grid {
    margin-top: 30px;
  }
  .product-grid article {
    display: flex;
    padding: 26px;
  }
  .product-top {
    font-size: 10px;
  }
  .product-grid h3 {
    font-size: 30px;
  }
  .product-grid ul {
    margin: 8px 0;
  }
  .product-grid .button {
    margin-top: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    flex-wrap: wrap;
    font-size: 12px;
  }
  footer a:first-child {
    width: 100%;
  }
  footer img {
    width: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Capa editorial: fotografía, serif en títulos y tarjetas. */

body {
  font-family: "DM Sans", Inter, Arial, sans-serif;
  background: #e8e4da;
}
h1,
h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  letter-spacing: -0.025em;
  font-weight: 400;
}
h1 {
  font-size: clamp(68px, 7.4vw, 108px);
  line-height: 0.96;
}
h2 {
  font-size: clamp(46px, 4.8vw, 70px);
  line-height: 1.02;
}
h3 {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: -0.035em;
  font-weight: 500;
}
em {
  color: #6db9a4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand .brand-symbol {
  width: 36px;
}
.brand img:not(.brand-symbol) {
  width: 195px;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 0;
  height: 95px;
  padding-inline: 5%;
}
header nav {
  font-size: 14px;
}
.hero {
  padding-top: 170px;
  min-height: 820px;
  padding-inline: 6%;
  background:
    linear-gradient(
      90deg,
      rgba(1, 8, 6, 0.88) 0%,
      rgba(1, 8, 6, 0.42) 45%,
      rgba(1, 8, 6, 0.06) 80%
    ),
    url("../assets/selva-1536.webp") center 55% / cover no-repeat;
  grid-template-columns: 1.08fr 1fr;
}
.hero-copy {
  align-self: center;
}
.hero .eyebrow {
  color: #e8e4da;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 32px;
}
.intro {
  max-width: 440px;
  font-size: 17px;
  color: #e8e4da;
}
.hero-art {
  background: none;
}
.hero-art img {
  width: 93%;
  max-width: 520px;
  transform: rotate(-5deg);
  filter: drop-shadow(0 18px 16px #000a);
}
.hero-bottom {
  border: 0;
  padding-top: 15px;
  margin-top: 60px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #e8e4da;
}
.progress-line {
  display: inline-block;
  vertical-align: middle;
  background: #71bda6;
  width: 80px;
  height: 1px;
  margin: 0 15px;
}
.button {
  border-radius: 30px;
  padding: 13px 23px;
}
.ivory {
  background: #e8e4da;
  color: #080b0b;
}
.ghost {
  background: transparent;
  color: #e8e4da;
  border: 1px solid #e8e4da88;
}
.hero .actions {
  gap: 14px;
}
.section-label {
  border: 0;
  margin-bottom: 25px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 2px;
}
.section-label > span:last-child {
  display: none;
}
.section {
  padding: 70px 6%;
}
.purpose {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.purpose .section-label {
  position: absolute;
  left: 6%;
  top: 50px;
}
.purpose .split {
  display: block;
  padding-top: 25px;
}
.purpose .split h2 {
  margin-bottom: 25px;
}
.purpose .large {
  font-size: 18px;
  max-width: 420px;
}
.purpose .split p:not(.large) {
  font-size: 16px;
  max-width: 420px;
}
.purpose em,
.about em {
  color: #006b5b;
}
.manifest-image {
  position: relative;
  margin-bottom: 30px;
}
.manifest-image > img:first-child {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.manifest-image .stone-detail {
  position: absolute;
  right: -10px;
  bottom: -35px;
  border: 7px solid #e8e4da;
  width: 140px;
  height: 155px;
  object-fit: cover;
}
.solutions {
  padding-top: 60px;
  border-top: 1px solid #080b0b12;
}
.solutions h2 span {
  color: #080b0b;
}
.solution-grid {
  gap: 16px;
  margin-top: 35px;
}
.solution-grid article,
.solution-grid article:first-child {
  border: 1px solid #ffffff30;
  padding: 27px 23px;
  background: #f4f1e980;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
}
.service-icon {
  width: 43px;
  height: 43px;
  color: #006b5b;
  margin-bottom: 22px;
}
.solution-grid h3 {
  font-size: 24px;
  line-height: 1.15;
}
.solution-grid p {
  font-size: 15px;
  min-height: 0;
}
.solution-grid a {
  align-self: start;
  margin-top: auto;
}
.method {
  background:
    linear-gradient(90deg, #020a08f5, #020a08da),
    url("../assets/selva-1536.webp") center/cover;
}
.method-composition {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 65px;
  align-items: center;
}
.method-intro {
  max-width: 380px;
  color: #c1cfc6;
  font-size: 17px;
  margin: 27px 0;
}
.method h2 {
  font-size: 58px;
}
.flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  align-items: center;
  padding: 35px 0;
}
.flow-column {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.flow-column span {
  border: 1px solid #4b8f7c;
  border-radius: 6px;
  font-size: 13px;
  padding: 17px;
  text-align: center;
  background: #041612b0;
}
.flow-core {
  position: relative;
  border: 1px solid #60b79e;
  border-radius: 16px;
  padding: 24px 8px;
  box-shadow: 0 0 40px #006b5b66;
}
.flow-core:before,
.flow-core:after {
  content: "";
  position: absolute;
  width: 26px;
  height: 1px;
  background: #60b79e;
  top: 50%;
}
.flow-core:before {
  right: 100%;
}
.flow-core:after {
  left: 100%;
}
.flow-core img {
  width: 100%;
  display: block;
}
.flow p {
  grid-column: 1/-1;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8db5a6;
  text-align: center;
}
.steps {
  margin-top: 42px;
  gap: 35px;
}
.steps h3 {
  font-size: 21px;
}
.steps article > span {
  color: #8fc5b3;
}
.steps p {
  font-size: 15px;
}
.about .split {
  grid-template-columns: 1fr 1.1fr;
  gap: 8%;
}
.about .large {
  font-size: 20px;
}
.about-picture {
  position: relative;
  height: 220px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 3px;
}
.about-picture > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-picture .about-mark {
  position: absolute;
  width: 160px;
  left: calc(50% - 80px);
  top: 40px;
  filter: drop-shadow(0 12px 15px #000);
}
.products {
  background: #e1ddd2;
}
.products-heading h2 span {
  color: #006b5b;
}
.product-grid {
  gap: 22px;
}
.product-grid article {
  padding: 0 25px 25px;
  border-top: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f2eee4;
}
.product-visual {
  position: relative;
  margin: 0 -25px 24px;
  height: 210px;
  background: #080b0b;
  overflow: hidden;
}
.product-visual > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hotel-visual img {
  object-position: top;
  opacity: 0.95;
}
.product-visual:not(.hotel-visual) > img {
  filter: brightness(0.45);
}
.product-visual svg {
  position: absolute;
  top: 70px;
  left: calc(50% - 35px);
  width: 70px;
  height: 70px;
  color: #e8e4da;
}
.product-grid h3 {
  font-size: 27px;
}
.product-top {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.product-grid .button {
  align-self: start;
  margin-top: auto;
  width: 100%;
  background: #080b0b;
}
.contact {
  background:
    linear-gradient(90deg, #020a08f0, #020a08ee),
    url("../assets/selva-1536.webp") center/cover;
}
.contact em {
  color: #8fc5b3;
}
footer {
  padding-block: 30px;
}
.contact .electric {
  background: #e8e4da;
  color: #080b0b;
}
@media (max-width: 950px) {
  .hero {
    min-height: 740px;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .purpose {
    gap: 30px;
  }
  .manifest-image > img:first-child {
    height: 290px;
  }
  .method-composition {
    gap: 30px;
  }
  .method h2 {
    font-size: 46px;
  }
  .flow {
    gap: 15px;
  }
  .flow-column span {
    padding: 13px 8px;
  }
  .product-grid article {
    display: flex;
  }
  .product-visual {
    width: calc(100% + 50px);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid h3 {
    font-size: 23px;
  }
  .product-grid ul {
    font-size: 13px;
  }
  .products-heading {
    gap: 35px;
  }
}
@media (max-width: 650px) {
  header {
    height: 76px;
    position: absolute;
    padding-inline: 6%;
    background: linear-gradient(#0007, transparent);
  }
  .brand .brand-symbol {
    width: 29px;
  }
  .brand img:not(.brand-symbol) {
    width: 158px;
  }
  .menu {
    border: 0;
    padding: 6px;
    font-size: 14px;
  }
  nav {
    top: 76px;
    background: #080b0b;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 760px;
    padding: 100px 7% 25px;
    background:
      linear-gradient(0deg, #020a08 0%, #020a08a0 48%, #020a0810 100%),
      url("../assets/selva-768.webp") 63% top/auto 570px no-repeat;
  }
  .hero-art {
    order: 0;
    min-height: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    margin: 0 0 15px;
  }
  .hero-art img {
    width: 245px;
    max-width: 75%;
    transform: rotate(-5deg);
  }
  .hero-copy {
    order: 1;
    align-self: stretch;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: clamp(49px, 13.3vw, 65px);
    line-height: 0.97;
  }
  .intro {
    font-size: 15px;
    line-height: 1.55;
    margin: 20px 0;
  }
  .hero .actions {
    gap: 12px;
  }
  .hero .button {
    font-size: 12px;
    padding: 12px 16px;
  }
  .hero-bottom {
    order: 2;
    align-self: stretch;
    margin-top: 27px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .progress-line {
    width: 40px;
    margin-inline: 10px;
  }
  .section {
    padding: 48px 7%;
  }
  .purpose {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .purpose .section-label {
    position: static;
    margin-bottom: -10px;
  }
  .purpose .split {
    padding: 0;
  }
  .purpose h2 {
    font-size: 48px;
  }
  .purpose .large {
    font-size: 17px;
  }
  .purpose .split p:not(.large) {
    font-size: 15px;
  }
  .manifest-image {
    margin-bottom: 20px;
  }
  .manifest-image > img:first-child {
    height: 205px;
  }
  .manifest-image .stone-detail {
    width: 95px;
    height: 115px;
    bottom: -25px;
    right: -5px;
    border-width: 5px;
  }
  .solutions h2 {
    font-size: 42px;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .solution-grid article,
  .solution-grid article:first-child {
    padding: 20px 15px;
    min-height: 285px;
  }
  .service-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 17px;
  }
  .solution-grid h3 {
    font-size: 20px;
  }
  .solution-grid p {
    font-size: 14px;
    line-height: 1.55;
  }
  .solution-grid a {
    font-size: 12px;
  }
  .section-label {
    font-size: 10px;
  }
  .method-composition {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .method h2 {
    font-size: 45px;
  }
  .method-intro {
    font-size: 16px;
  }
  .flow {
    gap: 15px;
    padding: 10px 0;
  }
  .flow-column span {
    font-size: 11px;
    padding: 13px 7px;
  }
  .flow-core {
    padding: 19px 6px;
  }
  .flow p {
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  .steps {
    gap: 18px;
    margin-top: 25px;
  }
  .steps h3 {
    font-size: 21px;
  }
  .steps p {
    font-size: 14px;
  }
  .about .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about h2 {
    font-size: 43px;
  }
  .about .large {
    font-size: 18px;
  }
  .about-picture {
    height: 210px;
  }
  .products-heading h2 {
    font-size: 43px;
  }
  .products-heading p {
    font-size: 16px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid h3 {
    font-size: 28px;
  }
  .product-visual {
    height: 215px;
  }
  .product-grid ul {
    font-size: 14px;
  }
  .product-grid .button {
    margin-top: 5px;
  }
  .contact h2 {
    font-size: 45px;
  }
  .contact .split {
    gap: 35px;
  }
  .contact p {
    font-size: 16px;
  }
  footer {
    padding: 28px 7%;
  }
  .contact label {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Keep the mobile hero photograph behind the entire composition. */
@media (max-width: 650px) {
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(2, 10, 8, 0.12) 0%,
        rgba(2, 10, 8, 0.2) 25%,
        rgba(2, 10, 8, 0.66) 58%,
        rgba(2, 10, 8, 0.95) 100%
      ),
      url("../assets/selva-768.webp");
    background-position:
      center,
      63% top;
    background-size:
      cover,
      auto 100%;
    background-repeat: no-repeat;
    min-height: 0;
    padding-bottom: 28px;
  }
  .hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
  }
  .hero .actions .button {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    min-height: 44px;
  }
  .hero-bottom {
    margin-top: 32px;
  }
}

/* En el móvil, la foto de fondo a la mitad de tamaño (62 KB en vez de 173). */
@media (max-width: 650px) {
  .method {
    background-image:
      linear-gradient(90deg, #020a08f5, #020a08da),
      url("../assets/selva-768.webp");
  }
  .contact {
    background-image:
      linear-gradient(90deg, #020a08f0, #020a08ee),
      url("../assets/selva-768.webp");
  }
}

/* --- Lo propio de waaylabs.com (no está en el machote) --- */

/* Las imágenes llevan width/height para no mover la página al cargar; la altura la manda el CSS. */
img {
  height: auto;
}

/* Selector de idioma: / en español, /en/ en inglés. */
.idioma {
  display: flex;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 1px;
}
.idioma a {
  opacity: 0.6;
  padding: 4px 0;
}
.idioma a[aria-current="page"] {
  opacity: 1;
  border-bottom: 1px solid var(--electric);
}

/* Dos WhatsApp (México y España) bajo el texto de contacto. */
.whatsapp {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Formulario: trampa para bots, errores por campo y texto legal. */
.trampa {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error {
  display: block;
  min-height: 1.2em;
  color: #ff8a80;
  font-size: 13px;
}
.legal {
  font-size: 13px;
  opacity: 0.75;
}
.legal a {
  text-decoration: underline;
}
#contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Páginas sueltas (aviso de privacidad): cabecera oscura sobre fondo claro. */
.pagina-simple header {
  position: static;
  background: var(--ink);
}
.pagina-simple main {
  max-width: 820px;
}
.pagina-simple h1 {
  font-size: clamp(44px, 6vw, 72px);
  margin-bottom: 30px;
}
.pagina-simple h2 {
  font-size: 30px;
  margin: 36px 0 10px;
}
.pagina-simple main a:not(.button) {
  text-decoration: underline;
}
.pagina-simple .eyebrow {
  color: var(--jade);
}

/* 404: a pantalla completa sobre la foto. */
.pagina-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(1, 8, 6, 0.9), rgba(1, 8, 6, 0.45)),
    url("../assets/selva-1536.webp") center / cover;
}

/* El menú cae sobre la parte clara de la foto: una sombra suave detrás lo hace legible. */
header {
  background: linear-gradient(rgba(1, 8, 6, 0.55), transparent);
}
.pagina-simple header {
  background: var(--ink);
}

/* Tarjeta de hoteles: la demo se prueba ya y pedirla queda como segunda opción. */
.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-grid .product-actions .button {
  margin-top: 0;
}
.product-grid .button.secundario {
  background: transparent;
  color: #080b0b;
  border-color: #080b0b;
}
.demo-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #686f6a;
}
.demo-note a {
  color: #006b5b;
  text-decoration: underline;
}

/* Portada de agentes: tarjetas de ancho fijo (no 4 columnas) para que una sola demo no quede estrecha. */
.product-grid.una-demo {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 440px));
}
.product-grid.una-demo article {
  padding-top: 25px;
  display: flex;
  flex-direction: column;
}
