:root{
  --bg0:#ffffff;
  --bg1:#fbfbff;
  --ink:#111216;
  --ink2:#2f333b;
  --muted:#5f6773;
  --line: rgba(17,18,22,.10);
  --shadow: 0 18px 50px rgba(18,22,28,.10);
  --r: 22px;

  /* pastels */
  --p1: #f4ab72;
  --p2: #af5f23;
  --p3:#ffe4f1;
  --p4: #4adcdc;
  --p5: #55c5c5;

  /* “potentes” (still brand-friendly) */
  --b1:#1b4dff;
  --b2:#ff3d8a;
  --b3:#00b894;
  --b4:#ffb000;

  --focus: 0 0 0 3px rgba(34,124,255,.20);
}

:root{
  --headerH: 86px; /* ajusta a tu altura real */
}

header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hero{
  margin-top: calc(var(--headerH) * -1);
  padding-top: var(--headerH);
}


.space20{
  height: 20px;
}
.paddingLeft{
  padding-left: 50px;
  color: #000000 !important;
}


*{box-sizing:border-box}
html{
  scroll-behavior: smooth;
  height:100%
}

body{height:100%}

body{
  margin:0;
  font-family:'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight:400;
  color:var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
/*a:hover{text-decoration:underline;text-underline-offset:4px}*/
.container{width:min(1140px, 92vw); margin:0 auto}


[hidden]{display:none !important}

/* accessibility: guarantee hidden works even if CSS changes */
[hidden]{display:none !important}

/* Header */
.top{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  /*align-items:center; */
  justify-content:space-between;
  padding:14px 0; gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; letter-spacing:.2px; white-space:nowrap;
}
.logo{
  width:300px;height:60px;border-radius:16px;
  background: url("../images/logo-teho.png") center / contain no-repeat;
  box-shadow:0 14px 35px rgba(0,0,0,.10);
}
.brand small{
  display:block;
  font-weight:450;
  color:var(--muted);
  margin-top:-2px;
}
.links{
  display:flex; gap:8px; align-items:center;
  font-weight:550; color:var(--ink2);
}
.links a{padding:10px 12px;border-radius:14px}
.links a:hover{background: rgba(255,255,255,.85); text-decoration:none; box-shadow:0 10px 30px rgba(18,22,28,.06)}
.actions{display:flex; gap:10px; align-items:center}
.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  color:var(--ink);
  padding:10px 12px;
  border-radius:14px;
  font-weight:650;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 14px 35px rgba(18,22,28,.10)}
.btn:focus-visible{outline:none; box-shadow: var(--focus)}
.btn-primary{
  border-color: rgba(34,124,255,.22);
  background: linear-gradient(135deg, rgba(154,216,255,.78), rgba(186,255,234,.55));
}
.menuBtn{display:none}
.mobileMenu{
  border-top:1px solid var(--line);
  padding: 10px 0 14px;
}
.mobileMenu a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  font-weight:650;
  color: var(--ink2);
}

.mobileMenu[hidden]{display:none !important;}


.mobileMenu a:hover{background: rgba(255,255,255,.85); text-decoration:none}

/* Bands (like hubos: big stripes) */
.band{position:relative; padding: 72px 0}
.band--soft{
  background:
    radial-gradient(900px 520px at 12% 10%, var(--p1), transparent 60%),
    radial-gradient(900px 520px at 86% 18%, var(--p2), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.95));
}
.band--soft2{
  background:
    radial-gradient(900px 520px at 20% 18%, var(--p5), transparent 60%),
    radial-gradient(900px 520px at 78% 78%, var(--p4), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.96));
}
.band--bold{
  color:#0b0c10;
  background:
    radial-gradient(900px 520px at 10% 30%, rgba(27,77,255,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 70%, rgba(255,61,138,.16), transparent 55%),
    linear-gradient(135deg, rgba(27,77,255,.10), rgba(0,184,148,.08));
  border-top:1px solid rgba(17,18,22,.06);
  border-bottom:1px solid rgba(17,18,22,.06);
}
.band--bold2{
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(255,176,0,.18), transparent 60%),
    radial-gradient(900px 520px at 82% 80%, rgba(0,184,148,.16), transparent 55%),
    linear-gradient(135deg, rgba(255,176,0,.08), rgba(255,61,138,.06));
  border-top:1px solid rgba(17,18,22,.06);
  border-bottom:1px solid rgba(17,18,22,.06);
}

