@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("../fonts/unbounded-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --orange: #FF7A1A;
  --orange-light: #FFE4CF;
  --green: #0E3B2C;
  --green-mid: #1F6B4A;
  --green-soft: #2E8B5F;
  --mint: #EAF3EC;
  --ink: #10201A;
  --muted: #5B6A62;
  --line: #DCE7DF;

  --display: "Unbounded", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--green); }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: .6rem 1rem; border-radius: 8px; background: var(--green); color: #fff; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* botones */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1.05rem/1.2 var(--body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: #0a2c21; box-shadow: 0 12px 24px -10px rgba(14,59,44,.6); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { box-shadow: 0 12px 24px -10px rgba(14,59,44,.35); }
.btn-orange { background: var(--orange); color: var(--green); }
.btn-orange:hover { background: #ff9447; }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-sm { padding: .6rem 1.15rem; font-size: .98rem; }
.btn-xl { padding: 1.2rem 2rem; font-size: 1.15rem; }

/* logo: una m de dos arcos que acaba en punto */

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--green); text-decoration: none; }
.logo-mark svg { display: block; width: 40px; height: 40px; }
.lm-bg { fill: var(--green); }
.lm-m { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lm-dot { fill: var(--orange); transform-origin: 29.5px 29px; transition: transform .35s var(--ease); }
.logo:hover .lm-dot { transform: translateY(-5px) scale(1.15); }
.logo-word { font: 800 1.25rem/1 var(--display); letter-spacing: -.045em; }
.logo-word b { font-weight: 500; }
.footer .lm-bg { fill: #fff; }
.footer .lm-m { stroke: var(--green); }

/* cabecera */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--orange);
  color: var(--green);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(255,214,170,.75), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(232,90,0,.55), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: .18; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.15 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar { position: relative; z-index: 20; display: flex; align-items: center; gap: 2rem; height: 88px; }
.links { display: flex; gap: 2rem; margin-left: auto; }
.links a { position: relative; font-weight: 600; text-decoration: none; }
.links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.links a:hover::after { transform: scaleX(1); }
.burger { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100svh - 88px);
  max-height: 960px;
  padding-bottom: 4rem;
}
.hero-pre { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-weight: 700; }
.hero-pre::before { content: ""; flex: none; width: 34px; height: 2px; background: currentColor; }

