/*
Theme Name: TRIANA Seguridad Privada
Theme URI: https://triana.com.mx
Author: TRIANA
Description: Tema personalizado de TRIANA Seguridad Privada, diseñado para comunicar dominio verificable, presencia profesional y confianza.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: triana
*/

:root {
  --color-ink: #0b0d0f;
  --color-red: #c40000;
  --color-red-dark: #990000;
  --color-red-light: #ff6a6a;
  --color-smoke: #f7f8f9;
  --color-white: #fff;
  --color-graphite: #24282d;
  --color-text: #171a1f;
  --color-muted: #5d6670;
  --color-border: #d9dee3;
  --color-success: #18794e;
  --color-error: #a40000;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --step--1: clamp(.82rem, .8rem + .08vw, .88rem);
  --step-0: clamp(1rem, .96rem + .18vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --step-2: clamp(1.65rem, 1.4rem + 1vw, 2.25rem);
  --step-3: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --step-4: clamp(3.3rem, 2.35rem + 4vw, 6rem);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --shadow-card: 0 16px 40px rgb(11 13 15 / 8%);
  --container: 75rem;
  --header-height: 4.75rem;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--color-red);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-smoke);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
:focus-visible { outline: none; box-shadow: var(--focus); }
.skip-link {
  position: fixed; z-index: 1000; top: var(--space-3); left: var(--space-3);
  padding: var(--space-3) var(--space-4); background: var(--color-white); color: var(--color-ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main[id] { scroll-margin-top: var(--header-height); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 48rem); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 var(--space-4);
  color: var(--color-red); font-size: var(--step--1); font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { width: 2rem; height: 2px; content: ""; background: currentColor; }
.hero .eyebrow,
.section--dark .eyebrow { color: var(--color-red-light); }
h1, h2, h3 {
  margin: 0 0 var(--space-5); color: var(--color-ink); font-family: var(--font-display);
  font-weight: 700; line-height: .98; text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: var(--step-3); letter-spacing: -.015em; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-5); }
.lead { max-width: 42rem; color: var(--color-muted); font-size: var(--step-1); line-height: 1.5; }
.section { padding-block: var(--space-20); }
.section--dark { color: var(--color-white); background: var(--color-ink); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--white { background: var(--color-white); }
.section-heading { max-width: 48rem; margin-bottom: var(--space-10); }
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: 1fr; }
.button {
  display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: var(--space-2);
  border: 2px solid transparent; border-radius: var(--radius-sm); padding: .7rem 1.1rem;
  font-size: .9rem; font-weight: 800; letter-spacing: .035em; line-height: 1.2; text-decoration: none;
  text-transform: uppercase; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--color-red); color: var(--color-white); }
.button--primary:hover { background: var(--color-red-dark); }
.button--secondary { border-color: currentColor; background: transparent; color: var(--color-ink); }
.section--dark .button--secondary,
.hero .button--secondary { border-color: rgb(255 255 255 / 72%); color: var(--color-white); }
.section--dark .button--secondary:hover,
.hero .button--secondary:hover { border-color: var(--color-white); background: rgb(255 255 255 / 8%); }
.button--ghost { color: var(--color-ink); }
.button--ghost::after { content: "→"; color: var(--color-red); }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.site-header {
  position: sticky; z-index: 100; top: 0; min-height: var(--header-height);
  border-bottom: 1px solid rgb(255 255 255 / 12%); background: var(--color-ink);
  color: var(--color-white);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--color-white); text-decoration: none; }
