/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

*
{
	box-sizing: border-box;
}

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;

}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
strong {
    font-weight: bold;
}
ol, ul {
	list-style: none;
}
blockquote {
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    border-left: 4px solid var(--secondary-color);
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: 'Objectivity';
    src: url('../fonts/Objectivity-Regular.woff2') format('woff2'),
        url('../fonts/Objectivity-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Objectivity';
    src: url('../fonts/Objectivity-Bold.woff2') format('woff2'),
        url('../fonts/Objectivity-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand palette in screen (dabbleam/design, GUIA-DE-ESTILO, 30-10-2026): dark blues so white text
       on them, and blue text on white, reach AA contrast. */
    --primary-color: #007ac7;
    --secondary-color: #005ca5;
    --dark-primary-color: #006bae;
    --dark-secondary-color: #004a85;
    --brand-gradient: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    --link-color: #006bae;
    --link-hover-color: #005ca5;
    --header-top-color: #0094f0;  /* top bar: --header-top-color -> --primary-color */
    --brand-light-color: #00b7ff; /* light brand blue: only on dark backgrounds or without text */
    --brand-light-gradient: radial-gradient(var(--brand-light-color) 20%, #009dff 70%); /* decorative round icons, same as dabbleam.com */
    --focus-ring: #007ac7; /* opaque: 4.56:1 on white (WCAG asks 3:1 for focus); Diseño, 30-10-2026 */
    --highlight-color: #d0353f;   /* "Recomendado" and similar badges: reddish so it stands out on the blues; white text 4.9:1 */
    --light-text: #666;
    --background-dark: #222;
    --alert-error: #ff8080;
    --alert-warning: #ffcc00;
    --alert-success: #80ff80;
}

body
{
    font-family: 'Objectivity', "Open Sans", "Segoe UI", Helvetica, Roboto, sans-serif;
}

header
{
    background-color: var(--header-top-color);
    background-image: linear-gradient(to bottom, var(--header-top-color), var(--primary-color));
    width: 100%;
    height: 4em;
    padding-left: 1em;
    padding-right: 1em;
    position: fixed;
    top: 0;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 25;
}

main
{
    padding-top: 4em;
    min-height: 100vh;
}

/* what the keyboard focuses (or a link jumps to) is not left under the fixed header */
html
{
    scroll-padding-top: 5rem;
}

main ul {
    margin-top: 1em;
    margin-left: 2em;
    margin-bottom: 1em;
}

main ul li {
    margin-bottom: 0.5em;
    list-style: disc;
}

footer
{
    background-color: var(--background-dark);
    color: white;
    padding: 2em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noiseFilter)' opacity='0.2'/%3E%3C/svg%3E");
    box-shadow: inset 0px 0px 1em rgb(0, 0, 0);
}

footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer h6 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

footer section {
    align-items: start;
    margin-top: 0;
    padding-top: 0;
}

footer a
{
    display: inline-block;
    color: white !important;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 1em;

}


footer ul {
    display: flex;
    flex-direction: column;
}

footer ul li {
    display: block;
    border-bottom: 1px solid #666;
}

footer ul li:first-child {
    border-top: 1px solid #666;
}

footer ul li a {
    transition: all 0.1s ease-out;
}

footer ul li a:hover {
    padding-left: 1.5em;
    padding-right: 0.5em;
    color: var(--brand-light-color) !important;
}

footer ul li a::before {
    font-family: "Font Awesome 5 Pro";
    content: "\f105";
    font-weight: 900;
    margin-right: 1em;
}

#footer-social > h6 {
    margin-bottom: 0;
}

footer .social-icons a:first-child {
    padding-left: 0;
}

footer .social-icon {
    width: 2em;
    filter: grayscale(100%);
    transition: filter 0.2s ease-out;
}

footer .social-icon:hover {
    filter: none;
}

/* phones: each column as wide as the screen (the lists shrank to their text) and apart from the one above */
@media only screen and (max-width: 760px)
{
    footer section
    {
        flex: 1 1 100%;
        align-items: stretch;
    }

    footer section + section
    {
        margin-top: 1.5em;
    }

    footer h6
    {
        text-align: left;
    }

    footer .social-icons
    {
        justify-content: flex-start;
    }
}

header .logo
{
    background-image: url('../img/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    filter: drop-shadow(0px 3px 4px rgba(0,0,0,0.2));
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 18em;
    max-width: 80%;
}

/* tablets, between the phone menu (up to 760px) and room for the whole bar (~920px): the logo to the left and a
   slightly smaller menu, so that "Inicio" never lands on the logo (measured at 768, 800, 880 and 900 px) */
@media only screen and (min-width: 761px) and (max-width: 940px)
{
    header .logo
    {
        background-position: left center;
    }

    header .nav li
    {
        font-size: 1.3em;
    }

    header .nav a
    {
        padding-left: .6em;
        padding-right: .6em;
    }

    /* with the smaller menu, 2px puts the user icon on the axis of the words (measured at 768 px), and the cart and its
       pill go 3px to the left: a whole pixel, as with 2.5px the cart blurs here */
    header .nav li a .fa-user
    {
        top: -2px;
    }

    header .nav li a .fa-shopping-cart
    {
        left: calc(50% - 3px);
    }

    header .nav li a small
    {
        left: calc(-.1em - 3px);
    }
}

/* the menu button and the words next to the cart and user icons only exist on phones */
header .menu-boton, .nav .nav-texto
{
    display: none;
}

header .nav
{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

a:link, a:visited, a:active, a:hover
{
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

.nav a
{
    color: inherit;
    text-decoration: inherit;
    display: flex;
    height: 100%;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
    position: relative; /* for the cart icon */
}

.nav li
{
    display: inline-flex;
    height: 100%;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0.3) 1px, rgba(255, 255, 255, 0.5) 2px) 3;
    text-shadow: 0px 1px 0.4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s ease-out;
    vertical-align: top; /* not on the baseline: what is inside a cell (the cart icon) does not move the others */
}

.nav li:hover
{
    background-color: rgba(0, 0, 0, 0.2);
}

.nav li:active
{
    text-shadow: 0px -1px 0.4px rgba(0, 0, 0, 0.5);
}

/* the user icon on the optical axis of the words of the bar, not on the centre of the cell (Jesús, 03-11-2026) */
.nav li a .fa-user {
    position: relative;
    top: -3px;
}

/* the cart, centred in its cell whatever the width of the counter (Jesús, 03-11-2026): out of the flow, while the
   counter keeps the room it had, so the cell is as wide as before. Cart and pill go 3.5px to the left together: centred
   by the cart's box alone, the pill made the whole look heavy on the right (Jesús, 03-11-2026, chosen at 8x) */
.nav li a .fa-shopping-cart {
    position: absolute;
    left: calc(50% - 3.5px);
    top: 50%;
    transform: translate(-50%, -50%);
}

/* cart counter: red pill (white on --highlight-color, 4.9:1) with a ring of the bar's colour; Diseño, 02-11-2026.
   The margin is the cart's 1.125em (in the pill's em, .6 of the icon's) plus the .2em gap there was: the cell keeps its
   width. "left" takes back half the gap, which puts the pill's centre on the top right corner of the centred cart. */
.nav li a small {
    margin-left: 2.075em;
    font-size: .6em;
    position: relative;
    top: -.8em;
    left: calc(-.1em - 3.5px);
    display: inline-block;
    min-width: 1.5em;
    padding: .2em .35em 0; /* Objectivity draws capitals and figures .1em high: more room on top centres them */
    box-sizing: border-box;
    border-radius: 1em;
    background-color: var(--highlight-color);
    color: #fff;
    line-height: 1.2;
    text-align: center;
    text-shadow: none;
    box-shadow: 0 0 0 2px var(--header-top-color);
}

header .contents
{
    max-width: 1024px;
    height: 100%;
    margin: auto;
    position: relative;
}

section
{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    /* this COULD use scroll-margin-top but safari ios */
    padding-top: 20vh;
    margin-top: -20vh;
}

#hero
{
    background-color: #000;
    color: white;
    text-align: center;
    /* the photo in AVIF, WebP or JPG (the first one the browser takes), at the width of the screen: a crop of its left
       part for phones (what "cover" + "0% 20%" shows on a tall box), 1920 px wide, or 2560 for large or dense screens.
       The home page preloads the same AVIF (header.tpl); keep both in step. */
    background-image: url('../img/earth-1920.jpg');
    background-image: image-set(url('../img/earth-1920.avif') type('image/avif'), url('../img/earth-1920.webp') type('image/webp'), url('../img/earth-1920.jpg') type('image/jpeg'));
    background-size: cover;
    background-position-y: 20%;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
    padding-top: 30vmin;
    padding-bottom: 30vmin;
    box-sizing: content-box;
    -webkit-mask-image: linear-gradient( 175deg, #000 75%, transparent 75.2% );
    mask-image: linear-gradient( 175deg, #000 75%, transparent 75.2% );
}

@media (max-width: 480px)
{
    #hero
    {
        background-image: url('../img/earth-movil.jpg');
        background-image: image-set(url('../img/earth-movil.avif') type('image/avif'), url('../img/earth-movil.webp') type('image/webp'), url('../img/earth-movil.jpg') type('image/jpeg'));
    }
}

@media (min-width: 1367px), (min-width: 961px) and (min-resolution: 1.5dppx)
{
    #hero
    {
        background-image: url('../img/earth-2560.jpg');
        background-image: image-set(url('../img/earth-2560.avif') type('image/avif'), url('../img/earth-2560.webp') type('image/webp'), url('../img/earth-2560.jpg') type('image/jpeg'));
    }
}

/* home headline: fluid size (3 or 4 lines on phones, never more than 2 on desktop) and the leading of a title; the
   subtitle with the leading of a paragraph (Jesús, 03-11-2026) */
#hero h1
{
    font-size: clamp(1.625rem, 1.09rem + 2.39vw, 3.25rem);
    line-height: 1.18;
    max-width: 90%;
}

#hero h2
{
    font-size: clamp(1.125rem, 0.75rem + 1.6vw, 2rem); /* 2rem on desktop as before; ~18px on phones, under the headline */
    line-height: 1.45;
}

@media only screen and (max-width: 760px)
{
    #hero h1
    {
        max-width: 100%;
    }
}

/* the two calls to action of the home page, on the photo: the secondary one white on a dark veil, and a white focus
   ring (the blue one is lost on the photo) */
.hero-botones
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8em;
    margin-top: 1.6em;
}

#hero .pag-boton-sec
{
    color: #fff !important;
    border-color: #fff;
    background-color: rgba(0, 0, 0, .45);
}

#hero .pag-boton-sec:hover
{
    background-color: rgba(0, 0, 0, .65);
}

#hero :focus-visible
{
    outline-color: #fff;
}

/* desktop: the size of .tienda-boton, so they do not look small under the headline (Diseño, 03-11-2026); the
   secondary one discounts its 2px border to keep both the same height */
@media only screen and (min-width: 761px)
{
    .hero-botones .pag-boton
    {
        font-size: 1.1em;
        padding: .75em 1.4em .7em;
    }

    .hero-botones .pag-boton-sec
    {
        font-size: 1.1em;
        padding: calc(.75em - 2px) calc(1.4em - 2px) calc(.7em - 2px);
    }
}

@media only screen and (max-width: 760px)
{
    /* room below, so the diagonal cut of the photo never clips the second button */
    .hero-botones
    {
        margin-bottom: 3em;
    }

    .hero-botones a
    {
        flex: 1 1 100%;
    }
}

#services
{
    top: -18vh;
    margin-top: -20vmin;
}

/* #services is pulled up over the bottom of the photo: its empty box must not swallow the clicks meant for the
   buttons of the photo; the cards themselves stay clickable */
#services
{
    pointer-events: none;
}

#services a
{
    pointer-events: auto;
}

section#customers
{
    padding-top: 8vh;
}

div.center
{
    margin: auto;
}

.container, article
{
    max-width: 1024px;
    width: 100%;
    margin: auto;
}

/* .portada-titulo: the other titles of the home page, h2 since the page has one h1 (SEO, 03-11-2026), with the look they had */
h1, .portada-titulo
{
    font-size: 8vh;
    max-width: 80%;
    margin: auto;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h2
{
    margin: auto;
    text-align: center;
    font-size: 2em;
    line-height: 120%;
}

h6 {
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

article, .page {
    margin-top: 2em;
    line-height: 1.5;
    padding-left: 1em;
    padding-right: 1em;
}

article h1, .page h1 {
    font-size: 2.5em !important;
    max-width: 100%;
    margin: 0 auto 0.5em;
    font-weight: bold;
    text-align: center;
}

article h2, .page h2 {
    margin: 1em auto 0.5em;
    font-size: 1.5em;
    line-height: 120%;
    text-align: left;
}

article .rating {
    color: #666;
    font-size: 1.25em;
    margin-bottom: 1em;
}

article .rate {
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    border-left: 4px solid var(--secondary-color);
    margin-top: 1em;
    font-size: 1.5em;
}

article .rate button {
    border: 0;
    background: transparent;
    color: var(--secondary-color);
    font-size: 1em;
    line-height: 1em;
    cursor: pointer;
}

article .rate button:hover {
    color: var(--primary-color);
}

.captchaImage {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

#contact .captchaImage img {
    height: 2.7em;
}

#contact .captchaImage input {
    width: 11ch;
    text-align: center;
}

.alert {
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    margin-top: 1em;
    font-size: 1em;
}

.alert-error {
    border-left: 4px solid var(--alert-error);
}

.alert-success {
    border-left: 4px solid var(--alert-success);
}

.alert-secondary {
    border-left: 4px solid var(--secondary-color);
}

.alert-warning {
    border-left: 4px solid var(--alert-warning);
}

.hidden {
    display: none !important;
}

.fs-1-5 {
    font-size: 1.5em;
}

.flex-row
{
    display: flex;
    flex-wrap: wrap;
}

.flex-column
{
    display: flex;
    flex-direction: column;
}

.services {
    padding-top: 2em;
    display: flex;
    flex-direction: column;
}

.services .service {
    width: 75%;
}

.services .service:nth-child(even) {
    margin-left: auto;
}

.service .btn {
    margin-top: 0.3em;
}

.service
{
    flex: 1 1 33.3%;
    position: relative;
    margin-top: 6.5em;
    margin-bottom: 4em;
}

/* home cards: each one is a link to its page, whole */
a.service
{
    color: inherit;
    text-decoration: none;
}

.service span.title, .service h2
{
    font-weight: bold;
    text-align: center;
    display: block;
    font-size: 2.5em;
    margin-bottom: 0.3em;
}

.service h2
{
    margin-top: 0;
    font-size: 2em;
}

.service span.tagline, .service h3
{
    display: block;
    color: var(--light-text);
    text-align: center;
    line-height: 120%;
    font-size: 1.25em;
}

.service:before, .service:after
{
    content: '';
    display: block;
    width: 5em;
    height: 5em;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -6.5em;
    /* both grow with transform only (smooth); animating background-size repaints the SVG every frame */
    transition: transform 0.4s ease-out;
    will-change: transform;
}

/* the circle */
.service:before
{
    border-radius: 50%;
    background: var(--brand-light-color) var(--brand-light-gradient);
    box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
}

/* the glyph, on top of the circle; it grows a little more than the circle (50% -> 60% of it) */
.service:after
{
    background: var(--service-icon, none) center / 50% no-repeat;
}

.service:hover:before, .service:focus-within:before
{
    transform: translateX(-50%) scale(1.2);
}

.service:hover:after, .service:focus-within:after
{
    transform: translateX(-50%) scale(1.44);
}

.service.design { --service-icon: url('../img/design.svg'); }
.service.cloud { --service-icon: url('../img/cloud.svg'); }
.service.onprem { --service-icon: url('../img/onprem.svg'); }
.service.development { --service-icon: url('../img/dev.svg'); }
.service.research { --service-icon: url('../img/research.svg'); }
.service.security { --service-icon: url('../img/security.svg'); }

#testimonials {
    margin-bottom: 15vh;
}

#testimonials .flex-row {
    display: grid;
    width: 100%;
}

#customers h1, #contact h1, #testimonials h1,
#customers .portada-titulo, #contact .portada-titulo, #testimonials .portada-titulo
{
    font-size: 3vw;
    text-align: center;
    line-height: 120%;
    max-width: 100%;
}

#services h2
{
    font-style: italic;
    color: var(--light-text);
}

.companies
{
    margin-top: 2em;
    width: 100%;
    height: 15em;
    background-color: #ededed;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 40' style='filter: saturate(0)' xmlns='http://www.w3.org/2000/svg'%3E%0A  %3Cfilter id='noiseFilter'%3E%0A    %3CfeTurbulence %0A      type='turbulence' %0A      baseFrequency='2' %0A      numOctaves='4' %0A      stitchTiles='stitch'/%3E%0A  %3C/filter%3E%0A  %0A  %3Crect width='100%25' height='100%25' style='opacity: 0.3' filter='url(%23noiseFilter)'/%3E%0A%3C/svg%3E");
    background-repeat: repeat;
    overflow: hidden;
    box-shadow: inset 0px 0px 1em rgba(0,0,0,0.3);
    margin-bottom: 5em;
    z-index: 20;
}

.companies .company
{
    display: inline-flex;
    width: 20em;
    height: 100%;
    margin-right: 2em;
    filter: grayscale(100%) brightness(20%) contrast(120%) brightness(800%);
    transition: filter 0.2s ease-out, opacity 0.2s ease-out;
}

.companies .company.augmented
{
    position: relative;
    filter: none;
    pointer-events: none;
}

.companies .company.augmented img
{
    opacity: 0.3;
    transition: opacity 0.2s ease-out;
    pointer-events: all;
}

.companies .company.augmented .gray-layer
{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    filter: grayscale(100%) brightness(20%) contrast(120%) brightness(800%);
    z-index: 10;
}

.companies .company.augmented .gray-layer + img
{
    opacity: 0;
}

.companies .company.augmented .gray-layer:hover
{
    opacity: 0 !important;
}

.companies .company img:hover, .companies .company.augmented .gray-layer:hover + img
{
    filter: none;
    opacity: 1 !important;
}

.testimonial {
    font-size: 1.3em;
    position: relative;
    grid-area: 1 / 1;
    width: min(100%, 36em);
    justify-self: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
}

/* the opening quote mark in front of the quote, in its first line, instead of floating over the heading */
.testimonial p {
    line-height: 1.5;
}

.testimonial p::before {
    content: '“';
    font-size: 2.8em;
    line-height: 0;
    vertical-align: -.48em; /* the top of the mark level with the capitals of the quote (Objectivity: “ from .512 to .735em) */
    margin-right: .06em;
    color: var(--primary-color);
}

.testimonial.active {
    opacity: 1;
}

.testimonial .author {
    margin-top: 0.5em;
    float: right;
    color: var(--light-text)
}

@keyframes scroll
{
    0%
    {
        transform: translateX(0);
    }

    100%
    {
        transform: translateX(calc(-22em * 7));
    }
}

.companies .scroll-track
{
    overflow: hidden;
    height: 100%;
    display: inline-flex;
    animation: scroll 45s linear infinite;
}

.companies:hover .scroll-track
{
    animation-play-state: paused;
}

.company img
{
    width: 100%;
    max-height: 60%;
    object-fit: contain;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#contact {
    margin-top: 2em;
    padding-top: 0;
}

label
{
    display: block;
    font-size: 2em;
    margin-bottom: 0.5em;
    line-height: 120%;
}

input, textarea, .btn, select
{
    transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
    width: 100%;
    background: none;
    appearance: none;
    border-radius: 0.5em;
    padding: 0.5em;
    margin-bottom: 2em;
    border: 2px solid #ccc;
    font-size: 1.2em;
    font-family: 'Objectivity', "Open Sans", "Segoe UI", Helvetica, Roboto, sans-serif;
    resize: none;
    box-sizing: border-box;
}

#contact textarea
{
    line-height: 1.5;
}

input:focus, textarea:focus, .btn:focus, select:focus
{
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

input:invalid, textarea:invalid, select:invalid
{
    outline: none;
    box-shadow: 0px 1px 4px rgba( 240, 35, 50, 0.5 );
    border-color: var(--alert-error);
}

#contact input#send, input[type="button"], input[type="submit"], .btn
{
    border: none;
    color: white !important;
    font-weight: bold;
    text-shadow: 0px 1px 0.4px rgba(0, 0, 0, 0.5);
    background-color: var(--primary-color);
    background-image: var(--brand-gradient);
    line-height: 1em;
    font-size: 2em;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0) inset, 0px 3px 7px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding-top: 0.55em;
    padding-bottom: 0.45em;
    transition: all 0.2s ease-out;
}

#contact input#send:hover, input[type="button"]:hover, input[type="submit"]:hover, .btn:hover
{
    background-color: var(--dark-primary-color);
    background-image: linear-gradient(to bottom, var(--dark-primary-color), var(--dark-secondary-color));
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0) inset, 0px 3px 7px rgba(0, 0, 0, 0.3) !important;
}

#contact input#send:focus, input[type="button"]:focus, input[type="submit"]:focus, .btn:focus
{
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0) inset, 0px 3px 7px rgba(0, 0, 0, 0.2) !important;
}

