:root {
  color-scheme: light;
  --ink: #132239;
  --muted: #4e6176;
  --paper: #f6f8fb;
  --line: #dbe3ed;
  --night: #101c2b;
  --night-deep: #0b1523;
  --sun: #ffc767;
  --blue: #17638b;
  font: 16px/1.65 "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .48; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #43a9de; outline-offset: 4px; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.mono { font: 650 .72rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .1em; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 8px 12px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { background: var(--night-deep); color: #f3f7fd; border-bottom: 1px solid #2b4058; }
.bar, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar { min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.05rem; font-weight: 800; letter-spacing: .045em; line-height: 1.25; }
.brand img { width: 64px; border-radius: 7px; border: 1px solid #6674e5; }
.brand small { display: block; color: #b4c7dc; font-size: .57rem; margin-top: 4px; letter-spacing: .095em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 40px); }
nav a, .language { text-decoration: none; color: #dce8f4; font-weight: 650; font-size: .88rem; }
nav a:hover, .language:hover { color: var(--sun); }
.language { border: 1px solid #51667e; border-radius: 8px; padding: 5px 12px; white-space: nowrap; }
.hero { background: radial-gradient(ellipse at 82% 30%, #1c3754 0, transparent 62%), var(--night); color: #f3f7fd; }
.hero-grid { display: grid; gap: clamp(24px, 3vw, 40px); padding-block: clamp(34px, 5vw, 64px); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 72px); align-items: start; }
.hero-copy .eyebrow { grid-column: 1 / -1; margin-bottom: 12px; }
.hero-copy h1 { grid-row: 2 / 4; margin-bottom: 0; }
.eyebrow, .window-bar { display: flex; gap: 9px; align-items: center; }
.eyebrow { color: #bfd3e6; font-size: .84rem; margin-top: 0; font-weight: 700; }
.signal { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--sun); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 20px; font-size: clamp(2.7rem, 5.1vw, 5.2rem); }
h1 em { color: var(--sun); font-style: normal; }
.hero-intro { max-width: 39ch; font-size: clamp(1rem, 1.45vw, 1.2rem); color: #d1dfec; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; border-radius: 8px; padding: 9px 15px; border: 1px solid transparent; font-weight: 750; text-decoration: none; }
.primary { background: var(--sun); color: #1b2431; }
.primary:hover { background: #ffd894; }
.secondary { background: #203147; color: #f1f6fb; border-color: #58708a; }
.secondary:hover:not(:disabled) { background: #324962; }
.app-preview { overflow: hidden; margin: 0; border: 1px solid #4a617d; border-radius: 16px; background: #0c1725; box-shadow: 0 18px 45px #060e1980; }
.window-bar { padding: 10px 14px; font-size: .74rem; letter-spacing: .055em; }
.window-label { margin-left: auto; color: #aabfd5; font-size: .64rem; }
.capture { overflow: hidden; border-block: 1px solid #384d63; }
.capture-frame { position: relative; margin-block-start: -2.15%; }
.capture img { width: 100%; }
/* Cover manufacturer labels in the displayed screenshot. Percentages refer to the full PNG. */
.capture-mask { position: absolute; pointer-events: none; height: 1.3%; }
.capture-mask-mode { left: 53.8%; top: 6.97%; width: 1.6%; background: #22364a; }
.capture-mask-action { left: 7.8%; top: 34.65%; width: 2.1%; background: #22384b; }
.capture-mask-diff { left: 17.35%; top: 39.38%; width: 2.3%; background: #172332; }
.capture-mask-sum { left: 19.2%; top: 42.3%; width: 2.3%; background: #1d2f40; }
.app-preview figcaption { padding: 10px 14px; font-size: .82rem; color: #b6c8db; }
.compat { background: #fff; border-bottom: 1px solid var(--line); }
.compat-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-block: 17px; }
.compat p, .compat ul { margin: 0; }
.compat p { color: var(--blue); }
.compat ul { display: flex; flex-wrap: wrap; gap: 7px 20px; padding: 0; list-style: none; font-weight: 650; font-size: .9rem; }
.section { padding-block: clamp(46px, 6.5vw, 84px); scroll-margin-top: 18px; }
.section-head { max-width: 63ch; margin-bottom: 24px; }
.kicker { color: var(--blue); margin-bottom: 12px; }
.kicker b { margin-right: 8px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
.section-head p:last-child, .steps p, .file-grid p, dd { color: var(--muted); margin-bottom: 0; }
.process { border-top: 1px solid var(--line); }
.steps, .file-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li, .file-grid li { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.step-num, .format { display: inline-block; color: var(--blue); margin-bottom: 13px; }
.checks { background: #e9f0f8; }
.checks-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.checks-grid .section-head, .contact-grid .section-head { margin: 0; }
.check-list { margin: 0; }
.check-list div { padding: 12px 0; border-bottom: 1px solid #b8c9da; }
dt { font-weight: 750; }
dd { margin-left: 0; }
.file-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sample-link { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 700; }
.sample-section { margin-block-start: clamp(24px, 4vw, 44px); }
.sample-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.sample { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
.sample-image { display: block; border-radius: 11px 11px 0 0; background: #f4f7fa; }
.sample-image img { width: 100%; border-radius: inherit; }
.sample-image:hover img { filter: brightness(.97); }
.sample figcaption { padding: 13px 16px; }
.sample figcaption p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.contact, footer { background: var(--night-deep); color: #f3f7fd; }
.contact .section-head p:last-child, .contact .kicker { color: #c3d4e5; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.email { overflow-wrap: anywhere; }
footer { border-top: 1px solid #34465b; }
.footer-inner { min-height: 95px; padding-block: 15px; font-size: .87rem; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #bdcde0; }
.footer-brand img { width: 134px; border: 1px solid #53606a; border-radius: 7px; }
@media (max-width: 1000px) {
  .shell { width: min(1320px, calc(100% - 48px)); }
  .hero-copy { display: block; max-width: 660px; }
  .hero-copy h1 { margin-bottom: 20px; }
  .steps, .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .bar { flex-wrap: wrap; gap: 8px 14px; padding-block: 10px; }
  nav { order: 2; flex-basis: 100%; gap: 8px 15px; }
  .steps, .checks-grid, .contact-grid, .sample-grid { grid-template-columns: 1fr; }
  .file-grid li { padding: 15px; }
  .footer-inner, .footer-brand { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.languages { position: relative; flex-shrink: 0; z-index: 2; }
.languages summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.languages summary::-webkit-details-marker { display: none; }
.languages ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  width: max-content;
  min-width: 145px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: var(--night-deep);
  border: 1px solid #51667e;
  border-radius: 9px;
  box-shadow: 0 10px 25px #060e1960;
}
.languages a { display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 6px; text-decoration: none; }
.language-icon { display: block; width: 21px; height: 14px; flex: 0 0 21px; }
.languages a:hover, .languages a[aria-current="page"] { background: #203147; color: var(--sun); }
.window-label { margin-left: 0; margin-inline-start: auto; }
.comparison { overflow: auto; border: 1px solid #b8c9da; border-radius: 14px; background: white; }
.comparison table { width: 100%; min-width: 620px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 15px 18px; text-align: start; vertical-align: top; }
.comparison thead { background: var(--night); color: #f3f7fd; }
.comparison thead th:last-child { color: var(--sun); }
.comparison tbody tr + tr { border-top: 1px solid var(--line); }
.comparison tbody th { min-width: 140px; }
.comparison tbody td { width: 42%; color: var(--muted); }
.comparison tbody td:last-child { color: var(--ink); background: #fff8e8; }
.comparison-note { color: var(--muted); margin: 12px 0 0; font-size: .9rem; max-width: 86ch; }
#comparar .section-head p:not(.kicker) { color: var(--muted); }
.steps li { border-top: 3px solid #99bcd0; }
.steps li:nth-child(4n) { border-top-color: #eab34f; }
[lang="hi"] h1, [lang="hi"] h2, [lang="ar"] h1, [lang="ar"] h2 { line-height: 1.25; letter-spacing: normal; }
[lang="ar"] .mono { letter-spacing: normal; }
@media (max-width: 680px) {
  .comparison th, .comparison td { padding: 12px; }
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 36px;
  align-items: center;
  margin-block-start: clamp(26px, 4vw, 56px);
  padding: clamp(20px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.experience-stat h2 { margin: 0 0 7px; color: var(--blue); }
.experience-stat p { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 650; }
.experience-stat strong { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; color: var(--ink); }
.experience-world p { margin: 0 0 7px; color: var(--muted); }
.experience-world ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.experience-world li { padding: 2px 9px; border-radius: 5px; background: #e9f0f8; font-weight: 650; font-size: .87rem; }
@media (max-width: 680px) {
  .experience { grid-template-columns: 1fr; }
}

/* Ejemplo técnico y vistas de la planta */
.field-evidence .section-head { max-width: 78ch; }
.download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:26px 0 38px; }
.download-card { display:flex; flex-direction:column; gap:12px; min-height:178px; padding:24px; border:1px solid #b8c9da; border-radius:16px; background:#fff; text-decoration:none; color:var(--ink); box-shadow:0 12px 26px rgba(16,28,43,.06); }
.download-card:hover, .download-card:focus-visible { border-color:var(--blue); transform:translateY(-2px); }
.download-card strong { font-size:1.15rem; line-height:1.3; }
.download-card span:last-child { margin-top:auto; color:var(--muted); font-size:.86rem; }
.view-grid { display:grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap:20px; align-items:start; margin-top:24px; }
.view-grid figure { margin:0; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#101c2b; }
.view-grid img { display:block; width:100%; height:auto; }
.view-grid figcaption { color:#f3f7fd; padding:12px 16px; font-size:.88rem; }
#experiencia-mapa { border-top:1px solid var(--line); }
@media(max-width:760px) { .download-grid,.view-grid { grid-template-columns:1fr; } .download-card { min-height:140px; } }

/* Atlas de plantas integrado */
.project-map-wrap{margin-top:clamp(24px,4vw,46px);border-radius:20px;overflow:hidden;box-shadow:0 16px 40px rgba(16,28,43,.12)}.project-map{display:block;width:100%;height:clamp(530px,62vw,760px);border:0;background:#fff}@media(max-width:680px){.project-map-wrap{margin-top:24px;border-radius:14px}.project-map{height:540px}}
