﻿/* Fuentes (Google Fonts) y FontAwesome ahora se cargan desde el <head>
   de cada pagina con <link rel="preconnect"> + <link rel="stylesheet">
   para eliminar la cadena de @import que bloqueaba el render. */

/*
	MILPBOOST - Professional Business Theme
	Diseño profesional con colores oscuros
*/

/* Reset */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic - Colores Profesionales Oscuros */
:root {
    --color-primary: #8B2635;      /* Rojo vino */
    --color-primary-dark: #6B1F2A; /* Rojo vino oscuro */
    --color-primary-light: #A13045; /* Rojo vino claro */
    --color-black: #0A0A0B;         /* Negro profundo */
    --color-dark: #1A1A1D;          /* Gris muy oscuro */
    --color-gray-dark: #2B2B2F;     /* Gris oscuro */
    --color-gray: #4A4A52;          /* Gris medio */
    --color-gray-light: #9B9BA3;    /* Gris claro */
    --color-white: #FFFFFF;         /* Blanco */
    --color-off-white: #F7F7F8;     /* Blanco apagado */
}

@-ms-viewport {
    width: device-width;
}

body {
    -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {
    html, body {
        min-width: 320px;
    }
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background: var(--color-black);
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 100%);
    min-height: 100vh;
}

body, input, select, textarea {
    color: var(--color-gray-light);
    font-family: "Roboto", sans-serif;
    font-size: 16pt;
    font-weight: 300;
    line-height: 1.65em;
    letter-spacing: -0.01em;
}

a {
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: var(--color-primary-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-primary);
}

strong, b {
    color: var(--color-white);
    font-weight: 500;
}

em, i {
    font-style: italic;
}

p {
    margin: 0 0 2em 0;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 1.3em;
    margin: 0 0 0.8em 0;
    letter-spacing: -0.02em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-size: 2.5em;
    line-height: 1.4em;
    font-weight: 700;
}

h3 {
    font-size: 1.75em;
    line-height: 1.5em;
    font-weight: 600;
}

h4 {
    font-size: 1.25em;
    line-height: 1.5em;
}

h5 {
    font-size: 1em;
    line-height: 1.5em;
}