/* Keyboard focus: a solid 3 px ring away from the element; white on the blue header so it is not lost */
:focus-visible
{
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}
header :focus-visible
{
    outline-color: #fff;
}
/* the logo link has no box of its own (the logo is an absolute block inside an inline <a>), so its ring was drawn
   around nothing: the ring goes on the logo while its link has the focus */
header a:focus-visible > .logo
{
    outline: 3px solid #fff;
    outline-offset: -3px;
}

#contact input#send:active, input[type="button"]:active, input[type="submit"]:active, .btn:active
{
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.2) inset !important;
    text-shadow: 0px -1px 0.4px rgba(0, 0, 0, 0.2);
}

.btn {
    display: block;
    text-align: center;
    margin: auto;
    margin-bottom: 1em;
}

.btn.disabled
{
    background-color: var(--dark-primary-color);
    background-image: linear-gradient(to bottom, var(--dark-primary-color), var(--dark-secondary-color));
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-lg {
    width: 90%;
}

.btn-l {
    width: 50%;
}

.btn-xs {
    font-size: .8em;
    width: auto;
}

.btn-m {
    font-size: 1.3em;
}

#contact .wrap
{
    display: flex;
}

#contact #form, #contact #details
{
    flex: 1;
}

#contact #details
{
    padding-left: 2em;
    padding-right: 2em;
}

#contact #details h2
{
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 2em;
}

article .reasons {
    margin-bottom: 2em;
}

article .reason {
    margin-top: 1em;
}

article .reason::after {
    content: '';
    border-bottom: 3px solid #ccc;
    display: block;
    width: 50%;
    margin: auto;
    border-radius: 100%;
    margin-top: 1em;
}

article .reasons .reason:last-child::after {
    border-bottom: 0;
    margin-top: 2em;
}

article .reason#security i, article .reason#unification i {
    color: var(--secondary-color);
}

