:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --ink: #0c1727;
  --muted: #5d6b7e;
  --line: #dce4ee;
  --navy: #07101f;
  --navy-2: #0b1729;
  --navy-3: #102139;
  --cyan: #28d6c8;
  --cyan-2: #5ae6dc;
  --blue: #4a82ff;
  --success: #5ce6a6;
  --shadow: 0 28px 70px rgba(17, 36, 67, 0.13);
  --radius: 26px;
  --radius-sm: 16px;
  --shell: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 116px 0; }
.section-dark { background: var(--navy); color: #f5f9ff; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  transform: translateY(-150%); background: white; color: black;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 16, 31, .88);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: rgba(241,247,255,.76); font-size: 13px; font-weight: 650; letter-spacing: .02em; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav .nav-cta { padding: 10px 17px; border: 1px solid rgba(90,230,220,.42); border-radius: 999px; color: var(--cyan-2); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.07); color: white; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative; min-height: 820px; overflow: hidden;
  padding: 160px 0 42px;
  background:
    radial-gradient(circle at 80% 23%, rgba(49, 121, 255, .17), transparent 34%),
    radial-gradient(circle at 13% 80%, rgba(40, 214, 200, .08), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #081426 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .22; pointer-events: none; }
.hero-glow-a { width: 380px; height: 380px; right: -120px; top: 140px; background: var(--blue); }
.hero-glow-b { width: 260px; height: 260px; left: 24%; bottom: -100px; background: var(--cyan); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 72px; }
.hero-copy { padding-top: 20px; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #31756f; font-size: 12px; line-height: 1; text-transform: uppercase; font-weight: 800; letter-spacing: .14em;
}
.eyebrow { color: #8eb8c4; margin-bottom: 24px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(40,214,200,.10), 0 0 20px rgba(40,214,200,.65); display: inline-block; flex: 0 0 auto; }
.hero h1 { margin: 0; max-width: 760px; color: white; font-size: clamp(46px, 5.3vw, 76px); line-height: .99; letter-spacing: -.055em; font-weight: 760; }
.hero h1 span { color: #9fb7cb; }
.hero-lead { max-width: 670px; margin: 28px 0 0; color: #9fb0c3; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 12px; padding: 0 20px; border: 1px solid transparent; font-size: 14px; font-weight: 750; transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-primary { color: #04211e; background: linear-gradient(135deg, var(--cyan), #71f0e7); box-shadow: 0 10px 35px rgba(40,214,200,.19); }
.button-primary:hover { box-shadow: 0 14px 40px rgba(40,214,200,.28); }
.button-ghost { color: #d4deea; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.14); }
.button-outline-light { color: #eff6ff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: #70839a; font-size: 12px; }
.hero-proof b { color: #c8d6e6; font-weight: 700; }

.visual-frame {
  position: relative; padding: 54px 12px 12px; border-radius: 30px;
  background: linear-gradient(145deg, rgba(20,42,73,.92), rgba(9,22,39,.7));
  border: 1px solid rgba(122, 164, 205, .18);
  box-shadow: 0 50px 100px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg);
}
.visual-frame::after { content: ""; position: absolute; inset: 14% 10% 10%; z-index: -1; background: rgba(63, 129, 255, .23); filter: blur(55px); border-radius: 30px; }
.visual-topbar { position: absolute; inset: 0 0 auto; height: 50px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.07); color: #7f94aa; font-size: 10px; letter-spacing: .12em; }
.visual-topbar > span { margin-left: 22px; }
.visual-topbar strong { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 9px; color: #9bd8ca; }
.visual-dots { display: flex; gap: 6px; }
.visual-dots i { width: 6px; height: 6px; border-radius: 50%; background: #45607d; }
.visual-frame > img { width: 100%; border-radius: 20px; }
.floating-card { position: absolute; padding: 12px 14px; min-width: 126px; border-radius: 14px; background: rgba(6, 17, 31, .85); border: 1px solid rgba(108,166,225,.18); backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.floating-card span, .floating-card small { display: block; color: #6f849b; font-size: 8px; letter-spacing: .13em; }
.floating-card b { display: block; color: white; font-size: 20px; line-height: 1.1; margin: 4px 0; }
.floating-card-a { left: -30px; top: 38%; }
.floating-card-b { right: -24px; bottom: 15%; }
.trust-line { position: relative; z-index: 2; margin-top: 70px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; }
.trust-line p { margin: 0; color: #74879e; display: flex; gap: 11px; align-items: center; font-size: 12px; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin-bottom: 54px; }
.section-heading h2, .workflow-copy h2, .about-panel h2, .contact-copy h2 { margin: 14px 0 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.06; letter-spacing: -.045em; font-weight: 750; }
.section-heading p { margin: 0 0 5px; color: var(--muted); font-size: 17px; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card { grid-column: span 4; min-height: 360px; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(255,255,255,.7) inset; transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #c7d4e3; box-shadow: var(--shadow); }
.service-card-featured { grid-column: span 6; grid-row: span 2; min-height: 530px; color: #eef6ff; background: linear-gradient(160deg, #0c1b30, #0a1424); border-color: #172c47; }
.service-card-wide { grid-column: span 6; flex-direction: row; align-items: stretch; gap: 30px; overflow: hidden; }
.service-card-wide-copy { flex: 1; display: flex; flex-direction: column; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #eaf9f7; color: #0c786f; margin-bottom: 42px; }
.service-icon svg { width: 25px; height: 25px; }
.service-card-featured .service-icon { background: rgba(40,214,200,.12); color: var(--cyan-2); }
.card-index { display: block; margin-bottom: 10px; color: #8190a1; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.service-card h3 { margin: 0; font-size: 27px; letter-spacing: -.025em; line-height: 1.15; }
.service-card p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.service-card-featured p { color: #9cadc1; font-size: 17px; }
.clean-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; }
.clean-list li { position: relative; padding-left: 22px; color: #b4c3d3; font-size: 14px; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--cyan); }
.text-link { margin-top: auto; padding-top: 28px; color: var(--cyan-2); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.text-link span { margin-left: 5px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tag-row span { padding: 6px 9px; border-radius: 8px; background: var(--surface-2); color: #5f6e80; font-size: 11px; font-weight: 650; }
.mini-architecture { width: 210px; min-height: 210px; position: relative; align-self: center; border-radius: 22px; background: linear-gradient(145deg, #edf4fb, #f8fbff); border: 1px solid #dfe8f2; }
.arch-node { position: absolute; display: grid; place-items: center; width: 52px; height: 36px; border-radius: 9px; background: white; border: 1px solid #d7e4f0; color: #4c637a; font-size: 9px; font-weight: 800; z-index: 2; box-shadow: 0 8px 20px rgba(25,55,90,.07); }
.arch-main { width: 64px; height: 44px; left: 73px; top: 28px; color: #0b786f; border-color: #b9e7e1; }
.arch-1 { left: 14px; bottom: 27px; }.arch-2 { left: 79px; bottom: 27px; }.arch-3 { right: 14px; bottom: 27px; }
.arch-line { position: absolute; height: 1px; background: #b8cadc; transform-origin: left center; top: 85px; left: 104px; }
.line-a { width: 75px; transform: rotate(122deg); }.line-b { width: 70px; transform: rotate(91deg); }.line-c { width: 75px; transform: rotate(58deg); }

.workflow-section { position: relative; overflow: hidden; }
.workflow-section::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 50%, rgba(40,214,200,.08), transparent 30%); pointer-events:none; }
.workflow-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.kicker-dark { color: #6bd7ce; }
.workflow-copy h2 { color: white; }
.workflow-copy p { color: #90a1b4; font-size: 17px; margin: 24px 0 30px; max-width: 500px; }
.workflow-steps { border-top: 1px solid rgba(255,255,255,.1); }
.workflow-step { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.workflow-step > span { color: var(--cyan-2); font-size: 11px; letter-spacing: .13em; font-weight: 800; }
.workflow-step h3 { margin: 0; color: white; font-size: 20px; }
.workflow-step p { margin: 6px 0 0; color: #8193a8; font-size: 14px; }

.expertise-section { background: #f8fafc; }
.expertise-panels { border-top: 1px solid var(--line); }
.expertise-panel { display: grid; grid-template-columns: 70px 1fr .9fr; align-items: center; gap: 36px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.expertise-number { color: #9aa7b6; font-size: 11px; font-weight: 800; }
.expertise-panel h3 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.expertise-panel p { margin: 7px 0 0; color: var(--muted); font-size: 14px; max-width: 610px; }
.expertise-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.expertise-pills span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: white; color: #657386; font-size: 10px; font-weight: 750; }

.clients-section { background: var(--surface); }
.client-groups { border-top: 1px solid var(--line); }
.client-group { display: grid; grid-template-columns: 250px 1fr; gap: 50px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.client-group-title { display: flex; align-items: baseline; gap: 16px; }
.client-group-title span { color: #a0aebe; font-size: 10px; font-weight: 850; }
.client-group-title h3 { margin: 0; font-size: 18px; }
.client-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.client-cloud span { padding: 8px 11px; border-radius: 9px; background: #f4f7fa; border: 1px solid #e6edf4; color: #59687a; font-size: 12px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.client-cloud span:hover { background: #eafaf8; color: #0f766e; transform: translateY(-2px); }
.client-secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.client-secondary-grid .client-group { grid-template-columns: 1fr; gap: 20px; align-content: start; }

.about-section { background: linear-gradient(180deg, #edf3f9 0%, #f5f8fb 100%); }
.about-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 110px; align-items: center; }
.about-panel p { color: var(--muted); font-size: 16px; max-width: 680px; }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ccd7e2; border-left: 1px solid #ccd7e2; }
.metric { min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-right: 1px solid #ccd7e2; border-bottom: 1px solid #ccd7e2; }
.metric strong { font-size: 46px; line-height: 1; letter-spacing: -.04em; color: #102033; }
.metric span { margin-top: 9px; color: #69798b; font-size: 12px; }

.contact-section { color: white; background: linear-gradient(145deg, #081426 0%, #0b1c32 100%); position: relative; overflow: hidden; }
.contact-section::before { content:""; position:absolute; width: 600px; height:600px; right:-230px; top:-200px; border-radius:50%; background:rgba(52,117,255,.12); filter: blur(30px); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: start; }
.contact-copy h2 { color: white; max-width: 560px; }
.contact-copy > p { color: #91a3b8; font-size: 17px; max-width: 520px; }
.contact-details { display: grid; gap: 12px; margin-top: 34px; }
.contact-detail { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.contact-icon { width: 40px; height: 40px; display: grid; place-items:center; border-radius: 11px; background: rgba(255,255,255,.055); color: var(--cyan-2); border: 1px solid rgba(255,255,255,.07); }
.contact-icon svg { width: 20px; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: #687d95; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.contact-detail strong { color: #dce8f5; font-size: 14px; font-weight: 650; }
.utility-links { display: flex; gap: 12px; margin-top: 28px; }
.utility-links a { padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #93a8bd; font-size: 11px; }
.utility-links a:hover { color: white; border-color: rgba(255,255,255,.2); }

.contact-form { padding: 32px; border-radius: 26px; background: #f8fafc; color: var(--ink); box-shadow: 0 45px 100px rgba(0,0,0,.28); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #dde5ee; }
.form-heading span { font-weight: 800; font-size: 18px; }
.form-heading small { color: #8290a0; font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 14px; color: #506074; font-size: 11px; font-weight: 750; }
.contact-form label span { color: #98a3af; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; border: 1px solid #dbe4ee; border-radius: 11px; background: white; color: var(--ink); outline: none; padding: 13px 14px; font-size: 14px; transition: border-color .18s ease, box-shadow .18s ease; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #54cfc4; box-shadow: 0 0 0 4px rgba(40,214,200,.09); }
.form-submit { width: 100%; margin-top: 5px; border: 0; }
.form-status { min-height: 21px; margin: 12px 0 0; text-align: center; color: #657488; font-size: 11px; }
.form-status.success { color: #16735f; }.form-status.error { color: #af3c48; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.site-footer { padding: 66px 0 24px; background: #050c17; color: #91a1b4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 70px; }
.footer-brand img { width: 185px; filter: none; }
.footer-brand p { max-width: 350px; font-size: 13px; }
.footer-col, .footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-col strong, .footer-contact strong { color: #d7e2ee; margin-bottom: 8px; font-size: 12px; }
.footer-col a:hover, .footer-contact a:hover { color: var(--cyan-2); }
.footer-contact p { margin: 0 0 6px; }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #53667d; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 42px; height:42px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(7,16,31,.86); color: #dce9f7; backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  :root { --shell: min(100% - 40px, 960px); }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(44px, 6vw, 64px); }
  .floating-card-a { left: -12px; }.floating-card-b { right: -10px; }
  .service-card { grid-column: span 6; }
  .service-card-featured { grid-column: span 12; min-height: 470px; }
  .service-card-wide { grid-column: span 12; }
  .workflow-grid, .contact-grid { gap: 55px; }
  .about-grid { gap: 60px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 32px); --radius: 22px; }
  .section { padding: 88px 0; }
  .site-header { background: rgba(7,16,31,.9); backdrop-filter: blur(15px); }
  .header-inner { height: 72px; }
  .brand img { height: 38px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Menú móvil: panel independiente que cubre el viewport debajo del header.
     Usamos absolute + altura explícita para evitar que backdrop-filter del header
     convierta un position:fixed descendiente en un bloque de tamaño incorrecto. */
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 16px 28px;
    background: #07101f;
    border-top: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s var(--ease), visibility 0s linear .28s;
  }
  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .28s var(--ease), visibility 0s;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: #d8e5f3;
    font-size: 15px;
  }
  .main-nav a:hover, .main-nav a.active {
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.11);
    color: #fff;
  }
  .main-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
    min-height: 54px;
    text-align: center;
    border: 1px solid rgba(90,230,220,.45);
    background: rgba(40,214,200,.10);
    color: var(--cyan-2);
  }
  /* Al abrir el menú, el propio header cubre todo el viewport.
     Esto evita que cualquier contenido del hero pueda verse por detrás,
     sin cambiar la estructura ni el layout del resto del sitio. */
  body.menu-open .site-header {
    height: 100vh;
    height: 100dvh;
    background: #07101f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero { min-height: auto; padding: 132px 0 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { padding-top: 0; }
  .hero-visual { max-width: 650px; margin-inline: auto; width: 100%; }
  .visual-frame { transform: none; }
  .trust-line { margin-top: 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading p { max-width: 650px; }
  .workflow-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .expertise-panel { grid-template-columns: 45px 1fr; }
  .expertise-pills { grid-column: 2; justify-content: flex-start; }
  .client-group { grid-template-columns: 1fr; gap: 18px; }
  .client-secondary-grid { grid-template-columns: 1fr; gap: 0; }
  .metrics-grid { max-width: 650px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .section { padding: 72px 0; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 7px; }
  .floating-card { display: none; }
  .visual-frame { padding: 50px 7px 7px; border-radius: 20px; }
  .visual-frame > img { border-radius: 15px; }
  .visual-topbar > span { display: none; }
  .section-heading h2, .workflow-copy h2, .about-panel h2, .contact-copy h2 { font-size: 38px; }
  .bento-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-featured, .service-card-wide { grid-column: 1; min-height: auto; }
  .service-card { padding: 24px; }
  .service-card-wide { flex-direction: column; }
  .mini-architecture { width: 100%; min-height: 210px; }
  .arch-main { left: calc(50% - 32px); }
  .arch-1 { left: 8%; }.arch-2 { left: calc(50% - 26px); }.arch-3 { right: 8%; }
  .line-a { width: 120px; left: 50%; transform: rotate(126deg); }.line-b { left: 50%; }.line-c { width: 120px; left: 50%; transform: rotate(54deg); }
  .expertise-panel { grid-template-columns: 1fr; gap: 10px; }
  .expertise-pills { grid-column: 1; }
  .client-cloud { gap: 7px; }
  .client-cloud span { font-size: 11px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 145px; padding: 19px; }
  .metric strong { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 23px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .utility-links { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Marca oficial INFOMATIX: el logo original usa texto negro, por eso se presenta
   sobre una placa clara en las áreas oscuras del sitio. */
.brand {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 5px 18px rgba(0,0,0,.12);
}
.brand img { height: 34px; width: auto; }
.footer-brand img {
  width: 196px;
  height: auto;
  padding: 7px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
}
@media (max-width: 760px) {
  .brand { padding: 4px 9px; border-radius: 10px; }
  .brand img { height: 30px; }
}