h6 {
    font-size: 0.9em;
    line-height: 1.5em;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

hr {
    border: 0;
    border-bottom: solid 2px var(--color-gray-dark);
    margin: 2em 0;
}

hr.major {
    margin: 3em 0;
}

blockquote {
    border-left: solid 4px var(--color-primary);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
    color: var(--color-gray-light);
}

pre {
    -webkit-overflow-scrolling: touch;
    background: var(--color-dark);
    border-radius: 8px;
    border: solid 1px var(--color-gray-dark);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.75em;
    margin: 0 0 2em 0;
    overflow-x: auto;
    padding: 1em 1.5em;
}

code {
    background: var(--color-dark);
    border-radius: 4px;
    border: solid 1px var(--color-gray-dark);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

.row > * {
    box-sizing: border-box;
}

.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

.row.aln-left {
    justify-content: flex-start;
}

.row.aln-center {
    justify-content: center;
}

.row.aln-right {
    justify-content: flex-end;
}

.row.aln-top {
    align-items: flex-start;
}

.row.aln-middle {
    align-items: center;
}

.row.aln-bottom {
    align-items: flex-end;
}

.row > .imp {
    order: -1;
}

.row > .col-1 {
    width: 8.33333%;
}

.row > .off-1 {
    margin-left: 8.33333%;
}

.row > .col-2 {
    width: 16.66667%;
}

.row > .off-2 {
    margin-left: 16.66667%;
}

.row > .col-3 {
    width: 25%;
}

.row > .off-3 {
    margin-left: 25%;
}

.row > .col-4 {
    width: 33.33333%;
}

.row > .off-4 {
    margin-left: 33.33333%;
}

.row > .col-5 {
    width: 41.66667%;
}

.row > .off-5 {
    margin-left: 41.66667%;
}

.row > .col-6 {
    width: 50%;
}

.row > .off-6 {
    margin-left: 50%;
}

.row > .col-7 {
    width: 58.33333%;
}

.row > .off-7 {
    margin-left: 58.33333%;
}

.row > .col-8 {
    width: 66.66667%;
}

.row > .off-8 {
    margin-left: 66.66667%;
}

.row > .col-9 {
    width: 75%;
}

.row > .off-9 {
    margin-left: 75%;
}

.row > .col-10 {
    width: 83.33333%;
}

.row > .off-10 {
    margin-left: 83.33333%;
}

.row > .col-11 {
    width: 91.66667%;
}

.row > .off-11 {
    margin-left: 91.66667%;
}

.row > .col-12 {
    width: 100%;
}

.row > .off-12 {
    margin-left: 100%;
}

.row.gtr-0 {
    margin-top: 0;
    margin-left: 0em;
}

.row.gtr-0 > * {
    padding: 0 0 0 0em;
}

.row.gtr-0.gtr-uniform {
    margin-top: 0em;
}

.row.gtr-0.gtr-uniform > * {
    padding-top: 0em;
}

.row.gtr-25 {
    margin-top: 0;
    margin-left: -0.5em;
}

.row.gtr-25 > * {
    padding: 0 0 0 0.5em;
}

.row.gtr-25.gtr-uniform {
    margin-top: -0.5em;
}

.row.gtr-25.gtr-uniform > * {
    padding-top: 0.5em;
}

.row.gtr-50 {
    margin-top: 0;
    margin-left: -1em;
}

.row.gtr-50 > * {
    padding: 0 0 0 1em;
}

.row.gtr-50.gtr-uniform {
    margin-top: -1em;
}

.row.gtr-50.gtr-uniform > * {
    padding-top: 1em;
}

.row {
    margin-top: 0;
    margin-left: -2em;
}

.row > * {
    padding: 0 0 0 2em;
}

.row.gtr-uniform {
    margin-top: -2em;
}

.row.gtr-uniform > * {
    padding-top: 2em;
}

.row.gtr-150 {
    margin-top: 0;
    margin-left: -3em;
}

.row.gtr-150 > * {
    padding: 0 0 0 3em;
}

.row.gtr-150.gtr-uniform {
    margin-top: -3em;
}

.row.gtr-150.gtr-uniform > * {
    padding-top: 3em;
}

.row.gtr-200 {
    margin-top: 0;
    margin-left: -4em;
}

.row.gtr-200 > * {
    padding: 0 0 0 4em;
}

.row.gtr-200.gtr-uniform {
    margin-top: -4em;
}

.row.gtr-200.gtr-uniform > * {
    padding-top: 4em;
}

/* Container */
.container {
    margin: 0 auto;
    max-width: calc(100% - 5em);
    width: 1200px;
}

.container.xsmall {
    width: 15em;
}

.container.small {
    width: 30em;
}

.container.medium {
    width: 45em;
}

.container.large {
    width: 75em;
}

.container.xlarge {
    width: 90em;
}

.container.max {
    width: 100%;
}

/* Section/Article */
section.special, article.special {
    text-align: center;
}

header p {
    color: var(--color-gray-light);
    position: relative;
    margin: 0 0 1.5em 0;
    font-style: normal;
    font-weight: 300;
}

header h1 + p,
header h2 + p {
    font-size: 1.15em;
    margin-top: -0.8em;
    line-height: 1.6em;
}

header h3 + p {
    font-size: 1.1em;
    margin-top: -0.85em;
    line-height: 1.5em;
}

header h4 + p,
header h5 + p,
header h6 + p {
    font-size: 0.9em;
    margin-top: -0.5em;
    line-height: 1.5em;
}

header.major {
    padding: 1em 0;
    text-align: center;
}

header.major h2 {
    margin: 0;
}

header.major p {
    display: inline-block;
    border-top: solid 2px var(--color-primary);
    color: var(--color-gray-light);
    margin: 1.5em 0 0 0;
    padding: 1.5em 0 0 0;
    font-style: normal;
}

/* Form */
form {
    margin: 0 0 2em 0;
}

label {
    color: var(--color-white);
    display: block;
    font-size: 0.9em;
    font-weight: 400;
    margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: var(--color-dark);
    border-radius: 8px;
    border: solid 1px var(--color-gray-dark);
    color: var(--color-white);
    display: block;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.3);
    background-color: var(--color-black);
}

select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%238B2635' /%3E%3C/svg%3E");
    background-size: 1.25em;
    background-repeat: no-repeat;
    background-position: calc(100% - 1em) center;
    height: 3em;
    padding-right: 3em;
    text-overflow: ellipsis;
}

select option {
    color: var(--color-white);
    background-color: var(--color-dark);
}

select:focus::-ms-value {
    background-color: transparent;
}

select::-ms-expand {
    display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
    height: 3em;
}

textarea {
    padding: 0.75em 1em;
}

input[type="checkbox"],
input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2em;
    opacity: 0;
    width: 1em;
    z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    text-decoration: none;
    color: var(--color-gray-light);
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 300;
    padding-left: 2.55em;
    padding-right: 0.75em;
    position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    background: var(--color-dark);
    border-radius: 6px;
    border: solid 1px var(--color-gray-dark);
    content: '';
    display: inline-block;
    font-size: 0.8em;
    height: 2.25em;
    left: 0;
    line-height: 2.25em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 2.25em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    content: '\f00c';
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

input[type="checkbox"] + label:before {
    border-radius: 6px;
}

input[type="radio"] + label:before {
    border-radius: 100%;
}

::-webkit-input-placeholder {
    color: var(--color-gray) !important;
    opacity: 1.0;
}

:-moz-placeholder {
    color: var(--color-gray) !important;
    opacity: 1.0;
}

::-moz-placeholder {
    color: var(--color-gray) !important;
    opacity: 1.0;
}

