@font-face {
  font-family: Poppins;
  src: url("poppins-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #022739;
  --lime: #9bf000;
  --gray: #6a7077;
  --white: #fff;
  --rule: #dce5e7;
  --mist: #f4f8f7;
  --heading: Poppins, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font: 600 1rem/1.08 var(--heading); }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid #24744e; outline-offset: 4px; }
.sr-only, .choices input, .campaign-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip { position: absolute; z-index: 3; top: 10px; left: 15px; padding: .6rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 6rem, 79rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  min-height: 96px;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
}

.brand { display: inline-block; justify-self: start; }
.brand img { object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); }
.main-nav a, .footer-links a { font-size: .9rem; text-decoration: none; }
.main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .4em; }
.header-cta { justify-self: end; }

.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font: 600 .875rem/1.4 var(--heading);
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.button-lime { background: var(--lime); color: var(--navy); }
.button-lime:hover { background: #b0fa32; }
.button-outline { border-color: var(--navy); background: var(--white); }
.button-outline:hover { background: var(--mist); }
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: 600 .875rem/1.4 var(--heading);
  text-underline-offset: .35em;
  text-decoration: underline;
  text-decoration-color: #81c900;
  text-decoration-thickness: 2px;
}

.text-link:hover { text-decoration-color: currentColor; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(2.3rem, 5vw, 5.1rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.4vw, 4.5rem) clamp(2.8rem, 5vw, 5rem);
}