article .reason#unification i {
    background: #080;
    border-radius: 50%;
    width: 24px;
    margin-right: 3px;
    margin-left: 3px;
}

article .reason#support i, article .reason#start i {
    color: #0a0;
}

article .reason#custom i {
    color: #69a;
}

article .reason#performance i, article .reason#today i {
    color: #fa0;
}

article .reason#games i {
    color: #555;
}

article .reason#innovation i {
    color: #999;
}

article .reason p {
    padding-left: 30px;
}

article .reason i {
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.6);
    width: 30px;
    text-align: center;
}

.products {
    justify-content: space-between;
    margin-top: 2em;
    margin-bottom: 2em;
}

.products .product {
    position: relative; /* the "Destacado" ribbon is placed against the card */
    transition: all 0.3s ease-out;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    border-radius: 0.5em;
    border-bottom: 4px solid var(--secondary-color);
    width: 30%
}

.products .product .product-header {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    background-color: var(--primary-color);
    background-image: var(--brand-gradient);
    color: #fff;
    font-weight: bold;
    font-size: 1.5em;
    padding: 0.5em;
    text-align: center;
}

.products .product.featured {
    transform: scale(1.07);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
}

.products .product:hover {
    transform: scale(1.07);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
}

.products .product .features {
    margin: 1.5em 0;
    padding-left: 1em;
    padding-right: 1em;
}