:-ms-input-placeholder {
    color: var(--color-gray) !important;
    opacity: 1.0;
}

/* Box */
.box {
    background: var(--color-dark);
    background: linear-gradient(145deg, var(--color-dark) 0%, rgba(26, 26, 29, 0.95) 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5);
    margin: 0 0 2em 0;
    padding: 3em;
    border: 1px solid var(--color-gray-dark);
    position: relative;
    overflow: hidden;
}

.box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.box > :last-child {
    margin-bottom: 0;
}

.box.alt {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 0 2em 0;
    padding: 0 !important;
}

.box.features .features-row {
    border-top: solid 1px var(--color-gray-dark);
    position: relative;
}

.box.features .features-row:after {
    clear: both;
    content: '';
    display: block;
}

.box.features .features-row section {
    float: left;
    padding: 3em;
    width: 50%;
}

.box.features .features-row section :last-child {
    margin-bottom: 0;
}

.box.features .features-row section:nth-child(2n) {
    padding-right: 0;
}

.box.features .features-row section:nth-child(2n):before {
    background: var(--color-gray-dark);
    content: '';
    display: block;
    height: 100%;
    margin-left: -3em;
    position: absolute;
    top: 0;
    width: 1px;
}

.box.features .features-row section:nth-child(2n-1) {
    padding-left: 0;
}

.box.features .features-row:first-child {
    border-top: 0;
}

.box.features .features-row:first-child section {
    padding-top: 0;
}

.box.features .features-row:last-child {
    padding-bottom: 0;
}

.box.features .features-row:last-child section {
    padding-bottom: 0;
}

.box.special {
    text-align: center;
}

.box .image.featured {
    border-radius: 0;
    display: block;
    margin: 3em 0 3em -3em;
    position: relative;
    width: calc(100% + 6em);
}

.box .image.featured img {
    border-radius: 0;
    display: block;
    width: 100%;
}

.box .image.featured:first-child {
    border-radius: 12px 12px 0 0;
    margin-bottom: 3em;
    margin-top: -3em;
}

.box .image.featured:first-child img {
    border-radius: 12px 12px 0 0;
}

.box .image.featured:last-child {
    border-radius: 0 0 12px 12px;
    margin-bottom: -3em;
    margin-top: 3em;
}

.box .image.featured:last-child img {
    border-radius: 0 0 12px 12px;
}

/* Icon */
.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon > .label {
    display: none;
}

.icon:before {
    line-height: inherit;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.icon.major {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    color: var(--color-white);
    cursor: default;
    display: inline-block;
    height: 5.5em;
    line-height: 5.5em;
    margin: 0 0 2em 0;
    width: 5.5em;
    box-shadow: 0 5px 20px rgba(139, 38, 53, 0.3);
    transition: all 0.3s ease;
}

.icon.major:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 38, 53, 0.4);
}

.icon.major:before {
    font-size: 2.5em;
}

.icon.major.accent1 {
    background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-gray-dark) 100%);
    color: var(--color-white);
}

