/* Inmaker · estilos
   Identidad basada en el logo: grafito con luz y textura + acento verde lima + metales. */

:root{
  --graphite-900:#161616;
  --graphite-800:#1d1d1d;
  --graphite-700:#242424;
  --graphite-card:#2a2a2a;
  --graphite-line:#3a3a3a;
  --lime:#a8d400;
  --lime-bright:#d6ed1f;
  --lime-dark:#7da000;
  --silver:#c9cdcf;
  --silver-lo:#9a9ea0;
  --text:#ededed;
  --text-muted:#9a9a9a;
  --green:#16a34a;
  --red:#ef5350;
  --radius:14px;
  --shadow:0 8px 30px rgba(0,0,0,.4);
  --shadow-lg:0 16px 40px rgba(0,0,0,.45);
  --maxw:1080px;
  --font:'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;font-family:var(--font);color:var(--text);line-height:1.6;
  position:relative;
  background:
    radial-gradient(125% 95% at 50% -6%, #2b2b2b 0%, #222 32%, #181818 66%, #101010 100%) fixed;
  -webkit-font-smoothing:antialiased;
}
/* moteado nuboso suave (como el fondo del logo) */
body::after{
  content:"";position:fixed;inset:0;z-index:9;pointer-events:none;opacity:.16;
  mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.013' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
}
/* grano finisimo para dar materia */
body::before{
  content:"";position:fixed;inset:0;z-index:9;pointer-events:none;opacity:.025;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img{max-width:100%;display:block;}
a{color:var(--lime);text-decoration:none;}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 22px;}

/* texto metalico (titulares) */
.metal,.hero__title,.section-title{
  color:#e9ebec;
  background:linear-gradient(180deg,#f6f7f7 0%,#c7cbcd 45%,#9aa0a2 55%,#e9ebec 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}

/* ---- Botones ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-weight:700;font-size:15px;line-height:1;cursor:pointer;
  padding:13px 24px;border-radius:10px;border:1px solid transparent;
  transition:transform .08s,box-shadow .2s,background .2s,border-color .15s,color .15s;
  text-align:center;text-decoration:none;
}
.btn:active{transform:translateY(1px);}
.btn--primary{
  background:linear-gradient(180deg,var(--lime-bright),var(--lime));
  color:#1a2200;box-shadow:0 0 0 1px rgba(214,237,31,.3),0 8px 24px rgba(168,212,0,.25);
}
.btn--primary:hover{box-shadow:0 0 0 1px rgba(214,237,31,.5),0 10px 30px rgba(168,212,0,.45);}
.btn--ghost{background:transparent;color:var(--silver);border-color:var(--graphite-line);}
.btn--ghost:hover{border-color:var(--lime);color:var(--lime-bright);}
.btn--lg{padding:16px 34px;font-size:16px;}
.btn--sm{padding:9px 16px;font-size:14px;}
.btn--block{width:100%;}
.btn[disabled]{opacity:.6;cursor:not-allowed;}

/* ---- Header ---- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(22,22,22,.85);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--graphite-line);
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;height:66px;}
.brand__logo{height:38px;width:auto;}
.site-nav{display:flex;align-items:center;gap:20px;}
.site-nav a{color:var(--silver);font-weight:500;font-size:15px;}
.site-nav a:hover{color:#fff;}
.site-nav .btn--ghost{color:var(--silver);}
.lang-switch{border:1px solid var(--graphite-line);border-radius:8px;padding:6px 11px;font-size:13px;font-weight:600;color:var(--silver);}
.lang-switch:hover{border-color:var(--lime);color:var(--lime-bright);}

/* ---- Hero ---- */
.hero{
  position:relative;overflow:hidden;text-align:center;padding:96px 0 104px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520' fill='none'%3E%3Cg transform='rotate(-18 450 260)'%3E%3Cellipse cx='450' cy='260' rx='380' ry='150' stroke='%233a3a3a' stroke-width='1.5'/%3E%3Cellipse cx='450' cy='260' rx='300' ry='110' stroke='%23444444' stroke-width='1.5'/%3E%3Cellipse cx='450' cy='260' rx='210' ry='75' stroke='%23a8d400' stroke-width='1.5' opacity='0.5'/%3E%3C/g%3E%3Ccircle cx='740' cy='205' r='5' fill='%23a8d400'/%3E%3Ccircle cx='690' cy='330' r='4' fill='%23d6ed1f'/%3E%3Ccircle cx='200' cy='210' r='4' fill='%239a9ea0'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center 42%;
}
.hero::before{
  content:"";position:absolute;left:50%;top:-180px;width:760px;height:540px;
  transform:translateX(-50%);
  background:radial-gradient(closest-side,rgba(168,212,0,.18),rgba(168,212,0,0) 70%);
  pointer-events:none;
}
.hero__inner{position:relative;max-width:780px;margin:0 auto;}
.hero__eyebrow{
  display:inline-block;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;
  color:var(--lime);border:1px solid rgba(168,212,0,.35);border-radius:30px;padding:7px 16px;margin:0 0 22px;
  background:rgba(168,212,0,.06);
}
.hero__title{font-size:clamp(34px,5.4vw,56px);line-height:1.08;font-weight:800;margin:0 0 22px;letter-spacing:-.01em;}
.hero__subtitle{font-size:clamp(16px,2.2vw,19px);color:var(--text-muted);max-width:620px;margin:0 auto 34px;}

/* ---- Secciones ---- */
.section-title{font-size:clamp(27px,3.6vw,36px);font-weight:800;text-align:center;margin:0 0 12px;letter-spacing:-.01em;}
.section-subtitle{text-align:center;color:var(--text-muted);font-size:17px;max-width:560px;margin:0 auto 46px;}

.products{padding:80px 0;}

/* ---- Tarjetas de producto ---- */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;}
.product-card{
  position:relative;display:flex;flex-direction:column;
  background:linear-gradient(158deg,#333 0%,#2a2a2a 45%,#232323 100%);
  border-radius:var(--radius);cursor:pointer;padding:12px;
  box-shadow:0 0 0 1px var(--graphite-line);
  transition:box-shadow .18s,transform .18s;
}
.product-card:hover{transform:translateY(-4px);box-shadow:0 0 0 1px var(--silver-lo),var(--shadow-lg);}
.product-card__check{position:absolute;opacity:0;pointer-events:none;}
.product-card__media{
  aspect-ratio:16/10;background:#202020;display:flex;align-items:center;justify-content:center;
  border-radius:10px;overflow:hidden;
}
.product-card__media img{width:100%;height:100%;object-fit:cover;}
.product-card__body{display:flex;flex-direction:column;gap:8px;padding:14px 8px 6px;flex:1;}
.product-card__title{font-size:19px;font-weight:700;color:#fff;}
.product-card__tagline{font-size:14.5px;color:var(--text-muted);flex:1;}
.product-card__foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;}
.product-card__price{font-size:21px;font-weight:800;color:#fff;}
.product-card__btn{
  font-size:13.5px;font-weight:700;padding:9px 15px;border-radius:9px;
  border:1px solid var(--lime);color:var(--lime);transition:background .15s,color .15s;
}
.product-card__btn .is-selected{display:none;}

/* estado seleccionado (con :has y respaldo .is-checked) */
.product-card:has(.product-card__check:checked),
.product-card.is-checked{box-shadow:0 0 0 2px var(--lime),var(--shadow);}
.product-card:has(.product-card__check:checked) .product-card__btn,
.product-card.is-checked .product-card__btn{background:var(--lime);color:#1a2200;}
.product-card:has(.product-card__check:checked) .product-card__btn .is-default,
.product-card.is-checked .product-card__btn .is-default{display:none;}
.product-card:has(.product-card__check:checked) .product-card__btn .is-selected,
.product-card.is-checked .product-card__btn .is-selected{display:inline;}
.product-card:has(.product-card__check:checked)::before,
.product-card.is-checked::before{
  content:"✓";position:absolute;top:20px;right:20px;z-index:2;
  width:30px;height:30px;border-radius:50%;background:var(--lime);color:#1a2200;
  font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);
}

/* foco accesible por teclado */
.product-card__check:focus-visible ~ .product-card__media{outline:3px solid var(--lime);outline-offset:2px;}

/* ---- Signup ---- */
.signup{padding:80px 0;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.005));border-top:1px solid var(--graphite-line);border-bottom:1px solid var(--graphite-line);}
.signup__inner{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:start;max-width:920px;margin:0 auto;}
.signup .section-title,.signup .section-subtitle{text-align:left;margin-left:0;}
.signup__selected{margin-top:22px;background:linear-gradient(158deg,#303030,#242424);border:1px solid var(--graphite-line);border-radius:var(--radius);padding:18px 20px;}
.signup__selected-label{font-weight:700;color:#fff;font-size:14px;}
.signup__selected-list{margin:10px 0 0;padding-left:18px;color:var(--silver);}
.signup__selected-list li{margin:4px 0;}
.signup__selected-none{margin:8px 0 0;color:var(--text-muted);font-size:14px;}
.signup__form{background:linear-gradient(158deg,#323232,#242424);border:1px solid var(--graphite-line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow-lg);}
.field{margin-bottom:18px;}
.field label{display:block;font-weight:600;font-size:14px;color:#fff;margin-bottom:6px;}
.field input{
  width:100%;padding:13px 14px;border:1px solid var(--graphite-line);border-radius:10px;
  font-size:15px;font-family:inherit;background:#1c1c1c;color:#fff;transition:border-color .15s,box-shadow .15s;
}
.field input::placeholder{color:#6b6b6b;}
.field input:focus{outline:none;border-color:var(--lime);box-shadow:0 0 0 3px rgba(168,212,0,.18);}
.field input.has-error{border-color:var(--red);}
.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--text-muted);margin:4px 0 20px;cursor:pointer;}
.checkbox input{margin-top:3px;flex-shrink:0;accent-color:var(--lime);}
.form-error{background:rgba(239,83,80,.12);color:#fca5a5;border:1px solid rgba(239,83,80,.4);border-radius:10px;padding:10px 14px;font-size:14px;margin:0 0 16px;}

/* honeypot oculto */
.hp{position:absolute;left:-9999px;height:0;overflow:hidden;}

/* ---- Pagina de resultado ---- */
.page-result main.result{min-height:60vh;display:flex;align-items:center;padding:60px 0;}
.result__card{
  max-width:520px;margin:0 auto;text-align:center;
  background:linear-gradient(158deg,#323232,#242424);
  border:1px solid var(--graphite-line);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:44px 36px;
}
.result__icon{
  width:64px;height:64px;margin:0 auto 20px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;color:#fff;
}
.result__card--success .result__icon{background:var(--green);}
.result__card--error .result__icon{background:var(--red);}
.result__card--info .result__icon{background:var(--lime);color:#1a2200;}
.result__title{font-size:26px;font-weight:800;color:#fff;margin:0 0 12px;}
.result__body{color:var(--silver);font-size:16px;margin:0 0 28px;}
.result__body strong{color:#fff;}

/* ---- Footer ---- */
.site-footer{background:var(--graphite-900);border-top:1px solid var(--graphite-line);text-align:center;padding:34px 0;color:var(--text-muted);font-size:13.5px;}
.site-footer__privacy{margin:0 0 6px;max-width:600px;margin-inline:auto;}
.site-footer__copy{margin:0;}

/* ---- Responsive ---- */
@media(max-width:760px){
  .signup__inner{grid-template-columns:1fr;}
  .hero{padding:70px 0 80px;}
  .products,.signup{padding:60px 0;}
}