.brand-logo { display: block; width: auto; }
.brand-logo--header { height: 3.4rem; }
.brand-logo--footer { width: min(100%, 13rem); height: auto; }
.menu-toggle {
  position: relative; min-width: 3rem; min-height: 3rem; border: 1px solid rgb(255 255 255 / 42%);
  background: transparent; color: white; transition: border-color .2s, background-color .2s;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { border-color: white; background: rgb(255 255 255 / 8%); }
.menu-toggle > span:not(.screen-reader-text) {
  position: absolute; top: 50%; left: 50%; display: block; width: 1.35rem; height: 2px;
  margin: 0; background: currentColor; transition: transform .22s ease, opacity .16s ease;
}
.menu-toggle > span:nth-child(1) { transform: translate(-50%, calc(-50% - .42rem)); }
.menu-toggle > span:nth-child(2) { transform: translate(-50%, -50%); }
.menu-toggle > span:nth-child(3) { transform: translate(-50%, calc(-50% + .42rem)); }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(0); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }
.primary-nav {
  position: fixed; z-index: 99; inset: var(--header-height) 0 0; display: block;
  height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-6) var(--space-4) calc(var(--space-10) + env(safe-area-inset-bottom));
  background: var(--color-ink); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-.75rem);
  transition: opacity .2s ease, transform .22s ease, visibility 0s linear .22s;
}
.primary-nav.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  transition-delay: 0s;
}
.primary-nav ul { display: grid; width: min(100%, 40rem); gap: 0; margin: 0 auto; padding: 0; list-style: none; }
.primary-nav li { border-bottom: 1px solid rgb(255 255 255 / 14%); }
.primary-nav a {
  position: relative; display: flex; min-height: 3.75rem; align-items: center; padding: .85rem .75rem;
  color: white; font-size: 1.08rem; font-weight: 700; line-height: 1.25; text-decoration: none;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a {
  background: rgb(255 255 255 / 7%); color: var(--color-red-light);
}
.primary-nav .current-menu-item > a::before, .primary-nav .current_page_item > a::before {
  position: absolute; top: 25%; bottom: 25%; left: 0; width: 3px; content: ""; background: var(--color-red-light);
}
.mobile-nav-cta { width: min(100%, 40rem); margin: var(--space-6) auto 0; }
.header-cta { display: none; }

.hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 9rem); background: var(--color-ink); color: var(--color-white); }
.hero::before {
  position: absolute; inset: 0 0 0 56%; content: "";
  background: linear-gradient(145deg, transparent 0 36%, rgb(196 0 0 / 70%) 36% 38%, transparent 38%),
              linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: auto, 3rem 100%;
  transform: skewX(-10deg);
}
.hero::after {
  position: absolute; right: -5rem; bottom: -15rem; width: 28rem; height: 28rem; border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%; box-shadow: 0 0 0 5rem rgb(255 255 255 / 2%), 0 0 0 10rem rgb(255 255 255 / 2%); content: "";
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; color: var(--color-white); }
.hero .lead { color: #ccd0d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-note { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .3rem var(--space-3); max-width: 38rem; margin-top: var(--space-10); font-size: var(--step--1); }
.hero-note strong { color: white; }
.signal { width: .7rem; height: .7rem; margin-top: .35rem; border-radius: 50%; background: var(--color-red); box-shadow: 0 0 0 .35rem rgb(196 0 0 / 20%); }

.trust-strip { position: relative; z-index: 2; margin-top: -2rem; }
.trust-card {
  display: grid; gap: 1px; overflow: hidden; border-radius: var(--radius-md); background: var(--color-border);
  box-shadow: var(--shadow-card);
}
.trust-item { min-height: 7rem; padding: var(--space-5); background: var(--color-white); }
.trust-item span { display: block; color: var(--color-muted); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; }
.trust-item strong { display: block; margin-top: .35rem; color: var(--color-ink); font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; }

.card {
  position: relative; min-height: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-6); background: var(--color-white); box-shadow: 0 8px 24px rgb(11 13 15 / 4%);
}
.card::before { position: absolute; top: 0; left: 0; width: 3rem; height: 3px; content: ""; background: var(--color-red); }
.card-label { color: var(--color-red); font-size: var(--step--1); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { margin-top: var(--space-6); }
.card p { color: var(--color-muted); }
.card .button { margin-top: auto; }
.service-card { display: flex; flex-direction: column; }
.service-index { color: var(--color-border); font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; }

.timeline { counter-reset: process; display: grid; gap: 0; margin: var(--space-10) 0 0; padding: 0; list-style: none; }
.timeline li {
  position: relative; padding: 0 0 var(--space-8) 3.5rem; counter-increment: process;
  border-left: 1px solid #4a5057;
}
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before {
  position: absolute; top: 0; left: -1.25rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center;
  border: 1px solid #68707a; border-radius: 50%; background: var(--color-ink); color: white;
  content: counter(process, decimal-leading-zero); font-family: var(--font-display); font-weight: 700;
}
.timeline h3 { margin-bottom: .5rem; font-size: 1.5rem; }
.timeline p { max-width: 36rem; color: #b6bdc5; }

.split-layout { display: grid; gap: var(--space-10); align-items: center; }
.result-grid { display: grid; gap: var(--space-4); margin: var(--space-8) 0; }
.result-card {
  position: relative; border-top: 1px solid var(--color-border); padding: var(--space-5) 0 var(--space-2) var(--space-6);
}
.result-card h3 { margin-bottom: var(--space-2); font-size: 1.55rem; }
.result-card p { color: var(--color-muted); font-size: .94rem; }
.result-marker {
  position: absolute; top: 1.6rem; left: 0; width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--color-red); box-shadow: 0 0 0 .3rem rgb(196 0 0 / 12%);
}
.concept-visual {
  position: relative; min-height: 30rem; overflow: hidden; border-radius: var(--radius-md);
  padding: var(--space-6); background: var(--color-graphite); color: #dfe3e7;
}
.concept-visual::before {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(125deg, transparent 0 58%, rgb(196 0 0 / 65%) 58% 60%, transparent 60%),
              linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: auto, 2.5rem 100%;
}
.concept-visual > * { position: relative; z-index: 1; }
.concept-visual > p:last-child { position: absolute; right: var(--space-6); bottom: var(--space-6); left: var(--space-6); margin: 0; font-size: .84rem; }
.concept-label {
  display: inline-flex; padding: .35rem .55rem; border: 1px solid rgb(255 255 255 / 35%);
  color: white; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.control-orbit {
  position: absolute; top: 50%; left: 50%; width: 18rem; height: 18rem; border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%; transform: translate(-50%, -55%);
}
.control-orbit::before, .control-orbit::after {
  position: absolute; inset: 2.5rem; border: 1px solid rgb(255 255 255 / 15%); border-radius: 50%; content: "";
}
.control-orbit::after { inset: 5rem; background: var(--color-ink); }
.control-orbit strong {
  position: absolute; z-index: 2; top: 50%; left: 50%; color: white; font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: .08em; transform: translate(-50%, -50%);
}
.control-orbit span { position: absolute; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.control-orbit span:nth-child(1) { top: -.6rem; left: 50%; transform: translateX(-50%); }
.control-orbit span:nth-child(2) { top: 50%; right: -1.6rem; transform: rotate(90deg) translateY(-50%); }
.control-orbit span:nth-child(3) { bottom: -.6rem; left: 50%; transform: translateX(-50%); }
.control-orbit span:nth-child(4) { top: 50%; left: -2.8rem; transform: rotate(-90deg) translateY(-50%); }

.sector-selector { display: grid; gap: var(--space-4); }
.sector-tabs {
  display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-1) var(--space-1) var(--space-3);
  scrollbar-width: thin;
}
.sector-tabs button {
  min-height: 3rem; flex: 0 0 auto; border: 1px solid var(--color-border); border-radius: 999px;
  padding: .6rem 1rem; background: var(--color-white); color: var(--color-text); font-size: .88rem; font-weight: 800;
}
.sector-tabs button[aria-selected="true"] { border-color: var(--color-red); background: var(--color-red); color: white; }
.sector-panels { min-width: 0; }
.sector-panel {
  min-height: 24rem; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-8); background: var(--color-smoke);
}
.sector-selector:not(.is-enhanced) .sector-panel + .sector-panel { margin-top: var(--space-4); }
.sector-panel h3 { max-width: 24ch; margin-top: var(--space-8); }
.sector-related-label { margin: var(--space-8) 0 var(--space-3); color: var(--color-muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-8); padding: 0; list-style: none; }
.tag-list li { border: 1px solid var(--color-border); border-radius: 999px; padding: .35rem .7rem; background: white; font-size: .82rem; font-weight: 700; }

.feature-list { display: grid; gap: 0; margin: var(--space-8) 0; padding: 0; list-style: none; }
.feature-list li { display: grid; gap: .25rem; border-top: 1px solid var(--color-border); padding: var(--space-4) 0; }
.feature-list strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.feature-list span { color: var(--color-muted); font-size: .92rem; }
.feature-list--dark li { border-color: #4a5057; }
.feature-list--dark strong { color: white; }
.feature-list--dark span { color: #c6ccd2; }
.presence-figure { position: absolute; inset: 7rem 3rem 5rem; }
.presence-head {
  position: absolute; top: 0; left: 50%; width: 5rem; height: 5rem; border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%; transform: translateX(-50%);
}
.presence-body {
  position: absolute; top: 6rem; bottom: 0; left: 50%; width: min(18rem, 82%); border: 1px solid rgb(255 255 255 / 35%);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, transparent 48%, var(--color-red) 48% 52%, transparent 52%);
  transform: translateX(-50%);
}
.presence-line { position: absolute; right: 0; bottom: 20%; left: 0; height: 1px; background: rgb(255 255 255 / 30%); }
.scope-note { border-left: 3px solid var(--color-red-light); padding-left: var(--space-4); color: #c6ccd2; font-size: .86rem; }
.unit-shape { position: absolute; top: 46%; right: 7%; left: 7%; height: 10rem; transform: translateY(-50%); }
.unit-body { position: absolute; right: 0; bottom: 2rem; left: 0; height: 5rem; border: 1px solid rgb(255 255 255 / 45%); background: #111417; transform: skewX(-8deg); }
.unit-cabin { position: absolute; z-index: 1; top: 0; right: 19%; width: 48%; height: 4rem; border: 1px solid rgb(255 255 255 / 35%); background: #171b1f; transform: skewX(-25deg); }
.unit-stripe { position: absolute; z-index: 2; right: 3%; bottom: 4.25rem; left: 3%; height: .45rem; background: var(--color-red); transform: skewX(-8deg); }
.unit-wheel { position: absolute; z-index: 3; bottom: 0; width: 3.7rem; height: 3.7rem; border: .8rem solid #090a0b; border-radius: 50%; background: #717880; }
.unit-wheel--front { right: 12%; }
.unit-wheel--rear { left: 12%; }
.visual-annotations { position: absolute; right: var(--space-6); bottom: var(--space-6); left: var(--space-6); display: flex; justify-content: space-between; }
.visual-annotations span { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.commercial-close { padding-block: var(--space-20); background: linear-gradient(120deg, var(--color-ink) 0 75%, #280000 75%); color: white; }
.commercial-close h2 { max-width: 15ch; color: white; }
.commercial-close p { max-width: 46rem; color: #d0d5da; }
.commercial-close__inner { display: grid; gap: var(--space-10); align-items: end; }
.commercial-close .button--secondary { border-color: rgb(255 255 255 / 72%); color: white; }
.commercial-facts {
  display: grid; gap: 1px; margin: 0; padding: 1px; border: 1px solid #454a50; background: #454a50; list-style: none;
}
.commercial-facts li { padding: var(--space-4); background: var(--color-ink); }
.commercial-facts span { display: block; color: #aeb5bc; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.commercial-facts strong { display: block; margin-top: .2rem; color: white; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }

.breadcrumbs { padding-block: var(--space-4); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .65rem; color: var(--color-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #9ba3ab; }
.breadcrumbs a { font-weight: 700; }
.breadcrumbs [aria-current="page"] { color: var(--color-text); }

.internal-hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); background: var(--color-ink); color: white; }
.internal-hero::after {
  position: absolute; top: -15%; right: -8rem; width: 28rem; height: 135%; content: "";
  background: linear-gradient(135deg, transparent 0 48%, rgb(196 0 0 / 75%) 48% 50%, transparent 50%),
              linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: auto, 3rem 100%; transform: skewX(-8deg);
}
.internal-hero__grid { position: relative; z-index: 1; display: grid; gap: var(--space-12); align-items: center; }
.internal-hero h1 { max-width: 14ch; color: white; }
.internal-hero .lead { color: #c7cdd3; }
.internal-hero .button--secondary { color: white; }
.internal-hero__visual { display: grid; min-height: 15rem; align-content: end; gap: .2rem; border: 1px solid rgb(255 255 255 / 20%); padding: var(--space-6); background: rgb(255 255 255 / 3%); }
.internal-hero__visual strong { color: white; font-family: var(--font-display); font-size: clamp(3rem, 12vw, 5.5rem); line-height: .85; }
.internal-hero__visual span:not(.internal-hero__line) { color: #aeb5bc; font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.internal-hero__line { width: 4rem; height: .35rem; margin-bottom: auto; background: var(--color-red); }

.choice-list, .service-catalog, .method-grid, .expectation-grid, .identity-grid { display: grid; gap: var(--space-5); }
.choice-list { margin: 0; padding: 0; counter-reset: choice; }
.choice-list a { display: grid; grid-template-columns: 2.5rem 1fr; gap: .3rem var(--space-4); border-top: 1px solid var(--color-border); padding-block: var(--space-5); counter-increment: choice; text-decoration: none; }
.choice-list a::before { grid-row: 1 / span 2; content: counter(choice, decimal-leading-zero); color: var(--color-red); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.choice-list strong { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }
.choice-list span { color: var(--color-muted); font-size: .9rem; }

.service-detail-card { position: relative; display: flex; min-height: 25rem; flex-direction: column; border: 1px solid var(--color-border); padding: var(--space-6); background: white; }
.service-detail-card::before { width: 3rem; height: .25rem; content: ""; background: var(--color-red); }
.service-detail-card h3 { margin-top: var(--space-8); }
.service-detail-card p { color: var(--color-muted); }
.service-detail-card .button { margin-top: auto; align-self: flex-start; }
.service-detail-card__label { margin: var(--space-4) 0 var(--space-2); color: var(--color-text) !important; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-detail-card ul { margin: 0; padding-left: 1.2rem; }
.status-badge { position: absolute; top: var(--space-6); right: var(--space-6); border: 1px solid var(--color-red); padding: .2rem .5rem; color: var(--color-red); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.system-map { display: grid; gap: var(--space-4); margin-top: var(--space-10); }
.system-map > * { border: 1px solid #4b5158; padding: var(--space-5); background: #15181b; }
.system-map strong { display: block; color: white; font-family: var(--font-display); font-size: 1.5rem; }
.system-map span { color: #b7bec5; font-size: .9rem; }

.inline-trust { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-border); }
.inline-trust div { min-height: 6.5rem; padding: var(--space-4); background: white; color: var(--color-text); }
.inline-trust span, .inline-trust strong { display: block; }
.inline-trust span { color: var(--color-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.inline-trust strong { margin-top: .35rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.section--dark .inline-trust, .commercial-close .inline-trust { border-color: #454b52; background: #454b52; }
.section--dark .inline-trust div, .commercial-close .inline-trust div { background: #14171a; color: white; }
.section--dark .inline-trust span, .commercial-close .inline-trust span { color: #aeb5bc; }

.faq-list { margin-top: var(--space-8); border-top: 1px solid var(--color-border); }
.faq-list details { border-bottom: 1px solid var(--color-border); }
.faq-list summary { position: relative; min-height: 4.5rem; padding: var(--space-5) 3rem var(--space-5) 0; font-weight: 800; cursor: pointer; }
.faq-list summary::after { position: absolute; top: 1.2rem; right: .25rem; content: "+"; color: var(--color-red); font-family: var(--font-display); font-size: 2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 42rem; padding-right: 2rem; color: var(--color-muted); }

.internal-close__grid { display: grid; gap: var(--space-10); }
.internal-close h2 { max-width: 18ch; }
.scope-grid { display: grid; gap: 1px; border: 1px solid var(--color-border); background: var(--color-border); }
.scope-grid article { min-height: 13rem; padding: var(--space-5); background: white; }
.scope-grid article > span, .method-grid article > span { color: var(--color-red); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.scope-grid h3 { margin-top: var(--space-8); font-size: 1.55rem; }
.scope-grid p { color: var(--color-muted); font-size: .9rem; }
.feature-index, .limit-list, .values-grid, .checklist { margin: 0; padding: 0; list-style: none; }
.feature-index li, .values-grid li { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: var(--space-4); border-top: 1px solid var(--color-border); padding: var(--space-5) 0; }
.feature-index span, .values-grid span { color: var(--color-red); font-family: var(--font-display); font-weight: 700; }
.feature-index strong, .values-grid strong { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05; }

.compact-process { display: grid; gap: 0; margin: var(--space-10) 0; padding: 0; counter-reset: compact; list-style: none; }
.compact-process li { position: relative; min-height: 6rem; border-left: 1px solid #50565d; padding: 0 0 var(--space-8) 3.5rem; counter-increment: compact; }
.compact-process li::before { position: absolute; top: 0; left: -1.3rem; display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 1px solid #69717a; border-radius: 50%; background: var(--color-ink); content: counter(compact, decimal-leading-zero); font-family: var(--font-display); }
.compact-process strong { color: white; font-family: var(--font-display); font-size: 1.35rem; }
.sector-link-grid { display: grid; border: 1px solid var(--color-border); }
.sector-link-grid a { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-border); padding: var(--space-4); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.sector-link-grid a:last-child { border-bottom: 0; }
.sector-link-grid a span { color: var(--color-red); }

.integration-ring { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.integration-ring > * { display: inline-flex; min-height: 3.5rem; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; padding: .6rem 1rem; background: white; font-weight: 700; }
.integration-ring > strong { border-color: var(--color-red); background: var(--color-red); color: white; }
.layer-flow { display: grid; gap: 1px; margin: var(--space-10) 0 0; padding: 1px; background: #454b52; list-style: none; }
.layer-flow li { min-height: 8rem; padding: var(--space-5); background: #14171a; }
.layer-flow span { display: block; color: var(--color-red-light); font-family: var(--font-display); font-weight: 700; }
.layer-flow strong { display: block; margin-top: var(--space-5); color: white; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }

.access-matrix { display: grid; border: 1px solid var(--color-border); }
.access-matrix > div { display: grid; gap: .4rem; border-bottom: 1px solid var(--color-border); padding: var(--space-5); background: white; }
.access-matrix > div:last-child { border-bottom: 0; }
.access-matrix strong { font-family: var(--font-display); font-size: 1.45rem; }
.access-matrix span { color: var(--color-muted); font-size: .9rem; }
.comparison-grid, .two-layer { display: grid; gap: var(--space-5); }
.comparison-grid article, .two-layer article { border: 1px solid var(--color-border); padding: var(--space-6); background: white; }
.comparison-grid ul { padding-left: 1.2rem; }
.comparison-grid__positive { border-top: .35rem solid var(--color-red) !important; }
.two-layer article { border-color: #4b5158; background: #14171a; }
.two-layer h2 { color: white; }
.two-layer p:not(.card-label) { color: #bdc4ca; }
.limit-list { display: grid; gap: 1px; border: 1px solid var(--color-border); background: var(--color-border); }
.limit-list li { min-height: 4rem; padding: var(--space-4); background: white; font-weight: 700; }
.limit-list li::before { margin-right: .7rem; content: "—"; color: var(--color-red); }

.sector-panel--detail { min-height: 33rem; background: white; }
.sector-panel--detail h3 { margin: var(--space-6) 0; }
.sector-panel__columns { display: grid; gap: var(--space-5); margin-bottom: var(--space-8); }
.sector-panel__columns h4 { margin: 0 0 var(--space-3); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.sector-panel__columns ul { margin: 0; padding-left: 1.2rem; }
.sector-panel__columns li + li { margin-top: .35rem; }
.method-grid article { min-height: 15rem; border-top: 3px solid var(--color-red); padding: var(--space-5); background: white; box-shadow: var(--shadow-card); }
.method-grid h3 { margin-top: var(--space-8); }
.method-grid p { color: var(--color-muted); }
.sector-condition { display: grid; gap: var(--space-10); }
.sector-condition .lead { color: #c2c8ce; }

.process-detail { margin: 0; padding: 0; list-style: none; }
.process-detail > li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); border-top: 1px solid var(--color-border); padding-block: var(--space-8); }
.process-detail__number { color: var(--color-red); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.process-detail__body h3 { font-size: var(--step-2); }
.process-detail__body > p { max-width: 42rem; color: var(--color-muted); }
.process-detail dl { display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; }
.process-detail dl div { border-left: 3px solid var(--color-border); padding-left: var(--space-4); }
.process-detail dt { color: var(--color-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.process-detail dd { margin: .25rem 0 0; }
.checklist { display: grid; gap: var(--space-3); }
.checklist li { position: relative; border-bottom: 1px solid var(--color-border); padding: var(--space-3) 0 var(--space-3) 2rem; font-weight: 700; }
.checklist li::before { position: absolute; left: 0; content: "✓"; color: var(--color-red); }
.checklist--dark li { border-color: #4b5158; color: white; }
.expectation-grid article { min-height: 13rem; border: 1px solid #4b5158; padding: var(--space-5); background: #14171a; }
.expectation-grid h3 { color: white; }
.expectation-grid p { color: #bdc4ca; }
.section--dark .expectation-grid + .inline-trust { margin-top: var(--space-10); }

.philosophy-band { padding-block: clamp(4rem, 10vw, 8rem); background: var(--color-red); color: white; }
.philosophy-band p { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; }
.philosophy-band h2 { max-width: 19ch; margin: 0; color: white; font-size: var(--step-4); text-transform: uppercase; }
.identity-grid article { border-top: 3px solid var(--color-red); padding-top: var(--space-6); }
.personnel-grid, .compliance-grid { display: grid; gap: var(--space-10); align-items: center; }
.uniform-concept { position: relative; min-height: 31rem; overflow: hidden; border: 1px solid #4b5158; padding: var(--space-6); background: #15181b; }
.uniform-concept__figure { position: absolute; top: 5rem; bottom: 0; left: 50%; width: min(16rem, 65%); border: 1px solid rgb(255 255 255 / 25%); clip-path: polygon(34% 0, 66% 0, 75% 14%, 100% 28%, 85% 100%, 15% 100%, 0 28%, 25% 14%); background: linear-gradient(90deg, transparent 48%, var(--color-red) 48% 52%, transparent 52%); transform: translateX(-50%); }
.uniform-concept ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.uniform-concept li { width: fit-content; margin-bottom: .5rem; padding: .25rem .5rem; background: rgb(11 13 15 / 78%); color: white; font-size: .75rem; font-weight: 800; }
.uniform-concept small { position: absolute; z-index: 1; right: var(--space-4); bottom: var(--space-4); text-transform: uppercase; }
.unit-concept--compact { position: relative; min-height: 20rem; overflow: hidden; background: var(--color-graphite); }
.unit-concept--compact .unit-body { right: 7%; bottom: 5rem; left: 7%; }
.unit-concept--compact .unit-cabin { top: 7rem; right: 21%; }
.unit-concept--compact .unit-stripe { right: 10%; bottom: 8.6rem; left: 10%; }
.unit-concept--compact .unit-wheel { bottom: 2.8rem; }
.compliance-grid address { display: grid; gap: var(--space-3); border-left: 3px solid var(--color-red); padding-left: var(--space-6); font-style: normal; }
.compliance-grid address a { font-weight: 800; }

.form-field { display: grid; gap: .4rem; }
.form-field label { font-size: .9rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  min-height: 3rem; width: 100%; border: 1px solid #9ba3ab; border-radius: var(--radius-sm);
  padding: .75rem; background: white; color: var(--color-text);
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field .help { color: var(--color-muted); font-size: .82rem; }
.form-field.has-error input { border-color: var(--color-error); }
.form-field .error { color: var(--color-error); font-size: .82rem; font-weight: 700; }

.site-footer { padding-block: var(--space-16) var(--space-6); background: var(--color-ink); color: #c7cdd3; }
.footer-grid { display: grid; gap: var(--space-10); }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer h2,
.site-footer h3 { margin-bottom: var(--space-4); font-family: var(--font-body); font-size: .8rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; }
.footer-address { margin-top: var(--space-5); color: #c7cdd3; font-size: .9rem; font-style: normal; line-height: 1.55; }
.footer-meta { margin-top: var(--space-12); padding-top: var(--space-5); border-top: 1px solid #363b40; font-size: var(--step--1); }
.component-swatch { min-height: 7rem; padding: 1rem; color: white; }
.component-swatch--smoke { border: 1px solid var(--color-border); color: var(--color-text); background: var(--color-smoke); }
.component-swatch--ink { background: var(--color-ink); }
.component-swatch--red { background: var(--color-red); }
.component-swatch--graphite { background: var(--color-graphite); }

@media (min-width: 48rem) {
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .commercial-facts { grid-template-columns: repeat(2, 1fr); }
  .internal-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); }
  .service-catalog, .method-grid, .expectation-grid, .identity-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-trust, .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .system-map { grid-template-columns: repeat(2, 1fr); }
  .system-map__core { grid-column: 1 / -1; }
  .layer-flow { grid-template-columns: repeat(2, 1fr); }
  .access-matrix { grid-template-columns: repeat(3, 1fr); }
  .access-matrix > div { border-right: 1px solid var(--color-border); border-bottom: 0; }
  .access-matrix > div:last-child { border-right: 0; }
  .comparison-grid, .two-layer { grid-template-columns: repeat(2, 1fr); }
  .limit-list, .sector-link-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-link-grid a:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .sector-panel__columns, .process-detail dl { grid-template-columns: repeat(2, 1fr); }
  .process-detail > li { grid-template-columns: 5rem 1fr; }
  .process-detail__number { font-size: 2rem; }
  .personnel-grid, .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .site-header { background: rgb(11 13 15 / 96%); backdrop-filter: blur(12px); }
  .menu-toggle { display: none; }
  .primary-nav {
    position: static; display: block; height: auto; overflow: visible; padding: 0; background: none;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none;
  }
  .primary-nav ul { display: flex; align-items: center; gap: .15rem; }
  .primary-nav li { border: 0; }
  .primary-nav a { min-height: auto; padding: .65rem .7rem; background: none; font-size: .82rem; }
  .primary-nav .current-menu-item > a::before, .primary-nav .current_page_item > a::before { display: none; }
  .primary-nav .mobile-nav-cta { display: none; }
  .header-cta { display: inline-flex; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .trust-card { grid-template-columns: repeat(5, 1fr); }
  .trust-item { padding: var(--space-5) var(--space-6); }
  .timeline { grid-template-columns: repeat(6, 1fr); }
  .timeline li { min-height: 13rem; padding: 4rem 1.25rem 0; border-top: 1px solid #4a5057; border-left: 0; }
  .timeline li:last-child { border-top-color: #4a5057; }
  .timeline li::before { top: -1.25rem; left: 1.25rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
  .split-layout { grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr); gap: var(--space-16); }
  .split-layout--reverse { grid-template-columns: minmax(22rem, .95fr) minmax(0, 1.05fr); }
  .sector-selector { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  .sector-tabs { display: grid; gap: 0; overflow: visible; padding: 0; }
  .sector-tabs button { min-height: 3.5rem; border-width: 0 0 1px; border-radius: 0; padding-inline: var(--space-4); text-align: left; }
  .sector-tabs button[aria-selected="true"] { border-bottom-color: var(--color-red); background: var(--color-ink); }
  .commercial-close__inner { grid-template-columns: 1.25fr .75fr; gap: var(--space-16); }
  .service-catalog { grid-template-columns: repeat(3, 1fr); }
  .service-detail-card:nth-child(4), .service-detail-card:nth-child(5) { grid-column: span 1; }
  .inline-trust { grid-template-columns: repeat(4, 1fr); }
  .scope-grid { grid-template-columns: repeat(4, 1fr); }
  .system-map { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
  .system-map__core { grid-column: auto; border-top: .3rem solid var(--color-red); }
  .layer-flow { grid-template-columns: repeat(5, 1fr); }
  .compact-process { grid-template-columns: repeat(6, 1fr); }
  .compact-process li { min-height: 10rem; border-top: 1px solid #50565d; border-left: 0; padding: 3rem var(--space-4) 0; }
  .compact-process li::before { top: -1.3rem; left: var(--space-4); }
  .method-grid { grid-template-columns: repeat(4, 1fr); }
  .sector-condition, .internal-close__grid { grid-template-columns: minmax(0, 1fr) minmax(28rem, .9fr); align-items: center; }
  .expectation-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================================================== */
/* TRIANA 360 — página de metodología                                         */
/* Continuidad visual con Home, Servicios, Sectores y Cómo trabajamos.        */
/* ========================================================================== */

.triana360-main {
  overflow: hidden;
  background: #fff;
}

.triana360-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.triana360-main svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.triana360-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  color: #e11;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.25;
  text-transform: uppercase;
}

.triana360-kicker::before {
  width: 1.8rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.triana360-button {
  border-radius: .32rem;
  letter-spacing: 0;
  text-transform: none;
}

.triana360-button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.triana-360-page .site-header {
  border-bottom-color: rgb(255 255 255 / 8%);
  background: rgb(6 8 10 / 98%);
}

.triana-360-page .header-inner {
  width: min(calc(100% - 2rem), 80rem);
}

.triana-360-page .brand-logo--header {
  height: 2.9rem;
}

.triana-360-page .primary-nav .current-menu-item > a,
.triana-360-page .primary-nav .current_page_item > a {
  color: #fff;
}

.triana-360-page .primary-nav .current-menu-item > a::after,
.triana-360-page .primary-nav .current_page_item > a::after {
  position: absolute;
  right: .7rem;
  bottom: .25rem;
  left: .7rem;
  height: 2px;
  content: "";
  background: var(--color-red);
}

/* Hero -------------------------------------------------------------------- */

.triana360-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(39rem, 84svh, 54rem);
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  background: #07090b;
  color: #fff;
}

.triana360-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgb(5 7 9 / 98%) 0%, rgb(5 7 9 / 92%) 48%, rgb(18 2 2 / 80%) 100%),
    linear-gradient(180deg, transparent 0%, rgb(5 7 9 / 72%) 100%),
    var(--triana360-hero-image);
  background-position: center, center, 55% center;
  background-size: cover;
}

.triana360-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: .45;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    radial-gradient(circle at 80% 48%, rgb(196 0 0 / 17%), transparent 38%);
  background-size: 4rem 100%, 100% 4rem, auto;
  mask-image: linear-gradient(90deg, transparent 0 28%, #000 62% 100%);
}

.triana360-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 31rem;
  gap: 3rem;
  align-items: center;
}

.triana360-hero__copy {
  max-width: 46rem;
}

.triana360-hero .triana360-kicker {
  color: #ff3434;
}

.triana360-brand {
  margin: 0 0 .6rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 15vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .78;
  text-transform: uppercase;
  text-wrap: balance;
}

.triana360-brand span {
  color: #e11515;
}

.triana360-hero__descriptor {
  margin: 1.1rem 0 .55rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 800;
}

.triana360-lead {
  max-width: 42rem;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.58;
}

.triana360-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.triana360-hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 38rem;
  margin-top: 2.2rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.triana360-hero__signals span {
  min-height: 3.5rem;
  display: grid;
  place-items: center;
  padding: .65rem .45rem;
  border-right: 1px solid rgb(255 255 255 / 16%);
  color: rgb(255 255 255 / 70%);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.triana360-hero__signals span:last-child { border-right: 0; }

.triana360-radar {
  position: relative;
  width: min(88vw, 29rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.triana360-radar__grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(196 0 0 / 7%) 0 1px, transparent 1.5px) 0 0 / 1.2rem 1.2rem;
  mask-image: radial-gradient(circle, #000 0 65%, transparent 72%);
}

.triana360-radar__ring,
.triana360-radar__axis {
  position: absolute;
  display: block;
}

.triana360-radar__ring {
  border: 1px solid rgb(255 255 255 / 23%);
  border-radius: 50%;
}

.triana360-radar__ring::before {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #e31111;
  box-shadow: 0 0 0 5px rgb(196 0 0 / 12%);
  transform: translateX(-50%);
}

.triana360-radar__ring--1 { inset: 4%; border-color: rgb(196 0 0 / 58%); }
.triana360-radar__ring--2 { inset: 18%; border-style: dashed; }
.triana360-radar__ring--3 { inset: 32%; }

.triana360-radar__axis--x {
  top: 50%;
  right: 3%;
  left: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(196 0 0 / 44%), transparent);
}

.triana360-radar__axis--y {
  top: 3%;
  bottom: 3%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgb(196 0 0 / 44%), transparent);
}

.triana360-radar > strong {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 6.2rem;
  height: 6.2rem;
  place-items: center;
  border: 1px solid #ff4747;
  border-radius: 50%;
  background: #c40000;
  box-shadow: 0 0 0 .75rem rgb(196 0 0 / 10%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.35rem;
  transform: translate(-50%, -50%);
}

.triana360-radar__label {
  position: absolute;
  color: #fff;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.triana360-radar__label::before {
  position: absolute;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  content: "";
  background: #e31111;
}

.triana360-radar__label--people { top: 0; left: 50%; transform: translateX(-50%); }
.triana360-radar__label--people::before { top: 1.35rem; left: 50%; transform: translateX(-50%); }
.triana360-radar__label--process { top: 34%; right: -3%; }
.triana360-radar__label--process::before { top: 50%; left: -1rem; transform: translateY(-50%); }
.triana360-radar__label--supervision { right: 0; bottom: 17%; }
.triana360-radar__label--supervision::before { top: 50%; left: -1rem; transform: translateY(-50%); }
.triana360-radar__label--technology { bottom: 16%; left: -2%; }
.triana360-radar__label--technology::before { top: 50%; right: -1rem; transform: translateY(-50%); }
.triana360-radar__label--improve { top: 34%; left: -6%; max-width: 6rem; text-align: right; }
.triana360-radar__label--improve::before { top: 50%; right: -1rem; transform: translateY(-50%); }

/* Intro ------------------------------------------------------------------- */

.triana360-intro {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #fff;
}

.triana360-intro__grid,
.triana360-heading--split,
.triana360-benefits__grid,
.triana360-promise__grid {
  display: grid;
  gap: 2rem;
}

.triana360-intro h2,
.triana360-heading h2,
.triana360-benefits h2,
.triana360-promise h2 {
  max-width: 15ch;
  margin: 0;
  color: #0b0d0f;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .88;
  text-transform: none;
  text-wrap: balance;
}

.triana360-intro__body {
  max-width: 44rem;
  color: #333a41;
  font-size: 1rem;
  line-height: 1.72;
}

.triana360-intro__body strong { color: #0b0d0f; }

/* Shared headings -------------------------------------------------------- */

.triana360-heading {
  max-width: 52rem;
}

.triana360-heading > p:last-child,
.triana360-heading--split > p {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: #616971;
}

.triana360-heading h2 span,
.triana360-benefits h2 span,
.triana360-promise h2 span {
  color: var(--color-red);
}

/* Pillars ---------------------------------------------------------------- */

.triana360-pillars {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #21252a;
  color: #fff;
}

.triana360-pillars .triana360-kicker { color: #ff3e3e; }
.triana360-pillars .triana360-heading h2 { color: #fff; }
.triana360-pillars .triana360-heading h2 span { color: #fff; }
.triana360-pillars .triana360-heading > p:last-child { color: rgb(255 255 255 / 64%); }

.triana360-pillars__grid {
  display: grid;
  gap: 1px;
  margin: 2.75rem 0 0;
  padding: 1px;
  background: rgb(255 255 255 / 15%);
  list-style: none;
}

.triana360-pillars__grid li {
  position: relative;
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1rem;
  min-height: 10.5rem;
  align-items: start;
  padding: 1.35rem;
  background: #24282d;
}

.triana360-pillars__grid li.is-featured {
  outline: 1px solid rgb(196 0 0 / 78%);
  outline-offset: -1px;
  background: #282b30;
}

.triana360-pillars__number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ef3030;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
}

.triana360-pillars__icon {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: .35rem;
  background: #171a1e;
  color: #ef3030;
}

.triana360-pillars__icon svg { width: 1.65rem; height: 1.65rem; }

.triana360-pillars__grid h3 {
  margin: .2rem 2rem .45rem 0;
  color: #fff;
  font-size: 1.65rem;
}

.triana360-pillars__grid p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
  font-size: .9rem;
  line-height: 1.55;
}

/* Cycle ------------------------------------------------------------------ */

.triana360-cycle {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #fff;
}

.triana360-cycle__layout {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.triana360-cycle__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9dee3;
  list-style: none;
}

.triana360-cycle__list li {
  display: grid;
  grid-template-columns: 2.5rem 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #d9dee3;
}

.triana360-cycle__number {
  color: #e22020;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
}

.triana360-cycle__icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid #d9dee3;
  border-radius: .3rem;
  color: #d21818;
}

.triana360-cycle__icon svg { width: 1.35rem; height: 1.35rem; }

.triana360-cycle__list h3 {
  margin: 0 0 .35rem;
  color: #0b0d0f;
  font-size: 1.55rem;
}

.triana360-cycle__list p {
  margin: 0;
  color: #5d6670;
  font-size: .9rem;
  line-height: 1.55;
}

.triana360-cycle__wheel {
  position: relative;
  display: none;
  width: min(100%, 31rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.triana360-cycle__wheel::before,
.triana360-cycle__wheel::after {
  position: absolute;
  border: 1px dashed #b8bec5;
  border-radius: 50%;
  content: "";
}

.triana360-cycle__wheel::before { inset: 14%; }
.triana360-cycle__wheel::after { inset: 30%; border-style: solid; border-color: #e2e5e8; }

.triana360-cycle__wheel-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border-radius: 50%;
  background: #0b0d0f;
  color: #ef2121;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.triana360-cycle__wheel-step {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 7.5rem;
  place-items: center;
  color: #0b0d0f;
  text-align: center;
}

.triana360-cycle__wheel-step svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .35rem;
  padding: .6rem;
  border-radius: 50%;
  background: #111417;
  color: #fff;
}

.triana360-cycle__wheel-step b {
  position: absolute;
  top: -.6rem;
  right: .55rem;
  color: #e31818;
  font-family: var(--font-display);
}

.triana360-cycle__wheel-step small {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
}

.triana360-cycle__wheel-step--1 { top: 0; left: 50%; transform: translateX(-50%); }
.triana360-cycle__wheel-step--2 { top: 20%; right: 0; }
.triana360-cycle__wheel-step--3 { right: 4%; bottom: 14%; }
.triana360-cycle__wheel-step--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.triana360-cycle__wheel-step--5 { bottom: 14%; left: 4%; }
.triana360-cycle__wheel-step--6 { top: 20%; left: 0; }

/* Contrast --------------------------------------------------------------- */

.triana360-contrast {
  background: #080a0c;
  color: #fff;
}

.triana360-contrast__grid {
  display: grid;
}

.triana360-contrast__grid > div {
  padding: clamp(2rem, 6vw, 4.5rem);
}

.triana360-contrast__traditional {
  background: #080a0c;
}

.triana360-contrast__method {
  position: relative;
  overflow: hidden;
  background: #cf0000;
}

.triana360-contrast__method::after {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 65%;
  height: 160%;
  content: "";
  background: rgb(0 0 0 / 13%);
  transform: skewX(-18deg);
}

.triana360-contrast h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: .88;
}

.triana360-contrast p:last-child {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 72%);
}

.triana360-contrast__method .triana360-kicker { color: #fff; }

.triana360-contrast__sequence {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: .5rem 0 1.2rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .83;
}

.triana360-contrast__sequence span { color: rgb(255 255 255 / 55%); }

/* Ecosystem -------------------------------------------------------------- */

.triana360-ecosystem {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #fff;
}

.triana360-ecosystem__grid {
  display: grid;
  gap: 1px;
  margin: 2.75rem 0 0;
  padding: 1px;
  background: #dde1e5;
  list-style: none;
}

.triana360-ecosystem__grid li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  min-height: 8rem;
  align-items: start;
  padding: 1.25rem;
  background: #fff;
}

.triana360-ecosystem__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid #d9dee3;
  border-radius: .3rem;
  color: #111417;
}

.triana360-ecosystem__icon svg { width: 1.5rem; height: 1.5rem; }

.triana360-ecosystem__grid h3 {
  margin: .1rem 0 .35rem;
  color: #0b0d0f;
  font-size: 1.4rem;
}

.triana360-ecosystem__grid p {
  margin: 0;
  color: #5d6670;
  font-size: .86rem;
  line-height: 1.5;
}

/* Benefits --------------------------------------------------------------- */

.triana360-benefits {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #24282d;
  color: #fff;
}

.triana360-benefits .triana360-kicker { color: #ff3e3e; }
.triana360-benefits h2 { color: #fff; }
.triana360-benefits h2 span { color: #fff; }

.triana360-benefits__heading > p:last-child {
  max-width: 37rem;
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 67%);
}

.triana360-benefits ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 15%);
  list-style: none;
}

.triana360-benefits li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .8rem;
  align-items: start;
  padding: .9rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.triana360-benefits li svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .22rem;
  color: #ef2727;
}

.triana360-benefits li span {
  color: rgb(255 255 255 / 86%);
  font-size: .92rem;
}

/* Promise / CTA ---------------------------------------------------------- */

.triana360-promise {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #080a0c;
  color: #fff;
}

.triana360-promise::after {
  position: absolute;
  top: -30%;
  right: -12rem;
  width: 30rem;
  height: 160%;
  content: "";
  background: #310000;
  transform: skewX(-18deg);
}

.triana360-promise__grid {
  position: relative;
  z-index: 1;
}

.triana360-promise h2 { color: #fff; }
.triana360-promise h2 span { color: #ef2727; }
.triana360-promise p { max-width: 46rem; color: rgb(255 255 255 / 70%); }

.triana360-promise__actions {
  align-self: end;
}

.triana360-promise__actions > p {
  color: #fff;
  font-size: .88rem;
}

.triana360-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.triana360-whatsapp svg {
  width: 1.2rem;
  height: 1.2rem;
}

.triana360-whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: #0c8f45;
  box-shadow: 0 12px 30px rgb(0 0 0 / 24%);
  color: #fff;
}

.triana360-whatsapp-float svg { width: 1.45rem; height: 1.45rem; }

@media (min-width: 48rem) {
  .triana360-intro__grid,
  .triana360-heading--split,
  .triana360-benefits__grid,
  .triana360-promise__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .triana360-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .triana360-cycle__list {
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #d9dee3;
  }

  .triana360-cycle__list li {
    min-height: 10.5rem;
    border-right: 1px solid #d9dee3;
    border-bottom: 1px solid #d9dee3;
    padding: 1.25rem;
  }

  .triana360-cycle__list li:nth-child(2n) { border-right: 0; }
  .triana360-cycle__list li:nth-last-child(-n + 2) { border-bottom: 0; }

  .triana360-contrast__grid { grid-template-columns: .92fr 1.08fr; }
  .triana360-ecosystem__grid { grid-template-columns: repeat(2, 1fr); }
  .triana360-benefits ul { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}

@media (min-width: 64rem) {
  .triana-360-page .primary-nav ul { gap: .3rem; }
  .triana-360-page .primary-nav a { padding-inline: .75rem; }

  .triana360-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(26rem, .92fr);
    gap: 5rem;
  }

  .triana360-brand { font-size: clamp(5.6rem, 7vw, 7.8rem); }
  .triana360-hero__signals { max-width: 34rem; }

  .triana360-pillars__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .triana360-pillars__grid li {
    grid-template-columns: 1fr;
    min-height: 17.5rem;
    padding: 1.4rem;
  }

  .triana360-pillars__icon { margin-top: 1.2rem; }
  .triana360-pillars__grid h3 { margin-top: .8rem; }

  .triana360-cycle__layout {
    grid-template-columns: 1.12fr .88fr;
    gap: 4.5rem;
  }

  .triana360-cycle__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .triana360-cycle__wheel { display: block; }

  .triana360-ecosystem__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .triana360-promise__grid {
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
  }

  .triana360-whatsapp-float { right: 1.5rem; bottom: 1.5rem; }
}

@media (max-width: 63.99rem) {
  .triana360-hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .triana360-hero::before {
    background-image:
      linear-gradient(180deg, rgb(5 7 9 / 86%) 0%, rgb(5 7 9 / 72%) 52%, rgb(5 7 9 / 97%) 100%),
      var(--triana360-hero-image);
    background-position: center, 58% center;
  }

  .triana360-radar {
    width: min(86vw, 22rem);
    margin-top: .5rem;
  }

  .triana360-radar > strong {
    width: 5rem;
    height: 5rem;
    font-size: 1.9rem;
  }
}

@media (max-width: 47.99rem) {
  .triana360-hero {
    padding-bottom: 2.2rem;
  }

  .triana360-hero__grid {
    gap: 1.3rem;
  }

  .triana360-hero__copy {
    text-align: left;
  }

  .triana360-brand {
    margin-top: .25rem;
    font-size: clamp(4.2rem, 20vw, 5.9rem);
  }

  .triana360-hero__descriptor { font-size: 1.05rem; }
  .triana360-lead { font-size: .98rem; }

  .triana360-hero__actions {
    display: grid;
  }

  .triana360-hero__actions .button { width: 100%; }

  .triana360-hero__signals {
    margin-top: 1.4rem;
  }

  .triana360-hero__signals span {
    min-height: 3rem;
    font-size: .62rem;
  }

  .triana360-radar {
    width: min(86vw, 19rem);
  }

  .triana360-intro h2,
  .triana360-heading h2,
  .triana360-benefits h2,
  .triana360-promise h2,
  .triana360-contrast h2 {
    font-size: clamp(2.6rem, 13vw, 3.7rem);
  }

  .triana360-pillars__grid li {
    min-height: 9.6rem;
  }

  .triana360-cycle__list li {
    grid-template-columns: 2rem 2.8rem 1fr;
    gap: .75rem;
  }

  .triana360-cycle__number { font-size: .8rem; }

  .triana360-contrast__sequence {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .triana360-ecosystem__grid li {
    min-height: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .triana360-main *,
  .triana360-main *::before,
  .triana360-main *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ========================================================================== */
/* HOME CONCEPT — TRIANA                                                      */
/* Implementación visual basada en la propuesta aprobada para desktop/mobile. */
/* ========================================================================== */

.home-main {
  overflow: hidden;
  background: #fff;
}

.home-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .85rem;
  color: var(--color-red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-kicker::after {
  width: 2.4rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.home-inline-icon,
.home-benefit__icon,
.home-service-card svg,
.home-process-step svg,
.home-sector-card svg,
.home-trust-list svg,
.home-whatsapp-float svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-inline-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.home .site-header {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(8, 10, 12, .98);
}

.home .header-inner {
  width: min(calc(100% - 2rem), 80rem);
}

.home .brand-logo--header {
  height: 2.9rem;
}

.home .button,
.home-button {
  border-radius: .4rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Hero -------------------------------------------------------------------- */

.home-hero {
  --hero-max: 82rem;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: #07090b;
  color: #fff;
}

.home-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(180deg, rgba(5, 7, 9, .18), rgba(5, 7, 9, .88)),
    linear-gradient(90deg, rgba(5, 7, 9, .98) 0%, rgba(5, 7, 9, .78) 38%, rgba(5, 7, 9, .18) 72%, rgba(5, 7, 9, .18) 100%),
    var(--home-hero-image);
  background-position: center, center, 64% center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.88) contrast(1.08);
  transform: scale(1.01);
}

.home-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 75% 35%, transparent 0 20%, rgba(0, 0, 0, .28) 58%, rgba(0, 0, 0, .7) 100%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7) 100%);
  pointer-events: none;
}

.home-hero__accent {
  position: absolute;
  z-index: -1;
  right: -7rem;
  bottom: 7.1rem;
  width: 16rem;
  height: 30rem;
  background: linear-gradient(160deg, rgba(196, 0, 0, .12), #c40000 55%, #7a0000 100%);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .96;
}

.home-hero__accent::before {
  position: absolute;
  inset: 0 0 0 2.1rem;
  content: "";
  background: rgba(10, 12, 14, .72);
  clip-path: inherit;
}

.home-hero__stage {
  display: flex;
  min-height: calc(100svh - var(--header-height) - 7rem);
  align-items: flex-end;
  padding-top: clamp(5rem, 15vw, 8rem);
  padding-bottom: clamp(4rem, 11vw, 7rem);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 34rem);
}

.home-hero .home-kicker {
  color: #ff4646;
}

.home-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(3.7rem, 16vw, 6.4rem);
  letter-spacing: -.035em;
  line-height: .82;
  text-transform: none;
}

.home-hero__title span {
  display: block;
}

.home-hero__title .is-red,
.home-section__heading h2 span,
.home-contact h2 span {
  color: #e31317;
}

.home-hero__lead {
  max-width: 32rem;
  margin: 1.8rem 0 0;
  color: #eef0f2;
  font-size: clamp(1rem, .96rem + .25vw, 1.16rem);
  line-height: 1.5;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .48);
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.7rem;
}

.home-button {
  min-height: 3.25rem;
  padding-inline: 1.2rem;
  font-size: .92rem;
}

.home-button--whatsapp {
  border-color: rgba(255, 255, 255, .78);
  color: #fff;
}

.home-button--whatsapp:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.home-hero__benefits {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(6, 8, 10, .94);
  backdrop-filter: blur(16px);
}

.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-benefit {
  display: grid;
  min-height: 7rem;
  place-items: center;
  align-content: center;
  gap: .45rem;
  border-right: 1px solid rgba(255, 255, 255, .11);
  padding: .8rem .25rem;
  text-align: center;
}

.home-benefit:last-child {
  border-right: 0;
}

.home-benefit__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #e31317;
}

.home-benefit span {
  color: #fff;
  font-size: clamp(.58rem, 2.7vw, .75rem);
  font-weight: 700;
  line-height: 1.25;
}

/* Shared home sections ---------------------------------------------------- */

.home-section {
  position: relative;
  padding-block: clamp(4.8rem, 10vw, 7.2rem);
  background: #fff;
}

.home-section::before {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 7rem;
  height: 4rem;
  content: "";
  background-image: radial-gradient(circle, rgba(196, 0, 0, .34) 1.2px, transparent 1.4px);
  background-size: .72rem .72rem;
  opacity: .32;
  pointer-events: none;
}

.home-section__heading {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
}

.home-section__heading--center {
  margin-inline: auto;
  text-align: center;
}

.home-section__heading--center .home-kicker {
  justify-content: center;
}

.home-section__heading h2,
.home-contact h2 {
  margin: 0;
  color: #0b0d0f;
  font-size: clamp(2.35rem, 8vw, 4.3rem);
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: none;
}

.home-section__heading p:not(.home-kicker) {
  max-width: 38rem;
  margin: 1.1rem auto 0;
  color: #626b75;
  font-size: .98rem;
  line-height: 1.65;
}

.home-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #111418;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.home-text-link span {
  color: #c40000;
  font-size: 1.15rem;
  transition: transform .2s ease;
}

.home-text-link:hover span {
  transform: translateX(.2rem);
}

/* Services ---------------------------------------------------------------- */

.home-services {
  background: #fbfbfc;
}

.home-service-grid {
  display: grid;
  gap: .9rem;
}

.home-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  min-height: 5.8rem;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 9px 30px rgba(11, 13, 15, .045);
  color: #171a1f;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-service-card:hover {
  border-color: rgba(196, 0, 0, .38);
  box-shadow: 0 18px 36px rgba(11, 13, 15, .09);
  transform: translateY(-4px);
}

.home-service-card__media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(7, 9, 11, .12), rgba(7, 9, 11, .48)),
    var(--card-image),
    linear-gradient(145deg, #343a40, #0b0d0f);
  background-position: center;
  background-size: cover;
}

.home-service-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: .75rem;
  padding: .75rem .85rem;
}

.home-service-card__icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #dfe3e7;
  border-radius: .5rem;
  background: #fff;
  color: #111418;
}

.home-service-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.home-service-card strong {
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.28;
}

.home-service-card__arrow {
  width: 1.15rem;
  height: 1.15rem;
  color: #d10000;
  transition: transform .2s ease;
}

.home-service-card:hover .home-service-card__arrow {
  transform: translateX(.2rem);
}

/* Process ----------------------------------------------------------------- */

.home-process {
  background: #fff;
}

.home-process-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 7rem;
  padding: 0 0 1.65rem;
}

.home-process-step:not(:last-child)::after {
  position: absolute;
  top: 3.15rem;
  bottom: 0;
  left: 1.62rem;
  width: 1px;
  content: "";
  background: #e6e8eb;
}

.home-process-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 1px solid #d7dce1;
  border-radius: 50%;
  background: #fff;
  color: #16191d;
}

.home-process-step__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.home-process-step.is-highlighted .home-process-step__icon {
  border: 2px solid #c40000;
  color: #c40000;
  box-shadow: 0 0 0 .45rem rgba(196, 0, 0, .07);
}

.home-process-step strong {
  display: block;
  margin-top: .15rem;
  color: #13161a;
  font-size: .9rem;
  line-height: 1.25;
}

.home-process-step p {
  margin: .25rem 0 0;
  color: #727b84;
  font-size: .78rem;
  line-height: 1.45;
}

/* Sectors ----------------------------------------------------------------- */

.home-sectors {
  background: #f8f9fa;
}

.home-sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.home-sector-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e5e9;
  border-radius: .6rem;
  background: #fff;
  color: #171a1f;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(11, 13, 15, .05);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-sector-card:hover {
  box-shadow: 0 18px 36px rgba(11, 13, 15, .1);
  transform: translateY(-4px);
}

.home-sector-card__media {
  display: block;
  aspect-ratio: 1 / .9;
  background:
    linear-gradient(180deg, rgba(5, 7, 9, .05), rgba(5, 7, 9, .4)),
    var(--sector-image),
    linear-gradient(145deg, #555e67, #15181c);
  background-position: center;
  background-size: cover;
  transition: transform .35s ease;
}

.home-sector-card:hover .home-sector-card__media {
  transform: scale(1.035);
}

.home-sector-card__label {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 4.4rem;
  justify-items: center;
  align-content: center;
  gap: .4rem;
  margin-top: -1.1rem;
  padding: 0 .3rem .65rem;
  text-align: center;
}

.home-sector-card__icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #d9dde2;
  border-radius: .45rem;
  background: #fff;
  box-shadow: 0 5px 15px rgba(11, 13, 15, .12);
}

.home-sector-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.home-sector-card strong {
  font-size: clamp(.62rem, 2.7vw, .78rem);
  line-height: 1.15;
}

/* Contact ----------------------------------------------------------------- */

.home-contact {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #fff;
}

.home-contact__shell {
  display: grid;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .75rem;
  box-shadow: 0 26px 70px rgba(11, 13, 15, .11);
}

.home-contact__form-panel {
  padding: clamp(1.45rem, 6vw, 4.2rem);
  background: #fff;
}

.home-contact__form-panel > h2 {
  max-width: 14ch;
}

.home-contact__intro {
  max-width: 38rem;
  margin: 1rem 0 1.6rem;
  color: #69727b;
  font-size: .9rem;
}

.home-quote-form {
  margin-top: 1.6rem;
}

.home-form-grid {
  display: grid;
  gap: .8rem;
}

.home-form-field {
  display: grid;
  gap: .36rem;
}

.home-form-field label {
  color: #24282d;
  font-size: .76rem;
  font-weight: 800;
}

.home-form-field input,
.home-form-field select,
.home-form-field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #dce1e6;
  border-radius: .42rem;
  padding: .72rem .78rem;
  background: #fff;
  color: #171a1f;
  font-size: .86rem;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.home-form-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.home-form-field input::placeholder,
.home-form-field textarea::placeholder {
  color: #8a929b;
}

.home-form-field input:focus,
.home-form-field select:focus,
.home-form-field textarea:focus {
  border-color: #c40000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 0, 0, .1);
}

.home-form-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  margin: 1rem 0 1.2rem;
  color: #5e6770;
  font-size: .75rem;
  line-height: 1.5;
}

.home-form-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: .2rem;
  accent-color: #c40000;
}

.home-form-consent a {
  color: #171a1f;
  font-weight: 800;
}

.home-quote-form__submit {
  width: 100%;
}

.home-form-note {
  margin: .75rem 0 0;
  color: #7b838c;
  font-size: .68rem;
  line-height: 1.45;
}

.home-contact__trust-panel {
  position: relative;
  isolation: isolate;
  min-height: 37rem;
  overflow: hidden;
  padding: clamp(1.6rem, 6vw, 3.5rem);
  background: #090b0d;
  color: #fff;
}

.home-contact__trust-panel::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 10, 12, .98) 0%, rgba(8, 10, 12, .92) 58%, rgba(8, 10, 12, .28) 100%),
    var(--contact-image),
    linear-gradient(145deg, #22272c, #090b0d);
  background-position: center, center bottom, center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

.home-contact__trust-panel::after {
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -5rem;
  width: 15rem;
  height: 19rem;
  content: "";
  background: rgba(196, 0, 0, .77);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
}

.home-contact__trust-content {
  position: relative;
  z-index: 1;
}

.home-contact__trust-panel h2 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.2rem, 8vw, 3.65rem);
}

.home-trust-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.home-trust-list li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
}

.home-trust-list svg {
  width: 1.7rem;
  height: 1.7rem;
  color: #e31317;
}

.home-trust-list span,
.home-trust-list strong {
  display: block;
}

.home-trust-list span {
  color: #ff4c4c;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-trust-list strong {
  margin-top: .18rem;
  color: #fff;
  font-size: .87rem;
  line-height: 1.35;
}

.home-whatsapp-float {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20bf5f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .23);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-whatsapp-float:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transform: translateY(-3px) scale(1.02);
}

.home-whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 1.9;
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 48rem) {
  .home-hero::before {
    background-image:
      linear-gradient(90deg, rgba(5, 7, 9, .98) 0%, rgba(5, 7, 9, .87) 37%, rgba(5, 7, 9, .22) 69%, rgba(5, 7, 9, .07) 100%),
      var(--home-hero-image);
    background-position: center, right center;
    background-size: cover, auto 100%;
  }

  .home-hero__stage {
    min-height: 39rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .home-hero__content {
    width: min(50%, 36rem);
  }

  .home-hero__actions {
    flex-direction: row;
  }

  .home-button {
    min-height: 3.45rem;
    padding-inline: 1.35rem;
  }

  .home-benefit {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    min-height: 7rem;
    align-content: center;
    gap: .8rem;
    padding-inline: 1.2rem;
    text-align: left;
  }

  .home-benefit__icon {
    width: 2rem;
    height: 2rem;
  }

  .home-benefit span {
    font-size: .76rem;
  }

  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-card {
    grid-template-columns: 7rem minmax(0, 1fr);
    min-height: 7.3rem;
  }

  .home-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .home-process-step {
    grid-template-columns: 3.35rem minmax(0, 1fr);
    min-height: 8.5rem;
    padding: 0;
  }

  .home-process-step:not(:last-child)::after {
    display: none;
  }

  .home-sector-grid {
    gap: 1rem;
  }

  .home-sector-card__media {
    aspect-ratio: 1.15 / 1;
  }

  .home-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-form-field--wide {
    grid-column: 1 / -1;
  }
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 64rem) {
  .home .site-header {
    min-height: 4.45rem;
    background: rgba(8, 10, 12, .97);
  }

  .home .header-inner {
    min-height: 4.45rem;
  }

  .home .brand-logo--header {
    height: 2.65rem;
  }

  .home .primary-nav a {
    padding-inline: .78rem;
    font-size: .73rem;
    font-weight: 700;
  }

  .home .header-cta {
    min-height: 2.45rem;
    padding: .55rem .9rem;
    font-size: .72rem;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero::before {
    left: 38%;
    background-image:
      linear-gradient(90deg, rgba(7, 9, 11, .98) 0%, rgba(7, 9, 11, .69) 23%, rgba(7, 9, 11, .07) 63%, rgba(7, 9, 11, .04) 100%),
      var(--home-hero-image);
    background-position: center, center;
    background-size: cover;
  }

  .home-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 9, 11, 1) 0%, rgba(7, 9, 11, .95) 33%, rgba(7, 9, 11, .58) 48%, transparent 75%),
      linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .65) 100%);
  }

  .home-hero__stage {
    min-height: 39.5rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home-hero__content {
    width: min(47%, 35rem);
  }

  .home-hero__title {
    font-size: clamp(5rem, 6.3vw, 6.8rem);
  }

  .home-hero__lead {
    max-width: 29rem;
  }

  .home-hero__accent {
    right: -2rem;
    bottom: 7rem;
    width: 14rem;
    height: 31rem;
  }

  .home-benefit-grid {
    width: min(calc(100% - 3rem), 80rem);
  }

  .home-benefit {
    min-height: 7.1rem;
    padding-inline: 1.5rem;
  }

  .home-benefit span {
    font-size: .75rem;
  }

  .home-section::before {
    right: 4rem;
    width: 8rem;
    height: 5rem;
  }

  .home-service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .8rem;
  }

  .home-service-card {
    display: block;
    min-height: 22rem;
    border-radius: .62rem;
  }

  .home-service-card__media {
    display: block;
    min-height: 10.4rem;
  }

  .home-service-card__body {
    grid-template-columns: 1fr auto;
    align-content: start;
    gap: 1rem;
    min-height: 11.5rem;
    padding: 2.2rem 1rem 1rem;
  }

  .home-service-card__icon {
    position: absolute;
    top: -1.2rem;
    left: 1rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  .home-service-card strong {
    font-size: .85rem;
    line-height: 1.3;
  }

  .home-service-card__arrow {
    align-self: end;
  }

  .home-process-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-top: 4.2rem;
  }

  .home-process-list::before {
    position: absolute;
    top: 1.68rem;
    right: 7.5%;
    left: 7.5%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #dfe3e7, #c40000 50%, #dfe3e7);
  }

  .home-process-step {
    display: block;
    min-height: 10rem;
    padding: 0 .85rem;
    text-align: center;
  }

  .home-process-step__icon {
    margin: 0 auto 1.25rem;
    background: #fff;
  }

  .home-process-step strong {
    min-height: 2.2rem;
    font-size: .76rem;
  }

  .home-process-step p {
    font-size: .69rem;
  }

  .home-sector-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .7rem;
  }

  .home-sector-card__media {
    aspect-ratio: .76 / 1;
  }

  .home-sector-card__label {
    min-height: 5.2rem;
  }

  .home-sector-card strong {
    font-size: .7rem;
  }

  .home-contact__shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .88fr);
  }

  .home-contact__trust-panel {
    min-height: 45rem;
  }

  .home-contact__trust-panel::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, .99) 0%, rgba(8, 10, 12, .91) 55%, rgba(8, 10, 12, .22) 100%),
      var(--contact-image),
      linear-gradient(145deg, #22272c, #090b0d);
    background-position: center, center bottom, center;
    background-size: cover, 120% auto, cover;
  }

  .home-quote-form__submit {
    width: auto;
  }

  .home-whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .home-service-grid,
  .home-sector-grid,
  .home-process-list {
    width: min(100%, 78rem);
    margin-inline: auto;
  }
}

@media (max-width: 28rem) {
  .home-benefit {
    padding-inline: .15rem;
  }

  .home-benefit span {
    font-size: .53rem;
  }

  .home-sector-grid {
    gap: .45rem;
  }

  .home-sector-card strong {
    font-size: .58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card,
  .home-sector-card,
  .home-sector-card__media,
  .home-text-link span,
  .home-whatsapp-float {
    transition: none;
  }
}

/* ========================================================================== */
/* SERVICES INDEX CONCEPT — TRIANA                                           */
/* Continuidad visual del home aprobado para la página /servicios/.          */
/* ========================================================================== */

.services-main {
  overflow: hidden;
  background: #fff;
}

.services-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.services-main svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.services-kicker {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  margin: 0 0 .85rem;
  color: #c40000;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-kicker::after {
  width: 2.2rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.services-heading {
  position: relative;
  z-index: 2;
  max-width: 50rem;
}

.services-heading--center {
  margin-inline: auto;
  text-align: center;
}

.services-heading--center .services-kicker {
  justify-content: center;
}

.services-heading h1,
.services-process h2,
.services-trust h2,
.services-faq h2 {
  text-transform: none;
}

.services-heading h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10.5vw, 4.6rem);
  letter-spacing: -.025em;
  line-height: .94;
}

.services-heading h1 span,
.services-process h2 span,
.services-trust h2 span {
  color: #e31317;
}

.services-heading > p:last-child {
  max-width: 43rem;
  margin: 1.1rem auto 0;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  line-height: 1.62;
}

.triana-services-index .site-header {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(8, 10, 12, .98);
}

.triana-services-index .header-inner {
  width: min(calc(100% - 2rem), 80rem);
}

.triana-services-index .brand-logo--header {
  height: 2.9rem;
}

.triana-services-index .button,
.services-button {
  border-radius: .4rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Hero + catálogo --------------------------------------------------------- */

.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.6rem, 11vw, 6rem);
  background: #090b0d;
}

.services-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 9, 11, .62), rgba(7, 9, 11, .93) 42%, #090b0d 78%),
    linear-gradient(90deg, rgba(7, 9, 11, .35), rgba(7, 9, 11, .1)),
    var(--services-hero-image),
    linear-gradient(145deg, #2c3238, #090b0d);
  background-position: center, center, 62% top, center;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 34rem, cover;
  filter: saturate(.88) contrast(1.06);
}

.services-hero::after {
  position: absolute;
  z-index: -1;
  right: -3rem;
  bottom: -6rem;
  width: 15rem;
  height: 21rem;
  content: "";
  background: linear-gradient(160deg, rgba(196, 0, 0, .15), #c40000 58%, #6d0000);
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .78;
}

.services-card-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: .8rem;
  margin-top: 2.3rem;
}

.services-card {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  min-height: 8.4rem;
  overflow: hidden;
  border: 1px solid rgba(223, 227, 231, .96);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .19);
  color: #171a1f;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.services-card:hover {
  border-color: rgba(196, 0, 0, .5);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
  transform: translateY(-3px);
}

.services-card__media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .04), rgba(6, 8, 10, .42)),
    var(--service-image),
    linear-gradient(145deg, #3b4249, #0b0d0f);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.services-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.25rem;
  grid-template-areas:
    "icon title arrow"
    "icon summary arrow"
    "badge badge badge";
  align-content: center;
  gap: .3rem .75rem;
  padding: .8rem .85rem;
}

.services-card__icon {
  grid-area: icon;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #dce1e6;
  border-radius: .5rem;
  background: #fff;
  color: #111418;
  box-shadow: 0 4px 12px rgba(11, 13, 15, .08);
}

.services-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.services-card strong {
  grid-area: title;
  align-self: end;
  color: #111418;
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.25;
}

.services-card__summary {
  grid-area: summary;
  display: -webkit-box;
  overflow: hidden;
  color: #65707a;
  font-size: .69rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.services-card__badge {
  grid-area: badge;
  width: fit-content;
  margin-top: .28rem;
  border: 1px solid rgba(196, 0, 0, .35);
  border-radius: 999px;
  padding: .18rem .45rem;
  color: #b60000;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-card__arrow {
  grid-area: arrow;
  align-self: center;
  width: 1.12rem;
  height: 1.12rem;
  color: #d10000;
  transition: transform .2s ease;
}

.services-card:hover .services-card__arrow {
  transform: translateX(.2rem);
}

/* Proceso ----------------------------------------------------------------- */

.services-process {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.4rem, 10vw, 7rem);
  background: #fff;
}

.services-process__layout {
  display: grid;
  gap: 2.6rem;
}

.services-process__heading h2 {
  margin: 0;
  color: #101317;
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.services-process__heading > p:last-child {
  max-width: 30rem;
  margin: 1rem 0 0;
  color: #69727b;
  font-size: .9rem;
}

.services-process__list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-process__step {
  position: relative;
  display: grid;
  grid-template-columns: 3.45rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 7.3rem;
  padding-bottom: 1.7rem;
}

.services-process__step:not(:last-child)::after {
  position: absolute;
  top: 3.25rem;
  bottom: 0;
  left: 1.7rem;
  width: 1px;
  content: "";
  background: #e1e5e8;
}

.services-process__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  border: 1px solid #d6dbe0;
  border-radius: 50%;
  background: #fff;
  color: #15181c;
  box-shadow: 0 8px 18px rgba(11, 13, 15, .06);
}

.services-process__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.services-process__step.is-highlighted .services-process__icon {
  border: 2px solid #c40000;
  background: #c40000;
  color: #fff;
  box-shadow: 0 0 0 .45rem rgba(196, 0, 0, .09);
}

.services-process__step strong {
  display: block;
  margin-top: .12rem;
  color: #15181c;
  font-size: .9rem;
  line-height: 1.3;
}

.services-process__step p {
  margin: .28rem 0 0;
  color: #6e7780;
  font-size: .76rem;
  line-height: 1.46;
}

/* Evidencia y CTA --------------------------------------------------------- */

.services-trust {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #f7f8f9;
}

.services-trust__shell {
  display: grid;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 24px 66px rgba(11, 13, 15, .1);
}

.services-trust__content {
  padding: clamp(1.5rem, 6vw, 4rem);
}

.services-trust__content > h2 {
  max-width: 13ch;
  margin: 0;
  color: #111418;
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.services-trust__content > p:not(.services-kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #67717b;
  font-size: .9rem;
}

.services-trust__list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.services-trust__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid #e1e5e8;
  padding-block: 1.25rem;
}

.services-trust__list svg {
  width: 2rem;
  height: 2rem;
  color: #d30000;
}

.services-trust__list strong,
.services-trust__list span {
  display: block;
}

.services-trust__list strong {
  color: #171a1f;
  font-size: .88rem;
  line-height: 1.35;
}

.services-trust__list span {
  margin-top: .25rem;
  color: #69727b;
  font-size: .74rem;
  line-height: 1.5;
}

.services-trust__cta {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 34rem;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 4rem);
  background: #090b0d;
  color: #fff;
  text-align: center;
}

.services-trust__cta::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 15%, rgba(196, 0, 0, .15), transparent 30%),
    linear-gradient(145deg, transparent 0 64%, rgba(196, 0, 0, .75) 64% 66%, transparent 66%),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, auto, 2.75rem 100%;
}

.services-trust__cta::after {
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -7rem;
  width: 14rem;
  height: 20rem;
  content: "";
  background: rgba(196, 0, 0, .78);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
}

.services-trust__shield {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #e31317;
}

.services-trust__shield svg {
  width: 2.2rem;
  height: 2.2rem;
}

.services-trust__cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: .94;
}

.services-trust__cta p {
  max-width: 25rem;
  margin: 1rem auto 1.7rem;
  color: #ccd1d6;
  font-size: .88rem;
}

.services-button {
  min-height: 3.35rem;
  width: min(100%, 22rem);
  gap: .75rem;
}

.services-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.services-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.services-whatsapp-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* FAQ --------------------------------------------------------------------- */

.services-faq {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: #fff;
}

.services-faq__layout {
  display: grid;
  gap: 2.5rem;
}

.services-faq header h2 {
  max-width: 15ch;
  margin: 0;
  color: #111418;
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  line-height: .96;
}

.services-faq header > p:last-child {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: #69727b;
  font-size: .9rem;
}

.services-faq__list {
  border-top: 1px solid #dfe3e7;
}

.services-faq__list details {
  border-bottom: 1px solid #dfe3e7;
}

.services-faq__list summary {
  position: relative;
  min-height: 4.6rem;
  padding: 1.35rem 3rem 1.35rem 0;
  color: #171a1f;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
}

.services-faq__list summary::after {
  position: absolute;
  top: .92rem;
  right: .2rem;
  content: "+";
  color: #c40000;
  font-family: var(--font-display);
  font-size: 2rem;
}

.services-faq__list details[open] summary::after {
  content: "−";
}

.services-faq__list details p {
  max-width: 45rem;
  padding: 0 2rem 1.4rem 0;
  color: #68717a;
  font-size: .86rem;
}

.services-whatsapp-float {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20bf5f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .23);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.services-whatsapp-float:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transform: translateY(-3px) scale(1.02);
}

.services-whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 48rem) {
  .services-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-card {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    min-height: 9.5rem;
  }

  .services-process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  .services-process__step {
    min-height: 8rem;
  }

  .services-process__step:not(:last-child)::after {
    display: none;
  }

  .services-trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }

  .services-faq__layout {
    grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 64rem) {
  .triana-services-index .site-header {
    min-height: 4.45rem;
    background: rgba(8, 10, 12, .97);
  }

  .triana-services-index .header-inner {
    min-height: 4.45rem;
  }

  .triana-services-index .brand-logo--header {
    height: 2.65rem;
  }

  .triana-services-index .primary-nav a {
    padding-inline: .78rem;
    font-size: .73rem;
    font-weight: 700;
  }

  .triana-services-index .header-cta {
    min-height: 2.45rem;
    padding: .55rem .9rem;
    font-size: .72rem;
  }

  .services-hero {
    padding-block: 3.1rem 2.4rem;
    background: #fff;
  }

  .services-hero::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: 48%;
    height: 17rem;
    background:
      radial-gradient(circle, rgba(196, 0, 0, .35) 1.15px, transparent 1.4px),
      linear-gradient(135deg, transparent 0 45%, rgba(247, 248, 249, .94) 45% 100%);
    background-position: right 3rem top 3rem, center;
    background-size: .72rem .72rem, cover;
    filter: none;
    opacity: .44;
  }

  .services-hero::after {
    display: none;
  }

  .services-heading h1 {
    color: #101317;
    font-size: clamp(3.5rem, 4.8vw, 5rem);
  }

  .services-heading > p:last-child {
    color: #626b75;
  }

  .services-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .78rem;
    margin-top: 2.5rem;
  }

  .services-card {
    display: block;
    min-height: 22.5rem;
    border-radius: .62rem;
    box-shadow: 0 9px 26px rgba(11, 13, 15, .07);
  }

  .services-card:hover {
    box-shadow: 0 18px 40px rgba(11, 13, 15, .13);
  }

  .services-card__media {
    display: block;
    min-height: 10.6rem;
  }

  .services-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title title"
      "summary summary"
      "badge badge"
      ". arrow";
    align-content: start;
    min-height: 11.8rem;
    gap: .5rem;
    padding: 2.25rem 1rem 1rem;
  }

  .services-card__icon {
    position: absolute;
    top: -1.25rem;
    left: 1rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .services-card strong {
    font-size: .87rem;
    line-height: 1.28;
  }

  .services-card__summary {
    display: block;
    overflow: visible;
    font-size: .69rem;
    -webkit-line-clamp: initial;
  }

  .services-card__arrow {
    align-self: end;
    justify-self: end;
    margin-top: auto;
  }

  .services-process {
    padding-block: 3.2rem;
    background: #090b0d;
    color: #fff;
  }

  .services-process::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
      linear-gradient(145deg, transparent 0 70%, rgba(196, 0, 0, .55) 70% 72%, transparent 72%),
      linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: auto, 3rem 100%;
    pointer-events: none;
  }

  .services-process__layout {
    position: relative;
    grid-template-columns: minmax(16rem, .65fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 3.5rem;
  }

  .services-process__heading h2 {
    color: #fff;
    font-size: clamp(2.7rem, 3.7vw, 4rem);
  }

  .services-process__heading > p:last-child {
    color: #bfc6cd;
  }

  .services-process__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .services-process__list::before {
    position: absolute;
    top: 1.78rem;
    right: 8%;
    left: 8%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #4f565d, #c40000 52%, #4f565d);
  }

  .services-process__step {
    display: block;
    min-height: 10.5rem;
    padding: 0 .6rem;
    text-align: center;
  }

  .services-process__icon {
    margin: 0 auto 1.15rem;
    border-color: #565e66;
    background: #111418;
    color: #fff;
    box-shadow: none;
  }

  .services-process__step strong {
    min-height: 2.3rem;
    color: #fff;
    font-size: .72rem;
  }

  .services-process__step p {
    color: #b3bac1;
    font-size: .64rem;
  }

  .services-trust__shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr);
  }

  .services-trust__cta {
    min-height: 46rem;
  }

  .services-faq__layout {
    grid-template-columns: minmax(19rem, .72fr) minmax(0, 1.28fr);
    gap: 5rem;
  }

  .services-whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .services-card-grid,
  .services-process__layout,
  .services-trust__shell,
  .services-faq__layout {
    width: min(100%, 78rem);
    margin-inline: auto;
  }
}

@media (max-width: 25rem) {
  .services-card {
    grid-template-columns: 5.7rem minmax(0, 1fr);
  }

  .services-card__body {
    grid-template-columns: 2rem minmax(0, 1fr) 1rem;
    gap: .25rem .55rem;
    padding-inline: .65rem;
  }

  .services-card__icon {
    width: 2rem;
    height: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-card,
  .services-card__arrow,
  .services-whatsapp-float {
    transition: none;
  }
}

/* ========================================================================== */
/* SECTORS INDEX CONCEPT — TRIANA                                            */
/* Continuidad visual del home y /servicios/ para la página /sectores/.      */
/* ========================================================================== */

.sectors-main {
  overflow: hidden;
  background: #fff;
}

.sectors-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sectors-main svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sectors-kicker {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  margin: 0 0 .85rem;
  color: #c40000;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sectors-kicker::after {
  width: 2.2rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.sectors-heading {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.sectors-heading--center {
  margin-inline: auto;
  text-align: center;
}

.sectors-heading--center .sectors-kicker {
  justify-content: center;
}

.sectors-heading h1,
.sectors-detail h2,
.sectors-method h2,
.sectors-trust h2 {
  text-transform: none;
}

.sectors-heading h1 {
  margin: 0;
  color: #101317;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 10.5vw, 4.7rem);
  letter-spacing: -.028em;
  line-height: .94;
}

.sectors-heading h1 span,
.sectors-detail h2 span,
.sectors-method h2 span,
.sectors-trust h2 span {
  color: #e31317;
}

.sectors-heading > p:last-child {
  max-width: 44rem;
  margin: 1.05rem auto 0;
  color: #616a74;
  font-size: .92rem;
  line-height: 1.62;
}

.triana-sectors-index .site-header {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(8, 10, 12, .98);
}

.triana-sectors-index .header-inner {
  width: min(calc(100% - 2rem), 80rem);
}

.triana-sectors-index .brand-logo--header {
  height: 2.9rem;
}

.triana-sectors-index .button,
.sectors-button {
  border-radius: .4rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Hero y catálogo --------------------------------------------------------- */

.sectors-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.7rem, 11vw, 6.2rem);
  background: #fbfbfc;
}

.sectors-hero::before {
  position: absolute;
  z-index: -1;
  top: 1.4rem;
  right: 1rem;
  width: 8rem;
  height: 6rem;
  content: "";
  background-image: radial-gradient(circle, rgba(196, 0, 0, .38) 1.15px, transparent 1.4px);
  background-size: .7rem .7rem;
  opacity: .3;
}

.sectors-card-grid {
  display: grid;
  gap: .8rem;
  margin-top: 2.3rem;
}

.sectors-card {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  min-height: 8.3rem;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .68rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 13, 15, .07);
  color: #171a1f;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.sectors-card:hover {
  border-color: rgba(196, 0, 0, .42);
  box-shadow: 0 20px 42px rgba(11, 13, 15, .12);
  transform: translateY(-3px);
}

.sectors-card__media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .03), rgba(6, 8, 10, .34)),
    var(--sector-image),
    linear-gradient(145deg, #4b535b, #111418);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sectors-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.2rem;
  grid-template-areas:
    "icon title arrow"
    "icon summary arrow";
  align-content: center;
  gap: .28rem .7rem;
  padding: .8rem .85rem;
}

.sectors-card__icon {
  grid-area: icon;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #dce1e6;
  border-radius: .5rem;
  background: #fff;
  color: #111418;
  box-shadow: 0 4px 12px rgba(11, 13, 15, .08);
}

.sectors-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.sectors-card strong {
  grid-area: title;
  align-self: end;
  color: #111418;
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.25;
}

.sectors-card__summary {
  grid-area: summary;
  display: -webkit-box;
  overflow: hidden;
  color: #65707a;
  font-size: .7rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sectors-card__arrow {
  grid-area: arrow;
  align-self: center;
  width: 1.1rem;
  height: 1.1rem;
  color: #d10000;
  transition: transform .2s ease;
}

.sectors-card:hover .sectors-card__arrow {
  transform: translateX(.2rem);
}

.sectors-card.is-featured {
  display: block;
  min-height: 29rem;
}

.sectors-card.is-featured .sectors-card__media {
  display: block;
  min-height: 16.5rem;
}

.sectors-card.is-featured .sectors-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "icon arrow"
    "title title"
    "summary summary";
  align-content: start;
  min-height: 12rem;
  gap: .75rem;
  padding: 0 1rem 1.15rem;
}

.sectors-card.is-featured .sectors-card__icon {
  margin-top: -1.35rem;
  width: 3rem;
  height: 3rem;
}

.sectors-card.is-featured .sectors-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.sectors-card.is-featured strong {
  font-size: 1.2rem;
}

.sectors-card.is-featured .sectors-card__summary {
  display: block;
  overflow: visible;
  font-size: .82rem;
  line-height: 1.5;
  -webkit-line-clamp: initial;
}

.sectors-card.is-featured .sectors-card__arrow {
  align-self: center;
  justify-self: end;
  margin-top: -1.35rem;
}

/* Guía rápida ------------------------------------------------------------- */

.sectors-guide {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.3rem;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .72rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(11, 13, 15, .06);
}

.sectors-guide__intro,
.sectors-guide__form,
.sectors-guide__facts {
  padding: 1.25rem;
}

.sectors-guide__line {
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-bottom: .8rem;
  background: #c40000;
}

.sectors-guide h2 {
  margin: 0;
  color: #111418;
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.22;
}

.sectors-guide__intro p {
  margin: .7rem 0 0;
  color: #65707a;
  font-size: .78rem;
  line-height: 1.55;
}

.sectors-guide__form {
  display: grid;
  gap: .7rem;
  border-top: 1px solid #e3e6e9;
  border-bottom: 1px solid #e3e6e9;
}

.sectors-guide__form label {
  color: #171a1f;
  font-size: .84rem;
  font-weight: 800;
}

.sectors-guide__controls {
  display: grid;
  gap: .7rem;
}

.sectors-guide__controls select {
  min-height: 3.1rem;
  width: 100%;
  border: 1px solid #d8dde2;
  border-radius: .42rem;
  padding: .7rem .8rem;
  background: #fff;
  color: #171a1f;
  font-size: .82rem;
}

.sectors-button {
  min-height: 3.1rem;
  gap: .65rem;
}

.sectors-button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sectors-guide__facts {
  display: grid;
  gap: 1rem;
  margin: 0;
  list-style: none;
}

.sectors-guide__facts li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .1rem .75rem;
  align-items: start;
}