.icon.major.accent2 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.icon.major.accent3 {
    background: linear-gradient(135deg, #2E7D8A 0%, #1F5460 100%);
    color: var(--color-white);
}

.icon.major.accent4 {
    background: linear-gradient(135deg, #4A4A52 0%, #2B2B2F 100%);
    color: var(--color-white);
}

.icon.major.accent5 {
    background: linear-gradient(135deg, #9B5A3C 0%, #6B3F2A 100%);
    color: var(--color-white);
}

/* Image */
.image {
    border-radius: 8px;
    border: 0;
    display: inline-block;
    position: relative;
}

.image img {
    border-radius: 8px;
    display: block;
}

.image.left {
    float: left;
    padding: 0 1.5em 1em 0;
    top: 0.25em;
}

.image.right {
    float: right;
    padding: 0 0 1em 1.5em;
    top: 0.25em;
}

.image.fit {
    display: block;
    margin: 0 0 2em 0;
    width: 100%;
}

.image.fit img {
    display: block;
    width: 100%;
}

/* List */
ol {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ul.alt {
    list-style: none;
    padding-left: 0;
}

ul.alt li {
    border-top: solid 1px var(--color-gray-dark);
    padding: 0.5em 0;
}

ul.alt li:first-child {
    border-top: 0;
    padding-top: 0;
}

ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
}

ul.icons li {
    display: inline-block;
    padding: 0 1.25em 0 0;
}

ul.icons li:last-child {
    padding-right: 0;
}

ul.icons li .icon {
    color: inherit;
    transition: all 0.3s ease;
}

ul.icons li .icon:before {
    font-size: 1.75em;
}

ul.icons li .icon:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

dl {
    margin: 0 0 2em 0;
}

/* Actions */
ul.actions {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    cursor: default;
    list-style: none;
    margin-left: -1em;
    padding-left: 0;
}

ul.actions li {
    padding: 0 0 0 1em;
    vertical-align: middle;
}

ul.actions.special {
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    width: 100%;
    margin-left: 0;
}

ul.actions.special li:first-child {
    padding-left: 0;
}

ul.actions.stacked {
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 0;
}

ul.actions.stacked li {
    padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
    padding-top: 0;
}

ul.actions.fit {
    width: calc(100% + 1em);
}

ul.actions.fit li {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    width: 100%;
}

ul.actions.fit li > * {
    width: 100%;
}

ul.actions.fit.stacked {
    width: 100%;
}

/* Table */
.table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

table {
    margin: 0 0 2em 0;
    width: 100%;
}

table tbody tr {
    border: solid 1px var(--color-gray-dark);
    border-left: 0;
    border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
    background-color: rgba(255, 255, 255, 0.02);
}

table td {
    padding: 0.75em 0.75em;
}

table th {
    color: var(--color-white);
    font-size: 0.9em;
    font-weight: 500;
    padding: 0 0.75em 0.75em 0.75em;
    text-align: left;
}

table thead {
    border-bottom: solid 2px var(--color-primary);
}

table tfoot {
    border-top: solid 2px var(--color-primary);
}

table.alt {
    border-collapse: separate;
}

table.alt tbody tr td {
    border: solid 1px var(--color-gray-dark);
    border-left-width: 0;
    border-top-width: 0;
}

table.alt tbody tr td:first-child {
    border-left-width: 1px;
}

table.alt tbody tr:first-child td {
    border-top-width: 1px;
}

table.alt thead {
    border-bottom: 0;
}

table.alt tfoot {
    border-top: 0;
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-gray-dark) 100%);
    border-radius: 30px;
    border: 0;
    color: var(--color-white);
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    height: 3.2em;
    line-height: 3.2em;
    padding: 0 0.5em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.0em;
    font-size: 0.7em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
    transform: translateY(0);
}

input[type="submit"].icon,
input[type="reset"].icon,
input[type="button"].icon,
.button.icon {
    padding-left: 1.35em;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
.button.icon:before {
    margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
.button.fit {
    width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
.button.small {
    font-size: 0.8em;
    height: 2.7em;
    line-height: 2.7em;
}

input[type="submit"].large,
input[type="reset"].large,
input[type="button"].large,
.button.large {
    font-size: 0.8em;
    height: 3.2em;
    line-height: 3.2em;
}

input[type="submit"].alt,
input[type="reset"].alt,
input[type="button"].alt,
.button.alt {
    background: transparent;
    box-shadow: inset 0 0 0 2px #1a3a52;
    color: #8ab4d8;
}

input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
input[type="button"].alt:hover,
.button.alt:hover {
    background-color: rgba(26, 58, 82, 0.15);
    box-shadow: inset 0 0 0 2px #245174;
    color: var(--color-white);
}

input[type="submit"].alt:active,
input[type="reset"].alt:active,
input[type="button"].alt:active,
.button.alt:active {
    background-color: rgba(26, 58, 82, 0.25);
}

input[type="submit"].alt.icon:before,
input[type="reset"].alt.icon:before,
input[type="button"].alt.icon:before,
.button.alt.icon:before {
    color: #8ab4d8;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
.button.primary {
    background: linear-gradient(135deg, #245174 0%, #1a3a52 100%);
    color: var(--color-white) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(36, 81, 116, 0.4);
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
.button.primary:hover {
    background: linear-gradient(135deg, #2e6494 0%, #245174 100%);
    box-shadow: 0 6px 20px rgba(36, 81, 116, 0.5);
}

input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
.button.primary:active {
    background: linear-gradient(135deg, #1a3a52 0%, #0d1f35 100%);
}

input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
.button.disabled,
.button:disabled {
    background-color: var(--color-gray-dark) !important;
    box-shadow: none;
    color: var(--color-gray) !important;
    cursor: default;
    opacity: 0.5;
    transform: none !important;
}

/* Header */
#page-wrapper {
    padding-top: 3.5em;
}

body.landing #page-wrapper {
    padding-top: 0;
}

@-moz-keyframes reveal-header {
    0% {
        top: -5em;
    }
    100% {
        top: 0;
    }
}

@-webkit-keyframes reveal-header {
    0% {
        top: -5em;
    }
    100% {
        top: 0;
    }
}

@-ms-keyframes reveal-header {
    0% {
        top: -5em;
    }
    100% {
        top: 0;
    }
}

@keyframes reveal-header {
    0% {
        top: -5em;
    }
    100% {
        top: 0;
    }
}

#header {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-gray-light);
    cursor: default;
    height: 3.5em;
    left: 0;
    line-height: 3.5em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#header .site-title {
    color: inherit;
    height: inherit;
    left: 1.25em;
    line-height: inherit;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

#header .site-title a {
    color: var(--color-white);
    font-weight: 700;
    border: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8em;
}

/* Espacio para logo en header */
#header .site-title .logo {
    height: 2.2em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

#header .site-title .logo:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

#header nav {
    height: inherit;
    line-height: inherit;
    position: absolute;
    right: 0.75em;
    top: 0;
    vertical-align: middle;
}

#header nav > ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

#header nav > ul > li {
    display: inline-block;
    padding-left: 0;
}

#header nav > ul > li > ul {
    display: none;
}

#header nav > ul > li a {
    display: inline-block;
    height: 2em;
    line-height: 1.95em;
    padding: 0 1.2em;
    border-radius: 20px;
}

#header nav > ul > li a:not(.button) {
    color: var(--color-gray-light);
    display: inline-block;
    text-decoration: none;
    border: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

#header nav > ul > li a:not(.button):hover {
    color: var(--color-white);
    background-color: rgba(139, 38, 53, 0.2);
}

#header nav > ul > li a:not(.button).icon:before {
    color: var(--color-gray);
    margin-right: 0.5em;
}

