:root {
    --navy: #002b50;
    --navy-deep: #001c36;
    --blue: #07598b;
    --orange: #ff7a00;
    --orange-dark: #ea6900;
    --ink: #06284a;
    --muted: #5c6a78;
    --paper: #f4f7f9;
    --white: #fff;
    --shadow: 0 14px 35px rgba(3, 40, 73, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: white; font-family: Inter, Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea { font: inherit; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 90px 0; }
.center { display: flex; justify-content: center; margin-top: 42px; }

.site-header { position: sticky; z-index: 100; top: 0; height: 84px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(3,40,73,.08); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { width: 162px; height: 74px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: stretch; justify-content: center; gap: 22px; margin-left: auto; height: 100%; }
.main-nav a { position: relative; display: flex; align-items: center; color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { height: 100%; display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--ink); border: 0; background: transparent; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.nav-dropdown-toggle::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle::after, .nav-dropdown:focus-within .nav-dropdown-toggle::after, .nav-dropdown.open .nav-dropdown-toggle::after { right: 0; }
.nav-dropdown-toggle span { color: var(--orange); font-size: 10px; }
.nav-dropdown-menu { width: 310px; position: absolute; z-index: 130; top: calc(100% - 12px); left: 50%; display: grid; gap: 3px; padding: 9px; background: white; border: 1px solid rgba(0,43,80,.09); border-radius: 6px; box-shadow: 0 18px 40px rgba(0,30,55,.18); opacity: 0; visibility: hidden; transform: translate(-50%, -5px); transition: .18s ease; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { min-height: 38px; gap: 10px; padding: 8px 10px; border-radius: 4px; font-size: 12px; line-height: 1.25; text-transform: none; }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: #eef5fa; color: var(--blue); }
.nav-dropdown-menu svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; border: 0; color: var(--navy); background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }

.btn { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, border .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.btn-primary { color: white; background: var(--orange); box-shadow: 0 10px 24px rgba(255,122,0,.24); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.75); background: transparent; }
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,.1); }
.btn-outline-dark { color: var(--ink); border-color: var(--ink); background: white; }
.header-cta { margin-left: 4px; white-space: nowrap; background: var(--blue); box-shadow: 0 8px 20px rgba(4,80,128,.16); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { position: relative; z-index: 120; }
.language-current { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; color: var(--ink); border: 1px solid rgba(0,43,80,.15); border-radius: 4px; background: white; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 18px rgba(3,40,73,.06); }
.language-current .flag, .language-option .flag { font-size: 17px; line-height: 1; }
.language-current .chevron { color: var(--orange); font-size: 10px; }
.language-menu { min-width: 170px; position: absolute; top: calc(100% + 9px); right: 0; display: grid; gap: 4px; padding: 7px; background: white; border: 1px solid rgba(0,43,80,.1); border-radius: 6px; box-shadow: 0 18px 40px rgba(0,30,55,.18); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: .18s ease; }
.language-switcher:hover .language-menu, .language-switcher:focus-within .language-menu, .language-switcher.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-option { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 10px; color: var(--ink); border: 0; border-radius: 4px; background: transparent; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.language-option:hover { background: #eef5fa; }
.language-option.current { color: var(--muted); background: #f3f6f8; cursor: default; }

.hero { min-height: 650px; display: flex; position: relative; align-items: center; color: white; background: url("assets/fotos/portada-bienvenidos.webp") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,36,68,.98) 0%, rgba(0,44,81,.9) 39%, rgba(0,42,74,.48) 70%, rgba(0,22,40,.25) 100%); }
.hero-content { z-index: 1; padding-block: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; display: inline-block; margin-right: 13px; vertical-align: 4px; background: var(--orange); }
.section-heading .eyebrow::before { display: none; }
.hero h1 { max-width: 720px; margin: 0 0 18px; font-size: clamp(43px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -2.5px; text-transform: uppercase; }
.hero-lead { max-width: 570px; margin: 0; font-size: 18px; line-height: 1.65; }
.hero-rule { width: 210px; height: 2px; margin: 27px 0 22px; background: rgba(255,255,255,.9); }
.sector-list { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 35px; }
.sector-list span { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 20px; border-right: 2px solid var(--orange); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.sector-list span:first-child { padding-left: 0; }
.sector-list span:last-child { border-right: 0; }
.sector-list svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-note { margin: 0 0 37px; font-size: 16px; font-weight: 500; }
.hero-actions { display: flex; gap: 18px; }

.services { background: radial-gradient(circle at 50% 20%, #fff 0, #f6f8fa 52%, #eef2f5 100%); }
.section-heading { margin-bottom: 42px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -1.4px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { min-height: 235px; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 26px 16px; text-align: center; background: rgba(255,255,255,.83); border: 1px solid rgba(0,43,80,.04); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-card:last-child { grid-column: 3; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(3,40,73,.13); }
.service-card svg { width: 64px; height: 64px; margin-bottom: 23px; fill: none; stroke: #07598b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { min-height: 48px; display: flex; align-items: center; margin: 0; font-size: 14px; line-height: 1.45; }
.service-card span { width: 28px; height: 2px; margin-top: 20px; background: var(--orange); }

.about { min-height: 560px; display: grid; grid-template-columns: 44% 56%; color: white; background: var(--navy); }
.about-copy { display: flex; justify-content: flex-end; background: linear-gradient(135deg, #003963, #002344); }
.about-inner { width: min(100%, 515px); align-self: center; padding: 75px 52px 75px 24px; }
.light { color: var(--orange); }
.about h2, .contact h2 { margin: 0 0 24px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.12; letter-spacing: -1.4px; }
.about p:not(.eyebrow) { max-width: 520px; margin: 0 0 16px; color: #e4edf4; font-size: 15px; line-height: 1.65; }
.about .btn { margin-top: 14px; }
.about-photo { min-height: 460px; background: url("assets/fotos/sobre-nosotros-portada.webp") center/cover no-repeat; }

.projects { background: #fff; }
.project-carousel { position: relative; padding-inline: 32px; }
.carousel-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; min-height: 300px; }
.gallery-card { display: none; overflow: hidden; padding: 0; background: white; border: 0; border-radius: 5px; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery-card.is-visible { display: block; }
.gallery-card img { width: 100%; height: 300px; object-fit: cover; background: #e9eef2; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.carousel-btn { width: 46px !important; height: 46px !important; min-width: 46px; min-height: 46px; max-width: 46px; max-height: 46px; position: absolute; z-index: 5; top: 127px; display: flex; align-items: center; justify-content: center; padding: 0; color: white; border: 0; border-radius: 999px; background: var(--blue); box-shadow: 0 10px 28px rgba(0,31,57,.22); cursor: pointer; transition: background .2s, opacity .2s; font: 700 34px/1 Arial, sans-serif; }
.carousel-btn:hover { background: var(--orange); }
.carousel-btn span { display: block; width: 100%; height: 100%; line-height: 42px; text-align: center; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c8d5df; cursor: pointer; transition: width .2s, background .2s; }
.carousel-dots button.active { width: 24px; background: var(--orange); }

.contact { color: white; background: linear-gradient(115deg, rgba(0,45,81,.98), rgba(0,25,49,.96)), url("assets/fotos/portada-bienvenidos.webp") center/cover; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-intro { max-width: 510px; color: #d9e6ef; font-size: 17px; }
.contact-list { display: grid; gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 15px; }
.contact-list svg { width: 27px; height: 27px; flex: 0 0 auto; fill: none; stroke: var(--orange); stroke-width: 1.8; }
.contact-list span { display: flex; flex-direction: column; color: #d9e6ef; font-size: 14px; }
.contact-list strong { color: white; font-size: 12px; text-transform: uppercase; }
.contact-form { display: grid; gap: 17px; padding: 34px; color: var(--ink); background: white; border-radius: 5px; box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cbd5dd; border-radius: 2px; padding: 12px 13px; color: var(--ink); background: #fbfcfd; outline: none; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,89,139,.1); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; border: 0; }
.honeypot { position: absolute; left: -10000px; }
.form-alert { padding: 12px 14px; border-radius: 3px; font-size: 13px; text-transform: none; }
.form-alert.success { color: #0a6337; background: #dff6e9; }
.form-alert.error { color: #8c2334; background: #fde8ec; }

.cta-strip { padding: 34px 0; color: white; background: linear-gradient(90deg, #07598b, #003b69); }
.cta-inner { display: flex; align-items: center; gap: 28px; }
.cta-icon { width: 70px; height: 70px; flex: 0 0 auto; fill: none; stroke: var(--orange); stroke-width: 1.8; }
.cta-inner h2 { margin: 0; font-size: 27px; }
.cta-inner p { margin: 2px 0 0; color: var(--orange); font-size: 20px; }
.cta-inner .btn { margin-left: auto; }

.site-footer { padding: 55px 0 0; color: #dce7ef; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; gap: 70px; }
.footer-brand { width: 145px; height: 66px; margin-bottom: 17px; padding: 4px; background: white; border-radius: 6px; }
.footer-grid p { max-width: 270px; color: #b7c8d5; font-size: 12px; }
.footer-grid > div:not(:first-child) { display: flex; align-items: flex-start; flex-direction: column; gap: 7px; }
.footer-grid h3 { margin: 0 0 12px; color: white; font-size: 12px; text-transform: uppercase; }
.footer-grid a, .footer-grid span { color: #c5d3de; font-size: 12px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding: 18px 0; color: #8fa6b8; border-top: 1px solid rgba(255,255,255,.11); font-size: 11px; }

.service-hero { min-height: 560px; display: flex; position: relative; align-items: center; color: white; background: url("assets/fotos/foto-09.webp") center/cover no-repeat; }
.service-template-page .service-hero { background-image: var(--service-hero-image); background-position: var(--service-hero-position, center); }
.service-regulation-page .service-hero { background-image: url("assets/fotos/foto-22.webp"); background-position: center; }
.service-instrumentation-page .service-hero { background-image: url("assets/fotos/foto-24.webp"); background-position: center; }
.service-panels-page .service-hero { background-image: url("assets/fotos/tableros-control-hero.webp"); background-position: center 47%; }
.service-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,35,66,.98) 0%, rgba(0,42,74,.88) 40%, rgba(0,42,74,.36) 74%, rgba(0,22,40,.18) 100%); }
.service-hero-content { position: relative; z-index: 1; padding-block: 64px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }
.service-hero h1 { max-width: 590px; margin: 0 0 18px; font-size: clamp(42px, 5vw, 66px); line-height: 1.03; letter-spacing: -2px; }
.service-hero p:not(.eyebrow) { max-width: 610px; margin: 0 0 30px; color: #eef6fb; font-size: 18px; line-height: 1.62; }
.service-ciberseguridad-page .service-hero { min-height: 650px; }
.service-ciberseguridad-page .service-hero-overlay { background: linear-gradient(90deg, rgba(0,24,48,.99) 0%, rgba(0,37,68,.92) 39%, rgba(0,34,62,.34) 69%, rgba(0,18,35,.08) 100%); }
.service-ciberseguridad-page .service-hero h1 { max-width: 710px; }
.cyber-hero-badges { max-width: 760px; display: flex; flex-wrap: wrap; gap: 0; margin: -4px 0 30px; }
.cyber-hero-badges span { display: flex; align-items: center; gap: 8px; padding: 5px 17px; color: #f3f8fb; border-right: 1px solid rgba(255,255,255,.32); font-size: 11px; font-weight: 700; }
.cyber-hero-badges span:first-child { padding-left: 0; }
.cyber-hero-badges span:last-child { border-right: 0; }
.cyber-hero-badges svg { width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 1.7; }
.service-tabs { position: sticky; z-index: 80; top: 84px; background: rgba(255,255,255,.98); border-bottom: 1px solid #e7eef3; box-shadow: 0 8px 20px rgba(0,30,55,.05); }
.service-tabs .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-tabs a { position: relative; min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); border-right: 1px solid #e3ebf1; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.service-tabs a:first-child { border-left: 1px solid #e3ebf1; }
.service-tabs a::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 0; height: 2px; background: transparent; }
.service-tabs a:hover::after, .service-tabs a.active::after { background: var(--orange); }
.service-tabs svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-overview { background: white; }
.service-overview-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.service-overview h2, .standards-tech h2, .process-section h2 { margin: 0 0 22px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -1.3px; }
.service-overview p:not(.eyebrow), .standards-tech p, .process-section .section-heading p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.experience-badge { width: min(100%, 410px); display: grid; grid-template-columns: 68px auto 1fr; align-items: center; gap: 17px; margin-top: 34px; padding: 22px 24px; color: white; background: linear-gradient(135deg, #003963, #002344); border-radius: 4px; box-shadow: var(--shadow); }
.experience-badge svg { width: 54px; height: 54px; fill: none; stroke: var(--orange); stroke-width: 1.7; }
.experience-badge strong { font-size: 44px; line-height: 1; }
.experience-badge span { color: #dce8f1; font-size: 13px; font-weight: 700; }
.value-list { display: grid; gap: 20px; padding: 34px; background: white; border: 1px solid rgba(0,43,80,.06); box-shadow: var(--shadow); }
.value-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.value-list svg { width: 42px; height: 42px; fill: none; stroke: #07598b; stroke-width: 1.7; }
.value-list h3 { margin: 0 0 5px; font-size: 16px; }
.value-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-feature-image { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.service-feature-image img { width: 100%; height: 100%; min-height: 430px; display: block; object-fit: cover; }
.quick-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; background: white; border: 1px solid rgba(0,43,80,.08); box-shadow: var(--shadow); }
.quick-feature-grid article { display: grid; gap: 10px; justify-items: center; padding: 20px 14px; text-align: center; border-right: 1px solid #e5edf3; }
.quick-feature-grid article:last-child { border-right: 0; }
.quick-feature-grid svg { width: 34px; height: 34px; fill: none; stroke: #07598b; stroke-width: 1.7; }
.quick-feature-grid strong { color: var(--ink); font-size: 13px; line-height: 1.25; }
.service-includes { background: radial-gradient(circle at 50% 20%, #fff 0, #f6f8fa 52%, #eef2f5 100%); }
.service-detail-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-template-page .service-detail-card-grid { grid-template-columns: repeat(4, 1fr); }
.service-regulation-page .service-detail-card-grid, .service-instrumentation-page .service-detail-card-grid, .service-panels-page .service-detail-card-grid { grid-template-columns: repeat(4, 1fr); }
.service-detail-card-grid .service-card { min-height: 285px; justify-content: flex-start; padding: 34px 22px; }
.service-detail-card-grid .service-card:last-child { grid-column: auto; }
.service-detail-card-grid .service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.cyber-secondary { margin-top: 64px; }
.cyber-secondary .section-heading { max-width: 760px; margin-inline: auto; }
.cyber-secondary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.cyber-secondary-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; padding: 22px; background: rgba(255,255,255,.82); border: 1px solid rgba(0,43,80,.08); box-shadow: 0 8px 24px rgba(0,35,66,.05); }
.cyber-secondary-grid article > span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: white; background: var(--navy); border-radius: 999px; font-size: 11px; font-weight: 800; }
.cyber-secondary-grid h3 { margin: 0 0 7px; color: var(--ink); font-size: 16px; }
.cyber-secondary-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.cyber-experience { color: white; background: linear-gradient(115deg, #00294d 0%, #003e69 58%, #002544 100%); }
.cyber-experience-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cyber-experience .eyebrow { color: var(--orange); }
.cyber-experience h2 { margin: 0 0 18px; color: white; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -1.2px; }
.cyber-experience p:not(.eyebrow) { margin: 0; color: #d7e4ed; font-size: 15px; line-height: 1.72; }
.cyber-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.cyber-stats article { display: grid; gap: 4px; padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cyber-stats strong { color: var(--orange); font-size: 26px; line-height: 1; }
.cyber-stats span { color: #e5eef4; font-size: 12px; line-height: 1.4; }
.cyber-tech-panel { padding: 32px; color: var(--ink); background: white; box-shadow: 0 24px 54px rgba(0,16,35,.25); }
.cyber-tech-panel h3 { margin: 0 0 22px; font-size: 19px; }
.cyber-tech-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.cyber-tech-grid span { padding: 9px 11px; color: #004c7b; background: #f3f7fa; border: 1px solid #dbe7ef; border-radius: 999px; font-size: 11px; font-weight: 800; }
.process-section { background: white; }
.process-section .section-heading { max-width: 780px; margin-inline: auto; }
.process-grid { display: grid; gap: 15px; margin-top: 36px; }
.process-step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: stretch; padding: 22px; background: white; border: 1px solid rgba(0,43,80,.06); box-shadow: var(--shadow); }
.process-step > span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: white; border-radius: 999px; background: var(--navy); font-size: 12px; font-weight: 800; }
.process-step h3 { margin: 0 0 6px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.standards-tech { background: radial-gradient(circle at 50% 20%, #fff 0, #f6f8fa 55%, #eef2f5 100%); }
.standards-tech-grid { display: grid; grid-template-columns: 1fr; gap: 42px; }
.standards-tech-grid > div { padding: 34px; background: white; box-shadow: var(--shadow); }
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-grid span { padding: 9px 12px; color: var(--ink); border: 1px solid #dbe6ee; border-radius: 999px; background: #f8fafc; font-size: 13px; font-weight: 800; }
.service-benefit-strip { padding: 44px 0; color: white; background: linear-gradient(90deg, #003963, #001f3c); }
.service-benefit-strip .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.service-benefit-strip h2 { margin: 0; font-size: 30px; line-height: 1.15; }
.service-benefit-strip ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.service-benefit-strip li { position: relative; padding-left: 25px; color: #e8f1f7; font-size: 14px; }
.service-benefit-strip li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--orange); font-weight: 900; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 34px 88px; background: rgba(0, 13, 28, .94); }
.lightbox.open { display: flex; }
body.lightbox-open { overflow: hidden; }
.lightbox-image { max-width: min(100%, 1500px); max-height: calc(100vh - 68px); object-fit: contain; border-radius: 4px; background: rgba(255,255,255,.06); box-shadow: 0 26px 80px rgba(0,0,0,.45); }
.lightbox-close, .lightbox-nav { position: absolute; display: flex; align-items: center; justify-content: center; color: white; border: 0; border-radius: 999px; background: rgba(7,89,139,.92); cursor: pointer; box-shadow: 0 12px 35px rgba(0,0,0,.32); transition: background .2s, transform .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--orange); transform: translateY(-1px); }
.lightbox-close { top: 22px; right: 24px; width: 46px; height: 46px; font-size: 34px; line-height: 1; }
.lightbox-nav { top: 50%; width: 54px; height: 54px; transform: translateY(-50%); font: 700 42px/1 Arial, sans-serif; }
.lightbox-nav:hover { transform: translateY(calc(-50% - 1px)); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav span { height: 54px; line-height: 48px; }

@media (max-width: 1050px) {
    .main-nav { gap: 14px; }
    .main-nav a, .nav-dropdown-toggle { font-size: 11px; }
    .header-cta { display: none; }
    .header-actions { margin-left: 0; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .service-card:last-child { grid-column: 2; }
    .service-tabs .container { grid-template-columns: repeat(3, 1fr); }
    .service-tabs a:nth-child(4) { border-left: 1px solid #e3ebf1; }
    .service-overview-grid { grid-template-columns: 1fr; gap: 42px; }
    .service-detail-card-grid { grid-template-columns: repeat(2, 1fr); }
    .service-regulation-page .service-detail-card-grid, .service-instrumentation-page .service-detail-card-grid, .service-panels-page .service-detail-card-grid, .service-template-page .service-detail-card-grid { grid-template-columns: repeat(2, 1fr); }
    .service-feature-image img { min-height: 360px; }
    .cyber-experience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 72px; }
    .container { width: min(100% - 32px, 680px); }
    .section { padding: 70px 0; }
    .site-header { height: 72px; }
    .service-tabs { top: 72px; overflow-x: auto; }
    .service-tabs .container { width: max-content; min-width: 640px; grid-template-columns: repeat(5, 1fr); }
    .service-tabs a { min-height: 58px; padding-inline: 18px; }
    .brand { width: 124px; height: 57px; }
    .menu-toggle { display: block; margin-left: auto; }
    .header-actions { gap: 8px; }
    .language-current { min-height: 38px; padding-inline: 10px; font-size: 0; }
    .language-current .flag { font-size: 18px; }
    .language-current .chevron { font-size: 10px; }
    .language-menu { right: 0; }
    .main-nav { position: fixed; inset: 72px 0 auto; height: auto; display: grid; gap: 0; padding: 18px 24px 26px; background: white; border-top: 1px solid #e5ebef; box-shadow: 0 18px 30px rgba(0,30,55,.16); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s; }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav a { padding: 13px 0; }
    .main-nav a::after { bottom: 8px; right: 100%; }
    .nav-dropdown { display: grid; align-items: stretch; }
    .nav-dropdown-toggle { min-height: 44px; justify-content: flex-start; border-bottom: 1px solid #eef3f6; }
    .nav-dropdown-toggle::after { bottom: 0; }
    .nav-dropdown-menu { width: 100%; position: static; display: none; padding: 2px 0 8px 16px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-dropdown.open .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: grid; }
    .nav-dropdown:hover .nav-dropdown-menu { transform: none; }
    .nav-dropdown-menu a { min-height: 36px; padding: 7px 0; font-size: 12px; }
    .hero { min-height: 690px; background-position: 58% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(0,35,66,.98), rgba(0,42,74,.76)); }
    .sector-list { gap: 6px 0; }
    .sector-list span { padding-inline: 11px; font-size: 11px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:last-child { grid-column: auto; }
    .service-hero { min-height: 600px; }
    .service-ciberseguridad-page .service-hero { min-height: 720px; background-position: 64% center; }
    .service-hero-content { padding-block: 54px; }
    .breadcrumb { margin-bottom: 32px; }
    .service-detail-card-grid, .standards-tech-grid, .service-benefit-strip .container { grid-template-columns: 1fr; }
    .service-regulation-page .service-detail-card-grid, .service-instrumentation-page .service-detail-card-grid, .service-panels-page .service-detail-card-grid, .service-template-page .service-detail-card-grid, .quick-feature-grid { grid-template-columns: 1fr 1fr; }
    .cyber-secondary-grid { grid-template-columns: 1fr; }
    .experience-badge { grid-template-columns: 54px auto 1fr; }
    .about { grid-template-columns: 1fr; }
    .about-copy { justify-content: center; }
    .about-inner { width: min(100% - 32px, 680px); padding: 70px 0; }
    .about-photo { min-height: 430px; order: -1; }
    .carousel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .gallery-card img { height: 270px; }
    .carousel-btn { top: 112px; }
    .contact-grid { grid-template-columns: 1fr; gap: 46px; }
    .cta-inner { flex-wrap: wrap; }
    .cta-inner .btn { width: 100%; margin-left: 98px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; }
    .footer-grid > div:last-child { grid-column: 2; }
    .lightbox { padding: 72px 20px 34px; }
    .lightbox-image { max-height: calc(100vh - 122px); }
    .lightbox-close { top: 14px; right: 14px; }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}

@media (max-width: 540px) {
    .container { width: calc(100% - 28px); }
    .section { padding: 58px 0; }
    .hero { min-height: 700px; }
    .hero-content { padding-block: 62px; }
    .hero h1 { font-size: 43px; letter-spacing: -1.6px; }
    .hero-lead { font-size: 16px; }
    .sector-list span { width: 50%; justify-content: flex-start; border: 0; padding: 5px 0; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .service-grid { gap: 11px; }
    .service-card { min-height: 205px; padding: 22px 10px; }
    .service-card svg { width: 54px; height: 54px; margin-bottom: 17px; }
    .service-card h3 { font-size: 12px; }
    .service-hero h1 { font-size: 40px; letter-spacing: -1.5px; }
    .service-hero p:not(.eyebrow) { font-size: 16px; }
    .cyber-hero-badges { gap: 6px 0; }
    .cyber-hero-badges span { width: 50%; border-right: 0; padding-left: 0; }
    .service-tabs .container { min-width: 620px; }
    .value-list, .standards-tech-grid > div { padding: 24px 18px; }
    .quick-feature-grid { grid-template-columns: 1fr; }
    .quick-feature-grid article { border-right: 0; border-bottom: 1px solid #e5edf3; }
    .quick-feature-grid article:last-child { border-bottom: 0; }
    .service-feature-image img { min-height: 280px; }
    .value-list article { grid-template-columns: 38px 1fr; gap: 14px; }
    .value-list svg { width: 34px; height: 34px; }
    .experience-badge { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .process-step { grid-template-columns: 1fr; gap: 12px; padding: 20px 18px; }
    .service-detail-card-grid .service-card { min-height: auto; }
    .service-regulation-page .service-detail-card-grid, .service-instrumentation-page .service-detail-card-grid, .service-panels-page .service-detail-card-grid, .service-template-page .service-detail-card-grid { grid-template-columns: 1fr; }
    .cyber-stats { grid-template-columns: 1fr; }
    .cyber-tech-panel { padding: 24px 18px; }
    .about-photo { min-height: 330px; }
    .project-carousel { padding-inline: 0; }
    .carousel-track { grid-template-columns: 1fr; }
    .gallery-card img { height: 285px; }
    .carousel-btn { top: 122px; width: 42px !important; height: 42px !important; min-width: 42px; min-height: 42px; max-width: 42px; max-height: 42px; font-size: 31px; }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 18px; }
    .cta-inner { align-items: flex-start; gap: 15px; }
    .cta-icon { width: 50px; height: 50px; }
    .cta-inner > div { width: calc(100% - 65px); }
    .cta-inner h2 { font-size: 22px; }
    .cta-inner p { font-size: 15px; }
    .cta-inner .btn { margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
    .lightbox { padding-inline: 10px; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 34px; background: rgba(7,89,139,.82); }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
