@charset "UTF-8";
/* ====== media ====== */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");
.media, .bd {
  overflow: hidden;
  _overflow: visible;
  zoom: 1;
}

.media .img {
  float: left;
  margin-right: 2%;
}

.media .img img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.media .imgExt {
  float: right;
  margin-left: 2%;
}

.cs-hidden {
  height: 1px;
  opacity: 0;
  filter: alpha(opacity=0);
  overflow: hidden;
}

.ico {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
}

/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */
html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

/**
 * Address margins handled incorrectly in IE 6/7.
 */
body {
  margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address margins set differently in IE 6/7.
 */
p,
pre {
  margin: 1em 0;
}

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  _font-family: "courier new", monospace;
  font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/**
 * Address CSS quotes not supported in IE 6/7.
 */
q {
  quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */
q:before,
q:after {
  content: "";
  content: none;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */
/**
 * Address margins set differently in IE 6/7.
 */
dl,
menu,
ol,
ul {
  margin: 1em 0;
}

dd {
  margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */
menu,
ol,
ul {
  padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0; /* 1 */
  -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0;
  line-height: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0; /* 1 */
  padding: 0;
  white-space: normal; /* 2 */
  *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%; /* 1 */
  margin: 0; /* 2 */
  vertical-align: baseline; /* 3 */
  *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
  *overflow: visible; /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type=checkbox],
input[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
  *height: 13px; /* 3 */
  *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield; /* 1 */
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto; /* 1 */
  vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*@include add-gutter(0.42 at $desktop);*/
/*** Columns ***/
.grid-container:after {
  content: "";
  display: table;
  clear: both;
}
.grid-container {
  width: 100%;
  max-width: 1218px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5%;
}
@media (min-width: 960px) {
  .grid-container {
    padding: 0 0.5%;
  }
}
.grid-container .grid-container {
  padding: 0;
}

.col-1-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
.col-1-12.last {
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-1-12 {
    width: 4.347826087%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-1-12.last {
    width: 4.347826087%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-2-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
.col-2-12.last {
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-2-12 {
    width: 13.0434782609%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-2-12.last {
    width: 13.0434782609%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-3-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
.col-3-12.last {
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-3-12 {
    width: 21.7391304348%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-3-12.last {
    width: 21.7391304348%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-4-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-4-12 {
    width: 30.4347826087%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-4-12.last {
    width: 30.4347826087%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-5-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-5-12 {
    width: 39.1304347826%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-5-12.last {
    width: 39.1304347826%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-6-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-6-12 {
    width: 47.8260869565%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-6-12.last {
    width: 47.8260869565%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-7-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-7-12 {
    width: 56.5217391304%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-7-12.last {
    width: 56.5217391304%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-8-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-8-12 {
    width: 65.2173913043%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-8-12.last {
    width: 65.2173913043%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-9-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-9-12 {
    width: 73.9130434783%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-9-12.last {
    width: 73.9130434783%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-10-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-10-12 {
    width: 82.6086956522%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-10-12.last {
    width: 82.6086956522%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-11-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-11-12 {
    width: 91.3043478261%;
    clear: right;
    float: left;
    margin-left: 0;
    margin-right: 4.347826087%;
  }
  .col-11-12.last {
    width: 91.3043478261%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.col-12-12 {
  position: relative;
  max-width: 100%;
  width: 100%;
  clear: right;
  float: right;
  margin-right: 0;
}
@media (min-width: 960px) {
  .col-12-12 {
    width: 100%;
    clear: right;
    float: right;
    margin-right: 0;
  }
  .col-12-12.last {
    width: 100%;
    clear: right;
    float: right;
    margin-right: 0;
  }
}

.fourth-stack--big, .fourth-stack, .third-stack, .half-stack {
  display: inline-block;
  vertical-align: top;
}

.full-stack {
  width: 100%;
  margin: 1%;
}

.half-stack {
  width: 100%;
}
@media (min-width: 481px) {
  .half-stack {
    width: 47%;
    margin: 1%;
  }
}

.third-stack {
  width: 47%;
  margin: 1%;
}
@media (min-width: 481px) {
  .third-stack {
    width: 31.3%;
    margin: 0.6%;
  }
}

.fourth-stack {
  margin: 0.6%;
  width: 48%;
}
@media (min-width: 481px) {
  .fourth-stack {
    width: 31.3%;
  }
}
@media (min-width: 1260px) {
  .fourth-stack {
    width: 23%;
  }
}

.fourth-stack--big {
  margin: 0.5%;
  width: 100%;
}
@media (min-width: 481px) {
  .fourth-stack--big {
    width: 49%;
  }
}
@media (min-width: 1260px) {
  .fourth-stack--big {
    width: 23%;
  }
}

/* Fonts */
/*
Icon classes can be used entirely standalone. They are named after their original file names.
*/
/*
Icon classes can be used entirely standalone. They are named after their original file names.
*/
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  color: #000;
  outline: none;
}

::-moz-selection {
  color: #fff;
  background: #000; /* WebKit/Blink Browsers */
}

::selection {
  color: #fff;
  background: #000; /* WebKit/Blink Browsers */
}

::-moz-selection {
  color: #fff;
  background: #000; /* Gecko Browsers */
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

body {
  font-family: Futura, "sans-serif", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
}

.responsive-image {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}
.responsive-image .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.responsive-caption {
  text-align: right;
  margin: 1em 0;
  font-size: 12px;
  font-size: 0.75rem;
  color: #6F6E72;
  line-height: 1.2;
}

.html-content, .fr-view {
  padding: 0;
}
.html-content p, .fr-view p {
  margin: 0.5em 0;
}
.html-content dl,
.html-content menu,
.html-content ol,
.html-content ul, .fr-view dl,
.fr-view menu,
.fr-view ol,
.fr-view ul {
  margin: 1em 0;
}
.html-content dd, .fr-view dd {
  margin: 0 0 0 20px;
}
.html-content, .fr-view {
  /**
   * Address paddings set differently in IE 6/7.
   */
}
.html-content menu,
.html-content ol,
.html-content ul, .fr-view menu,
.fr-view ol,
.fr-view ul {
  padding: 0 0 0 20px;
}
.html-content ul, .html-content ol, .fr-view ul, .fr-view ol {
  list-style: circle inside;
}

.fr-dvb .responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  display: block;
}
.fr-dvb .responsive-video iframe, .fr-dvb .responsive-video object, .fr-dvb .responsive-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fr-video.fr-dvi.fr-fvr {
  float: right;
  padding-left: 1em;
}

.fr-video.fr-dvi.fr-fvl {
  float: left;
  padding-right: 1em;
}

.fr-dib {
  margin: 5px auto;
  display: block;
  float: none;
  vertical-align: top;
}

/* Cookies */
.cookies_ask {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  text-align: center;
  background-color: #282828;
  padding: 18px;
  color: #ddd;
  font-family: Futura, "sans-serif";
  font-size: 14px;
  font-size: 0.875rem;
  z-index: 99;
  display: none;
}

.cookies_ask a {
  color: #ddd;
}

.cookies_ask__button {
  padding: 8px 20px;
  background: #4d4d4d;
  text-decoration: none;
  margin-left: 0;
  display: block;
  margin-top: 15px;
}
@media (min-width: 960px) {
  .cookies_ask__button {
    margin-left: 30px;
    display: inline-block;
    margin-top: 0;
  }
}
.cookies_ask__button:hover {
  opacity: 0.8;
}

.main-menu {
  background-color: #000;
  color: #fff;
}

/*** Menu responsive ***/
#menu_responsive_wrapper {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12345;
  background: #000 !important;
}
@media (min-width: 960px) {
  #menu_responsive_wrapper {
    display: none;
  }
}

#menu_responsive {
  display: none !important;
}

.mean-container {
  background: #000 !important;
}
.mean-container .language-selector__list {
  background: none;
}
.mean-container .mean-bar {
  z-index: 99 !important;
  background: #000 !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 !important;
  border-bottom: 1px solid #ffffff;
  overflow: hidden;
}
.mean-container .mean-nav {
  margin-top: 51px !important;
  overflow: hidden;
}
.mean-container .mean-nav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.mean-container .mean-nav ul li li a {
  color: #ffffff !important;
  border-top: none !important;
}
.mean-container .mean-nav ul li li li {
  background: #1f2a33 !important;
}
.mean-container .mean-nav ul li li li:last-child {
  border-bottom: none !important;
}
.mean-container .mean-nav ul li li li a {
  border-top: none !important;
  width: 100% !important;
  padding-left: 10% !important;
}
.mean-container .mean-nav ul li a {
  padding: 16px !important;
  border-top: none !important;
}
.mean-container .mean-nav ul li a.mean-expand {
  background: transparent !important;
  text-align: right !important;
  width: 100% !important;
}
.mean-container a.meanmenu-reveal {
  padding: 17px 15px 11px !important;
  width: 22px !important;
  height: 30px !important;
  z-index: 998;
  text-indent: 0 !important;
}

.logo-responsive {
  z-index: 997;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 60%;
  padding: 5px 0;
  border-bottom: 1px solid #ffffff;
}

.logo-responsive__image {
  position: relative;
  top: 2px;
  left: 10px;
}

.menu_title {
  color: #ffffff;
  font-size: 16px;
  position: absolute;
  right: 45px;
  top: 15px;
  z-index: 999;
}

.hamburger {
  color: #fff;
}
.hamburger a {
  color: #fff;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  background-color: #fff !important;
}

.hamburger {
  outline: 0;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  opacity: 1;
  -webkit-transition-property: opacity, -webkit-filter;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 1;
}

.hamburger-box {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 20px;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -8px;
}
.hamburger-inner::after {
  bottom: -8px;
}

/*
 * Collapse
 */
.hamburger--collapse .hamburger-inner {
  top: auto;
  bottom: 0;
  -webkit-transition-duration: 0.15s;
          transition-duration: 0.15s;
  -webkit-transition-delay: 0.15s;
          transition-delay: 0.15s;
  -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
          transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--collapse .hamburger-inner::after {
  top: -16px;
  -webkit-transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
  transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}
.hamburger--collapse .hamburger-inner::before {
  -webkit-transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), -webkit-transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), -webkit-transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--collapse.is-active .hamburger-inner {
  -webkit-transform: translate3d(0, -8px, 0) rotate(-45deg);
          transform: translate3d(0, -8px, 0) rotate(-45deg);
  -webkit-transition-delay: 0.32s;
          transition-delay: 0.32s;
  -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
          transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--collapse.is-active .hamburger-inner::after {
  top: 0;
  opacity: 0;
  -webkit-transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
  transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
}
.hamburger--collapse.is-active .hamburger-inner::before {
  top: 0;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/*! lightslider - v1.1.3 - 2015-04-14
* https://github.com/sachinchoolur/lightslider
* Copyright (c) 2015 Sachin N; Licensed MIT */
/** /!!! core css Should not edit !!!/**/
.lSSlideOuter {
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.lightSlider:before, .lightSlider:after {
  content: " ";
  display: table;
}

.lightSlider {
  overflow: hidden;
  margin: 0;
  max-width: none !important;
  clear: none !important;
  float: none !important;
}

.lSSlideWrapper {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.lSSlideWrapper > .lightSlider:after {
  clear: both;
}

.lSSlideWrapper .lSSlide {
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
  -webkit-transition: all 1s;
  -webkit-transition-property: -webkit-transform, height;
  -webkit-transition-property: height, -webkit-transform;
  transition-property: height, -webkit-transform;
  transition-property: transform, height;
  transition-property: transform, height, -webkit-transform;
  -webkit-transition-duration: inherit !important;
  transition-duration: inherit !important;
  -webkit-transition-timing-function: inherit !important;
  transition-timing-function: inherit !important;
}

.lSSlideWrapper .lSFade {
  position: relative;
}

.lSSlideWrapper .lSFade > * {
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 9;
  margin-right: 0;
  width: 100%;
}

.lSSlideWrapper.usingCss .lSFade > * {
  opacity: 0;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transition-duration: inherit !important;
  transition-duration: inherit !important;
  -webkit-transition-property: opacity;
  transition-property: opacity;
  -webkit-transition-timing-function: inherit !important;
  transition-timing-function: inherit !important;
}

.lSSlideWrapper .lSFade > *.active {
  z-index: 10;
}

.lSSlideWrapper.usingCss .lSFade > *.active {
  opacity: 1;
}

/** /!!! End of core css Should not edit !!!/**/
/* Pager */
.lSSlideOuter .lSPager.lSpg {
  margin: 10px 0 0;
  padding: 0;
  text-align: center;
}

.lSSlideOuter .lSPager.lSpg > li {
  cursor: pointer;
  display: inline-block;
  padding: 0 5px;
}

.lSSlideOuter .lSPager.lSpg > li a {
  background-color: #222222;
  border-radius: 30px;
  display: inline-block;
  height: 8px;
  overflow: hidden;
  text-indent: -999em;
  width: 8px;
  position: relative;
  z-index: 99;
  -webkit-transition: all 0.5s linear 0s;
  transition: all 0.5s linear 0s;
}

.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {
  background-color: #428bca;
}

.lSSlideOuter .media {
  opacity: 0.8;
}

.lSSlideOuter .media.active {
  opacity: 1;
}

/* End of pager */
/** Gallery */
.lSSlideOuter .lSPager.lSGallery {
  list-style: none outside none;
  padding-left: 0;
  margin: 0;
  overflow: hidden;
  transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.lSSlideOuter .lSPager.lSGallery li {
  overflow: hidden;
  -webkit-transition: border-radius 0.12s linear 0s 0.35s linear 0s;
  transition: border-radius 0.12s linear 0s 0.35s linear 0s;
}

.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li:hover {
  border-radius: 5px;
}

.lSSlideOuter .lSPager.lSGallery img {
  display: block;
  height: auto;
  max-width: 100%;
}

.lSSlideOuter .lSPager.lSGallery:before, .lSSlideOuter .lSPager.lSGallery:after {
  content: " ";
  display: table;
}

.lSSlideOuter .lSPager.lSGallery:after {
  clear: both;
}

/* End of Gallery*/
/* slider actions */
.lSAction > a {
  background-image: url("/vendor/cms/images/controls.png");
  cursor: pointer;
  display: block;
  height: 32px;
  margin-top: -16px;
  opacity: 0.5;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.35s linear 0s;
  transition: opacity 0.35s linear 0s;
  width: 32px;
  z-index: 9999;
}

.lSAction > a:hover {
  opacity: 1;
}

.lSAction > .lSPrev {
  background-position: 0 0;
  left: 10px;
}

.lSAction > .lSNext {
  background-position: -32px 0;
  right: 10px;
}

.lSAction > a.disabled {
  pointer-events: none;
}

.cS-hidden {
  height: 1px;
  opacity: 0;
  filter: alpha(opacity=0);
  overflow: hidden;
}

/* vertical */
.lSSlideOuter.vertical {
  position: relative;
}

.lSSlideOuter.vertical.noPager {
  padding-right: 0px !important;
}

.lSSlideOuter.vertical .lSGallery {
  position: absolute !important;
  right: 0;
  top: 0;
}

.lSSlideOuter.vertical .lightSlider > * {
  width: 100% !important;
  max-width: none !important;
}

/* vertical controlls */
.lSSlideOuter.vertical .lSAction > a {
  left: 50%;
  margin-left: -14px;
  margin-top: 0;
}

.lSSlideOuter.vertical .lSAction > .lSNext {
  background-position: 31px -31px;
  bottom: 10px;
  top: auto;
}

.lSSlideOuter.vertical .lSAction > .lSPrev {
  background-position: 0 -31px;
  bottom: auto;
  top: 10px;
}

/* vertical */
/* Rtl */
.lSSlideOuter.lSrtl {
  direction: rtl;
}

.lSSlideOuter .lightSlider, .lSSlideOuter .lSPager {
  padding-left: 0;
  list-style: none outside none;
}

.lSSlideOuter.lSrtl .lightSlider, .lSSlideOuter.lSrtl .lSPager {
  padding-right: 0;
}

.lSSlideOuter .lightSlider > *, .lSSlideOuter .lSGallery li {
  float: left;
}

.lSSlideOuter.lSrtl .lightSlider > *, .lSSlideOuter.lSrtl .lSGallery li {
  float: right !important;
}

/* Rtl */
@-webkit-keyframes rightEnd {
  0% {
    left: 0;
  }
  50% {
    left: -15px;
  }
  100% {
    left: 0;
  }
}
@keyframes rightEnd {
  0% {
    left: 0;
  }
  50% {
    left: -15px;
  }
  100% {
    left: 0;
  }
}
@-webkit-keyframes topEnd {
  0% {
    top: 0;
  }
  50% {
    top: -15px;
  }
  100% {
    top: 0;
  }
}
@keyframes topEnd {
  0% {
    top: 0;
  }
  50% {
    top: -15px;
  }
  100% {
    top: 0;
  }
}
@-webkit-keyframes leftEnd {
  0% {
    left: 0;
  }
  50% {
    left: 15px;
  }
  100% {
    left: 0;
  }
}
@keyframes leftEnd {
  0% {
    left: 0;
  }
  50% {
    left: 15px;
  }
  100% {
    left: 0;
  }
}
@-webkit-keyframes bottomEnd {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -15px;
  }
  100% {
    bottom: 0;
  }
}
@keyframes bottomEnd {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -15px;
  }
  100% {
    bottom: 0;
  }
}
.lSSlideOuter .rightEnd {
  -webkit-animation: rightEnd 0.3s;
  animation: rightEnd 0.3s;
  position: relative;
}

.lSSlideOuter .leftEnd {
  -webkit-animation: leftEnd 0.3s;
  animation: leftEnd 0.3s;
  position: relative;
}

.lSSlideOuter.vertical .rightEnd {
  -webkit-animation: topEnd 0.3s;
  animation: topEnd 0.3s;
  position: relative;
}

.lSSlideOuter.vertical .leftEnd {
  -webkit-animation: bottomEnd 0.3s;
  animation: bottomEnd 0.3s;
  position: relative;
}

.lSSlideOuter.lSrtl .rightEnd {
  -webkit-animation: leftEnd 0.3s;
  animation: leftEnd 0.3s;
  position: relative;
}

.lSSlideOuter.lSrtl .leftEnd {
  -webkit-animation: rightEnd 0.3s;
  animation: rightEnd 0.3s;
  position: relative;
}

/*/  GRab cursor */
.lightSlider.lsGrab > * {
  cursor: -webkit-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}

.lightSlider.lsGrabbing > * {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -o-grabbing;
  cursor: -ms-grabbing;
  cursor: grabbing;
}

.download-section {
  margin: 15px 0;
}

.download-attachment {
  color: #666;
}
.download-attachment .img {
  margin-right: 15px;
}

.featured-block {
  width: 100%;
  padding: 2% 0;
  position: relative;
  background-size: cover;
  background-position: center center;
  display: table;
  color: #22272c;
}
.featured-block.parallax {
  background-attachment: fixed;
}
.featured-block .btn {
  margin-top: 10px;
}
.featured-block {
  /***BIG***/
}
.featured-block.big.sans {
  height: 380px;
}
.featured-block.big.sans .featured-block__header {
  font-family: Futura, "sans-serif";
  font-size: 24px;
  font-size: 1.5rem;
}
@media (min-width: 960px) {
  .featured-block.big.sans .featured-block__header {
    font-size: 32px;
    font-size: 2rem;
  }
}
.featured-block.big .featured-block__header {
  font-family: VeryBerryPro, Georgia, serif;
  padding-top: 8px;
  font-size: 65px;
  font-size: 4.0625rem;
}
@media (min-width: 960px) {
  .featured-block.big .featured-block__header {
    font-size: 125px;
    font-size: 7.8125rem;
  }
}
.featured-block.big .featured-block__intro {
  font-size: 24px;
  font-size: 1.5rem;
}
.featured-block {
  /***MEDIUM***/
}
.featured-block.medium .featured-block__header {
  font-family: Futura, "sans-serif";
  font-size: 56px;
  font-size: 3.5rem;
  padding-bottom: 10px;
}
.featured-block.medium .featured-block__header:after {
  content: "";
  width: 100px;
  height: 6px;
  display: block;
  margin: 15px auto;
  background-color: #22272c;
}
.featured-block.medium .featured-block__content {
  position: relative;
  z-index: 3;
}
@media (min-width: 960px) {
  .featured-block.medium .featured-block__content {
    padding-right: 50%;
    padding-left: 5%;
  }
}
@media (min-width: 960px) {
  .featured-block.medium.inverted .featured-block__content {
    padding-left: 50%;
    padding-right: 5%;
  }
}
.featured-block {
  /**ROUND**/
}
.featured-block.round, .featured-block.small {
  background-image: none !important;
}
.featured-block.round .img {
  width: 100%;
  float: none;
  margin-left: 0;
  padding: 0 5%;
  text-align: right;
}
.featured-block.round .img .image {
  border-radius: 100%;
  max-width: 100%;
}
@media (min-width: 960px) {
  .featured-block.round .img {
    width: 40%;
    float: left;
    margin-left: 2%;
  }
}
.featured-block.round .bd {
  text-align: left;
  padding: 5% 0;
}
.featured-block.round .featured-block__header {
  font-weight: bold;
  font-size: 26px;
  font-size: 1.625rem;
}
@media (min-width: 960px) {
  .featured-block.round .featured-block__header {
    font-size: 36px;
    font-size: 2.25rem;
  }
}
.featured-block {
  /***SMALL**/
}
.featured-block.small {
  margin: 7% 0;
}
.featured-block.small .featured-block__header {
  font-weight: bold;
  margin-bottom: 5%;
  font-size: 32px;
  font-size: 2rem;
}
.featured-block.small .img {
  display: none;
}
.featured-block.small .btn {
  margin-top: 5%;
  padding: 0.5em 1em;
}
.featured-block.big, .featured-block.medium {
  height: 300px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) {
  .featured-block.big, .featured-block.medium {
    height: 700px;
  }
}
.featured-block.big .img .image, .featured-block.medium .img .image {
  display: none;
}
.featured-block.big .videoWrapper, .featured-block.medium .videoWrapper {
  padding-bottom: 56.25%;
  position: absolute;
  /*z-index:-1;*/
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}
.featured-block.big .img .image.video-html5, .featured-block.medium .img .image.video-html5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  z-index: 0;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.featured-block.light {
  color: #fff;
}
.featured-block.light .featured-block__header:after {
  background-color: #fff;
}

.featured-block__outer {
  display: table-cell;
  vertical-align: middle;
}

.featured-block__inner {
  max-width: 1218px;
  margin: 0 auto;
  text-align: center;
  padding: 5%;
}
@media (min-width: 960px) {
  .featured-block__inner {
    padding: 0 5%;
  }
}

.featured-block__header {
  font-weight: normal;
}

.featured-block__header, .featured-block__header .html-content p {
  margin: 0;
  padding: 0;
}

.featured-block__intro, .featured-block__intro p {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5;
}

.light-container {
  background-color: #f5f5f5;
  padding-top: 2%;
  padding-bottom: 2%;
}

.full .grid-container {
  max-width: 100%;
  padding: 0;
}

@media (max-width: 481px) {
  body.public .hide-mobile {
    display: none;
  }
}
.container400px .hide-mobile {
  display: none;
}

@media (min-width: 482px) and (max-width: 960px) {
  body.public .hide-tablet {
    display: none;
  }
}
.container800px .hide-tablet {
  display: none;
}

@media (min-width: 961px) {
  body.public .hide-monitor {
    display: none;
  }
}
.container1366px .hide-monitor {
  display: none;
}

.tab-content .public {
  margin: 0 auto;
}

.grid-container---popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999998;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  display: none;
  cursor: pointer;
}
.grid-container---popup .grid-container {
  margin: 40px auto 10px auto;
  max-width: 960px;
}

.grid-container---popup__close {
  cursor: pointer;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 999999;
}

.backvgcms .grid-container---popup {
  position: static;
  display: block;
}

.fr-dvb .responsive-video, .videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /*padding-top: 30px;*/
  height: 0;
  overflow: hidden;
  display: block;
}
.fr-dvb .responsive-video iframe, .fr-dvb .responsive-video object, .fr-dvb .responsive-video embed, .fr-dvb .responsive-video video, .videoWrapper iframe, .videoWrapper object, .videoWrapper embed, .videoWrapper video {
  position: absolute;
  top: -1%;
  left: -1%;
  width: 102%;
  height: 102%;
  z-index: 15;
}

.fr-video.fr-dvi.fr-fvr {
  float: right;
}

.fr-video.fr-dvi.fr-fvl {
  float: left;
}

.video-block {
  position: relative;
}

.video-block__outer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  width: 100%;
  text-align: center;
  height: 100%;
}

.video-block__inner {
  display: block;
  max-width: 1218px;
  text-align: center;
  width: 100%;
  position: relative;
  top: 50%;
  margin-top: -50px;
}

.video-block__header {
  color: #fff;
  font-size: 46px;
  font-size: 2.875rem;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  padding: 0;
}
.video-block__header p {
  margin: 0;
}

/*
.video-block__intro{
  @include font-size(18);
  color:$color-white;
  padding:0.5em 0;
  border-width:2px 0;
  border-style: solid;
  border-color:$color-white;
  text-align:center;
  @include breakpoint($tablet-max){
    @include font-size(26);
  }
}*/
.video-block__video {
  width: 100%;
  position: relative;
  z-index: 1;
}

.video-block__play {
  margin-top: 15px;
  display: inline-block;
  width: 50px;
  height: 50px;
}

.video-block__popup {
  position: relative;
  padding-bottom: 40%;
  padding-top: 25px;
  height: 0;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  z-index: 13;
}
.video-block__popup iframe {
  margin-top: 60px;
  width: 100%;
  height: 65vh;
}
@media (min-width: 481px) {
  .video-block__popup iframe {
    height: 80vh;
  }
}

.video-block__close {
  position: absolute;
  z-index: 73;
  top: 7px;
  right: 7px;
  cursor: pointer;
}

.videoWrapper--shadow {
  opacity: 0;
  position: absolute;
  background-color: #000;
  width: 100%;
  top: 0;
  left: 0;
}

.video-block__modal {
  display: none;
  -webkit-animation-fill-mode: none !important;
          animation-fill-mode: none !important;
}

.tabs--container .tabs {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.tabs--container .tabs li {
  background: none;
  color: #222;
  display: inline-block;
  padding: 0;
  cursor: pointer;
  min-width: 40px; /* Sin esto no es clicable en la intranet */
}
.tabs--container .tabs li a {
  display: inline-block;
  padding: 10px 15px;
}
.tabs--container .tabs li .fr-box {
  padding: 10px 15px;
}
.tabs--container .tabs li.current {
  color: #222;
  background: #ccc;
}
.tabs--container .tabs li p {
  margin: 0;
}
.tabs--container .tab-content {
  display: none;
  padding: 15px;
  background: #ccc;
}
.tabs--container .tab-content.current {
  display: inherit;
}
.tabs--container .tabs-vertical li {
  display: block;
}

/* ============================================================
   AGQ — Alberto González · Design System
   Editorial premium-tech: neutral paper, ink, signature red.
   ============================================================ */
:root {
  /* ---- Color ---- */
  --paper: #FBFBF9; /* warm near-white */
  --paper-2: #F4F4F1; /* soft gray panel */
  --paper-3: #ECECE8; /* deeper panel */
  --card: #FFFFFF;
  --ink: #14141A; /* near-black text */
  --ink-2: #3C3C44; /* secondary text */
  --ink-soft: #6E6E78; /* muted */
  --ink-faint:#9A9AA2; /* faintest */
  --line: rgba(20,20,26,.10);
  --line-2: rgba(20,20,26,.06);
  --red: #D62414; /* signature accent */
  --red-600: #B3160E; /* deeper / hover */
  --red-300: #F08075; /* light */
  --red-tint: rgba(214,36,20,.08);
  --dark: #0B0B10; /* near-black sections */
  --dark-2: #121219;
  --dark-card: #15151D;
  --dark-line: rgba(255,255,255,.10);
  --on-dark: #EDEDF0;
  --on-dark-soft: #9C9CA8;
  /* ---- Type ---- */
  --display: 'Space Grotesk', sans-serif;
  --body: 'Manrope', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  /* ---- Radius / shadow ---- */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(20,20,26,.04), 0 2px 8px rgba(20,20,26,.04);
  --shadow: 0 4px 14px rgba(20,20,26,.06), 0 18px 40px rgba(20,20,26,.07);
  --shadow-lg: 0 12px 30px rgba(20,20,26,.10), 0 40px 80px rgba(20,20,26,.10);
  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ============================================================ Reset */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

::-moz-selection {
  background: var(--red);
  color: #fff;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* ============================================================ Type */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.display {
  font-size: clamp(2.6rem, 6.2vw, 5.3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.025em;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
}

.muted {
  color: var(--ink-soft);
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* eyebrow / mono labels */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

.eyebrow.no-dash::before {
  display: none;
}

.accent {
  color: var(--red);
}

.accent-ink {
  color: var(--red);
}

/* ============================================================ Layout */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-wide {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(72px, 11vw, 140px);
}

.section-pad-sm {
  padding-block: clamp(56px, 8vw, 100px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head p {
  margin-top: 16px;
}

.grid {
  display: -ms-grid;
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.cols-2 {
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .cols-4 {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
  .cols-3 {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
/* ============================================================ Buttons */
.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  -webkit-transition: background 0.25s, color 0.25s, border-color 0.25s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s var(--ease);
  transition: background 0.25s, color 0.25s, border-color 0.25s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s var(--ease);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}

.btn .arr {
  -webkit-transition: -webkit-transform 0.35s var(--ease-out);
  transition: -webkit-transform 0.35s var(--ease-out);
  transition: transform 0.35s var(--ease-out);
  transition: transform 0.35s var(--ease-out), -webkit-transform 0.35s var(--ease-out);
}

.btn:hover .arr {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 10px 24px rgba(20, 20, 26, 0.22);
          box-shadow: 0 10px 24px rgba(20, 20, 26, 0.22);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-600);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 12px 26px rgba(214, 36, 20, 0.32);
          box-shadow: 0 12px 26px rgba(214, 36, 20, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: var(--shadow-sm);
          box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
          box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-on-dark-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--dark-line);
}

.btn-on-dark-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.btn-lg {
  padding: 1.02em 1.7em;
  font-size: 1rem;
}

.link-arrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.link-arrow .arr {
  -webkit-transition: -webkit-transform 0.35s var(--ease-out);
  transition: -webkit-transform 0.35s var(--ease-out);
  transition: transform 0.35s var(--ease-out);
  transition: transform 0.35s var(--ease-out), -webkit-transform 0.35s var(--ease-out);
  color: var(--red);
}

.link-arrow:hover .arr {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}

/* ============================================================ Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, -webkit-box-shadow 0.4s;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, -webkit-box-shadow 0.4s;
  transition: background 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  transition: background 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s, backdrop-filter 0.4s, -webkit-box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(251, 251, 249, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand .brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand .brand-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  -webkit-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}

/* lang toggle */
.lang-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.lang-toggle button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  -webkit-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}

.lang-toggle button.on {
  background: var(--ink);
  color: var(--paper);
}

.site-header.on-dark .lang-toggle {
  border-color: var(--dark-line);
}

.site-header.on-dark .lang-toggle button.on {
  background: var(--on-dark);
  color: var(--dark);
}

/* hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s var(--ease);
  transition: opacity 0.3s, -webkit-transform 0.3s var(--ease);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transition: transform 0.3s var(--ease), opacity 0.3s, -webkit-transform 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) {
  -webkit-transform: translateY(6px) rotate(45deg);
          transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  -webkit-transform: translateY(-6px) rotate(-45deg);
          transform: translateY(-6px) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 28px var(--gutter);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s var(--ease), -webkit-transform 0.3s var(--ease);
  transition: opacity 0.3s var(--ease), -webkit-transform 0.3s var(--ease);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), -webkit-transform 0.3s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}

.mobile-menu .btn {
  margin-top: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }
  .nav-right .btn-header {
    display: none;
  }
  .hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
/* ============================================================ Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  -webkit-transition: border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
  transition: border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease), border-color 0.35s;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease), border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.card-hover:hover {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  border-color: var(--line);
}

.card-hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: -webkit-gradient(linear, left top, right top, from(var(--red)), to(var(--red-300)));
  background: linear-gradient(90deg, var(--red), var(--red-300));
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 0.5s var(--ease-out);
  transition: -webkit-transform 0.5s var(--ease-out);
  transition: transform 0.5s var(--ease-out);
  transition: transform 0.5s var(--ease-out), -webkit-transform 0.5s var(--ease-out);
}

.card-hover:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  margin-bottom: 22px;
  -webkit-transition: background 0.3s, color 0.3s, -webkit-transform 0.45s var(--ease-out);
  transition: background 0.3s, color 0.3s, -webkit-transform 0.45s var(--ease-out);
  transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s;
  transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s, -webkit-transform 0.45s var(--ease-out);
}

.card-hover:hover .icon-badge {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.card.on-dark {
  background: var(--dark-card);
  border-color: var(--dark-line);
  color: var(--on-dark);
}

.card.on-dark .icon-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dark-line);
  color: #fff;
}

.card.on-dark p {
  color: var(--on-dark-soft);
}

/* chips / tags */
.chip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.42em 0.8em;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}

.chip.on-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dark-line);
  color: var(--on-dark-soft);
}

/* metric */
.metric .num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric .num .accent {
  color: var(--red);
}

.metric .lbl {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ============================================================ Dark section */
.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: #fff;
}
.section-dark h1 p, .section-dark h2 p, .section-dark h3 p {
  color: #fff;
}

.section-dark .lead, .section-dark p {
  color: var(--on-dark-soft);
}

.section-dark .eyebrow {
  color: var(--on-dark-soft);
}

.section-paper2 {
  background: var(--paper-2);
}

/* ============================================================ Backgrounds / motifs */
.dotgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(20, 20, 26, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
}

.section-dark .dotgrid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

.blob {
  position: absolute;
  border-radius: 50%;
  -webkit-filter: blur(70px);
          filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.glow-line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================ Footer */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: clamp(60px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.site-footer a {
  color: var(--on-dark-soft);
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.4fr 40px 1fr 40px 1fr 40px 1fr;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 820px) {
  .footer-grid {
    -ms-grid-columns: 1fr 32px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 24px;
  border-top: 1px solid var(--dark-line);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--on-dark-soft);
}

.footer-brand img {
  height: 34px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 30ch;
}

/* ============================================================ Reveal animations */
[data-reveal] {
  opacity: 0;
  -webkit-transform: translateY(22px);
          transform: translateY(22px);
  -webkit-transition: opacity 0.8s var(--ease-out), -webkit-transform 0.8s var(--ease-out);
  transition: opacity 0.8s var(--ease-out), -webkit-transform 0.8s var(--ease-out);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), -webkit-transform 0.8s var(--ease-out);
}

[data-reveal].in {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  -webkit-transform: translateY(22px);
          transform: translateY(22px);
  -webkit-transition: opacity 0.7s var(--ease-out), -webkit-transform 0.7s var(--ease-out);
  transition: opacity 0.7s var(--ease-out), -webkit-transform 0.7s var(--ease-out);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), -webkit-transform 0.7s var(--ease-out);
}

[data-reveal-stagger].in > * {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    -webkit-transform: none !important;
            transform: none !important;
  }
}
/* i18n: hide the inactive language */
[data-en] {
  display: none;
}

html[lang=en] [data-es] {
  display: none;
}

html[lang=en] [data-en] {
  display: revert;
}

/* placeholder visual */
.ph {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(20, 20, 26, 0.035) 0 10px, transparent 10px 20px), var(--paper-2);
  border: 1px solid var(--line-2);
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.ph.on-dark {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 10px, transparent 10px 20px), var(--dark-2);
  border-color: var(--dark-line);
}

.ph .ph-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 6px 10px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.ph.on-dark .ph-label {
  color: var(--on-dark-soft);
  border-color: var(--dark-line);
  background: rgba(0, 0, 0, 0.3);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ============================================================ Hero */
.hero {
  overflow: hidden;
}

.hero-inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.05fr clamp(32px, 5vw, 72px) 0.95fr;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-inner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .hero-visual {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
}
.hero-visual {
  position: relative;
  min-height: 420px;
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: 340px;
  }
}
.hero-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-wires path {
  -webkit-animation: dash 22s linear infinite;
          animation: dash 22s linear infinite;
}

@-webkit-keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}
.code-card {
  position: absolute;
  top: 28px;
  right: 0;
  width: min(92%, 430px);
  z-index: 2;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.2s var(--ease);
  transition: -webkit-transform 0.2s var(--ease);
  transition: transform 0.2s var(--ease);
  transition: transform 0.2s var(--ease), -webkit-transform 0.2s var(--ease);
}

.code-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--dark-line);
  background: #0e0e15;
}

.code-top .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2a35;
}

.code-top .dot:nth-child(1) {
  background: #ff5f57;
}

.code-top .dot:nth-child(2) {
  background: #febc2e;
}

.code-top .dot:nth-child(3) {
  background: #28c840;
}

.code-file {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--on-dark-soft);
  margin-left: 8px;
}

.code-body {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  padding: 18px 20px;
  color: #cfd2dc;
  white-space: pre;
  overflow-x: auto;
}

.code-body .c-key {
  color: #ff7a6b;
}

.code-body .c-cls {
  color: #6fb7ff;
}

.code-body .c-fn {
  color: #c792ea;
}

.code-body .c-var {
  color: #82d6a5;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--red);
  margin-left: 2px;
  vertical-align: -2px;
  -webkit-animation: blink 1.1s steps(1) infinite;
          animation: blink 1.1s steps(1) infinite;
}

@-webkit-keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.mini-card {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: min(58%, 230px);
  z-index: 3;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
  padding: 16px 18px;
}

.mini-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.mini-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.mini-ok {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.mini-bars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin: 14px 0 12px;
}

.mini-bars i {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--red)), to(var(--red-300)));
  background: linear-gradient(180deg, var(--red), var(--red-300));
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-animation: barIn 0.9s var(--ease-out);
          animation: barIn 0.9s var(--ease-out);
}

.mini-bars i:nth-child(1) {
  height: 38%;
}

.mini-bars i:nth-child(2) {
  height: 64%;
}

.mini-bars i:nth-child(3) {
  height: 48%;
}

.mini-bars i:nth-child(4) {
  height: 82%;
}

.mini-bars i:nth-child(5) {
  height: 70%;
}

.mini-bars i:nth-child(6) {
  height: 94%;
}

.mini-bars i:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}

.mini-bars i:nth-child(2) {
  -webkit-animation-delay: 0.18s;
          animation-delay: 0.18s;
}

.mini-bars i:nth-child(3) {
  -webkit-animation-delay: 0.26s;
          animation-delay: 0.26s;
}

.mini-bars i:nth-child(4) {
  -webkit-animation-delay: 0.34s;
          animation-delay: 0.34s;
}

.mini-bars i:nth-child(5) {
  -webkit-animation-delay: 0.42s;
          animation-delay: 0.42s;
}

.mini-bars i:nth-child(6) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@-webkit-keyframes barIn {
  from {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
  }
}

@keyframes barIn {
  from {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
  }
}
.mini-foot {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.mini-foot b {
  color: var(--ink);
}

.float-chip {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  color: var(--ink);
  -webkit-animation: floaty 6s ease-in-out infinite;
          animation: floaty 6s ease-in-out infinite;
}

.float-chip.fc1 {
  top: -6px;
  left: 6%;
  color: var(--red);
}

.float-chip.fc2 {
  top: 42%;
  right: -8px;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}

.float-chip.fc3 {
  bottom: 13%;
  right: 7%;
  -webkit-animation-delay: -4s;
          animation-delay: -4s;
}

@-webkit-keyframes floaty {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-9px);
            transform: translateY(-9px);
  }
}

@keyframes floaty {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-9px);
            transform: translateY(-9px);
  }
}
.hero-trust .chip {
  background: var(--card);
}

.hero-cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  margin-top: 40px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.hero-blob--left {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #dfe3ef, transparent 70%);
}

.hero-blob--right {
  width: 460px;
  height: 460px;
  top: 120px;
  right: -60px;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.16), transparent 70%);
}

/* ============================================================ Metrics strip */
.metrics-strip {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr clamp(20px, 3vw, 40px) 1fr clamp(20px, 3vw, 40px) 1fr clamp(20px, 3vw, 40px) 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.metrics-strip .metric {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

@media (max-width: 640px) {
  .metrics-strip {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}
/* ============================================================ Marquee */
.marquee {
  position: relative;
  z-index: 1;
  margin-top: clamp(36px, 5vw, 56px);
  overflow: hidden;
  -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(8%, #000), color-stop(92%, #000), to(transparent));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(8%, #000), color-stop(92%, #000), to(transparent));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-animation: scrollx 38s linear infinite;
          animation: scrollx 38s linear infinite;
}

.marquee:hover .marquee-track {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

@-webkit-keyframes scrollx {
  to {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@keyframes scrollx {
  to {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
.tech-cap {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--on-dark);
  -webkit-transition: border-color 0.3s, color 0.3s, background 0.3s;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.tech-cap:hover {
  border-color: var(--red);
  color: #fff;
  background: rgba(214, 36, 20, 0.12);
}

/* ============================================================ Project thumbs */
.proj-thumb {
  aspect-ratio: 16/10;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  position: relative;
}

.proj-card {
  overflow: hidden;
}

.proj-card .ph-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.thumb-ui {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.thumb-ui::before, .thumb-ui::after {
  content: "";
  position: absolute;
}

/* a — dashboard */
.thumb-ui-a, .thumb-ui-1 {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, transparent), color-stop(0, transparent)), repeating-linear-gradient(90deg, rgba(20, 20, 26, 0.05) 0 1px, transparent 1px 64px);
  background: linear-gradient(transparent 0, transparent 0), repeating-linear-gradient(90deg, rgba(20, 20, 26, 0.05) 0 1px, transparent 1px 64px);
}

.thumb-ui-a::before, .thumb-ui-1::before {
  left: 18px;
  right: 18px;
  top: 46px;
  bottom: 18px;
  border-radius: 8px;
  background: var(--card);
  -webkit-box-shadow: var(--shadow-sm);
          box-shadow: var(--shadow-sm);
}

.thumb-ui-a::after, .thumb-ui-1::after {
  left: 30px;
  top: 60px;
  width: 40%;
  height: 8px;
  border-radius: 4px;
  background: var(--red);
  -webkit-box-shadow: 0 24px 0 -2px var(--paper-3), 0 44px 0 -2px var(--paper-3), 70px 0 0 var(--paper-3);
          box-shadow: 0 24px 0 -2px var(--paper-3), 0 44px 0 -2px var(--paper-3), 70px 0 0 var(--paper-3);
}

/* b — store grid */
.thumb-ui-b, .thumb-ui-2 {
  background: var(--paper-3);
}

.thumb-ui-b::before, .thumb-ui-2::before {
  left: 18px;
  right: 18px;
  top: 18px;
  height: 30%;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--ink), var(--dark-2));
}

.thumb-ui-b::after, .thumb-ui-2::after {
  left: 18px;
  bottom: 18px;
  width: calc(100% - 36px);
  height: 38%;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--card) 0 30%, transparent 30% 33%);
}

/* c — portal table */
.thumb-ui-c, .thumb-ui-3 {
  background: var(--card);
}

.thumb-ui-c::before, .thumb-ui-3::before {
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: var(--dark);
}

.thumb-ui-c::after, .thumb-ui-3::after {
  left: 36%;
  right: 18px;
  top: 24px;
  height: 10px;
  border-radius: 4px;
  background: var(--paper-3);
  -webkit-box-shadow: 0 26px 0 var(--paper-3), 0 52px 0 var(--paper-3), 0 78px 0 var(--paper-3);
          box-shadow: 0 26px 0 var(--paper-3), 0 52px 0 var(--paper-3), 0 78px 0 var(--paper-3);
}

/* d — AI dark */
.thumb-ui-d, .thumb-ui-4 {
  background: var(--dark);
}

.thumb-ui-d::before, .thumb-ui-4::before {
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  -webkit-box-shadow: 0 0 60px rgba(214, 36, 20, 0.4) inset;
          box-shadow: 0 0 60px rgba(214, 36, 20, 0.4) inset;
}

.thumb-ui-d::after, .thumb-ui-4::after {
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--red), transparent 72%);
}

/* ============================================================ About page */
.about-hero {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.1fr clamp(32px, 5vw, 64px) 0.9fr;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 900px) {
  .about-hero {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.hero--about .hero-inner {
  -ms-grid-columns: 1.1fr 0.9fr;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero--about .hero-copy .lead {
  max-width: 50ch;
}

.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
}

.about-photo > .responsive-image {
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
}

.about-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 900px) {
  .hero--about .hero-inner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .about-photo {
    aspect-ratio: 16/11;
  }
}
.history-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.4fr clamp(36px, 5vw, 72px) 0.8fr;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(36px, 5vw, 72px);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.history-grid--single {
  -ms-grid-columns: minmax(0, 780px);
  grid-template-columns: minmax(0, 780px);
}

@media (max-width: 860px) {
  .history-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.history-metrics {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

@media (max-width: 860px) {
  .history-metrics {
    position: static;
  }
}
.hm-item {
  background: var(--card);
  padding: 26px 24px;
}

.hm-item .num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hm-item .num .accent {
  color: var(--red);
}

.hm-item .lbl {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

.agq-history .h2 {
  margin-top: 18px;
  max-width: 18ch;
}

.history-text {
  margin-top: 26px;
  max-width: 58ch;
}

.history-text .html-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 18px;
}

.history-text .html-content p:first-child {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.timeline {
  list-style: none;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr clamp(24px, 3vw, 48px) 1fr clamp(24px, 3vw, 48px) 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px) clamp(24px, 3vw, 48px);
  counter-reset: step;
  position: relative;
}

@media (max-width: 860px) {
  .timeline {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .timeline {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.tl-step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.tl-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--red);
}

.tl-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.tl-title {
  font-size: 1.25rem;
  margin: 10px 0 8px;
}

.tl-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 30ch;
}

/* ============================================================ Service cards */
.service-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.service-card .h3 {
  margin-bottom: 10px;
}

.service-card .muted {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.svc-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.svc-tags li {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.35em 0.7em;
}

.service-card .link-arrow {
  margin-top: auto;
}

.service-list .service-card {
  min-height: 318px;
}

/* ============================================================ Filters + cases */
.filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.filter-btn {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55em 1.05em;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  -webkit-transition: color 0.2s, background 0.2s, border-color 0.2s;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.filter-btn.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.cases {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.case-card {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.05fr clamp(20px, 3vw, 44px) 1fr;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(16px, 1.6vw, 20px);
  -webkit-transition: border-color 0.35s, -webkit-box-shadow 0.45s var(--ease), -webkit-transform 0.45s var(--ease-out);
  transition: border-color 0.35s, -webkit-box-shadow 0.45s var(--ease), -webkit-transform 0.45s var(--ease-out);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease-out), border-color 0.35s;
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease-out), border-color 0.35s, -webkit-box-shadow 0.45s var(--ease), -webkit-transform 0.45s var(--ease-out);
}

.case-card:hover {
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  border-color: var(--line);
}

.case-card.rev {
  -ms-grid-columns: 1fr 1.05fr;
  grid-template-columns: 1fr 1.05fr;
}

.case-card.rev .case-media {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

@media (max-width: 760px) {
  .case-card, .case-card.rev {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .case-card.rev .case-media {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
.case-media {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.case-media .ph-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.case-body {
  padding: clamp(8px, 1.4vw, 22px) clamp(8px, 1.6vw, 26px);
}

.case-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.case-body .h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.case-body p {
  margin: 12px 0 22px;
  max-width: 46ch;
}

.case-dark {
  background: var(--dark);
  border-color: var(--dark-line);
}

.case-dark .h3 {
  color: #fff;
}

.case-dark p {
  color: var(--on-dark-soft);
}

.on-dark-link {
  color: #fff;
}

.on-dark-link .arr {
  color: var(--red);
}

/* ============================================================ Blog */
.featured-post {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.05fr clamp(24px, 3vw, 48px) 1fr;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(16px, 1.6vw, 20px);
  -webkit-transition: border-color 0.35s, -webkit-box-shadow 0.45s var(--ease);
  transition: border-color 0.35s, -webkit-box-shadow 0.45s var(--ease);
  transition: box-shadow 0.45s var(--ease), border-color 0.35s;
  transition: box-shadow 0.45s var(--ease), border-color 0.35s, -webkit-box-shadow 0.45s var(--ease);
}

.featured-post:hover {
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  border-color: var(--line);
}

@media (max-width: 800px) {
  .featured-post {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.featured-media {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.featured-media .ph-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.featured-body {
  padding: clamp(8px, 1.4vw, 24px) clamp(8px, 1.6vw, 28px);
}

.post-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.post-time {
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.post-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  -webkit-transition: border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
  transition: border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease), border-color 0.35s;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease), border-color 0.35s, -webkit-transform 0.45s var(--ease-out), -webkit-box-shadow 0.45s var(--ease);
}

.post-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  border-color: var(--line);
}

.post-thumb {
  aspect-ratio: 16/10;
  border: 0;
  border-radius: 0;
  position: relative;
  background-size: cover;
}

.post-card-body {
  padding: 20px 22px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.post-title {
  font-size: 1.18rem;
  line-height: 1.25;
}

.post-card .link-arrow {
  margin-top: auto;
}

/* ============================================================ Contact */
.contact-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr clamp(32px, 5vw, 72px) 1.05fr;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.contact-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  margin-top: 38px;
}

.contact-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}

.ci-icon {
  width: 44px;
  height: 44px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  border-radius: 12px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--red);
}

.ci-icon svg {
  width: 22px;
  height: 22px;
}

.ci-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}

.ci-value {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

a.ci-value:hover {
  color: var(--red);
}

.contact-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.social-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.5em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  -webkit-transition: border-color 0.2s, color 0.2s;
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 44px);
}

.contact-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.form-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 16px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .form-row {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.field .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  padding: 13px 15px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--body);
  -webkit-transition: border-color 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::-webkit-input-placeholder, .field textarea::-webkit-input-placeholder {
  color: #5e5e6c;
}

.field input::-moz-placeholder, .field textarea::-moz-placeholder {
  color: #5e5e6c;
}

.field input:-ms-input-placeholder, .field textarea:-ms-input-placeholder {
  color: #5e5e6c;
}

.field input::-ms-input-placeholder, .field textarea::-ms-input-placeholder {
  color: #5e5e6c;
}

.field input::placeholder, .field textarea::placeholder {
  color: #5e5e6c;
}

.field select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239C9CA8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.field select option {
  background: var(--dark-2);
  color: #fff;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.06);
  -webkit-box-shadow: 0 0 0 3px rgba(214, 36, 20, 0.18);
          box-shadow: 0 0 0 3px rgba(214, 36, 20, 0.18);
}

.form-submit {
  margin-top: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.form-submit.sending {
  opacity: 0.7;
  pointer-events: none;
}

.form-success {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 10px;
}

.form-success.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.fs-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: -ms-grid;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

/* ============================================================ SARA integration */
html {
  scroll-behavior: smooth;
}

body.public {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
}

.backvgcms [data-reveal],
.backvgcms [data-reveal-stagger] {
  opacity: 1 !important;
  -webkit-transform: none !important;
          transform: none !important;
}

.main-content {
  min-height: 55vh;
}

.html-content {
  display: contents;
}

.site-footer__inner, .agq-section > .grid-container {
  position: relative;
  z-index: 1;
}

.site-header .lang-toggle a {
  display: -ms-grid;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  font: 500 0.72rem var(--mono);
  color: var(--ink-soft);
}

.site-header .lang-toggle a.on {
  background: var(--ink);
  color: #fff;
}

.mobile-menu {
  z-index: 99;
}

.page-heading {
  padding-top: calc(var(--nav-h) + clamp(42px, 7vw, 86px));
  overflow: hidden;
}

.page-heading .display {
  margin-top: 20px;
}

.display .html-content > span,
.h1 .html-content > span,
.h2 .html-content > span,
.h3 .html-content > span {
  color: var(--red);
}

.page-heading .lead {
  margin: 22px auto auto;
  max-width: 58ch;
}

.listing-section {
  padding-top: 0;
}

.agq-section {
  position: relative;
  overflow: hidden;
}

.section-light {
  background: var(--paper);
}

.section-paper {
  background: var(--paper-2);
}

.section-dark {
  background: var(--dark);
  color: var(--on-dark-soft);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.24;
}

.section-dark .h1, .section-dark .h2, .section-dark .h3, .section-dark .html-content, .section-dark .tl-title {
  color: #fff;
}

.agq-section .section-head .h2, .tech-stack .section-head .h2 {
  margin-top: 18px;
}

.agq-section .section-head .lead, .tech-stack .section-head .lead {
  margin-top: 16px;
  max-width: 60ch;
}

.agq-section > .grid-container {
  max-width: 1340px;
  padding-inline: var(--gutter);
}

.agq-section .section-head + .agq-content-container {
  margin-top: clamp(36px, 5vw, 64px);
}

.agq-content-container > .grid-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(0, 1fr))[12];
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.agq-content-container > .grid-container > [class*=col-] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 0;
  width: auto !important;
  margin-right: 0 !important;
  float: none !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: clamp(18px, 2.5vw, 30px);
}

.agq-content-container > .grid-container > .col-1-12 {
  -ms-grid-column-span: 1;
  grid-column: span 1;
}

.agq-content-container > .grid-container > .col-2-12 {
  -ms-grid-column-span: 2;
  grid-column: span 2;
}

.agq-content-container > .grid-container > .col-3-12 {
  -ms-grid-column-span: 3;
  grid-column: span 3;
}

.agq-content-container > .grid-container > .col-4-12 {
  -ms-grid-column-span: 4;
  grid-column: span 4;
}

.agq-content-container > .grid-container > .col-5-12 {
  -ms-grid-column-span: 5;
  grid-column: span 5;
}

.agq-content-container > .grid-container > .col-6-12 {
  -ms-grid-column-span: 6;
  grid-column: span 6;
}

.agq-content-container > .grid-container > .col-7-12 {
  -ms-grid-column-span: 7;
  grid-column: span 7;
}

.agq-content-container > .grid-container > .col-8-12 {
  -ms-grid-column-span: 8;
  grid-column: span 8;
}

.agq-content-container > .grid-container > .col-9-12 {
  -ms-grid-column-span: 9;
  grid-column: span 9;
}

.agq-content-container > .grid-container > .col-10-12 {
  -ms-grid-column-span: 10;
  grid-column: span 10;
}

.agq-content-container > .grid-container > .col-11-12 {
  -ms-grid-column-span: 11;
  grid-column: span 11;
}

.agq-content-container > .grid-container > .col-12-12 {
  -ms-grid-column-span: 12;
  grid-column: span 12;
}

@media (max-width: 860px) {
  .agq-content-container > .grid-container > [class*=col-] {
    -ms-grid-column-span: 6;
    grid-column: span 6;
  }
}
@media (max-width: 580px) {
  .agq-content-container > .grid-container > [class*=col-] {
    -ms-grid-column-span: 12;
    grid-column: span 12;
  }
}
/* SARA preview sizes use container classes instead of browser media queries. */
.container800px .hero-inner, .container800px .about-hero, .container800px .history-grid, .container800px .contact-grid {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.container800px .hero-visual {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  min-height: 320px;
}
.container800px .cols-3, .container800px .cols-4, .container800px .timeline {
  -ms-grid-columns: (minmax(0, 1fr))[2];
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.container800px .agq-content-container > .grid-container > [class*=col-] {
  -ms-grid-column-span: 6;
  grid-column: span 6;
}
.container800px .case-card, .container800px .case-card.rev, .container800px .featured-post {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.container800px .case-card.rev .case-media {
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
}

.container400px .wrap, .container400px .wrap-wide {
  width: 100%;
  padding-inline: 20px;
}
.container400px .section-pad {
  padding-block: 58px;
}
.container400px .section-pad-sm {
  padding-block: 38px;
}
.container400px .hero {
  padding-top: 42px;
}
.container400px .hero-inner, .container400px .about-hero, .container400px .history-grid, .container400px .contact-grid,
.container400px .case-card, .container400px .case-card.rev, .container400px .featured-post,
.container400px .cols-2, .container400px .cols-3, .container400px .cols-4, .container400px .timeline, .container400px .footer-grid {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.container400px .agq-content-container > .grid-container > [class*=col-] {
  -ms-grid-column-span: 12;
  grid-column: span 12;
}
.container400px .hero-visual {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  min-height: 250px;
}
.container400px .hero-copy .display, .container400px .page-heading .display, .container400px .contact-info .display {
  font-size: 3rem;
  line-height: 0.98;
}
.container400px .hero-cta {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.container400px .hero-cta .btn {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.container400px .case-card.rev .case-media {
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
}
.container400px .contact-form-wrap {
  padding: 24px 20px;
}
.container400px .form-row {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(38px, 7vw, 84px));
}

.hero--page .hero-inner {
  -ms-grid-columns: minmax(0, 850px);
  grid-template-columns: minmax(0, 850px);
}

.hero--page .hero-copy {
  max-width: 850px;
}

.hero-copy .display {
  margin-top: 22px;
}

.hero-copy .lead {
  margin-top: 26px;
  max-width: 54ch;
}

.hero-visual .code-card {
  width: min(100%, 480px);
  margin-left: auto;
}

/* Service detail heroes */
.hero--services {
  padding-bottom: clamp(56px, 8vw, 100px);
}

.hero--services .hero-inner {
  -ms-grid-columns: minmax(0, 820px);
  grid-template-columns: minmax(0, 820px);
}

.hero--services .hero-copy {
  max-width: 820px;
}

.services-hero-blob {
  width: 460px;
  height: 460px;
  top: -60px;
  right: 6%;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.14), transparent 70%);
}

.hero--service .hero-inner {
  -ms-grid-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.hero--service .hero-copy {
  min-width: 0;
}

.hero--service .hero-copy .display {
  margin-top: 22px;
}

.service-hero-blob {
  width: 520px;
  height: 520px;
  top: -80px;
  right: -40px;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.16), transparent 70%);
}

.breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font: 0.74rem var(--mono);
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--ink-soft);
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb .sep {
  color: var(--line);
}

.service-hero-visual {
  position: relative;
  min-width: 0;
}

.service-code-panel {
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-xl);
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
}

.service-code-panel .code-body {
  min-height: 238px;
  padding: 24px 26px;
}

.service-code-panel .code-line {
  display: block;
}

.service-panel-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: #0e0e15;
  border-bottom: 1px solid var(--dark-line);
}

.service-panel-top .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.service-panel-top .dot:nth-child(1) {
  background: #ff5f57;
}

.service-panel-top .dot:nth-child(2) {
  background: #febc2e;
}

.service-panel-top .dot:nth-child(3) {
  background: #28c840;
}

.service-chat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.service-message {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-message--user {
  -ms-flex-item-align: end;
      align-self: flex-end;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  border-bottom-right-radius: 4px;
}

.service-message--bot {
  -ms-flex-item-align: start;
      align-self: flex-start;
  color: #fff;
  background: var(--red);
  border-bottom-left-radius: 4px;
}

.service-typing {
  -ms-flex-item-align: start;
      align-self: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  padding: 14px 16px;
}

.service-typing i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-dark-soft);
  -webkit-animation: service-typing 1.2s infinite;
          animation: service-typing 1.2s infinite;
}

.service-typing i:nth-child(2) {
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}

.service-typing i:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

@-webkit-keyframes service-typing {
  0%, 60%, 100% {
    opacity: 0.3;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  30% {
    opacity: 1;
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
  }
}

@keyframes service-typing {
  0%, 60%, 100% {
    opacity: 0.3;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  30% {
    opacity: 1;
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
  }
}
@media (max-width: 920px) {
  .hero--service .hero-inner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .service-hero-visual {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
@media (max-width: 580px) {
  .service-code-panel .code-body {
    min-height: 0;
    padding: 18px;
    font-size: 0.72rem;
  }
}
.container800px .hero--service .hero-inner,
.container400px .hero--service .hero-inner {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.container400px .service-code-panel .code-body {
  min-height: 0;
  padding: 18px;
  font-size: 0.72rem;
}

.agq-card {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  -webkit-transition: border-color 0.35s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s;
  transition: border-color 0.35s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s, -webkit-transform 0.35s var(--ease-out), -webkit-box-shadow 0.35s;
}

.agq-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: -webkit-gradient(linear, left top, right top, from(var(--red)), to(var(--red-300)));
  background: linear-gradient(90deg, var(--red), var(--red-300));
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 0.5s var(--ease-out);
  transition: -webkit-transform 0.5s var(--ease-out);
  transition: transform 0.5s var(--ease-out);
  transition: transform 0.5s var(--ease-out), -webkit-transform 0.5s var(--ease-out);
}

.agq-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
}

.agq-card:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

.agq-card:hover .icon-badge {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.agq-card .h3 {
  margin: 0;
}

.agq-card .icon-badge {
  margin-bottom: 8px;
}

.agq-card .link-arrow {
  margin-top: auto;
  padding-top: 10px;
}

.agq-card__number {
  color: var(--red);
  font: 600 0.78rem var(--mono);
  letter-spacing: 0.1em;
}

.agq-card__visual {
  position: relative;
  min-height: 190px;
  aspect-ratio: 16/10;
  border-radius: var(--r);
  margin: -10px -10px 8px;
  overflow: hidden;
  background-color: var(--paper-2);
}

.agq-card__visual-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 10px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-faint);
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agq-card__selected-image, .agq-card__selected-image .responsive-image {
  position: absolute;
  inset: 0;
}

.agq-card__selected-image .responsive-image {
  padding-bottom: 0 !important;
}

.agq-card__selected-image .image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.section-dark .agq-card {
  background: var(--dark-card);
  border-color: var(--dark-line);
}

.section-dark .agq-card .muted {
  color: var(--on-dark-soft);
}

.metrics-strip {
  display: block;
}

.metrics-strip > .grid-container {
  max-width: var(--maxw);
}

.metrics-strip .metric {
  background: transparent;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--line);
}

.tech-stack {
  position: relative;
  overflow: hidden;
}

.tech-stack__inner {
  position: relative;
  z-index: 1;
}

.tech-stack__glow {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -120px;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.22), transparent 70%);
}

.tech-stack .marquee {
  margin-top: clamp(40px, 6vw, 72px);
}

.tech-list {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 72px);
}

.tech-stack--compact .section-head {
  max-width: 780px;
}

.price-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}

.price-card.featured {
  border-color: var(--red);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 6px 12px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font: 600 0.7rem var(--mono);
}

.price-name {
  font: 600 1rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-tag {
  margin: 18px 0 10px;
  font: 600 clamp(1.7rem, 3vw, 2.5rem) var(--display);
  color: var(--ink);
}

.price-desc {
  color: var(--ink-soft);
}

.price-feats {
  display: -ms-grid;
  display: grid;
  gap: 10px;
  margin: 24px 0;
  color: var(--ink-soft);
}

.price-feats li span {
  color: var(--red);
  margin-right: 8px;
}

.price-card .btn {
  margin-top: auto;
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  color: var(--ink);
  font: 600 1.08rem var(--display);
}

.faq-icon {
  color: var(--red);
  font-size: 1.4rem;
  -webkit-transition: -webkit-transform 0.25s;
  transition: -webkit-transform 0.25s;
  transition: transform 0.25s;
  transition: transform 0.25s, -webkit-transform 0.25s;
}

.faq-a {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0fr;
  grid-template-rows: 0fr;
  -webkit-transition: grid-template-rows 0.3s var(--ease);
  transition: grid-template-rows 0.3s var(--ease);
  transition: grid-template-rows 0.3s var(--ease), -ms-grid-rows 0.3s var(--ease);
}

.faq-a-inner {
  overflow: hidden;
  color: var(--ink-soft);
}

.faq-item.open .faq-a {
  -ms-grid-rows: 1fr;
  grid-template-rows: 1fr;
}

.faq-item.open .faq-a-inner {
  padding-bottom: 22px;
}

.faq-item.open .faq-icon {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.cta-band__inner .lead {
  margin: 20px auto 0;
  max-width: 54ch;
}

.cta-band__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 32px;
}

.cta-band {
  overflow: hidden;
}

.cta-band__glow {
  width: 520px;
  height: 520px;
  bottom: -200px;
  left: 50%;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.3), transparent 70%);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.posts-grid {
  margin-top: clamp(28px, 4vw, 52px);
}

.article-heading {
  text-align: center;
}

.article-heading .post-meta {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 24px;
  color: var(--ink-faint);
  font: 0.78rem var(--mono);
}

.article-body {
  padding-block: clamp(48px, 7vw, 90px);
  max-width: 780px;
  font-size: 1.06rem;
  line-height: 1.78;
}

.article-body h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.article-body h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.35rem;
}

.article-body p, .article-body ul {
  margin: 1em 0;
}

.article-body ul {
  padding-left: 1.4em;
  list-style: disc;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
}

.contact-page {
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px));
  position: relative;
  overflow: hidden;
}

.contact-page .contact-grid {
  position: relative;
  z-index: 1;
}

.contact-info .display {
  margin-top: 20px;
}

.contact-info .lead {
  margin-top: 22px;
}

.contact-form-wrap > .h3 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.contact-form-wrap > p {
  color: var(--on-dark-soft);
  margin: 8px 0 24px;
  position: relative;
  z-index: 1;
}

.contact-form-wrap .form {
  position: relative;
  z-index: 1;
}

.contact-form-wrap .form > div {
  display: -ms-grid;
  display: grid;
  gap: 16px;
}

.contact-form-wrap .html-content {
  color: #fff;
}

.contact-form-wrap .html-content strong {
  display: block;
  font-size: 1.08rem;
  margin: 14px 0 6px;
}

.contact-form-wrap .html-content p {
  color: var(--on-dark-soft);
  margin: 0 0 8px;
}

.contact-form-wrap .form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin: 0;
}

.contact-form-wrap .form-row label {
  color: var(--on-dark-soft);
  font: 0.72rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea {
  width: 100%;
  padding: 13px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  font: 0.95rem var(--body);
}

.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap button[type=submit] {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 48px;
  padding: 0.75em 1.4em;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-weight: 600;
}

.contact-form-wrap .form-msg {
  padding: 12px 14px;
  color: #fff;
  background: rgba(214, 36, 20, 0.18);
  border-radius: 10px;
}

/* ============================================================ Error 404 */
.error-page {
  position: relative;
  min-height: min(820px, 100vh);
  padding: calc(var(--nav-h) + clamp(54px, 8vw, 110px)) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  background: var(--paper);
}

.error-page .dotgrid {
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 65% 78% at 78% 45%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 65% 78% at 78% 45%, #000, transparent 76%);
}

.error-page__glow {
  position: absolute;
  width: min(50vw, 700px);
  aspect-ratio: 1;
  top: 5%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 36, 20, 0.12), transparent 68%);
  -webkit-filter: blur(24px);
          filter: blur(24px);
  pointer-events: none;
}

.error-page__inner {
  position: relative;
  z-index: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1.05fr) clamp(44px, 8vw, 108px) minmax(340px, 0.95fr);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(44px, 8vw, 108px);
}

.error-page__copy {
  max-width: 650px;
}

.error-page__code {
  margin: clamp(28px, 5vw, 54px) 0 18px;
  color: var(--ink);
  font: 600 clamp(5.8rem, 13vw, 10.5rem)/0.72 var(--display);
  letter-spacing: -0.085em;
}

.error-page__code span {
  color: var(--red);
}

.error-page__copy .h1 {
  max-width: 12ch;
}

.error-page__copy .lead {
  max-width: 52ch;
  margin-top: 24px;
}

.error-page__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.error-page__visual {
  position: relative;
  min-height: 430px;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.error-console {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  overflow: hidden;
  color: var(--on-dark);
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--r);
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
  -webkit-transform: rotate(2.5deg);
          transform: rotate(2.5deg);
}

.error-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.035), transparent 62%);
}

.error-console__bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 14px 16px;
  background: #0e0e15;
  border-bottom: 1px solid var(--dark-line);
}

.error-console__bar > span:not(.error-console__file) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.error-console__bar > span:nth-child(2) {
  background: #febc2e;
}

.error-console__bar > span:nth-child(3) {
  background: #28c840;
}

.error-console__file {
  margin-left: 7px;
  color: var(--on-dark-soft);
  font: 0.7rem var(--mono);
}

.error-console__body {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 28px 17px 1fr;
  grid-template-columns: 28px 1fr;
  gap: 11px 17px;
  min-height: 245px;
  padding: 30px 26px;
  -ms-flex-line-pack: start;
      align-content: start;
  font: clamp(0.72rem, 1.2vw, 0.84rem)/1.65 var(--mono);
}

.error-console__body code {
  color: var(--on-dark);
  font: inherit;
}

.error-console__line {
  color: #4c4c58;
  text-align: right;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.syntax-red {
  color: var(--red-300);
}

.syntax-gold {
  color: #f2c66d;
}

.syntax-muted {
  color: #7f9bb2;
}

.error-console__cursor {
  -webkit-animation: error-cursor 1.05s steps(1) infinite;
          animation: error-cursor 1.05s steps(1) infinite;
}

@-webkit-keyframes error-cursor {
  50% {
    opacity: 0;
  }
}

@keyframes error-cursor {
  50% {
    opacity: 0;
  }
}
.error-page__orbit {
  position: absolute;
  z-index: 0;
  width: 390px;
  height: 390px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.error-page__orbit--two {
  width: 300px;
  height: 300px;
  border-style: dashed;
  -webkit-transform: rotate(-14deg);
          transform: rotate(-14deg);
}

.error-page__node {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  -webkit-box-shadow: 0 0 0 1px var(--line);
          box-shadow: 0 0 0 1px var(--line);
}

.error-page__node--one {
  top: 10%;
  right: 16%;
}

.error-page__node--two {
  bottom: 12%;
  left: 12%;
  width: 12px;
  height: 12px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .error-page {
    min-height: auto;
  }
  .error-page__inner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .error-page__copy {
    max-width: 700px;
  }
  .error-page__visual {
    min-height: 360px;
  }
}
@media (max-width: 560px) {
  .error-page {
    padding-top: calc(var(--nav-h) + 40px);
  }
  .error-page__code {
    font-size: clamp(5.4rem, 29vw, 8rem);
  }
  .error-page__actions {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .error-page__actions .btn {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .error-page__visual {
    min-height: 300px;
  }
  .error-console {
    -webkit-transform: none;
            transform: none;
  }
  .error-console__body {
    min-height: 210px;
    padding: 24px 18px;
    gap: 9px 12px;
  }
  .error-page__orbit {
    width: 290px;
    height: 290px;
  }
  .error-page__orbit--two {
    width: 220px;
    height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
  }
}/* ====== Formulario: RGPD, errores y antispam ====== */
.contact-form-wrap .form-row--check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 6px 10px; }
.contact-form-wrap .form-row--check input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--red); }
.contact-form-wrap .form-row--check label { color: var(--on-dark-soft); font: .9rem var(--body); text-transform: none; letter-spacing: 0; }
.contact-form-wrap .form-row--check .form-error { grid-column: 1 / -1; }
.contact-form-wrap .form-row label a, .contact-form-wrap .form-privacy-info a { color: #fff; text-decoration: underline; }
.contact-form-wrap [aria-invalid=true] { border-color: var(--red); }
.contact-form-wrap .form-error { margin: 0; color: #ff9b91; font-size: .85rem; }
.contact-form-wrap .form-msg--ok { background: rgba(46,160,67,.18); }
.contact-form-wrap .form-privacy-info { color: var(--on-dark-soft); font-size: .78rem; line-height: 1.5; }
.contact-form-wrap .form-privacy-info ul { margin: 6px 0; padding: 0; list-style: none; }
.contact-form-wrap .form-privacy-info p { margin: 0; }
.contact-form-wrap .form-privacy-info__title { color: #fff; font-weight: 600; }
.form-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* ====== Container en orden de fila (pasos 01 → 06): mismo espacio vertical que las columnas apiladas ====== */
.agq-content-container > .grid-container--row-order { row-gap: clamp(18px, 2.5vw, 30px); }

/* Listado de proyectos: primera imagen del caso recortada al formato de la tarjeta. */
.case-media--image img { display: block; width: 100%; height: 100%; object-fit: cover; }