.product-body .feature {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #ccc;
}

.product-body .feature:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.product-body .feature .feature-value {
    font-weight: bold;
}

.product-body .price {
    font-size: 2em;
    font-weight: bold;
    color: var(--link-color);
    text-align: center;
    margin: 0.5em 0;
}

.product-body .price small {
    font-size: 0.6em;
    display: block;
}

.products-page hr {
    margin-top: 2em;
    margin-bottom: 2em;
    color: var(--light-text);
    border-radius: 50%;
}

.products-page ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.products-page ul li {
    margin-left: 1em;
    margin-right: 1em;
    flex: 1 1 45%;
    padding: .5em;
    display: block;
}

.products-page ul li i {
    margin-right: 0.5em;
    margin-top: 1px;
}

.switcher {
    justify-content: right;
}

.switch {
    position: relative;
    display: inline-block;
    width: 5em;
    height: 2.5em;
    font-size: 1em;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 2.5em;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 2em;
    width: 2em;
    left: .3em;
    bottom: .25em;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--primary-color);
}

.switch input:checked + .slider:before {
    transform: translateX(2.4em);
}

.switcher #billing-text {
    margin-top: .6em;
    margin-left: .5em;
    width: 10em;
}

.switch span.pre, .switch span.post {
    display: block;
    position: absolute;
    line-height: 2.5em;
}