.sectors-guide__facts svg {
  grid-row: 1 / span 2;
  width: 1.65rem;
  height: 1.65rem;
  color: #d10000;
}

.sectors-guide__facts span,
.sectors-guide__facts strong {
  display: block;
}

.sectors-guide__facts span {
  color: #69727b;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sectors-guide__facts strong {
  color: #171a1f;
  font-size: .75rem;
  line-height: 1.35;
}

/* Selector detallado ------------------------------------------------------ */

.sectors-detail {
  padding-block: clamp(4.8rem, 10vw, 7rem);
  background: #fff;
}

.sectors-detail__heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.sectors-detail__heading h2,
.sectors-method__heading h2,
.sectors-trust__intro h2 {
  margin: 0;
  color: #111418;
  font-size: clamp(2.5rem, 8vw, 4.1rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.sectors-detail__heading > p:last-child,
.sectors-method__heading > p:last-child,
.sectors-trust__intro > p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #66717b;
  font-size: .9rem;
  line-height: 1.62;
}

.sectors-selector {
  display: grid;
  gap: 1rem;
}

.sectors-tabs {
  display: grid;
  gap: .7rem;
}

.sectors-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 6.2rem 2.2rem minmax(0, 1fr) 1.1rem;
  align-items: center;
  gap: .65rem;
  min-height: 6.2rem;
  overflow: hidden;
  border: 1px solid #dde2e6;
  border-radius: .62rem;
  padding: 0 .8rem 0 0;
  background: #fff;
  color: #171a1f;
  text-align: left;
  box-shadow: 0 8px 24px rgba(11, 13, 15, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sectors-tabs button:hover,
.sectors-tabs button[aria-selected="true"] {
  border-color: rgba(196, 0, 0, .55);
  box-shadow: 0 14px 30px rgba(11, 13, 15, .09);
  transform: translateY(-2px);
}

.sectors-tabs button[aria-selected="true"]::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  content: "";
  background: #c40000;
}

.sectors-tabs__thumb {
  min-height: 6.2rem;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .02), rgba(6, 8, 10, .28)),
    var(--sector-image),
    linear-gradient(145deg, #49515a, #121519);
  background-position: center;
  background-size: cover;
}

