:root {
  --pizarra: #1c2727;
  --pizarra-2: #2a3838;
  --caliza: #f7f5f1;
  --caliza-2: #ece7df;
  --roca: #b5623a;
  --roca-dark: #8f4a29;
  --arena: #c9a27a;
  --laguna: #0b6b61;
  --poza: #42ac80;
  --line: rgba(28, 39, 39, 0.14);
  --soft: rgba(28, 39, 39, 0.68);

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(1.25rem, 4.5vw, 5rem);
  --max: 1440px;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--caliza); color: var(--pizarra); font-family: var(--font); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

body { transition: opacity 0.35s ease; }

.langs a[aria-disabled="true"] { opacity: 0.3; cursor: default; }
::selection { background: var(--arena); color: var(--pizarra); }
:focus-visible { outline: 3px solid var(--laguna); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--pizarra); color: #fff; padding: 0.7rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.eyebrow { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--roca); }
.h1 { font-weight: 900; font-size: clamp(2.5rem, 6.2vw, 6rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-weight: 900; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-weight: 900; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.15; letter-spacing: -0.015em; }
.h1 i, .h2 i { font-weight: inherit; font-style: normal; letter-spacing: inherit; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--soft); max-width: 38rem; text-wrap: pretty; }
.note { font-size: 0.78rem; color: var(--soft); }

.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.section__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 4rem); }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; } .section__head--split .eyebrow { grid-column: 1 / -1; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.1rem; padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; background: var(--pizarra); color: #fff; transition: background 0.35s, color 0.35s, transform 0.5s var(--ease), box-shadow 0.35s; white-space: nowrap; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform 0.5s var(--ease); }
.btn:hover { background: var(--roca); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--roca { background: var(--roca); }
.btn--roca:hover { background: var(--roca-dark); }

.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--pizarra); color: #fff; box-shadow: inset 0 0 0 1.5px var(--pizarra); }
.on-dark .btn--line:hover, .btn--line.on-dark:hover { background: #fff; color: var(--pizarra); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--wa { background: #1faa59; }
.btn--wa:hover { background: #178a47; }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.86rem; }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; border-bottom: 2px solid var(--roca); padding-bottom: 0.15rem; transition: gap 0.4s var(--ease), color 0.3s; }
.textlink svg { width: 1rem; height: 1rem; }
.textlink:hover { gap: 0.9rem; color: var(--roca); }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.6rem; }
.nav.is-solid { background: rgba(247, 245, 241, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--pizarra); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 900; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand svg { width: 2.2rem; height: 1.4rem; color: var(--arena); }
.nav.is-solid .brand svg { color: var(--roca); }
.nav__links { display: none; gap: 1.9rem; font-size: 0.93rem; font-weight: 700; }
.nav__links a { position: relative; padding: 0.4rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.langs { display: none; gap: 0.15rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }
.langs a { padding: 0.35rem 0.45rem; border-radius: 6px; opacity: 0.6; }
.langs a[aria-current] { opacity: 1; box-shadow: inset 0 0 0 1.5px currentColor; }
.langs a:hover { opacity: 1; }
.nav .btn { min-height: 2.7rem; padding: 0.5rem 1.2rem; font-size: 0.88rem; }
.nav:not(.is-solid) .btn { background: #fff; color: var(--pizarra); }
.nav:not(.is-solid) .btn:hover { background: var(--arena); }
.burger { width: 2.7rem; height: 2.7rem; display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1080px) { .nav__links, .langs { display: flex; } .burger { display: none; } }
@media (max-width: 1079px) { .nav .btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 95; background: var(--pizarra); color: #fff; padding: 6.5rem var(--gut) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; opacity: 0; visibility: hidden; transform: translateY(-2%); transition: opacity 0.4s, transform 0.6s var(--ease), visibility 0s 0.4s; overflow: auto; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s, transform 0.6s var(--ease); }
.drawer__links a { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-weight: 900; font-size: 1.7rem; letter-spacing: -0.02em; }
.drawer__links svg { width: 1.2rem; height: 1.2rem; color: var(--arena); }
.drawer .langs { display: flex; font-size: 0.9rem; }
.drawer__foot { display: grid; gap: 1rem; }
.menu-open .nav { color: #fff; background: none; box-shadow: none; }
.menu-open .nav.is-hidden { transform: none; }

.foot { background: var(--pizarra); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 6.5rem; }
.foot__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

.foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.foot__cols h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--arena); margin-bottom: 0.9rem; }
.foot__cols a { display: block; width: fit-content; padding: 0.22rem 0; color: rgba(255, 255, 255, 0.82); transition: color 0.3s, transform 0.4s var(--ease); }
.foot__cols a:hover { color: #fff; transform: translateX(4px); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.foot__base a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.foot__base a.foot__credit { border-bottom: 0; transition: color 0.3s; }
.foot__base a.foot__credit:hover { color: #fff; }
.foot .langs { display: flex; margin-top: 0.4rem; }
.foot__logo { width: clamp(9rem, 14vw, 12rem); height: auto; display: block; }
.badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.atcv { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.1rem; border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: var(--r); font-size: 0.8rem; line-height: 1.35; color: rgba(255, 255, 255, 0.8); max-width: 15rem; margin: 0; }
.atcv svg { width: 2.4rem; height: 2.4rem; flex: none; color: var(--arena); }
@media (min-width: 960px) { .foot__top { grid-template-columns: 1fr 1.6fr; } .foot { padding-bottom: 2.5rem; } }

.dock { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem; border-radius: 999px; background: rgba(28, 39, 39, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(140%); transition: transform 0.7s var(--ease); }
.dock.is-on { transform: none; }
.dock .btn { min-height: 2.9rem; }
@media (min-width: 960px) { .dock { display: none; } }
.wa-float { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; display: none; align-items: center; gap: 0.6rem; height: 3.4rem; padding: 0 1.3rem 0 1.1rem; border-radius: 999px; background: #1faa59; color: #fff; font-weight: 700; font-size: 0.92rem; box-shadow: 0 14px 34px -12px rgba(28, 39, 39, 0.55); transition: transform 0.5s var(--ease), background 0.3s; }
.wa-float svg { width: 1.5rem; height: 1.5rem; }
.wa-float:hover { transform: translateY(-3px); background: #178a47; }
@media (min-width: 960px) { .wa-float { display: inline-flex; } }

.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.foot .langs a { display: inline-block; padding: 0.35rem 0.45rem; color: #fff; }
.foot .langs a:hover { transform: none; }
@media (min-width: 960px) { .foot__base { padding-right: 9rem; } }