#header nav > ul > li:first-child {
    margin-left: 0;
}

#header nav > ul > li.active a:not(.button) {
    background-color: rgba(139, 38, 53, 0.3);
    color: var(--color-white);
}

#header nav > ul > li .button {
    margin: 0 0 0 0.5em;
    position: relative;
    font-size: 0.9em;
}

#header input[type="submit"],
#header input[type="reset"],
#header input[type="button"],
#header .button {
    background: linear-gradient(135deg, #245174 0%, #1a3a52 100%);
    box-shadow: 0 2px 10px rgba(36, 81, 116, 0.3);
    color: var(--color-white);
    border: 0;
}

#header input[type="submit"]:hover,
#header input[type="reset"]:hover,
#header input[type="button"]:hover,
#header .button:hover {
    background: linear-gradient(135deg, #2e6494 0%, #245174 100%);
    box-shadow: 0 4px 15px rgba(36, 81, 116, 0.4);
}

#header input[type="submit"]:active,
#header input[type="reset"]:active,
#header input[type="button"]:active,
#header .button:active {
    background: linear-gradient(135deg, #1a3a52 0%, #0d1f35 100%);
}

#header .container {
    position: relative;
}

#header .container .site-title {
    left: 0;
}

#header .container nav {
    right: 0;
}

#header.reveal {
    -moz-animation: reveal-header 0.5s;
    -webkit-animation: reveal-header 0.5s;
    -ms-animation: reveal-header 0.5s;
    animation: reveal-header 0.5s;
}

#header.alt {
    -moz-animation: none;
    -webkit-animation: none;
    -ms-animation: none;
    animation: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    box-shadow: none;
}

#header.alt nav > ul > li a:not(.button).icon:before {
    color: rgba(255, 255, 255, 0.75);
}

#header.alt nav > ul > li.active a:not(.button) {
    background-color: rgba(255, 255, 255, 0.2);
}

#header.alt input[type="submit"],
#header.alt input[type="reset"],
#header.alt input[type="button"],
#header.alt .button {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#header.alt input[type="submit"]:hover,
#header.alt input[type="reset"]:hover,
#header.alt input[type="button"]:hover,
#header.alt .button:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#header.alt input[type="submit"]:active,
#header.alt input[type="reset"]:active,
#header.alt input[type="button"]:active,
#header.alt .button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.dropotron {
    background: var(--color-dark);
    border-radius: 8px;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: calc(-0.5em + 1px) 0 0 1px;
    padding: 0.5em 0;
    width: 11em;
    border: 1px solid var(--color-gray-dark);
}

.dropotron li {
    padding: 0;
}

.dropotron li a, .dropotron li span {
    -moz-transition: none;
    -webkit-transition: none;
    -ms-transition: none;
    transition: none;
    border: 0;
    border-top: solid 1px var(--color-gray-dark);
    color: var(--color-gray-light);
    display: block;
    padding: 0.15em 1em;
}

.dropotron li:first-child > a, .dropotron li:first-child > span {
    border-top: 0;
}

.dropotron li.active > a, .dropotron li.active > span, .dropotron li:hover > a, .dropotron li:hover > span {
    background: var(--color-primary);
    color: var(--color-white);
}

.dropotron.level-0 {
    font-size: 0.9em;
    margin: 1em 0 0 0;
}

.dropotron.level-0:before {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: var(--color-dark);
    border: solid 1px var(--color-gray-dark);
    border-bottom: 0;
    border-right: 0;
    box-shadow: -0.25em -0.125em 0.125em 0 rgba(0, 0, 0, 0.1);
    content: '';
    display: block;
    height: 0.75em;
    position: absolute;
    right: 1.25em;
    top: -0.375em;
    width: 0.75em;
    z-index: 0;
}

/* Banner */
#banner {
    background-attachment: scroll, fixed;
    background-color: var(--color-black);
    background-image: linear-gradient(rgba(10, 10, 11, 0.7), rgba(26, 26, 29, 0.9)), url("../../images/banner.webp");
    background-position: top left, center center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    color: var(--color-white);
    padding: 14em 0 12em 0;
    text-align: center;
    position: relative;
}

#banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 11, 0.4) 100%);
    pointer-events: none;
}

#banner :last-child {
    margin-bottom: 0;
}

#banner h1, #banner h2, #banner h3, #banner h4, #banner h5, #banner h6 {
    color: var(--color-white);
}

#banner h1, #banner h2 {
    font-size: 4em;
    line-height: 1em;
    margin: 0 0 0.5em 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#banner p {
    font-size: 1.3em;
    margin-bottom: 1.75em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

#banner input[type="submit"],
#banner input[type="reset"],
#banner input[type="button"],
#banner .button {
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(138, 180, 216, 0.4);
    color: var(--color-white);
    min-width: 12em;
}

#banner input[type="submit"]:hover,
#banner input[type="reset"]:hover,
#banner input[type="button"]:hover,
#banner .button:hover {
    background-color: rgba(36, 81, 116, 0.2);
    box-shadow: inset 0 0 0 2px rgba(138, 180, 216, 0.6);
}

#banner input[type="submit"]:active,
#banner input[type="reset"]:active,
#banner input[type="button"]:active,
#banner .button:active {
    background-color: rgba(36, 81, 116, 0.3);
}

#banner input[type="submit"].primary,
#banner input[type="reset"].primary,
#banner input[type="button"].primary,
#banner .button.primary {
    background: linear-gradient(135deg, #245174 0%, #1a3a52 100%);
    color: var(--color-white) !important;
    box-shadow: 0 4px 20px rgba(36, 81, 116, 0.4);
}

#banner input[type="submit"].primary:hover,
#banner input[type="reset"].primary:hover,
#banner input[type="button"].primary:hover,
#banner .button.primary:hover {
    background: linear-gradient(135deg, #2e6494 0%, #245174 100%);
    box-shadow: 0 6px 25px rgba(36, 81, 116, 0.5);
}

/* Main */
#main {
    padding: 5em 0;
    position: relative;
    z-index: 1;
}

#main > header {
    text-align: center;
    margin: 0 0 3em 0;
}

#main > header h1,
#main > header h2 {
    font-size: 3em;
    margin: 0;
}

#main > header p {
    border-top: solid 2px var(--color-primary);
    color: var(--color-gray-light);
    display: inline-block;
    font-style: normal;
    margin: 1em 0 0 0;
    padding: 1em 0 1.25em 0;
}

body.landing #main {
    margin-top: -10em;
}

/* Footer */
#footer {
    background: var(--color-black);
    padding: 5em 0 3em 0;
    text-align: center;
    border-top: 1px solid var(--color-gray-dark);
}

#footer .icons a {
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0.5;
}

#footer .icons a:hover {
    opacity: 1;
    color: var(--color-primary);
}

#footer .copyright {
    color: var(--color-gray);
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 2em 0 0 0;
    padding: 0;
    text-align: center;
}

#footer .copyright a {
    color: inherit;
}

#footer .copyright li {
    border-left: solid 1px var(--color-gray-dark);
    display: inline-block;
    list-style: none;
    margin-left: 1em;
    padding-left: 1em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

/* CTA */
#cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 4em 0 4.5em 0;
    text-align: center;
    position: relative;
}

#cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("images/overlay.png");
    opacity: 0.1;
}

#cta h2, #cta h3, #cta h4, #cta h5, #cta h6 {
    color: inherit;
}

#cta form {
    margin: 0 auto;
    max-width: 100%;
    width: 30em;
    position: relative;
    z-index: 1;
}

#cta input[type="submit"],
#cta input[type="reset"],
#cta input[type="button"],
#cta .button {
    box-shadow: none;
    background: var(--color-white);
    color: #1a3a52;
    font-weight: 600;
}

#cta input[type="submit"]:hover,
#cta input[type="reset"]:hover,
#cta input[type="button"]:hover,
#cta .button:hover {
    background: var(--color-off-white);
    color: #245174;
}

#cta input[type="text"],
#cta input[type="password"],
#cta input[type="email"],
#cta select,
#cta textarea {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#cta input[type="text"]:focus,
#cta input[type="password"]:focus,
#cta input[type="email"]:focus,
#cta select:focus,
#cta textarea:focus {
    box-shadow: inset 0 0 0 2px var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

#cta ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#cta :-moz-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#cta ::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#cta :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#cta .formerize-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Wide */
@media screen and (max-width: 1680px) {
    body, input, select, textarea {
        font-size: 13pt;
    }

    #banner {
        padding: 10em 0 18em 0;
    }
}

/* Normal */
@media screen and (max-width: 1280px) {
    body, input, select, textarea {
        font-size: 11pt;
    }

    .dropotron.level-0 {
        font-size: 1em;
    }

    #banner {
        background-attachment: scroll;
    }

    #banner h1, #banner h2 {
        font-size: 3.5em;
    }
}