.sectors-tabs__icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #dde2e6;
  border-radius: .45rem;
  background: #fff;
}

.sectors-tabs__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.sectors-tabs strong {
  font-family: var(--font-body);
  font-size: .86rem;
}

.sectors-tabs__arrow {
  width: 1.05rem;
  height: 1.05rem;
  color: #d10000;
}

.sectors-panels {
  min-width: 0;
}

.sectors-panel {
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .72rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(11, 13, 15, .08);
}

/* Enforced tab-panel visibility. Author display rules at desktop must never
   override the semantic hidden attribute toggled by navigation.js. */
.sectors-panel[hidden],
.sectors-panels [role="tabpanel"][hidden] {
  display: none !important;
}


.sectors-selector:not(.is-enhanced) .sectors-panel + .sectors-panel {
  margin-top: 1rem;
}

.sectors-panel__media {
  min-height: 15rem;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .02), rgba(6, 8, 10, .35)),
    var(--sector-image),
    linear-gradient(145deg, #4d555e, #111418);
  background-position: center;
  background-size: cover;
}

.sectors-panel__body {
  padding: clamp(1.35rem, 5vw, 2.6rem);
}

.sectors-panel__label {
  margin: 0 0 .7rem;
  color: #c40000;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sectors-panel h3 {
  margin: 0;
  color: #111418;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: .98;
}