.switch span.pre {
    right: 110%;
}

.switch span.post {
    left: 110%;
}

.ribbon {
    --f: .7em;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.8;
    padding-inline: 1lh;
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(
        100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    background-color: var(--alert-error);
}

.page.cart #cart {
    width: 65%
}

.page.cart table {
    width: 100%;
}

.page.cart .empty-cart {
    display: inline;
}

.page.cart .empty-cart button {
    margin: 0;
    position: relative;
    left: 75%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.page.cart table tbody {
    margin-bottom: 1em;
}

.page.cart table th {
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    background-color: var(--primary-color);
    background-image: var(--brand-gradient);
    color: #fff;
}

.page.cart table th:first-child {
    border-top-left-radius: 0.5em;
    text-align: left;
    padding-left: 1em;
}

.page.cart table th:last-child {
    border-top-right-radius: 0.5em;
    text-align: right;
    padding-right: 1em;
}

.page.cart table input[type="number"] {
    width: 3.5em;
    text-align: center;
    margin: 0.5em 0 0.5em 0;
}

.page.cart table tr td {
    text-align: center;
    padding-top: .5em;
    padding-bottom: .5em;
}

.page.cart table tr td:first-child {
    text-align: left;
    padding-left: 1em;
}

.page.cart table tr td:last-child {
    text-align: right;
    padding-right: 1em;
}

.page.cart table tr td[colspan="2"] {
    font-weight: bold;
    padding-top: 1em;
    text-align: center;
}

.page.cart table tr:first-child td {
    padding-top: 1em;
}

.page.cart table tr:last-child td {
    padding-bottom: 1em;
}

.page.cart table tr small {
    display: block;
    font-size: 0.8em;
    margin-left: 1.3em;
}

.page.cart table tr small ul {
    margin: 0;
    color: var(--background-dark);
}

.page.cart table tr small ul li {
    margin: 0;
    list-style: none;
}

.page.cart #orderSummary {
    width: 30%;
    height: fit-content;
}