.eyebrow {
  display: flex;
  gap: .65rem;
  align-items: center;
  font: 600 .76rem/1.5 var(--heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signal-dot { flex: none; width: .52rem; height: .52rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #9bf02631; }
.hero h1 { font-size: clamp(3.5rem, 6.55vw, 6.2rem); letter-spacing: -.071em; line-height: .99; margin-top: 1.35rem; }
.marked { box-shadow: inset 0 -.135em var(--lime); }
.hero-lead { max-width: 30rem; margin-top: 1.6rem; color: var(--gray); font-size: clamp(1.03rem, 1.25vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.45rem; margin-top: 1.7rem; }

.hero-scene { min-width: 0; }
.scene-frame {
  aspect-ratio: 1.055;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  border-radius: .9rem;
}

.scene-image, .scene-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-image { object-fit: cover; object-position: 50% 65%; }
.scene-wash { background: linear-gradient(155deg, #031c2a72, transparent 42%), linear-gradient(0deg, #0319238c, transparent 47%); }
.scene-rings {
  position: absolute;
  width: 43%;
  aspect-ratio: 1;
  top: 11%;
  right: 3%;
  border-radius: 50%;
  border: 1px solid #9bf00065;
  box-shadow: 0 0 0 1.2rem #9bf00016, 0 0 0 2.4rem #9bf00015, 0 0 0 3.6rem #9bf00012;
  pointer-events: none;
}

.scene-live {
  position: absolute;
  top: 1.35rem;
  left: 1.4rem;
  display: flex;
  gap: .52rem;
  align-items: center;
  color: var(--white);
  background: #052637d9;
  border: 1px solid #ffffff49;
  border-radius: 99px;
  padding: .35rem .72rem;
  font-size: .77rem;
}

.scene-live span, .preview-label span { width: .42rem; height: .42rem; border-radius: 50%; background: var(--lime); }
.chat {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2.35rem);
  left: clamp(1rem, 3vw, 2.35rem);
  display: flex;
  align-items: center;
  gap: .82rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .79rem 1.15rem .79rem .82rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 .4rem 1.7rem #01223060;
  border-radius: .65rem .65rem .65rem .2rem;
}

.chat-icon { display: grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--lime); }
.chat-icon svg { width: 1.35rem; height: 1.35rem; }
.chat-label { display: block; color: var(--gray); font-size: .78rem; line-height: 1.25; }
.chat strong { display: block; font: 600 clamp(.9rem, 1.65vw, 1.23rem)/1.3 var(--heading); }
.hero-scene figcaption { display: flex; align-items: center; gap: .6rem; color: var(--gray); font-size: .83rem; padding-top: .65rem; }
.hero-scene figcaption span { width: 1.55rem; height: 1px; background: #75b900; }

.demo-section { padding-block: clamp(3.5rem, 7vw, 6.4rem); border-block: 1px solid var(--rule); background: var(--mist); }
.section-intro { display: grid; grid-template-columns: 1.25fr minmax(13rem, .55fr); gap: 1.6rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-intro h2, .production h2, .project h2 { font-size: clamp(2.12rem, 4.2vw, 4.12rem); letter-spacing: -.055em; margin-top: .6rem; }
.section-intro > p, .production-intro > p:last-child { max-width: 32rem; color: var(--gray); }

.simulator {
  --stage: #092f3b;
  --stage-grid: #e5f7ee18;
  --cover: #1d4b37;
  --campaign: #f0fbd9;
  --portal-accent: var(--lime);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.13fr);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: .9rem;
  overflow: hidden;
}

.simulator[data-scene="hotel"] { --stage: #13394c; --stage-grid: #cfe6e920; --cover: #17435b; --campaign: #eaf4fb; --portal-accent: #c2e6f3; }
.simulator[data-scene="balneario"] { --stage: #1d5249; --stage-grid: #e0ffe721; --cover: #1b7565; --campaign: #e8f8ee; --portal-accent: #bdebd2; }
.demo-controls { padding: clamp(1.7rem, 4.2vw, 4.1rem); align-self: center; display: grid; gap: 2.25rem; }
.demo-controls legend { font: 600 clamp(.99rem, 1.5vw, 1.2rem)/1.35 var(--heading); margin-bottom: .85rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { cursor: pointer; }
.choices label span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid #aebec0;
  border-radius: .4rem;
  background: var(--white);
  padding: 0 .67rem;
  font-size: .875rem;
}

.choices label:hover span { border-color: var(--navy); }
.choices input:checked + span { background: #effbd9; border-color: #547b11; box-shadow: inset 0 0 0 1px #547b11; }
.choices input:focus-visible + span, .campaign-toggle input:focus-visible + .switch { outline: 2px solid #24744e; outline-offset: 3px; }

.campaign-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  cursor: pointer;
}
.campaign-toggle strong { display: block; font: 600 .94rem/1.35 var(--heading); }
.campaign-toggle small { display: block; margin-top: .25rem; color: var(--gray); font-size: .86rem; }
.switch { flex: none; width: 2.85rem; height: 1.7rem; border-radius: 99px; background: #e0e7e9; border: 1px solid #aebdc1; padding: .18rem; }
.switch::before { content: ""; display: block; height: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); transition: transform .2s ease; }
.campaign-toggle input:checked + .switch { background: var(--lime); border-color: var(--navy); }
.campaign-toggle input:checked + .switch::before { transform: translateX(1.1rem); }
.editor-note { font-size: .85rem; color: var(--gray); }

.demo-preview {
  padding: 1.2rem 1rem 1.75rem;
  min-height: 32.6rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .75rem;
  background-color: var(--stage);
  background-image: radial-gradient(ellipse at 51% 55%, #a3e28c37, transparent 63%), radial-gradient(circle at center, var(--stage-grid) 1px, transparent 1px);
  background-size: auto, 16px 16px;
  transition: background-color .2s ease;
}

.preview-label { display: flex; align-items: center; gap: .5rem; font-size: .79rem; color: var(--white); }
.phone {
  width: min(100%, 17.4rem);
  background: var(--white);
  border: 6px solid #071f2a;
  border-radius: 1.78rem;
  box-shadow: 0 0 0 1px #e0fff65c, 0 .65rem 1.6rem #0019275e;
  min-height: 26.1rem;
  overflow: hidden;
}

.phone-top { display: flex; justify-content: space-between; align-items: center; height: 2.05rem; padding: 0 .8rem; background: #071f2a; color: var(--white); font-size: .69rem; }
.phone-top i { width: 2.7rem; height: .65rem; border-radius: 99px; background: #020d14; }
.phone-cover {
  min-height: 4.8rem;
  display: flex;
  align-items: flex-end;
  padding: .55rem .8rem;
  color: var(--white);
  background: linear-gradient(28deg, #041622, transparent 100%), var(--cover);
  font: 600 1.03rem/1.2 var(--heading);
}

[data-scene="festival"] .phone-cover { background: linear-gradient(0deg, #031723d6 0%, transparent 100%), url("festival.webp") 50% 61% / cover; }
[data-scene="hotel"] .phone-cover { background: linear-gradient(25deg, #082e43, #0d3b4fa1), repeating-linear-gradient(128deg, #17435b 0 14px, #32647e 14px 15px); }
[data-scene="balneario"] .phone-cover { background: linear-gradient(25deg, #0b473ede, #1b75654d), repeating-radial-gradient(ellipse at 85% 120%, #1b7565 0 14px, #91ccb7 15px 16px); }
.phone-inner { padding: .83rem .78rem; }
.phone h3 { font-size: 1.28rem; line-height: 1.13; letter-spacing: -.035em; }
.phone h3 + p { font-size: .79rem; line-height: 1.42; margin: .35rem 0 .65rem; color: #4e5960; }
.phone-kicker { font-size: .73rem; margin-bottom: .22rem; color: #52646b; }
.phone-campaign { padding: .48rem .54rem; margin-bottom: .55rem; border-radius: .28rem; background: var(--campaign); }
.phone-campaign span, .phone-campaign strong { display: block; font-size: .73rem; line-height: 1.3; }
.phone-campaign strong { font-family: var(--heading); font-weight: 600; margin-top: .12rem; }
.phone-button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .4rem .5rem;
  background: var(--portal-accent);
  border: 1px solid #02273930;
  border-radius: .4rem;
  font: 600 .73rem/1.25 var(--heading);
}
.phone-button:hover { filter: brightness(.95); }
.portal-amount { display: flex; justify-content: space-between; align-items: center; gap: .4rem; margin-bottom: .55rem; font-size: .75rem; }
.portal-amount strong { font-family: var(--heading); font-weight: 600; }
.portal-step { padding-top: .4rem; }
.portal-step label { display: block; margin-bottom: .24rem; font-size: .77rem; }
.portal-step input { width: 100%; border: 1px solid #aebec0; border-radius: .3rem; min-height: 44px; padding: .3rem .5rem; margin-bottom: .45rem; text-transform: uppercase; }
.portal-error { margin-bottom: .35rem; color: #89223c; font-size: .75rem; line-height: 1.3; }
.phone-back { display: block; min-height: 44px; padding: .3rem .3rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .18em; font-size: .8rem; }
a.phone-back { display: flex; align-items: center; }
.connection-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: .7rem; background: var(--portal-accent); border-radius: 50%; }

.production {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: start;
  gap: 2.5rem clamp(2rem, 8vw, 8rem);
  padding-block: clamp(3.75rem, 8vw, 7.4rem);
}
.production-intro > p:last-child { margin-top: 1rem; }
.production-list { border-top: 1px solid var(--rule); }
.production-list > div { border-bottom: 1px solid var(--rule); padding: 1.25rem 0 1.35rem 1.6rem; position: relative; }
.production-list > div::before { content: ""; position: absolute; left: 0; top: 1.42rem; width: .53rem; height: 1.18rem; background: var(--lime); transform: skewX(-17deg); }
.production-list dt { font: 600 clamp(1.1rem, 2vw, 1.52rem)/1.3 var(--heading); letter-spacing: -.025em; }
.production-list dd { color: var(--gray); margin-top: .36rem; }

.project {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: 2rem clamp(2rem, 6vw, 5.8rem);
  overflow: hidden;
  border-radius: .9rem;
  color: var(--white);
  background: var(--navy);
  padding: clamp(1.6rem, 5vw, 4.5rem);
}

.project::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 29rem;
  aspect-ratio: 1;
  left: -15rem;
  bottom: -24rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #9bf00070, 0 0 0 2.1rem #9bf0001e, 0 0 0 4.2rem #9bf00015, 0 0 0 6.3rem #9bf00010;
}
.project h2 { max-width: 35rem; }
.project-copy > p:last-child { max-width: 30rem; margin-top: .9rem; color: #d6e3e7; }
.project :focus-visible { outline-color: var(--lime); }
.project-form { display: grid; gap: .4rem; }
.project-form label { font-size: .9rem; }
.project-form select, .project-form textarea {
  width: 100%;
  background-color: var(--white);
  border: 1px solid #c7d5db;
  border-radius: .4rem;
  min-height: 49px;
  color: var(--navy);
  padding: .55rem .75rem;
}

.project-form select {
  appearance: none;
  margin-bottom: .5rem;
  padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23022739' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right .75rem center;
  background-repeat: no-repeat;
}

.project-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.button-on-dark { border-color: #a6bdc6; background: var(--navy); color: var(--white); }
.button-on-dark:hover { background: #164157; }
.project-summary { margin-top: .7rem; }
.project-summary textarea { display: block; margin-top: .2rem; resize: vertical; font-size: .9rem; }
.project-summary .text-link { color: var(--white); }
#copy-status { font-size: .85rem; color: #d6e3e7; }
.site-footer { min-height: 9.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.4rem; padding-block: 1.1rem; }
.site-footer p { color: var(--gray); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }

@media (max-width: 66rem) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
  .demo-controls { padding: 1.9rem; }
  .header-inner { min-height: 84px; }
  .site-header .brand img { height: 84px; width: 192px; }
}

@media (max-width: 49rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 81px; gap: .35rem; }
  .site-header .brand img { width: 155px; height: auto; margin-left: -.8rem; }
  .main-nav { display: none; }
  .header-cta { min-height: 43px; padding: .45rem .72rem; font-size: .77rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2.6rem; gap: 2.1rem; }
  .hero h1 { font-size: clamp(3.15rem, 10vw, 5.35rem); margin-top: .92rem; }
  .hero-lead { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.18rem; gap: .55rem 1.1rem; }
  .scene-frame { aspect-ratio: 1.18; }
  .scene-live { top: .85rem; left: .85rem; }
  .section-intro, .production, .project { grid-template-columns: 1fr; }
  .section-intro { gap: .8rem; margin-bottom: 1.45rem; }
  .simulator { grid-template-columns: 1fr; }
  .demo-controls { padding: 1.35rem; gap: 1.5rem; }
  .demo-preview { min-height: 0; padding-block: 1.15rem 1.5rem; }
  .production { gap: 1.65rem; }
  .site-footer { justify-content: flex-start; gap: .25rem 1.25rem; padding-bottom: 1.75rem; }
  .site-footer .brand img { width: 156px; height: auto; margin-left: -.75rem; }
  .footer-links { width: 100%; }
}

@media (max-width: 25rem) {
  .hero-actions .button { padding-inline: .7rem; font-size: .81rem; }
  .hero-actions .text-link { font-size: .81rem; }
  .demo-controls { padding-inline: 1rem; }
  .choices label span { padding-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