.sectors-panel__columns {
  display: grid;
  gap: 1.4rem;
  margin: 1.6rem 0 1.8rem;
}

.sectors-panel__columns h4 {
  margin: 0 0 .65rem;
  color: #65707a;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sectors-panel__columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sectors-panel__columns li {
  position: relative;
  border-top: 1px solid #e2e5e8;
  padding: .68rem 0 .68rem 1.1rem;
  color: #2b3036;
  font-size: .82rem;
  line-height: 1.45;
}

.sectors-panel__columns li::before {
  position: absolute;
  top: .95rem;
  left: 0;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  content: "";
  background: #c40000;
}

/* Método ------------------------------------------------------------------ */

.sectors-method {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.8rem, 10vw, 7rem);
  background: #f7f8f9;
}

.sectors-method::after {
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 17rem;
  height: 22rem;
  content: "";
  background: rgba(196, 0, 0, .08);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 0 100%);
}

.sectors-method__heading {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.sectors-method__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sectors-method__grid li {
  position: relative;
  min-height: 13rem;
  border: 1px solid #dfe3e7;
  border-top: 3px solid #c40000;
  border-radius: .58rem;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 13, 15, .06);
}

.sectors-method__number {
  color: #c40000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.sectors-method__icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-top: 1.1rem;
  border: 1px solid #dce1e6;
  border-radius: 50%;
  color: #111418;
}

