/*
 * Vigentra Observe — identidad visual de Vigentra Technologies
 * Inspirada en el icono del instalador: grafito, verde menta y oro suave.
 * Esta hoja se carga después de site.css y conserva la estructura original.
 */
:root {
  --cream: #eff8f2;
  --paper: #dfefe5;
  --ink: #19363b;
  --red: #287e68;
  --blue: #17353b;
  --yellow: #f8dca0;
  --line: #bdd8c9;
  --muted: #637c74;
  --night: #101f26;
  --night-soft: #192f35;
  --night-raised: #213d42;
  --mint: #9ce9c2;
  --mint-strong: #65cda5;
  --gold: #ffe2a1;
  --text-light: #eefbf4;
  --line-dark: #355a58;
  --line-light: #c4ddcf;
  --sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Segoe UI', 'Arial Black', Arial, sans-serif;
}

html { scrollbar-color: #478b78 var(--night); }
body { background: var(--cream); color: var(--ink); }
body::before { opacity: .018; }
::selection { background: var(--mint); color: var(--night); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mint-strong);
  outline-offset: 4px;
}
.skip { background: var(--mint); color: var(--night); border: 1px solid var(--mint); border-radius: 8px; }

/* Encabezado e iconografía */
.site-header, .site-header.inverted {
  position: sticky; top: 0;
  background: rgba(16, 31, 38, .97);
  color: var(--text-light);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 10px 35px rgba(7, 17, 19, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { gap: 13px; }
.brand-logo {
  display: block; flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  filter: drop-shadow(0 3px 10px rgba(100, 201, 159, .14));
}
.brand b { color: #f1fbf5; font: 800 22px/1 var(--display); letter-spacing: -.025em; }
.brand small { margin-top: 3px; font-size: 9px; letter-spacing: .2em; color: var(--mint); }
.main-nav { gap: 26px; }
.main-nav a:not(.nav-cta) { color: #c9ded5; transition: color .18s; }
.main-nav a:not(.nav-cta):hover,.main-nav a.active { color: #fff; }
.main-nav a:not(.nav-cta):after { border-color: var(--mint); }
.nav-cta,.inverted .nav-cta {
  background: var(--mint); color: #112d30;
  border: 1px solid rgba(201, 255, 231, .35);
  border-radius: 10px; padding: 12px 16px;
  box-shadow: 0 4px 15px rgba(102, 220, 165, .13);
  transition: background .18s, transform .18s;
}
.nav-cta:hover,.inverted .nav-cta:hover { background: #c1f7dc; transform: translateY(-2px); }
.menu-toggle { color: #edf9f1; }

/* Tipografía, botones, textos de sección */
.hero h1,.section-head h2,.statement h2,.roadmap-copy h2,.contact h2,
.support-hero h1,.support-section h2,.data-copy h2,.contact-intro h2 {
  font-family: var(--display); font-weight: 850; text-transform: none;
  line-height: 1.03; letter-spacing: -.055em;
}
.hero h1 em,.statement h2 em,.support-hero h1 em { font-style: normal; color: var(--red); }
.kicker { letter-spacing: .135em; }
.kicker span {
  background: #daf5e5; color: #1a5b4c; border-radius: 8px;
  border: 1px solid #b5e8cf; font-weight: 900;
}
.button {
  border-radius: 11px; border-width: 1px;
  font-weight: 800; letter-spacing: .045em;
  padding: 15px 19px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 49, 42, .17); }
.button.primary {
  background: var(--mint); border-color: var(--mint); color: #113831;
  box-shadow: 0 4px 22px rgba(139, 239, 185, .1);
}
.button.primary:hover { background: #bef7db; border-color: #bef7db; box-shadow: 0 12px 30px rgba(64, 152, 112, .2); }
.button.dark { background: #17383a; color: #eefbf3; border-color: #17383a; }
.button.dark:hover { background: #255d55; box-shadow: 0 12px 25px rgba(18, 48, 39, .2); }
.button.text { border-bottom: 1px solid currentColor; border-radius: 0; }
.button.text:hover { box-shadow: none; }

/* Portada: mismo ADN del icono de la aplicación */
.section-grid {
  border-bottom: 1px solid #3d655c;
  background: radial-gradient(circle at 15% 17%, rgba(65, 122, 102, .17), transparent 40%),
              linear-gradient(125deg, #0f2229, #142d33 75%);
  color: var(--text-light);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(48px, 5.8vw, 92px); }
.hero h1 em { color: var(--mint); }
.hero .kicker { color: #b8d7c6; }
.hero .kicker span { color: #9ff0c7; background: #24473f; border-color: #3a7965; }
.hero-lead { color: #c0d7cb; line-height: 1.7; }
.hero .button.text { color: #d9f4e3; }
.hero-download-note { color: #abcabd; }
.hero-visual {
  background: radial-gradient(circle at 70% 28%, rgba(132, 224, 182, .2), transparent 38%),
              linear-gradient(155deg, #204047, #10282f 78%);
  border-left: 1px solid rgba(179, 239, 206, .12);
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(184, 243, 206, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(184, 243, 206, .04) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.construct.circle {
  background: radial-gradient(circle at 45% 35%, rgba(155, 237, 194, .65), rgba(95, 194, 152, .12) 65%, transparent 70%);
  box-shadow: 0 0 120px rgba(121, 224, 176, .13);
}
.construct.diagonal { background: rgba(126, 220, 170, .15); border-top: 1px solid #7be0ae55; border-bottom: 1px solid #7be0ae55; }
.construct.block { background: linear-gradient(135deg, rgba(249, 219, 144, .18), rgba(80, 165, 130, .08)); border-top-left-radius: 80px; }
.visual-card {
  background: rgba(27, 53, 59, .93); color: #e8f6ef;
  border: 1px solid #568276; border-radius: 18px;
  box-shadow: 0 18px 35px rgba(3, 16, 17, .31), inset 0 1px 0 rgba(221, 255, 230, .09);
  backdrop-filter: blur(8px);
}
.visual-card b { color: var(--gold); font-size: 36px; }
.visual-card span { color: var(--mint); }
.visual-card small { color: #cadbd1; }
.card-a { transform: rotate(-2deg); }
.card-b { transform: rotate(2deg); }
.card-c { transform: rotate(-1deg); }
.visual-note { color: #bcdfcf; }
.hero-index { background: #b5eacb; border-left: 1px solid #85c6a9; color: #1c4a42; }

/* Problema y propuesta */
.statement { background: #f1f9f3; border-bottom: 1px solid #c7ded0; }
.statement-number { background: #254e48; color: var(--mint); }
.statement-copy { border-right: 1px solid #c3ddcb; }
.statement h2 em { color: #2f9676; }
.statement-body { color: #3c5b53; }
.statement-body p:first-child { color: #254941; }

/* Método: tarjetas limpias */
.method { background: linear-gradient(155deg, #e1f1e6, #f0f9f2); border-bottom: 1px solid #c6dfd1; }
.method-steps { border: none; gap: 16px; }
.method-steps > li, .method-steps > li:nth-child(2) {
  border: 1px solid #bddcc9 !important;
  border-radius: 18px; background: #f8fcf9;
  box-shadow: 0 8px 26px rgba(27, 72, 56, .045);
  transition: transform .2s, box-shadow .2s;
}
.method-steps > li:hover { transform: translateY(-4px); box-shadow: 0 17px 35px rgba(27,72,56,.11); }
.step-no { color: #268a69; font-weight: 800; }
.step-mark.eye { border-color: #377a65; }
.step-mark.eye:after { background: #ffe3a1; }
.step-mark.square { background: #b8e6cb; box-shadow: 16px 16px 0 #3d9576; border-radius: 9px; }
.step-mark.dialog { background: #3b917b; }
.step-mark.dialog:after { border-top-color: #3b917b; }
.step-mark.arrow::before { background: #348c70; }
.step-mark.arrow::after { border-color: #348c70; border-bottom-color: transparent; border-left-color: transparent; }
.method-steps h3,.cap-grid h3,.principles h3,.status-board h3,.support-steps h3 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em; text-transform: none;
}
.method-steps p { color: #61776b; }

/* Capacidades: módulo oscuro, tonos de la aplicación */
.capabilities { background: linear-gradient(135deg, #142d34, #0e242a); color: var(--text-light); }
.section-head.light .kicker { color: #bae5cf; }
.cap-grid { gap: 14px; border: none; }
.cap-grid article,.cap-grid article:nth-child(3n),.cap-grid article:nth-child(2n),.cap-grid article:nth-last-child(-n+3) {
  border: 1px solid #3d605e !important; border-radius: 17px;
  background: #1e3d42;
  transition: background .2s, transform .2s;
}
.cap-grid article:hover { background: #294d4d; transform: translateY(-3px); }
.cap-grid article.cap-lead {
  background: linear-gradient(155deg, #a4ecc6, #69bf9c); border-color: #b8f6d4 !important;
  color: #123d38;
}
.cap-grid article.cap-lead:hover { background: linear-gradient(155deg, #b8f6d6, #7cd1aa); }
.cap-grid h3 { font-size: 32px; }
.cap-grid p { color: #c5e0d5; }
.cap-grid .cap-lead p { color: #214e45; }
.cap-code { color: #9de5c4; }
.cap-lead .cap-code { color: #28594d; }
.cap-graphic i { background: #205b52; border-radius: 6px 6px 0 0; }
.cap-graphic i:nth-child(4) { background: var(--gold); }

/* Principios */
.principles { background: #f3f9f4; border-bottom: 1px solid #c4d9cc; }
.principles-title { background: linear-gradient(140deg, #1e534c, #143b3c); border-right: 1px solid #355c55; color: #eef9f1; }
.principles-title span { color: var(--mint); }
.principles-title h2 { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: -.045em; line-height: 1.06; }
.principles-list article { border-bottom: 1px solid #c9ddd0; }
.principles-list b { color: #309876; font-weight: 850; }
.principles-list p { color: #5b7569; }

/* Descarga: instalador conservado + maqueta con aspecto real de la app */
.desktop-roadmap { background: #e4f1e8; border-bottom: 1px solid #c1d9c9; }
.roadmap-stamp { border-color: #64b891; color: #22654e; background: #f3fbf5; font-weight: 900; box-shadow: 0 14px 35px rgba(38, 113, 75, .09); }
.roadmap-copy>p { color: #4a6458; line-height: 1.65; }
.roadmap-window { background: #172e34; border: 1px solid #41665e; border-radius: 16px; box-shadow: 0 25px 50px rgba(8, 45, 39, .22); overflow: hidden; }
.window-top { border-bottom: 1px solid #375b53; color: #bad6c6; background: #172b32; }
.window-top i { background: #b4e9c7; }
.window-top i:nth-child(2) { background: #ffe2a1; }
.window-top i:nth-child(3) { background: #69c6a0; }
.window-body aside { background: #11292e; color: var(--mint); }
.window-body aside span { background: #426d61; border-radius: 5px; }
.window-body>div { background: #1e3a3f; }
.window-title { background: #c8ebd5; border-radius: 5px; }
.window-stats i { background: #2d5654; border: 1px solid #4c8372; border-radius: 8px; }
.window-stats i:nth-child(2) { background: #345e55; }
.window-stats i:nth-child(3) { background: #48715d; }
.window-table { border-color: #43645d; border-radius: 6px; overflow: hidden; }
.window-table span { border-bottom-color: #43645d; }
.window-table span:nth-child(even) { background: #25484a; }
.roadmap-window>small { border-top: 1px solid #42655f; color: #bed9c8; }
.download-details span { background: #f1fbf3; border: 1px solid #b7d9c4; color: #315e4d; border-radius: 7px; }
.roadmap-copy .download-caution { color: #60766b; }
.download-caution a,.status-download-link { text-decoration-color: #338667; }

/* Contacto y pie */
.contact { background: linear-gradient(125deg, #0f242b, #1b3b3d); color: var(--text-light); }
.contact-geometry i:nth-child(1) { background: radial-gradient(circle at 35% 35%, #a0ecc5, #4a997d); box-shadow: 0 0 95px rgba(134, 237, 183, .2); }
.contact-geometry i:nth-child(2) { background: #f7d998; opacity: .92; border-radius: 35px; }
.contact-geometry i:nth-child(3) { background: #336d63; border-radius: 35px; }
.contact-copy .kicker span { background: #294b43; border-color: #467e65; color: var(--mint); }
.contact-copy>p { color: #cee7dc; }
.site-footer,.dark-footer { background: #0d2026; color: #eaf8ee; border-top: 1px solid #335750; }
.site-footer strong { color: var(--mint); }
.site-footer>div a { color: #c6e0d2; }
.site-footer>div a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { color: #c6dcd1; }
.site-footer p span { color: #91b3a2; }

/* Página de soporte */
.support-hero { background: radial-gradient(circle at 10% 45%, #28473f 0, transparent 44%), #101f26; border-bottom: 1px solid #426459; }
.support-hero h1 em { color: var(--mint); }
.support-hero-copy>.kicker { color: #b9d6c8; }
.support-hero-copy>.kicker span { background: #294e41; color: #a6eac7; border-color: #548b6c; }
.support-hero>div:first-child>p:last-child { color: #c6dfd1; }
.support-sign { background: linear-gradient(150deg, #429b7a, #1e584e); }
.support-sign span { color: #ffe2a1; text-shadow: 0 9px 35px rgba(18, 59, 39, .17); }
.support-sign i { background: rgba(15, 48, 47, .36); }
.support-sign b { color: #eaf9f1; }
.support-jumps { border-bottom: 1px solid #c2d9cc; background: #e7f4eb; }
.support-jumps a,.support-jumps a:last-child { border-color: #cadfd0; }
.support-jumps b { color: #2e916e; }
.support-jumps a:hover { background: #d4f0df; }
.support-section { background: #eff8f1; border-bottom: 1px solid #c4ddcc; }
.support-section-head>span { color: #2e9674; font-weight: 850; }
.support-steps { gap: 15px; border: 0; }
.support-steps article,.support-steps article:nth-child(2) {
  border: 1px solid #c5dfce !important; border-radius: 16px; background: #fcfffc;
  box-shadow: 0 7px 23px rgba(30, 74, 48, .05);
}
.support-steps article>b { color: #27906e; }
.support-steps p { color: #526e61; }
.data-support { background: #edf7ef; border-bottom: 1px solid #c4ddcd; }
.data-poster { background: linear-gradient(150deg, #1e4c47, #132b31); }
.data-poster span { color: var(--mint); }
.data-poster i { background: rgba(163, 237, 187, .28); border-radius: 50px; }
.data-copy>p { color: #506e62; }
.data-copy li { border-bottom-color: #c6dccd; }
.data-copy li::before { color: #2b9973; }
.warning { border: 1px solid #bda66d; background: #fff6dc; border-radius: 12px; }
.warning b { color: #786024; }
.product-status { background: #d9eee0; border-bottom: 1px solid #bbd7c4; }
.status-board { border: 0; gap: 15px; }
.status-board article,.status-board article:last-child {
  border: 1px solid #bddac8; border-radius: 16px; background: #f7fcf8;
  box-shadow: 0 9px 22px rgba(41, 88, 60, .06);
}
.status-board p { color: #557265; }
.status-tag { border: 1px solid #b1cbbd; border-radius: 7px; }
.status-tag.available { background: #215e49; color: #e9fff3; border-color: #215e49; }
.status-tag.progress { background: #ffebb8; color: #71561f; border-color: #e8ce85; }
.status-tag.planned { background: #e3efe7; color: #3e6953; }
.faq { background: #f0f8f2; border-bottom: 1px solid #c4dbcd; }
.faq-list { border-top: 1px solid #c4dccd; }
.faq details { border-bottom: 1px solid #c4dccd; }
.faq summary { color: #1e473c; }
.faq summary:hover { color: #287e62; }
.faq summary span { color: #2c9372; }
.faq details p { color: #587065; }
.support-contact { background: #17383a; color: #f2fcf5; }
.contact-intro>.kicker span { background: #31584c; color: #a0e9c5; border-color: #5f957d; }
.contact-intro>p { color: #d3e8db; }
.contact-pending { background: #254b47; border: 1px solid #5b8977; border-radius: 10px; }
.contact-pending span { color: #c9e6d5; }
.contact-form { background: #f1f8f3; color: var(--ink); }
.field input,.field select,.field textarea { border: 1px solid #b9d4c4; border-radius: 8px; background: #fbfffc; padding: 13px 12px; color: var(--ink); }
.field input:focus,.field select:focus,.field textarea:focus { outline: 3px solid #8cddbd; outline-offset: 1px; border-color: #3d9378; }
.form-end p { color: #678074; }

/* Móvil: mantener fondo y navegación coherentes, sin bordes heredados. */
@media (max-width: 1000px) {
  .main-nav { gap: 14px; }
  .principles-title { border-right: 0; border-bottom: 1px solid #5f917b; }
  .support-jumps a:nth-child(2) { border-right: 0; }
  .support-jumps a:nth-child(-n+2) { border-bottom: 1px solid #cadfd0; }
}
@media (max-width: 760px) {
  .site-header,.site-header.inverted { height: 72px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand b { font-size: 21px; }
  .main-nav,.inverted .main-nav {
    top: 72px; background: #152f35; color: #e6f8ee;
    border-bottom: 1px solid #43685e;
    box-shadow: 0 20px 40px rgba(5, 19, 18, .25);
  }
  .main-nav a:not(.nav-cta) { color: #e4f5eb; }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero h1 { font-size: clamp(47px, 9vw, 64px); }
  .hero-visual { border-left: 0; border-top: 1px solid #3f655b; }
  .statement-copy { border-right: 0; }
  .statement-body { border-top: 1px solid #c8e0d0; }
  .section-head { gap: 20px; }
  .method-steps > li,.support-steps article { border: 1px solid #bddcc9 !important; }
  .cap-grid article,.cap-grid article:nth-child(3n),.cap-grid article:nth-child(2n),.cap-grid article:nth-last-child(-n+3) { border: 1px solid #3d605e !important; }
  .principles-list article { border-bottom: 1px solid #c9ddd0; }
  .contact-geometry { height: 260px; }
  .contact-geometry i:nth-child(1) { width: 260px; height: 260px; }
  .contact-geometry i:nth-child(2) { height: 52px; }
  .support-jumps a { border-right: 0; border-bottom: 1px solid #cadfd0 !important; }
  .support-jumps a:last-child { border-bottom: 0 !important; }
  .site-footer { gap: 28px; }
}
@media (max-width: 430px) {
  .hero h1,.support-hero h1 { font-size: clamp(42px, 11vw, 51px); }
  .brand small { letter-spacing: .14em; }
  .hero-actions { align-items: flex-start; }
  .hero-actions .button.primary { width: 100%; }
  .roadmap-stamp { width: 122px; height: 122px; }
  .visual-card { width: 188px; }
}
@media (prefers-reduced-motion: reduce) {
  .method-steps > li,.cap-grid article,.nav-cta { transition: none; }
}
/* Corregir el marcador de diálogo (la clase HTML es 'dialogue'). */
.step-mark.dialogue { background: #3b917b; border-radius: 50%; }
.step-mark.dialogue::after { content: ''; position: absolute; bottom: -14px; left: 10px; border: 20px solid transparent; border-top-color: #3b917b; transform: rotate(24deg); }
@media (max-width: 760px) {
  .visual-note { display: none; }
}

/* Marca Vigentra Technologies / producto Vigentra Observe */
.brand b { font-size: 22px; letter-spacing: -.045em; }
.brand small { color: var(--gold); font-size: 9px; letter-spacing: .17em; }
.product-signature {
  display: inline-flex; align-items: baseline; gap: .35em; flex-wrap: wrap;
  color: #e4f9e9; border-left: 3px solid var(--mint);
  padding-left: 13px; margin: -5px 0 18px;
  font-size: clamp(16px, 1.7vw, 22px); font-weight: 800; letter-spacing: .08em;
}
.product-signature strong { color: var(--mint); font-weight: 900; }
.product-signature span { font-size: .65em; color: var(--gold); }
.hero-lead strong { color: #effdf2; }
.site-footer p strong { color: var(--mint); }
@media (max-width: 760px) {
  .brand b { font-size: 21px; }
  .brand small { font-size: 9px; letter-spacing: .13em; }
  .product-signature { margin-bottom: 12px; font-size: 16px; }
}
@media (max-width: 390px) {
  .brand { gap: 9px; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 8px; }
}