/* Narrow */
@media screen and (max-width: 980px) {
    body, input, select, textarea {
        font-size: 11pt;
    }

    .row > .col-6-narrow {
        width: 50%;
    }

    .row > .col-12-narrower {
        width: 100%;
    }
}

/* Narrower - Tablet */
#navPanel, #navButton {
    display: none;
}

@media screen and (max-width: 840px) {
    html, body {
        overflow-x: hidden;
    }

    body, input, select, textarea {
        font-size: 11pt;
    }

    h2 br, h3 br, h4 br, h5 br, h6 br {
        display: none;
    }

    header br {
        display: none;
    }

    header.major {
        padding: 0 4em;
    }

    .box {
        padding: 3em 2em;
    }

    .box.features > section {
        padding: 3em 2em;
    }

    .box .image.featured {
        margin-left: -2em;
        width: calc(100% + 4em);
    }

    .box .image.featured:first-child {
        margin-bottom: 3em;
        margin-top: -3em;
    }

    .box .image.featured:last-child {
        margin-bottom: -3em;
        margin-top: 3em;
    }

    #page-wrapper {
        padding-top: 0;
    }

    #header {
        display: none;
    }

    #banner {
        padding: 8em 2em 10em 2em;
    }

    #banner h1, #banner h2 {
        font-size: 3em;
    }

    /* Nav Panel */
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
    }

    #navButton {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
    }

    #navButton .toggle {
        text-decoration: none;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        border: 0;
        outline: 0;
    }

    #navButton .toggle:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }

    #navButton .toggle:before {
        background: #245174;
        border-radius: 6px;
        color: var(--color-white);
        content: '\f0c9';
        display: block;
        font-size: 16px;
        height: 2.25em;
        left: 0.5em;
        line-height: 2.25em;
        position: absolute;
        text-align: center;
        top: 0.5em;
        width: 3.5em;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    /* Logo móvil en panel de navegación00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 */
    #navPanel {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transform: translateX(-275px);
        -webkit-transform: translateX(-275px);
        -ms-transform: translateX(-275px);
        transform: translateX(-275px);
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 275px;
        z-index: 10002;
        background: var(--color-dark);
        color: var(--color-gray-light);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
        padding-top: 0;  /* ✅ Cambiado de 3em a 0 */
    }

    /* Logo y nombre en la parte superior del panel móvil */
    #navPanel .brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8em;
        padding: 1.2em 1em 1.2em 1em;  /* ✅ Padding simétrico */
        border-bottom: solid 1px var(--color-gray-dark);
        position: relative;  /* ✅ Cambiado de absolute a relative */
        background: var(--color-dark);
    }

    #navPanel .brand img {
        height: 2em;
        width: auto;
        filter: brightness(1.1);
    }

    #navPanel .brand span {
        color: var(--color-white);
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 1.2em;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* ✅ NUEVO: Contenedor nav con padding superior */
    #navPanel nav {
        display: block;
        padding-top: 0.5em;  /* ✅ Espacio después del brand */
    }

    /* Estilos GENERALES para todos los links */
    #navPanel .link {
        border-bottom: 0;
        border-top: solid 1px var(--color-gray-dark);
        color: #ffffff;
        display: block;
        height: 44px;
        line-height: 44px;
        padding: 0 1em 0 1em;
        text-decoration: none;
        transition: all 0.2s ease;  /* ✅ Transición suave */
    }

    #navPanel .link:first-child {
        border-top: 0;
    }

    /* (Regla del menu viejo ELIMINADA: marcaba en rojo los enlaces cuyo href
       contenia "servicios"/"soluciones". Ya no aplica: ahora [Servicios] y
       [Soluciones] son <span class="category-label"> y se estilizan como
       titulos de seccion en custom-mobile.css.) */

    /* Indentaciones para submenús */
    #navPanel .link .indent-1 {
        display: inline-block;
        width: 1em;
    }

    #navPanel .link .indent-2 {
        display: inline-block;
        width: 2em;
    }

    #navPanel .link .indent-3 {
        display: inline-block;
        width: 3em;
    }

    #navPanel .link .indent-4 {
        display: inline-block;
        width: 4em;
    }

    #navPanel .link .indent-5 {
        display: inline-block;
        width: 5em;
    }

    /* Transformaciones cuando el panel está visible */
    body.navPanel-visible #page-wrapper {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }

    body.navPanel-visible #navButton {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }

    body.navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    .container {
        width: 100% !important;
    }
}