.sectors-method__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sectors-method h3 {
  margin: 1rem 0 .45rem;
  color: #111418;
  font-size: 1.6rem;
}

.sectors-method__grid p {
  margin: 0;
  color: #68727c;
  font-size: .8rem;
  line-height: 1.5;
}

/* Confianza --------------------------------------------------------------- */

.sectors-trust {
  padding-block: clamp(4.8rem, 10vw, 7rem);
  background: #fff;
}

.sectors-trust__shell {
  display: grid;
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: .75rem;
  box-shadow: 0 24px 66px rgba(11, 13, 15, .1);
}

.sectors-trust__intro {
  display: grid;
  align-content: center;
  min-height: 24rem;
  padding: clamp(1.5rem, 6vw, 4rem);
  background: #fff;
}

.sectors-trust__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.7rem, 6vw, 3.6rem);
  background: #090b0d;
  color: #fff;
}

.sectors-trust__panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 10%, rgba(196, 0, 0, .16), transparent 30%),
    linear-gradient(145deg, transparent 0 70%, rgba(196, 0, 0, .7) 70% 72%, transparent 72%),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, auto, 2.8rem 100%;
}

.sectors-trust__shield {
  display: grid;
  width: 4.1rem;
  height: 4.1rem;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #e31317;
}