.page.cart #orderSummary #checkout {
    margin-top: 1em;
}

.page.cart #applyPromo {
    margin-top: 2em;
}

.page.cart #applyPromo form {
    margin-top: 1em;
}

.page.cart #applyPromo input {
    width: 25em;
    display: inline-block;
    margin-bottom: 1em;
}

.page.cart #applyPromo button {
    width: 10em;
    display: block;
}

section .center
{
    padding-left: 1em;
    padding-right: 1em;
}

p.legalese
{
    margin-top: 1em;
}

p.legalese a
{
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.2em;
    margin-left: 0.2em;
}

p.legalese a:first-child
{
    margin-left: 0;
}

p.legalese a:hover
{
    color: white;
}

/* Copyright and legal links, inside the footer (footer.tpl) since 03-11-2026: same block, no background or shadow of
   their own, at the width of the footer columns and under a thin line like the lines of the footer lists. */
footer .copyright
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: .4em 1.5em;
    position: relative;
    margin-top: 2em;
    padding-top: 1.2em;
    color: #bbb; /* 8.7:1 on the footer */
    line-height: 1.4;
}

footer .copyright::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #666;
}

/* legal links: white like the footer links, light blue on hover. The "|" of the markup are hidden (font-size 0) and
   drawn as a short line in front of each link; the box clips the one that starts a line, so a wrapped line never
   begins or ends with a separator. Each link stays whole and finger-sized. */
footer .copyright-links
{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* "footer div" spreads its items: here they go one after the other */
    font-size: 0;
    overflow: hidden;
    margin-left: -.7rem;
}

footer .copyright-links a
{
    position: relative;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.4;
    min-height: 44px; /* finger-sized (render gate: 44 px on phones) */
    box-sizing: border-box;
    padding: .675em .7rem;
    margin-left: -1px;
    transition: color 0.1s ease-out;
}

footer .copyright-links a::before
{
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - .45em);
    height: .9em;
    border-left: 1px solid #888;
}

footer .copyright-links a:hover
{
    color: var(--brand-light-color) !important; /* footer a sets white with !important */
}

footer .copyright-links a:focus-visible
{
    outline: 3px solid #fff;
    outline-offset: -3px;
    border-radius: .2em;
}

.text-center
{
    text-align: center !important;
}

.box {
    box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
    border-bottom: 3px solid var(--primary-color);
}