/* Mobile */
@media screen and (max-width: 736px) {
    body, input, select, textarea {
        font-size: 11pt;
    }

    h2 {
        font-size: 1.75em;
        line-height: 1.35em;
        letter-spacing: -0.025em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1em;
    }

    header.major {
        padding: 1em;
    }

    header.major h2, header.major p {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    .box {
        margin: 1em;
        overflow-x: hidden;
        padding: 2em 2em !important;
    }

    .box.features .features-row {
        border-top: 0;
        padding: 0;
    }

    .box.features .features-row section {
        border: 0;
        border-top: solid 1px var(--color-gray-dark) !important;
        float: none;
        margin: 2em 0 0 0 !important;
        padding: 2em 0 0 0 !important;
        width: 100%;
    }

    .box.features .features-row:first-child section:first-child {
        border-top: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .box .image.featured {
        margin-left: -2em;
        width: calc(100% + 4em);
    }

    .box .image.featured:first-child {
        margin-bottom: 2em;
        margin-top: -2em;
    }

    .box .image.featured:last-child {
        margin-bottom: -2em;
        margin-top: 2em;
    }

    #banner {
        padding: 4em 0;
    }

    #banner h1, #banner h2 {
        font-size: 2.25em;
    }

    #banner p {
        font-size: 1.25em;
    }

    #main {
        padding: 4em 0 0 0;
    }

    #main > header {
        margin: 0 2em 1.5em 2em;
    }

    #main > header h1,
    #main > header h2 {
        font-size: 2em;
    }

    #main > header p {
        font-size: 1em;
        padding-bottom: 1em;
    }

    body.landing #main {
        padding: 0;
        margin-top: 0;
    }

    #footer {
        padding: 4em 0;
    }

    #footer .copyright li {
        border-left: 0;
        display: block;
        line-height: 2em;
        margin-left: 0;
        padding-left: 0;
    }

    .row > .col-6-mobile {
        width: 50%;
    }

    .row > .col-12-mobile {
        width: 100%;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 480px) {
    html, body {
        min-width: 320px;
    }

    body, input, select, textarea {
        font-size: 11pt;
    }

    header.major {
        padding: 0;
    }

    ul.actions {
        margin: 0 0 2em 0;
    }

    ul.actions li {
        display: block;
        padding: 1em 0 0 0;
        text-align: center;
        width: 100%;
    }

    ul.actions li:first-child {
        padding-top: 0;
    }

    ul.actions li > * {
        width: 100%;
        margin: 0 !important;
    }

    ul.actions li > *.icon:before {
        margin-left: -2em;
    }

    ul.actions.small li {
        padding: 0.5em 0 0 0;
    }

    ul.actions.small li:first-child {
        padding-top: 0;
    }

    .box {
        border-radius: 0;
        box-shadow: none;
        margin: 1em 0 0 0;
        padding: 3em 1em !important;
    }

    .box.features .features-row section {
        margin: 3em 0 0 0 !important;
        padding: 3em 0 0 0 !important;
    }

    .box .image.featured {
        border-radius: 0;
        margin-left: -1em;
        width: calc(100% + 2em);
    }

    .box .image.featured img {
        border-radius: 0 !important;
    }

    .box .image.featured:first-child {
        margin-bottom: 3em;
        margin-top: -3em;
    }

    .box .image.featured:last-child {
        margin-bottom: -3em;
        margin-top: 3em;
    }

    #banner {
        padding: 13em 3em 4em 3em;
    }

    #banner h1, #banner h2 {
        font-size: 2em;
    }

    #main > .box:first-child {
        margin-top: 0;
    }

    #cta {
        padding: 2.5em 1em 3em 1em;
    }

    .row > .col-8-mobilep {
        width: 66.66667%;
    }

    .row > .col-12-mobilep {
        width: 100%;
    }

    .row > .col-4-mobilep {
        width: 33.33333%;
    }
}

/* ============================================
   MOBILE HEADER - Logo y nombre en barra móvil
   ============================================ */

#mobileHeader {
    display: none;
}

@media screen and (max-width: 840px) {
    #mobileHeader {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        padding: 0 0.5em;
    }
    #mobileHeader .mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.6em;
        padding-left: 0.5em;
        flex: 1;
    }
    #mobileHeader .mobile-brand img {
        height: 1.8em;
        width: auto;
        filter: brightness(1.1);
    }
    #mobileHeader .mobile-brand span {
        color: var(--color-white);
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.1em;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    #mobileHeader .toggle {
        text-decoration: none;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        outline: 0;
        padding: 0.5em;
    }
    #mobileHeader .toggle:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        background: #245174;
        border-radius: 6px;
        color: var(--color-white);
        content: '\f0c9';
        display: block;
        font-size: 16px;
        height: 2.25em;
        line-height: 2.25em;
        text-align: center;
        width: 3.5em;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    body.navPanel-visible #mobileHeader {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }
    #navButton {
        display: none !important;
    }
}

/* ==========================================
   Inputs adicionales: estilo consistente con el tema
   (tel, url, number, search, date no estaban cubiertos
    por el selector original y salian en blanco)
   ========================================== */
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="date"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: var(--color-dark);
    border-radius: 8px;
    border: solid 1px var(--color-gray-dark);
    color: var(--color-white);
    display: block;
    outline: 0;
    padding: 0 1em;
    width: 100%;
    height: 3em;
    transition: all 0.3s ease;
}

input[type="date"] {
    color-scheme: dark;
}

input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.3);
    background-color: var(--color-black);
}