.sectors-trust__shield svg {
  width: 2.1rem;
  height: 2.1rem;
}

.sectors-trust__panel > h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  line-height: .95;
}

.sectors-trust__panel ul {
  display: grid;
  gap: 0;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.sectors-trust__panel li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-block: 1rem;
}

.sectors-trust__panel li > svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #e31317;
}

.sectors-trust__panel strong,
.sectors-trust__panel span {
  display: block;
}

.sectors-trust__panel strong {
  color: #fff;
  font-size: .86rem;
  line-height: 1.35;
}

.sectors-trust__panel span {
  margin-top: .22rem;
  color: #bfc6cd;
  font-size: .72rem;
  line-height: 1.45;
}

.sectors-trust__cta {
  width: 100%;
}

.sectors-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.sectors-whatsapp-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.sectors-whatsapp-float {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20bf5f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .23);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sectors-whatsapp-float:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transform: translateY(-3px) scale(1.02);
}

.sectors-whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 48rem) {
  .sectors-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sectors-card.is-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(16rem, .9fr) minmax(0, 1.1fr);
    min-height: 18rem;
  }

  .sectors-card.is-featured .sectors-card__media {
    min-height: 100%;
  }

  .sectors-card.is-featured .sectors-card__body {
    align-content: center;
    min-height: 100%;
    padding: 2rem;
  }

  .sectors-card.is-featured .sectors-card__icon,
  .sectors-card.is-featured .sectors-card__arrow {
    margin-top: 0;
  }

  .sectors-guide__controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sectors-guide__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sectors-panel__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sectors-method__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 64rem) {
  .triana-sectors-index .site-header {
    min-height: 4.45rem;
    background: rgba(8, 10, 12, .97);
  }

  .triana-sectors-index .header-inner {
    min-height: 4.45rem;
  }

  .triana-sectors-index .brand-logo--header {
    height: 2.65rem;
  }

  .triana-sectors-index .primary-nav a {
    padding-inline: .78rem;
    font-size: .73rem;
    font-weight: 700;
  }

  .triana-sectors-index .header-cta {
    min-height: 2.45rem;
    padding: .55rem .9rem;
    font-size: .72rem;
  }

  .sectors-hero {
    padding-block: 3.1rem 3.3rem;
  }

  .sectors-hero::before {
    top: 2rem;
    right: 3rem;
    width: 10rem;
    height: 8rem;
  }

  .sectors-heading h1 {
    font-size: clamp(3.5rem, 4.7vw, 5rem);
  }

  .sectors-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 2.5rem;
  }

  .sectors-card,
  .sectors-card.is-featured {
    display: block;
    grid-column: auto;
    min-height: 22.4rem;
    border-radius: .62rem;
  }

  .sectors-card__media,
  .sectors-card.is-featured .sectors-card__media {
    display: block;
    min-height: 10.4rem;
  }

  .sectors-card__body,
  .sectors-card.is-featured .sectors-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "icon arrow"
      "title title"
      "summary summary";
    align-content: start;
    min-height: 11.7rem;
    gap: .65rem;
    padding: 0 1rem 1rem;
  }

  .sectors-card__icon,
  .sectors-card.is-featured .sectors-card__icon {
    margin-top: -1.25rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .sectors-card__arrow,
  .sectors-card.is-featured .sectors-card__arrow {
    align-self: center;
    justify-self: end;
    margin-top: -1.25rem;
  }

  .sectors-card strong,
  .sectors-card.is-featured strong {
    font-size: .87rem;
    line-height: 1.25;
  }

  .sectors-card__summary,
  .sectors-card.is-featured .sectors-card__summary {
    display: block;
    overflow: visible;
    font-size: .68rem;
    line-height: 1.46;
    -webkit-line-clamp: initial;
  }

  .sectors-guide {
    grid-template-columns: minmax(16rem, .95fr) minmax(18rem, 1fr) minmax(24rem, 1.35fr);
    align-items: stretch;
    gap: 0;
    margin-top: 1.4rem;
  }

  .sectors-guide__intro,
  .sectors-guide__form,
  .sectors-guide__facts {
    padding: 1.4rem;
  }

  .sectors-guide__form {
    align-content: center;
    border: 0;
    border-right: 1px solid #e3e6e9;
    border-left: 1px solid #e3e6e9;
  }

  .sectors-guide__facts {
    align-items: center;
    gap: 0;
  }

  .sectors-guide__facts li {
    min-height: 5rem;
    align-content: center;
    border-right: 1px solid #e3e6e9;
    padding-inline: 1rem;
  }

  .sectors-guide__facts li:last-child {
    border-right: 0;
  }

  .sectors-selector {
    grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 1.4rem;
  }

  .sectors-tabs button {
    grid-template-columns: 6.4rem 2.2rem minmax(0, 1fr) 1.1rem;
  }

  .sectors-panel {
    display: grid;
    grid-template-columns: minmax(16rem, .78fr) minmax(0, 1.22fr);
    min-height: 38rem;
  }

  .sectors-panel__media {
    min-height: 100%;
  }

  .sectors-panel__body {
    display: grid;
    align-content: center;
  }

  .sectors-method__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sectors-trust__shell {
    grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr);
  }

  .sectors-trust__panel {
    min-height: 45rem;
  }

  .sectors-trust__cta {
    width: min(100%, 22rem);
  }

  .sectors-whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .sectors-card-grid,
  .sectors-guide,
  .sectors-selector,
  .sectors-method__grid,
  .sectors-trust__shell {
    width: min(100%, 78rem);
    margin-inline: auto;
  }
}

@media (max-width: 25rem) {
  .sectors-card {
    grid-template-columns: 5.8rem minmax(0, 1fr);
  }

  .sectors-card__body {
    grid-template-columns: 2rem minmax(0, 1fr) 1rem;
    gap: .25rem .55rem;
    padding-inline: .65rem;
  }

  .sectors-tabs button {
    grid-template-columns: 5.2rem 1.9rem minmax(0, 1fr) .95rem;
    gap: .45rem;
    padding-right: .55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sectors-card,
  .sectors-card__arrow,
  .sectors-tabs button,
  .sectors-whatsapp-float {
    transition: none;
  }
}

/* ========================================================================== */
/* HOW WE WORK INDEX — TRIANA                                                 */
/* Continuidad visual del home, Servicios y Sectores para /como-trabajamos/.  */
/* ========================================================================== */

.process-main {
  overflow: hidden;
  background: #fff;
}

.process-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.process-main svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-kicker {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  margin: 0 0 .85rem;
  color: #d20b10;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.process-kicker::after {
  width: 2.2rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.process-heading,
.process-section-heading {
  position: relative;
  z-index: 2;
  max-width: 50rem;
}

.process-heading--center,
.process-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.process-heading--center .process-kicker,
.process-section-heading--center .process-kicker {
  justify-content: center;
}

.process-heading h1,
.process-section-heading h2,
.process-principles h2,
.process-preparation h2,
.process-trust h2,
.process-faq h2 {
  text-transform: none;
}

.triana-process-index .site-header {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(8, 10, 12, .98);
}

.triana-process-index .header-inner {
  width: min(calc(100% - 2rem), 80rem);
}

.triana-process-index .brand-logo--header {
  height: 2.9rem;
}

.triana-process-index .button,
.process-button {
  border-radius: .4rem;
  letter-spacing: 0;
  text-transform: none;
}

.process-button svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* Hero y flujo principal -------------------------------------------------- */

.process-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.8rem, 10vw, 6.4rem) 2.2rem;
  background: #080a0c;
  color: #fff;
}

.process-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 8, 10, .78) 0%, rgba(6, 8, 10, .62) 36%, rgba(6, 8, 10, .89) 76%, #080a0c 100%),
    linear-gradient(90deg, rgba(6, 8, 10, .4), rgba(6, 8, 10, .08)),
    var(--process-hero-image),
    linear-gradient(145deg, #2e343a, #080a0c);
  background-position: center, center, 64% center, center;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 100%, cover;
  filter: saturate(.86) contrast(1.06);
}

.process-hero::after {
  position: absolute;
  z-index: -2;
  right: -4rem;
  bottom: -5rem;
  width: 16rem;
  height: 24rem;
  content: "";
  background: linear-gradient(160deg, rgba(196, 0, 0, .08), rgba(196, 0, 0, .86) 58%, #640000);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .78;
}

.process-hero__inner {
  position: relative;
  z-index: 1;
}

.process-heading h1 {
  max-width: 18ch;
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.95rem, 11vw, 5.25rem);
  letter-spacing: -.03em;
  line-height: .91;
}