.box h2 {
    margin-top: 0;
    margin-bottom: 0;
    /* White on the brand gradient: 4.56:1 at the top, just over AA. Do not make this title smaller or lighter. */
    background-color: var(--primary-color);
    background-image: var(--brand-gradient);
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
    padding-top: .3em;
    text-align: center;
    color: #fff;
    font-weight: bold;
    padding-bottom: 0.15em;
}

.box-content {
    padding: 1em !important;
}

.mt-1 {
    margin-top: 1em !important;
}

.ml-1 {
    margin-left: 1em !important;
}

.ml-2 {
    margin-left: 2em !important;
}

.flex-column.pull-right {
    text-align: right !important;
}

.flex-row.pull-right {
    justify-content: right !important;
}

.flex-row.space-between {
    justify-content: space-between !important;
}

@media only screen and (max-width: 1024px)
{
    #customers h1, #contact h1, #customers .portada-titulo, #contact .portada-titulo
    {
        font-size: 2.5em;
    }

    h1, .portada-titulo
    {
        font-size: 2.5em;
    }

    h2
    {
        font-size: 1.5em;
    }

    .service
    {
        flex: 1 1 50%;
    }
}

@media only screen and (max-width: 760px)
{
    .service
    {
        flex: 1 1 100%;
    }

    main
    {
        padding-top: 4em;
    }

    header
    {
        height: 4em;
        padding: 0;
    }

    header .menu-boton
    {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 4em;
        height: 4em;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        /* the lines of menu.svg sit high and a little inside in their box: placed so that they end at the right margin of
           the content (16 px), and 2 px under the measured centre of the logo, which looks better (Jesús, 03-11-2026).
           The button's em is the 13.33 px of a <button>, hence the fixed 2px. */
        background: url('../img/menu.svg') right .82em top calc(50% + .14em + 2px) / auto 60% no-repeat;
        box-shadow: none;
        cursor: pointer;
    }

    header .menu-boton:focus-visible
    {
        outline-offset: -6px;
    }

    /* the menu rows touch each other: a ring outside the link is hidden under the next row */
    header .nav a:focus-visible
    {
        outline-offset: -4px;
    }

    .nav .nav-texto
    {
        display: inline;
        margin-left: .7em; /* room for a two-digit counter between the cart and "Cesta" */
        white-space: nowrap; /* at 360 px "Área de cliente" runs into the link's right padding instead of wrapping */
    }

    /* both icons back in the flow, in a box as wide as the cart, so that "Cesta" and "Área de cliente" start at the same
       place; the negative margin takes back what the link's padding-top lowers them */
    .nav li a i, .nav li a .fa-shopping-cart
    {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        flex: none;
        width: 1.125em;
        margin-top: -.15em;
        text-align: center;
    }

    /* the user icon 2px over the centre of the row (Jesús, 03-11-2026) */
    .nav li a .fa-user
    {
        top: -2px;
    }

    /* the counter, out of the flow and centred on the top right corner of the cart. Its left is the static position,
       where the icon starts */
    .nav li a small
    {
        position: absolute;
        top: 50%;
        left: auto;
        margin: -.9em 0 0 1.8em;
        transform: translate(-50%, -50%);
    }

    header .nav
    {
        position: fixed;
        left: 0;
        top: 4em;
        box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
        bottom: unset;
        transform: translateY(-100%);
        transition: transform 0.25s ease-in-out;
        z-index: -1;
    }

    header .logo
    {
        background-position: left center;
        margin-left: 1em;
    }

    body.nojs header:hover .nav, body.nojs  header:active .nav, header.open .nav,
    header .nav:focus-within /* without JS, tabbing into the closed menu shows it, so the focused link is never hidden */
    {
        transform: none;
    }

    /* Closed, with JS, the menu is out of the tab order and of what a screen reader reads: only the button opens it
       (UX 23). It is hidden once it has slid up, and shown as soon as it starts to slide down. */
    body:not(.nojs) header:not(.open) .nav
    {
        visibility: hidden;
        transition: transform 0.25s ease-in-out, visibility 0s 0.25s;
    }

    .nav li
    {
        display: flex;
        height: 2em;
        font-size: 2em;
        background-color: var(--primary-color);
        border-top: 2px solid rgba(0, 0, 0, 0.3);
        border-left: 0px;
        border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 1px, rgba(255, 255, 255, 0.5) 2px) 3;
    }

    header .contents
    {
        background-image: linear-gradient(to bottom, var(--header-top-color), var(--primary-color));
        position: relative;
    }

    /* padding instead of a margin above the text: with the margin, the last link stuck out 2px under the bar while the
       menu was closed, an invisible strip that could be tapped (render gate) */
    .nav a
    {
        width: 100%;
        padding-top: 0.15em;
        box-sizing: border-box;
    }

    .nav li:hover
    {
        background-color: var(--dark-primary-color);
    }

    #hero
    {
        min-height: 40vh;
        -webkit-mask-image: linear-gradient( 175deg, #000 90%, transparent 90.2% );
        mask-image: linear-gradient( 175deg, #000 90%, transparent 90.2% );
        margin-bottom: 3em;
        padding-top: 25vh;
        padding-bottom: 10vh;
    }

    #contact .wrap
    {
        display: block;
    }

    #testimonials h1, #testimonials .portada-titulo
    {
        font-size: 2em;
    }

    .services .service
    {
        width: 100%;
    }

    label
    {
        font-size: 1.5em;
    }

    /* Store: one card per row */
    .products
    {
        flex-direction: column;
        gap: 2em;
    }

    .products .product, .products .product.featured, .products .product:hover
    {
        width: 100%;
        transform: none;
    }

    .products-page ul li
    {
        flex: 1 1 100%;
    }

    /* Cart: products, then the summary */
    .page.cart > .flex-row.space-between
    {
        flex-direction: column;
        gap: 2em;
    }

    .page.cart #cart, .page.cart #orderSummary, .page.cart #applyPromo input
    {
        width: 100%;
    }

    .page.cart .empty-cart button
    {
        left: auto;
    }
}

@media only screen and (max-width: 1700px) and (min-width: 760px)
{
    #customers h1, #contact h1, #customers .portada-titulo, #contact .portada-titulo
    {
        font-size: 3.2em;
    }
}

/* Round icons (home services, store "incluye", /servicios): no growing for people who ask for less motion */
@media (prefers-reduced-motion: reduce)
{
    .tienda-incluye > div::before, .tienda-incluye > div::after, .tienda-incluye .icono, .tienda-incluye .icono i,
    .servicio .icono::before, .servicio .icono::after
    {
        transition: none !important;
        transform: none !important;
    }

    /* the home icons are centred with translateX(-50%): keep it, drop only the scale */
    .service:before, .service:hover:before, .service:focus-within:before,
    .service:after, .service:hover:after, .service:focus-within:after
    {
        transition: none !important;
        transform: translateX(-50%) !important;
    }
}

/* Confirmations and notices (js/base.js, dabbleamDialog): a dialog with the site's look instead of confirm()/alert().
   The card of the cart (white, .6em radius, same shadow), centred by showModal(); destructive actions in red. */
.dialogo
{
    border: 0;
    border-radius: 0.6em;
    padding: 1.5em;
    width: min(400px, calc(100vw - 2em));
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 60, 110, 0.14), 0 12px 40px rgba(0, 40, 80, 0.25);
    color: #0b2a40;
    line-height: 1.5;
}