/* Hero video */
.hero{
  padding: 86px 0 64px;
  overflow:hidden;
}
.heroVideo{
  position:absolute; inset:0;
  z-index:0;
}
.heroVideo video{
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.heroVideo::after{
  content:"";
  position:absolute; inset:0;
}



.hero{ position:relative; overflow:hidden; }

.heroVideo{ position:absolute; inset:0; z-index:0; }
.heroVideo video{ width:100%; height:100%; object-fit:cover; }

.heroVideo::after{
  content:"";
  position:absolute; inset:0;
 background:
          radial-gradient(900px 520px at 12% 10%, rgba(223,243,255,.85), transparent 20%),
          radial-gradient(900px 520px at 86% 18%, rgba(233,221,255,.82), transparent 20%),
          linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4));
}




.heroInner{position:relative; z-index:1}
.badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  font-weight:700;
  color: var(--ink2);
}
.dot{
  width:10px;height:10px;border-radius:99px;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.2) 45%, rgba(255,255,255,0) 75%);
  box-shadow: 0 0 0 6px rgba(154,216,255,.55);
}
h1{
  margin: 70px 0 70px;
  font-size: clamp(2.2rem, 3.9vw + 1.4rem, 5rem);
  line-height: 1.03;
  letter-spacing: -1.2px;
  font-weight:750;
  color:white;
}
.sub{
  margin:0;
  max-width: 70ch;
  font-size: 1.12rem;
  line-height: 1.65;
  /*color: var(--muted);*/
  font-weight:400;
}
.heroGrid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: stretch;
}
.heroCtas{display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px}
.hint{margin-top: 12px; color: var(--muted); font-weight:450}

/* Cards */
.card{
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardHero{
  /*border: 1px solid var(--line);*/
  /*border-radius: var(--r);*/
  background: rgba(255,255,255,0);
  /*box-shadow: var(--shadow);*/
  overflow:hidden;
}

.cardHero2{
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.6);
  /*box-shadow: var(--shadow);*/
  overflow:hidden;
}

.cardInner{padding: 18px}
.pillTitle{
  display:flex; align-items:center;
  font-weight:750;
  letter-spacing:-.2px;
  font-size: 1.05rem;
  color: var(--ink);
}
.card p{margin: 10px 0 0; color: var(--muted); font-weight:400; line-height:1.6}

/* Outline icons */
.iconBig{
  display:inline-flex;
  width:40px;height:40px;
  align-items:center; justify-content:center;
  margin-right: 10px;
}
.iconBig svg{
  width:48px;height:48px;
  stroke: var(--ink2);
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Image placeholders */
.imgPh{
  height: 300px;
  /*//background: #ff2b2b; !* second box stays red *!*/
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top:10px;
}
.imgPhMini{
  height: 80px;
  /*//background: #ff2b2b; !* second box stays red *!*/
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top:10px;
}

.imgPh.small{
  margin-top:0;
  height: 170px;
  background-color: rgba(135,161,196, 0.7);
  background-color: rgba(176,210,236, 1);

}
.imgPh.small.filled{
  margin-top:0;
  background-size: cover;}

/* Sections */
.sectionHead{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px;
  margin-bottom: 14px;
}
h2{
  margin:0;
  font-size: clamp(1.55rem, 1.2vw + 1.1rem, 2.15rem);
  letter-spacing: -.7px;
  color: var(--ink);
  font-weight:750;
  padding-left:12px;
}
h3{
  color: var(--ink);
  font-weight:750;
  padding-left:12px;
}
h4{
  margin:0;
  font-size: clamp(1.35rem, 1.0vw + 1.0rem, 1.65rem);
  letter-spacing: 1px;
  color: var(--ink2);
  font-weight:300;
  padding-left:12px;
}
.lead{
  margin:0;
  color: var(--muted);
  font-weight: 400;
  line-height:1.6;
  max-width: 72ch;
}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px}

/* Footer */
footer{
  padding: 26px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.75));
}
.foot{
  display:flex; justify-content:space-between; align-items:center;
  gap:14px; flex-wrap:wrap;
  font-weight: 450;
}


.band{ padding: 80px 0; }

.band--soft{
  background:
          radial-gradient(900px 520px at 12% 10%, var(--p1), transparent 60%),
          radial-gradient(900px 520px at 86% 18%, var(--p2), transparent 55%),
          linear-gradient(180deg, rgba(131, 121, 114, 0.8), rgba(89, 79, 72, 0.98));
}

.band--soft2{
  background:
          radial-gradient(900px 520px at 20% 18%, var(--p5), transparent 60%),
          radial-gradient(900px 520px at 78% 78%, var(--p4), transparent 55%),
          linear-gradient(180deg, rgba(158, 225, 206, 0.82), rgb(54, 123, 126));
}