.process-heading h1 span,
.process-section-heading h2 span,
.process-trust h2 span {
  color: #e31317;
}

.process-heading > p:last-child {
  max-width: 44rem;
  margin: 1.15rem auto 0;
  color: rgba(255, 255, 255, .84);
  font-size: .94rem;
  line-height: 1.65;
}

.process-flow {
  position: relative;
  display: grid;
  gap: .75rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.process-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 1.65rem 3.15rem minmax(0, 1fr) 1.15rem;
  align-items: center;
  gap: .72rem;
  min-height: 6.8rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: .72rem;
  padding: .9rem .85rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  color: #171a1f;
}

.process-flow__step.is-highlighted {
  border-color: #db1519;
  box-shadow: 0 0 0 1px rgba(219, 21, 25, .12), 0 18px 40px rgba(0, 0, 0, .2);
}

.process-flow__number {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid #b8bec5;
  border-radius: 50%;
  color: #171a1f;
  font-size: .72rem;
  font-weight: 800;
}

.process-flow__step.is-highlighted .process-flow__number {
  border-color: #d20b10;
  background: #d20b10;
  color: #fff;
}

.process-flow__icon {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid #dde1e5;
  border-radius: .58rem;
  background: #fff;
  color: #14171a;
  box-shadow: 0 6px 16px rgba(11, 13, 15, .08);
}

.process-flow__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.process-flow__step.is-highlighted .process-flow__icon {
  color: #d20b10;
}

.process-flow__copy h2 {
  margin: 0;
  color: #14171a;
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.25;
}

.process-flow__step.is-highlighted .process-flow__copy h2 {
  color: #c40000;
}

.process-flow__copy p {
  margin: .28rem 0 0;
  color: #636d77;
  font-size: .72rem;
  line-height: 1.45;
}

.process-flow__arrow {
  width: 1.12rem;
  height: 1.12rem;
  color: #d20b10;
}

.process-hero__mobile-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 1rem;
  border-radius: .72rem;
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .2);
}

.process-hero__mobile-benefits > div {
  display: grid;
  min-height: 7.3rem;
  place-items: center;
  align-content: center;
  gap: .55rem;
  border-right: 1px solid #e4e7ea;
  padding: .7rem .35rem;
  text-align: center;
}

.process-hero__mobile-benefits > div:last-child {
  border-right: 0;
}

.process-hero__mobile-benefits svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #d20b10;
}

.process-hero__mobile-benefits strong {
  color: #171a1f;
  font-size: .63rem;
  line-height: 1.25;
}

/* Principios -------------------------------------------------------------- */

.process-principles {
  padding-block: clamp(4.6rem, 9vw, 6.8rem);
  background: #fff;
}

.process-section-heading h2 {
  margin: 0;
  color: #101317;
  font-size: clamp(2.45rem, 8vw, 4.2rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.process-section-heading > p:last-child {
  max-width: 43rem;
  margin: 1rem 0 0;
  color: #65707a;
  font-size: .92rem;
  line-height: 1.62;
}

.process-section-heading--center > p:last-child {
  margin-inline: auto;
}

.process-principles__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.6rem;
}

.process-principles__grid article {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 9rem;
  border: 1px solid #e0e4e8;
  border-radius: .72rem;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 13, 15, .06);
}

.process-principles__icon {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  color: #d20b10;
}

.process-principles__icon svg {
  width: 2.75rem;
  height: 2.75rem;
  stroke-width: 1.45;
}

.process-principles__grid h3 {
  margin: 0;
  color: #15181c;
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.3;
}

.process-principles__grid p {
  margin: .42rem 0 0;
  color: #68727c;
  font-size: .78rem;
  line-height: 1.55;
}

/* Detalle de pasos -------------------------------------------------------- */

.process-details {
  padding-block: clamp(4.8rem, 10vw, 7.2rem);
  background: #f7f8f9;
}

.process-detail-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.8rem;
}

.process-detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dde2e6;
  border-radius: .72rem;
  padding: 1.35rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 13, 15, .05);
}

.process-detail-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: #dfe3e7;
}

.process-detail-card.is-highlighted {
  border-color: rgba(196, 0, 0, .48);
}

.process-detail-card.is-highlighted::before {
  background: #c40000;
}

.process-detail-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.process-detail-card__number {
  color: #c40000;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.process-detail-card__icon {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid #dfe3e7;
  border-radius: .55rem;
  color: #171a1f;
}

.process-detail-card.is-highlighted .process-detail-card__icon {
  border-color: rgba(196, 0, 0, .35);
  color: #c40000;
}

.process-detail-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.process-detail-card h3 {
  margin: 1.15rem 0 0;
  color: #14171a;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.25;
}

.process-detail-card > p {
  margin: .55rem 0 0;
  color: #65707a;
  font-size: .82rem;
  line-height: 1.55;
}

.process-detail-card dl {
  display: grid;
  gap: .8rem;
  margin: 1.25rem 0 0;
}

.process-detail-card dl div {
  border-left: 2px solid #e0e4e8;
  padding-left: .8rem;
}

.process-detail-card.is-highlighted dl div {
  border-left-color: rgba(196, 0, 0, .45);
}

.process-detail-card dt {
  color: #7a838c;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-detail-card dd {
  margin: .25rem 0 0;
  color: #30363c;
  font-size: .75rem;
  line-height: 1.48;
}

/* Preparación ------------------------------------------------------------- */

.process-preparation {
  padding-block: clamp(4.5rem, 9vw, 6.8rem);
  background: #fff;
}

.process-preparation__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.process-preparation h2 {
  max-width: 14ch;
  margin: 0;
  color: #111418;
  font-size: clamp(2.45rem, 8vw, 4.2rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.process-preparation p:not(.process-kicker) {
  max-width: 38rem;
  margin: 1rem 0 1.5rem;
  color: #65707a;
  font-size: .92rem;
}

.process-preparation__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-preparation__list li {
  position: relative;
  border-top: 1px solid #e0e4e8;
  padding: 1rem .5rem 1rem 2.25rem;
  color: #24292e;
  font-size: .88rem;
  font-weight: 700;
}

.process-preparation__list li::before {
  position: absolute;
  top: 1.03rem;
  left: .35rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(196, 0, 0, .09);
  color: #c40000;
  content: "✓";
  font-size: .75rem;
  font-weight: 900;
}

/* Confianza y cierre ------------------------------------------------------ */

.process-trust {
  padding-block: clamp(4.8rem, 10vw, 7.2rem);
  background: #f7f8f9;
}

.process-trust__shell {
  display: grid;
  overflow: hidden;
  border: 1px solid #20252a;
  border-radius: .8rem;
  background: #090b0d;
  box-shadow: 0 28px 74px rgba(11, 13, 15, .17);
}

.process-trust__visual {
  position: relative;
  isolation: isolate;
  min-height: 18rem;
  overflow: hidden;
  background: #0b0d0f;
}

.process-trust__visual::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 10, 12, .16), rgba(8, 10, 12, .78)),
    var(--process-trust-image),
    linear-gradient(145deg, #262c32, #090b0d);
  background-position: center, center 35%, center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
  filter: saturate(.82) contrast(1.08);
}

.process-trust__visual::after {
  position: absolute;
  z-index: -1;
  inset: auto -4rem -5rem auto;
  width: 14rem;
  height: 18rem;
  content: "";
  background: rgba(196, 0, 0, .75);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
}

.process-trust__visual-ring {
  position: absolute;
  top: -4.5rem;
  left: 50%;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  transform: translateX(-50%);
}

.process-trust__content {
  padding: clamp(1.8rem, 6vw, 4rem);
  background: #090b0d;
  color: #fff;
}

.process-trust__shield {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  margin-bottom: 1.35rem;
  color: #e31317;
}

.process-trust__shield svg {
  width: 3.5rem;
  height: 3.5rem;
  stroke-width: 1.35;
}

.process-trust .process-kicker {
  color: #ff4a4f;
}

.process-trust h2 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 8vw, 4rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.process-trust__content > p:not(.process-kicker) {
  max-width: 37rem;
  margin: 1rem 0 0;
  color: #c6ccd2;
  font-size: .88rem;
  line-height: 1.6;
}

.process-trust__list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.process-trust__list li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .17);
  padding-block: 1.2rem;
}

.process-trust__list svg {
  width: 1.9rem;
  height: 1.9rem;
  color: #e31317;
}

.process-trust__list strong,
.process-trust__list span {
  display: block;
}

.process-trust__list strong {
  color: #fff;
  font-size: .88rem;
  line-height: 1.35;
}

.process-trust__list span {
  margin-top: .26rem;
  color: #aeb6be;
  font-size: .73rem;
  line-height: 1.5;
}

.process-trust__cta {
  width: 100%;
  margin-top: 1.2rem;
}

.process-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-top: .85rem;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.process-whatsapp-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* FAQ --------------------------------------------------------------------- */

.process-faq {
  padding-block: clamp(4.6rem, 9vw, 6.8rem);
  background: #fff;
}

.process-faq__layout {
  display: grid;
  gap: 2.5rem;
}

.process-faq h2 {
  margin: 0;
  color: #111418;
  font-size: clamp(2.4rem, 8vw, 3.9rem);
  letter-spacing: -.025em;
  line-height: .96;
}

.process-faq header > p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: #68727c;
  font-size: .9rem;
}

.process-faq__list {
  border-top: 1px solid #dfe3e7;
}

.process-faq__list details {
  border-bottom: 1px solid #dfe3e7;
}

.process-faq__list summary {
  position: relative;
  min-height: 4.5rem;
  padding: 1.25rem 3rem 1.25rem 0;
  color: #171a1f;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.process-faq__list summary::-webkit-details-marker {
  display: none;
}

.process-faq__list summary::after {
  position: absolute;
  top: .95rem;
  right: .2rem;
  content: "+";
  color: #c40000;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.process-faq__list details[open] summary::after {
  content: "−";
}

.process-faq__list details p {
  max-width: 44rem;
  padding: 0 2.5rem 1.3rem 0;
  color: #65707a;
  font-size: .84rem;
  line-height: 1.58;
}

.process-whatsapp-float {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20bf5f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .23);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.process-whatsapp-float:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transform: translateY(-3px) scale(1.02);
}

.process-whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 1.9;
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 48rem) {
  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-hero__mobile-benefits {
    max-width: 42rem;
    margin-inline: auto;
  }

  .process-principles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-principles__grid article {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .process-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-preparation__layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }

  .process-preparation__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-preparation__list li:nth-child(odd) {
    border-right: 1px solid #e0e4e8;
  }

  .process-trust__shell {
    grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.22fr);
  }

  .process-trust__visual {
    min-height: 100%;
  }

  .process-trust__visual::before {
    background-position: center, center, center;
  }

  .process-trust__cta,
  .process-whatsapp-link {
    width: min(100%, 22rem);
  }

  .process-faq__layout {
    grid-template-columns: minmax(17rem, .8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 64rem) {
  .triana-process-index .site-header {
    min-height: 4.45rem;
    background: rgba(8, 10, 12, .97);
  }

  .triana-process-index .header-inner {
    min-height: 4.45rem;
  }

  .triana-process-index .brand-logo--header {
    height: 2.65rem;
  }

  .triana-process-index .primary-nav a {
    padding-inline: .78rem;
    font-size: .73rem;
    font-weight: 700;
  }

  .triana-process-index .header-cta {
    min-height: 2.45rem;
    padding: .55rem .9rem;
    font-size: .72rem;
  }

  .process-hero {
    padding-block: 3.2rem 2.8rem;
    background: #fff;
    color: #171a1f;
  }

  .process-hero::before,
  .process-hero::after {
    display: none;
  }

  .process-heading h1 {
    color: #101317;
    font-size: clamp(3.6rem, 4.9vw, 5.3rem);
  }

  .process-heading > p:last-child {
    color: #5f6973;
  }

  .process-flow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-top: 4.25rem;
  }

  .process-flow::before {
    position: absolute;
    top: 2.45rem;
    right: 7.5%;
    left: 7.5%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #d9dde1, #d20b10 50%, #d9dde1);
  }

  .process-flow__step,
  .process-flow__step.is-highlighted {
    display: block;
    min-height: 14rem;
    border: 0;
    border-radius: 0;
    padding: 0 .8rem;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .process-flow__number,
  .process-flow__arrow {
    display: none;
  }

  .process-flow__icon {
    position: relative;
    z-index: 1;
    width: 4.9rem;
    height: 4.9rem;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(11, 13, 15, .06);
  }

  .process-flow__step.is-highlighted .process-flow__icon {
    border: 2px solid #d20b10;
    background: #fff;
    color: #c40000;
    box-shadow: 0 0 0 .4rem rgba(196, 0, 0, .06), 0 8px 22px rgba(11, 13, 15, .06);
  }

  .process-flow__icon svg {
    width: 2rem;
    height: 2rem;
  }

  .process-flow__copy h2 {
    min-height: 2.35rem;
    color: #14171a;
    font-size: .77rem;
  }

  .process-flow__copy p {
    color: #67717b;
    font-size: .68rem;
    line-height: 1.5;
  }

  .process-hero__mobile-benefits {
    display: none;
  }

  .process-principles {
    padding-top: 2.1rem;
  }

  .process-principles__grid {
    gap: .9rem;
  }

  .process-principles__grid article {
    min-height: 9.5rem;
    padding: 1.4rem;
  }

  .process-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-detail-card {
    min-height: 28rem;
    padding: 1.6rem;
  }

  .process-trust__shell {
    grid-template-columns: minmax(23rem, .8fr) minmax(0, 1.2fr);
  }

  .process-trust__content {
    padding: 4.2rem;
  }

  .process-trust__visual::before {
    background-size: cover, 122% auto, cover;
    background-position: center, center bottom, center;
  }

  .process-whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .process-flow,
  .process-principles__grid,
  .process-detail-grid,
  .process-preparation__layout,
  .process-trust__shell,
  .process-faq__layout {
    width: min(100%, 78rem);
    margin-inline: auto;
  }
}

@media (max-width: 25rem) {
  .process-flow__step {
    grid-template-columns: 1.45rem 2.75rem minmax(0, 1fr) 1rem;
    gap: .55rem;
    padding-inline: .65rem;
  }

  .process-flow__number {
    width: 1.45rem;
    height: 1.45rem;
  }

  .process-flow__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .process-hero__mobile-benefits strong {
    font-size: .56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-whatsapp-float {
    transition: none;
  }
}