.dialogo::backdrop
{
    position: fixed;
    inset: 0;
    background: rgba(11, 42, 64, 0.55);
}

.dialogo h2
{
    margin: 0 0 0.4em;
    font-size: 1.25em;
    font-weight: bold;
    text-align: left;
    line-height: 1.3;
}

.dialogo p
{
    margin: 0;
    color: #4a5866;
}

.dialogo-botones
{
    display: flex;
    gap: 0.8em;
    justify-content: flex-end;
    margin-top: 1.4em;
}

.dialogo-botones button
{
    height: 48px;
    padding: 0 1.3em;
    font: inherit;
    font-weight: bold;
    border-radius: 0.45em;
    cursor: pointer;
}

.dialogo-no
{
    background: #fff;
    border: 2px solid var(--link-color);
    color: var(--link-color);
}

.dialogo-no:hover
{
    background: #f3f9fe;
}

.dialogo-si
{
    background: var(--brand-gradient);
    border: 2px solid transparent;
    color: #fff;
}

.dialogo-si.peligro
{
    background: #d01c2a;
}

.dialogo-si.peligro:hover
{
    background: #b01722;
}

.dialogo-botones button:focus-visible
{
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Contact form (contact page and home page) in the client area card: white, .6em radius, the usual shadow; 48 px
   fields; the button as .tienda-boton at 1.1em, without the big shadow (Diseño, 02-11-2026). CSS only. */
#contact #form
{
    background: #fff;
    border-radius: .6em;
    box-shadow: 0 2px 12px rgba(0, 60, 110, .14);
    padding: 1.5em;
    margin-bottom: 2.5em;
}

#contact #form :is(input[type="text"], input[type="email"], input[type="subject"])
{
    min-height: 48px;
}

#contact input#send
{
    display: block;
    width: auto;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.2;
    padding: .75em 2em .7em;
    border-radius: .45em;
    text-shadow: 0 1px .4px rgba(0, 0, 0, .35);
    box-shadow: 0 2px 6px rgba(0, 60, 110, .25) !important;
}

#contact input#send:hover
{
    background: var(--secondary-color);
    box-shadow: 0 2px 6px rgba(0, 60, 110, .25) !important;
}

@media only screen and (max-width: 760px)
{
    #contact #form
    {
        padding: 1em;
    }

    /* inside the card the picture and the field may not fit side by side: then both centred, like the text above */
    #contact .captchaImage
    {
        justify-content: center;
        gap: .4em;
    }

    #contact input#send
    {
        width: 100%;
    }
}

/* Contact page: the other ways to reach us, above the form */
#contact .contacto-otras
{
    text-align: center;
    margin: 0 auto 1.5em;
    line-height: 1.5;
}

/* /servicios: the domain link on a line of its own, finger-sized without moving the text around it */
.servicios-dominio a
{
    display: inline-block;
    padding: 14px 0;
    margin: -14px 0;
}