/* corporativas (más sobrias, no “neón”) */
.band--bold{
/*  background:
          radial-gradient(900px 520px at 12% 10%, var(--p1), transparent 60%),
          radial-gradient(900px 520px at 86% 18%, var(--p2), transparent 55%),
          linear-gradient(180deg, rgb(234, 161, 77), rgba(168, 112, 72, 0.98));*/

  background:
          radial-gradient(900px 520px at 15% 25%, rgb(116, 174, 230), transparent 60%),
          radial-gradient(900px 520px at 85% 75%, rgba(47, 142, 209, 0.84), transparent 55%),
          linear-gradient(135deg, rgba(17, 85, 255, .06), rgba(0, 160, 140, .05));
  border-top: 1px solid rgba(17,18,22,.06);
  border-bottom: 1px solid rgba(17,18,22,.06);
}

.band--bold2{
  background:
          radial-gradient(900px 520px at 20% 20%, rgba(0, 120, 200, .12), transparent 60%),
          radial-gradient(900px 520px at 80% 80%, rgba(40, 60, 90, .10), transparent 55%),
          linear-gradient(135deg, rgba(0, 120, 200, .05), rgba(40, 60, 90, .04));
  border-top: 1px solid rgba(17,18,22,.06);
  border-bottom: 1px solid rgba(17,18,22,.06);
}




.percencolor1{
  font-size: 40px;
  color:rgb(234,116,77) !important;
}
.percencolor2{
  font-size: 40px;
  color:rgb(135,161,196) !important;
}
.percencolor3{
  font-size: 40px;
  color:rgb(212,180,91) !important;
}




/* ==========================================
   MODAL - FIXED VERSION
   ========================================== */

.modalOverlay{
  position: fixed;
  inset: 0;
  background: rgba(17,18,22,.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.modalOverlay.open{ 
  display: flex; 
}

.modal{
  width: 900px;
  max-width: 92vw;
  max-height: 92vh;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,18,22,.12);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal h3{
  margin: 0;
  padding: 20px 24px 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.modalBody{
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  color: var(--muted);
  line-height: 1.6;
}

.modalClose{
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 28px;
  color: var(--ink3);
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  transition: color 0.2s;
}

.modalClose:hover{
  color: var(--ink);
}

/* Modal Footer - para los botones */
.modal > div[style*="justify-content: flex-end"] {
  flex-shrink: 0;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}
.nav--twoRows{
  /*display:flex застав*/
  display:flex;
  flex-direction:column;
  gap:10px;
}

.navRow--top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.navRow--bottom{
  display:flex;
  justify-content:right;
}





.navRow--top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}


[data-i18n]{
  white-space: pre-line;
}


.mobileMenu{
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  margin-top: 10px;

  background:
          radial-gradient(
                  240px 140px at 80% 0%,
                  rgba(154,216,255,.55),
                  transparent 60%
          ),
          linear-gradient(
                  180deg,
                  rgba(225,225,225,.92),
                  rgba(245,247,255,.96)
          );

  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(18,22,28,.18);
  backdrop-filter: blur(10px);

  padding: 8px;
  z-index: 100;
}

.links a[target="_blank"]::after,
.mobileMenu a[target="_blank"]::after{
  content: "↗";
  font-size: .8em;
  margin-left: 6px;
  opacity: .6;
}


/* links del menú */
.mobileMenu a{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* hover suave */
.mobileMenu a:hover{
  background: rgba(17,18,22,.06);
}


/* Responsive */
@media (max-width: 980px){
  .navRow--bottom{
    display:none;
  }
  .heroGrid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .links{display:none}
  .menuBtn{display:inline-flex}
  .band{padding: 40px 0;}
  .logo {
    width: 200px;
    height: 60px;
    border-radius: 16px;
    background: url(../images/logo-teho.png) center / contain no-repeat;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .10);
  }
}

@media (max-width: 480px){

  .logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: url(../images/logo-teho-o.png) center / contain no-repeat;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .10);
  }
}

/* ==========================================
   HOME SELECTOR — only delta over existing system
   ========================================== */

.homeCard {
  flex: 1 1 260px;
  max-width: 310px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.homeCard--active {
  cursor: pointer;
}

.homeCard--active:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(18,22,28,.14);
}

.homeCard--active:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.homeCard--soon {
  opacity: .68;
}

@media (max-width: 600px) {
  .homeCard { max-width: 100%; flex-basis: 100%; }
}

/* Modal Header & Footer */
.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.modalHeader h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.modalFooter {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