.hero-title { font-size: clamp(2rem, 3.75vw, 3.55rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; white-space: nowrap; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }

.rot-word { display: inline-block; color: #fff; transition: transform .4s var(--ease), opacity .4s, filter .4s; }
.rot-word.leaving { transform: translateY(-55%); opacity: 0; filter: blur(6px); }
.rot-word.entering { transform: translateY(55%); opacity: 0; filter: blur(6px); transition: none; }

.hero-sub { max-width: 30em; margin: 1.75rem 0 2.2rem; color: #2b2015; font-size: clamp(1.05rem, 1.4vw, 1.3rem); opacity: 0; animation: fade .8s .45s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; opacity: 0; animation: fade .8s .55s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* portátil y móvil de la cabecera */

.stage { position: relative; perspective: 1600px; opacity: 0; animation: stage-in 1.2s .25s var(--ease) forwards; }
@keyframes stage-in { from { opacity: 0; transform: translateX(60px) scale(.96); } to { opacity: 1; transform: none; } }

.stage-inner {
  position: relative;
  aspect-ratio: 1.18;
  transform: rotateY(calc(-9deg + var(--mx, 0) * 6deg)) rotateX(calc(4deg + var(--my, 0) * -5deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}

.laptop { position: absolute; top: 6%; left: 0; width: 88%; }
.laptop-screen {
  padding: 10px 10px 12px;
  border-radius: 16px 16px 6px 6px;
  background: #0d1512;
  box-shadow: 0 50px 80px -30px rgba(70,25,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.laptop .screen { aspect-ratio: 16 / 10; border-radius: 0 0 6px 6px; }
.laptop-base {
  position: relative; height: 16px; margin: 0 -5%;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(#cfd6d2, #9aa59f);
  box-shadow: 0 30px 40px -20px rgba(70,25,0,.5);
}
.laptop-base::before { content: ""; position: absolute; top: 0; left: 42%; right: 42%; height: 6px; border-radius: 0 0 8px 8px; background: #8a958f; }

.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px 8px 0 0; background: #1f2a26; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c941; }
.url { flex: 1; max-width: 55%; margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #0f1714; color: #9fb3aa; font-size: 11px; transition: opacity .3s; }

.phone {
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 34px;
  background: #0d1512;
  box-shadow: 0 40px 70px -20px rgba(70,25,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.phone { position: absolute; right: 0; bottom: 2%; width: 29%; transform: translateZ(60px); }
.phone .screen { height: 100%; border-radius: 26px; }
.phone::before {
  content: ""; position: absolute; z-index: 5; top: 15px; left: 35%; right: 35%; height: 16px;
  border-radius: 999px; background: #0d1512;
}

.chip {
  position: absolute; z-index: 6;
  padding: .7rem 1rem; border-radius: 16px;
  background: #fff; color: var(--ink);
  font-size: .9rem; line-height: 1.3;
  box-shadow: 0 20px 40px -16px rgba(70,25,0,.45);
  transform: translateZ(90px);
  animation: float 6s ease-in-out infinite;
}
.chip-msg { top: -2%; right: 18%; display: flex; align-items: center; gap: .65rem; max-width: 260px; animation-delay: -3s; }
.chip-wa {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 4a8 8 0 00-6.9 12.1L4 20l4-1.1A8 8 0 1012 4z'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.chip-text { color: var(--muted); transition: opacity .3s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* mini webs de ejemplo (se generan en js/sites.js) */

.screen { position: relative; overflow: hidden; background: #fff; container-type: inline-size; }

.site {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 2.1cqi;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.site.active { opacity: 1; transform: none; }

.s-nav { display: flex; align-items: center; justify-content: space-between; padding: 2.2em 3.4em; }
.s-logo { display: flex; align-items: center; gap: .45em; font: 800 1.35em var(--font, var(--display)); letter-spacing: -.02em; }
.s-logo i { width: 1em; height: 1em; border-radius: 50%; background: var(--ac); }
.s-links { display: flex; gap: 2em; font-size: .95em; font-weight: 600; opacity: .75; }
.s-burger { display: none; position: relative; width: 1.6em; height: 1em; border-block: .2em solid currentColor; }
.s-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .2em; margin-top: -.1em; background: currentColor; }

.s-hero { flex: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2em; padding: 0 3.4em; }
.s-kicker { margin-bottom: .9em; color: var(--ac2, var(--ac)); font-size: .95em; font-weight: 600; }
.s-title { margin-bottom: 1.1em; font: 800 3.2em/1.02 var(--font, var(--display)); letter-spacing: -.035em; }
.s-btn, .s-btn2 { display: inline-block; padding: .85em 1.5em; border-radius: var(--radius, 999px); font-weight: 700; }
.s-btn { background: var(--ac); color: var(--btn-fg, #fff); }
.s-btn2 { margin: .5em 0 0 .6em; border: .12em solid currentColor; opacity: .8; }
.s-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.s-art::before { content: ""; position: absolute; inset: 4%; border-radius: var(--blob, 50%); background: var(--ac); opacity: var(--art-op, .2); }
.s-art svg { position: relative; width: 74%; height: auto; filter: drop-shadow(0 1.5em 1.5em rgba(0,0,0,.18)); }

.s-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; padding: 2em 3.4em 2.6em; }
.s-info span { padding: 1.1em 1.3em; border-radius: 1em; background: var(--card); font-size: .9em; font-weight: 600; line-height: 1.3; }
.s-info b { display: block; margin-bottom: .2em; font-size: .85em; font-weight: 600; opacity: .6; }

/* versión móvil de las mini webs */
.screen.is-phone .site { font-size: 4.6cqi; }
.is-phone .s-nav { padding: 3.6em 1.4em 1em; }
.is-phone .s-links, .is-phone .s-btn2 { display: none; }
.is-phone .s-burger { display: block; }
.is-phone .s-hero { grid-template-columns: 1fr; align-content: start; gap: .5em; padding: 0 1.4em; }
.is-phone .s-art { order: -1; width: 78%; margin: 0 auto; }
.is-phone .s-title { margin-bottom: .8em; font-size: 2.15em; }
.is-phone .s-btn { display: block; text-align: center; }
.is-phone .s-info { grid-template-columns: 1fr; gap: .6em; padding: 1.2em 1.4em 1.6em; }
.is-phone .s-info span:nth-child(3) { display: none; }

/* proyectos */

.portfolio { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--green); color: #fff; }
.portfolio h2 { color: #fff; }
.portfolio-head, .process-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3.5rem; }
.portfolio-head p { max-width: 32em; color: #b9d3c4; font-size: 1.1rem; }

.showcase {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.4fr);
  grid-template-areas: "tabs stage" "note stage";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.show-tabs { grid-area: tabs; display: grid; border-top: 1px solid rgba(255,255,255,.15); }
.show-tabs button {
  position: relative;
  display: grid; gap: .1rem;
  padding: 1rem 0 1rem 1.2rem;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.15);
  background: none; color: rgba(255,255,255,.45);
  font: inherit; text-align: left; cursor: pointer;
  transition: color .2s;
}
.show-tabs button::before {
  content: ""; position: absolute; left: 0; top: 1.1rem; bottom: 1.1rem; width: 4px;
  border-radius: 2px; background: var(--orange);
  transform: scaleY(0); transition: transform .3s var(--ease);
}
.show-tabs button:hover { color: rgba(255,255,255,.8); }
.show-tabs button[aria-selected="true"] { color: #fff; }
.show-tabs button[aria-selected="true"]::before { transform: none; }
.show-tabs button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.tab-name { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; }
.tab-sector { font-size: .92rem; }
.show-tabs button[aria-selected="true"] .tab-sector { color: var(--orange); }

.show-note { grid-area: note; padding-top: 1.8rem; }
.show-brief { color: #dbe9e0; font-size: 1.05rem; }
.show-list { display: grid; gap: .35rem; margin: 1.2rem 0 0; padding: 0; list-style: none; color: #fff; font-weight: 600; }
.show-list li { display: flex; align-items: baseline; gap: .6rem; }
.show-list li::before { content: ""; flex: none; width: .9rem; height: 2px; background: var(--orange); transform: translateY(-.3em); }

.show-stage { grid-area: stage; position: relative; padding: 0 6% 9% 0; align-self: start; }
.show-desk {
  overflow: hidden;
  border-radius: 14px;
  background: #1f2a26;
  box-shadow: 0 50px 80px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08);
}
.show-desk .screen { aspect-ratio: 16 / 10; }
.show-phone {
  position: absolute; right: 0; bottom: 0;
  width: 23%; aspect-ratio: 9 / 19;
  padding: 2.2%;
  border-radius: 13% / 6.2%;
  background: #121816;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.8), inset 0 0 0 2px #2c3833;
}
.show-phone .screen { height: 100%; border-radius: 11% / 5.2%; }

.window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.window-bar i:nth-child(2) { background: #ffbd2e; }
.window-bar i:nth-child(3) { background: #28c941; }
.window-url { flex: 1; max-width: 260px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: #0f1714; color: #b9d3c4; font-size: 12px; text-align: center; transform: translateX(-20px); }

/* cómo trabajamos */

.process { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--mint); }
.process-head p { max-width: 30em; color: var(--muted); font-size: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.steps > li { display: flex; flex-direction: column; }
.steps h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.steps p { color: var(--muted); }
.steps .step-you { margin-top: auto; padding-top: 1rem; color: var(--green-soft); font-size: .92rem; font-weight: 700; }
.steps .step-meta { display: flex; align-items: center; gap: .7rem; margin: 1.4rem 0 .8rem; color: var(--green); font-weight: 700; font-size: .95rem; }
.step-n {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--orange); color: #fff;
  font: 800 .95rem var(--display);
}

.step-art {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  font-size: .85rem;
  line-height: 1.35;
}

/* 1: chat */
.art-chat { display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.2rem; background: #E7DED4; }
.art-chat .bubble {
  max-width: 82%; margin: 0;
  padding: .55rem .75rem;
  border-radius: 12px 12px 12px 3px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.art-chat .bubble.ours { align-self: flex-end; border-radius: 12px 12px 3px 12px; background: #D7F7C5; }

/* 2: maqueta en el móvil */
.art-mock { background: #FBEFF2; }
.mock-phone {
  position: absolute; left: 12%; top: 1.4rem;
  width: 132px; height: 280px;
  padding: 6px;
  border-radius: 22px;
  background: #121816;
  transform: rotate(-6deg);
}
.mock-phone .screen { height: 100%; border-radius: 17px; }
.art-mock .bubble {
  position: absolute; right: .8rem; bottom: 1rem;
  max-width: 52%; margin: 0;
  padding: .55rem .75rem;
  border-radius: 12px 12px 3px 12px;
  background: #D7F7C5; color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.3);
}

/* 3: fotos y datos */
.art-files { display: grid; align-content: center; gap: 1rem; padding: 1.2rem 1.4rem; background: #FFF4EA; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.photos span { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(160deg, #F5DDE4, #D9467A); }
.photos span:nth-child(2) { background: linear-gradient(160deg, #FBEFF2 30%, #3A1B2A); transform: rotate(4deg); }
.photos span:nth-child(3) { background: linear-gradient(200deg, #f3c9a0, #C8742B); }
.art-files ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; color: var(--green); font-weight: 700; }
.art-files li { display: flex; align-items: center; gap: .5rem; }
.art-files li::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* 4: en Google */
.art-google { display: grid; align-content: center; gap: .8rem; padding: 1.2rem; background: #EEF2F7; font-family: Arial, sans-serif; }
.art-google p { margin: 0; }
.art-google .g-search {
  padding: .55rem .9rem .55rem 2.1rem;
  border-radius: 999px; background: #fff; color: #202124;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8' cy='8' r='5.5' fill='none' stroke='%239aa0a6' stroke-width='2'/%3E%3Cpath d='M12.5 12.5L17 17' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") .75rem center / 1rem no-repeat;
}
.g-result { padding: .9rem 1rem; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.art-google .g-name { color: #1a0dab; font-size: 1.05rem; }
.art-google .g-url { color: #188038; font-size: .78rem; }
.art-google .g-open { margin-top: .3rem; color: #188038; font-weight: 700; font-size: .8rem; }
.art-google .g-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.g-actions span { padding: .25rem .6rem; border: 1px solid #dadce0; border-radius: 999px; color: #1a73e8; font-size: .75rem; }

.process-cta { margin-top: 3.5rem; text-align: center; }

/* formulario de maqueta, a pantalla completa */

.form-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: clamp(0rem, 3vw, 2rem);
  background: rgba(8, 30, 22, .7);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.form-overlay.open { opacity: 1; }
.form-overlay[hidden] { display: none; }
.form-shell {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  width: min(100%, 1100px); max-height: 100%;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  transform: translateY(20px); transition: transform .35s var(--ease);
}
.form-overlay.open .form-shell { transform: none; }
.form-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--mint); color: var(--green); cursor: pointer;
}
.form-side { padding: clamp(2rem, 4vw, 3rem); background: var(--orange); color: #2b2015; }
.form-side h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.form-side > p { margin: 1rem 0 1.6rem; font-size: 1.1rem; }
.form-side ul { display: grid; gap: .7rem; margin: 0 0 2rem; padding: 0; list-style: none; font-weight: 600; color: var(--green); }
.form-side li { padding-left: 1.8rem; position: relative; }
.form-side li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.form-alt { font-size: .95rem; }
.form-alt a { color: var(--green); font-weight: 700; }

.lead-form, .form-done, .form-fallback { padding: clamp(2rem, 4vw, 3rem); }
.lead-form { display: grid; gap: 1rem; align-content: start; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form label { display: block; color: var(--green); font-weight: 700; font-size: .95rem; }
.lead-form .opt { color: var(--muted); font-weight: 400; }
.lead-form input:not([type=checkbox]), .lead-form select, .lead-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  margin-top: .35rem;
  font: 400 1rem var(--body);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,26,.25); }
.lead-form .check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--muted); }
.lead-form .check input { flex: none; margin-top: .2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--orange); }
.lead-form .check a { color: var(--green); }
.lead-form .btn { justify-self: start; }
.honey { position: absolute; left: -9999px; }
.form-error { margin: 0; color: #B3261E; font-weight: 700; }
.form-done, .form-fallback { display: grid; align-content: center; gap: 1rem; text-align: left; }
.form-done[hidden], .form-fallback[hidden], .lead-form[hidden] { display: none; }
.form-done p, .form-fallback p { color: var(--muted); font-size: 1.1rem; }
.form-done .btn, .form-fallback .btn { justify-self: start; }

/* precios */

.pricing { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--mint); }
.pricing-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.pricing-head p { color: var(--muted); font-size: 1.1rem; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.2rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2.2rem 2rem; border-radius: 30px; background: #fff; }
.plan h3 { font-size: 1.5rem; }
.plan-for { min-height: 3.2em; margin: .6rem 0 1.6rem; color: var(--muted); }
.price { margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.price b { margin-right: .4rem; color: var(--green); font: 800 3rem/1 var(--display); letter-spacing: -.04em; }
.price .monthly { margin-top: .8rem; padding: .5rem .8rem; border-radius: 10px; background: var(--mint); color: var(--green); font-size: .95rem; }
.plan ul { flex: 1; display: grid; align-content: start; gap: .8rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 1.9rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230E3B2C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.plan .btn { width: 100%; }
.plan-main { background: var(--green); color: #e2efe7; box-shadow: 0 40px 80px -40px rgba(14,59,44,.7); }
.plan-main h3, .plan-main .price b { color: #fff; }
.plan-main .plan-for, .plan-main .price { color: #b9d3c4; }
.plan-main .price { border-color: rgba(255,255,255,.14); }
.plan-main .price .monthly { background: rgba(255,255,255,.1); color: #fff; }
.plan-main li::before { background-color: var(--orange); }
.plan-flag { position: absolute; top: -14px; left: 2rem; padding: .3rem .9rem; border-radius: 999px; background: var(--orange); color: var(--green); font-size: .88rem; font-weight: 700; }

.plans-hint { display: none; margin-top: .4rem; color: var(--muted); font-size: .9rem; text-align: center; }
.always { max-width: 52em; margin-top: 2rem; color: var(--muted); }

/* preguntas */

.faq { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 1.4rem 3.5rem 1.4rem 0;
  color: var(--green);
  font: 600 1.12rem/1.35 var(--display); letter-spacing: -.01em;
  list-style: none; cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%230E3B2C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 45% no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq-list details p { max-width: 60ch; padding: 0 3.5rem 1.5rem 0; color: var(--muted); }

/* contacto */

.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 12vw, 9rem) 0; background: var(--orange); text-align: center; }
.cta::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,170,.8), transparent 65%);
}
.cta h2 { max-width: 14em; margin: 0 auto; font-size: clamp(2rem, 4.8vw, 4.2rem); letter-spacing: -.045em; }
.cta p { max-width: 30em; margin: 1.4rem auto 2.4rem; color: #2b2015; font-size: 1.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta .cta-mail { margin: 2rem auto 0; font-size: 1.05rem; }
.cta-mail a { color: var(--green); font-weight: 700; }

/* pie */

.footer { padding: 2.5rem 0; background: var(--green); color: #b9d3c4; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer .logo { color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer a:not(.logo) { color: #e2efe7; }

/* tablet */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; min-height: 0; max-height: none; padding-top: 1.5rem; }
  .stage { width: 100%; max-width: 680px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr); }
  .plans { gap: .8rem; }
  .plan { padding: 2rem 1.4rem; }
  .price b { font-size: 2.4rem; }
}

/* móvil */

@media (max-width: 820px) {
  .links {
    position: fixed; inset: 0; z-index: 15;
    flex-direction: column; justify-content: center; gap: 1.4rem;
    padding: 2rem var(--gutter);
    background: var(--orange);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
  }
  .links.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .links a { font: 700 2.1rem var(--display); letter-spacing: -.03em; }
  .nav-cta { margin-left: auto; }
  .burger {
    position: relative; z-index: 20;
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px;
    border: 2px solid var(--green); border-radius: 50%;
    background: transparent; cursor: pointer;
  }
  .burger span { width: 18px; height: 2px; background: var(--green); transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .pricing-head, .portfolio-head, .process-head { grid-template-columns: 1fr; gap: 1rem; }
  .showcase { grid-template-columns: 1fr; grid-template-areas: "tabs" "stage" "note"; }
  .show-tabs {
    display: flex; gap: .4rem;
    margin: 0 calc(var(--gutter) * -1) 1.6rem; padding: 0 var(--gutter);
    border: 0; overflow-x: auto; scrollbar-width: none;
  }
  .show-tabs::-webkit-scrollbar { display: none; }
  .show-tabs button { flex: none; padding: .6rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
  .show-tabs button::before { display: none; }
  .show-tabs button[aria-selected="true"] { border-color: var(--orange); background: var(--orange); color: var(--green); }
  .show-tabs button[aria-selected="true"] .tab-sector { color: var(--green); }
  .tab-name { font-size: .95rem; }
  .tab-sector { display: none; }
  .form-overlay { padding: 0; place-items: stretch; }
  .form-shell { grid-template-columns: 1fr; border-radius: 0; height: 100%; }
  .form-side { padding-top: 4.5rem; }
  .form-side ul, .form-alt { display: none; }
  .plans {
    display: flex; gap: 1rem;
    margin: 0 calc(var(--gutter) * -1); padding: 1.2rem var(--gutter) 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: none; width: min(82vw, 340px); scroll-snap-align: center; }
  .plan-for { min-height: 0; }
  .plans-hint { display: block; }
}

@media (max-width: 560px) {
  .topbar { gap: .8rem; height: 76px; }
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .hero-title .line:last-child > span { white-space: normal; }
  .rot-word { display: block; }
  .hero-actions .btn { flex: 1; }
  .chip-msg { top: -6%; right: 4%; font-size: .8rem; }
    .lead-form .row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .btn-xl { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}
