/* -------------------
COLORS
---------------------- */
.maincol {
    color: #ff9900 !important;
}
.insticol {
    color: #375c00 !important;
}
.compcol {
    color: #1e448a !important;
}
.indcol {
    color: #af004e !important;
}
.blackcol {
    color: #212121 !important;
}
.txtcol {
    color: #212121 !important;
}
.auxcol {
    color: #999 !important;
}

/* -------------------
DESKTOP
---------------------- */
*,
*::after,
*::before {
    box-sizing: border-box;
}
* {
    transition: all 0.25s;
}
:focus {
    outline: 0;
}
html {
    width: 100%;
    height: 100%;
    border: 0;
    touch-action: manipulation;
    font-size: calc(16px + 0.390625vw);
    scroll-behavior: smooth;
}
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--background-col);
    width: 100%;
    height: 100%;
    margin: 0;
}
h1,
h2,
h3 {
    font-family: var(--font-family);
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.2rem;
}
p {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6rem;
    color: var(--txt-col);
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    text-align: justify;
    font-weight: 400;
}
a,
a:visited {
    color: var(--link-col);
    text-decoration: none;
    font-weight: 400;
}
a:hover {
    color: var(--link-col);
}
.ul {
    padding: 1rem 2rem 1rem;
}
.ul li {
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--txt-col);
    line-height: 1.6rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: left;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}
.clear {
    clear: both;
}
.center {
    text-align: center !important;
}
.left {
    text-align: left !important;
}
.right {
    text-align: right !important;
}
.underline {
    text-decoration: underline;
}
.automargin {
    margin: 0 auto;
}
.hidden {
    visibility: hidden;
}
.baseline {
    vertical-align: baseline !important;
}
.oblique {
    font-style: oblique;
}
.italic {
    font-style: italic;
}
.inblock {
    display: inline-block;
}
.nomark {
    list-style-type: none;
}
/* -------------------
CONTAINERS
---------------------- */
#content {
    width: 100%;
    margin: 0 auto;
    background-color: var(--background-col);
    text-align: center;
    display: block;
    /*padding: 0.5rem 5%;*/
}
.container {
    width: 100%;
    height: auto;
}
.container .content {
    padding: 0.5rem 5%;
}
/* -------------------
BREADCRUMB
---------------------- */
#breadcrumb {
    width: 100%;
    padding: 0.2rem 0;
    color: var(--var-breadcrumb-col, #333);
    background-color: var(--var-breadcrumb-bg);
    font-family: var(--font-family);
    box-sizing: border-box;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 5%;
    font-size: 0.7rem;
    justify-content: flex-start;
    align-items: center;
}

.breadcrumb li a {
    text-decoration: none;
    color: var(--var-breadcrumb-col, #333);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--var-breadcrumb-col, #333);
    opacity: 0.6;
    font-weight: bold;
    padding: 0 0.2rem;
    -webkit-user-select: none;
    user-select: none;
}

.breadcrumb-icon {
    width: 1rem;
    height: 1rem;
    stroke: var(--var-breadcrumb-col, #333);
    vertical-align: middle;
}

/* -------------------
SECTIONS
---------------------- */
/* Code para Background IMG */
.section-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.6) 100%);
    z-index: 0;
}
.section-background > * {
    position: relative;
    z-index: 1;
}
/* URL's para Code Backgrounds */
#our-mission {
    background-image: url("/images/backgrounds/our-mission.webp");
}
#core-services {
    background-image: url("/images/backgrounds/business.webp");
}
#our-values {
    background-image: url("/images/backgrounds/our-values.webp");
}
#leadership {
    background-image: url("/images/backgrounds/leadership.webp");
}
#our-commitment {
    background-image: url("/images/backgrounds/our-commitment.webp");
}
#intellectual-property {
    background-image: url("/images/backgrounds/intellectual-property.webp");
}
#human-rights {
    background-image: url("/images/backgrounds/human-rights.webp");
}
#data-protection {
    background-image: url("/images/backgrounds/data-protection.webp");
}
#eu-gender {
    background-image: url("/images/backgrounds/eu-gender.webp");
}
#dei {
    background-image: url("/images/backgrounds/dei.webp");
}
#gbv {
    background-image: url("/images/backgrounds/gbv.webp");
}
#ethic-advisors {
    background-image: url("/images/backgrounds/ethic-advisors.webp");
}
#ethic-committees {
    background-image: url("/images/backgrounds/ethic-committees.webp");
}
#training-open-science {
    background-image: url("/images/backgrounds/training-open-science.webp");
}
#research-integrity {
    background-image: url("/images/backgrounds/research-integrity.webp");
}
#fair-principles {
    background-image: url("/images/backgrounds/fair-principles.webp");
}
#granted-projects {
    background-image: url("/images/backgrounds/granted-projects.webp");
}
#esg {
    background-image: url("/images/backgrounds/esg.webp");
}
#company-law {
    background-image: url("/images/backgrounds/company-law.webp");
}
#employment-law {
    background-image: url("/images/backgrounds/employment-law.webp");
}
#international-law {
    background-image: url("/images/backgrounds/international-law.webp");
}
#comp-human-rights {
    background-image: url("/images/backgrounds/comp-human-rights.webp");
}
#comp-open-science {
    background-image: url("/images/backgrounds/comp-open-science.webp");
}
#business-ethics {
    background-image: url("/images/backgrounds/business-ethics.webp");
}
#team-building {
    background-image: url("/images/backgrounds/team-building.webp");
}
#change-management {
    background-image: url("/images/backgrounds/change-management.webp");
}
#comp-fair-principles {
    background-image: url("/images/backgrounds/comp-fair-principles.webp");
}
#scenario-planning {
    background-image: url("/images/backgrounds/scenario-planning.webp");
}
#accounting {
    background-image: url("/images/backgrounds/accounting.webp");
}
#employment-affairs {
    background-image: url("/images/backgrounds/employment-affairs.webp");
}
#official-records {
    background-image: url("/images/backgrounds/official-records.webp");
}
#inheritance-law {
    background-image: url("/images/backgrounds/inheritance-law.webp");
}
#real-estate {
    background-image: url("/images/backgrounds/real-estate.webp");
}
#accountant {
    background-image: url("/images/backgrounds/accountant.webp");
}
#ind-official-records {
    background-image: url("/images/backgrounds/ind-official-records.webp");
}
#contact-phone {
    background-image: url("/images/backgrounds/contact-phone-bg.webp");
}
#contact-mail {
    background-image: url("/images/backgrounds/contact-mail-bg.webp");
}
#contact {
    background-color: var(--contact-bg);
}
#contact p,
#contact h2 {
    color: var(--c-text);
}
/* ITEMS by Sections */
.iconsection svg {
    display: inline-block;
    width: 60%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}
#contact-phone h2,
#contact-form h2,
#contact-mail h2,
#our-mission h2,
#core-services h2,
#our-values h2,
#leadership h2,
#our-commitment h2 {
    margin-bottom: 3rem;
    color: #ff9900;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
#core-services .cardtitle h2 {
    color: #42587e;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
#core-services .iconabout {
    width: 250px;
    height: auto;
}
#our-values .cardtitle h2 {
    color: #375c00;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
.svgshadow {
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

/* OPEN SCIENCE */
#intellectual-property .iconsection svg,
#human-rights .iconsection svg,
#data-protection .iconsection svg {
    display: inline-block;
    --icon-core-services: #375c00;
}
#granted-projects .iconsection svg {
    display: inline-block;
    --icon-granted-projects: #375c00;
}
#granted-projects .iconsection h2,
#intellectual-property .iconsection h2,
#human-rights .iconsection h2,
#data-protection .iconsection h2 {
    color: #375c00;
    text-align: center;
}
#granted-projects h2,
#granted-projects h3,
#intellectual-property h2,
#human-rights h2,
#data-protection h2 {
    color: #375c00;
}
#granted-projects h3 {
    font-size: 1rem;
}
/*COMPANIES*/
#employment-law .iconsection svg,
#company-law .iconsection svg,
#esg .iconsection svg {
    display: inline-block;
    --icon-core-services: #1e448a;
}
/*COMPANY LAW*/
#comp-human-rights .iconsection h2,
#international-law .iconsection h2,
#employment-law .iconsection h2,
#company-law .iconsection h2,
#esg .iconsection h2 {
    color: #1e448a;
    text-align: center;
}
#comp-human-rights h2,
#international-law h2,
#employment-law h2,
#company-law h2,
#esg h2 {
    color: #1e448a;
}
/*COMPANY TRAINING*/
#change-management .iconsection h2,
#team-building .iconsection h2,
#business-ethics .iconsection h2,
#comp-open-science .iconsection h2,
#esg .iconsection h2 {
    color: #1e448a;
    text-align: center;
}
#change-management h2,
#team-building h2,
#business-ethics h2,
#comp-open-science h2,
#esg h2 {
    color: #1e448a;
}
/* -------------------
HEADER y NAVBAR
---------------------- */
header {
    width: 100%;
    padding: 0.5rem 5%;
    background: var(--header-bg);
    transition: background 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: 200px;
}
.logo img {
    width: min(200px, 10vw);
    height: auto;
}
/* --- RIGHT IMG --- */
.header-img img {
    width: min(200px, 10vw);
    height: auto;
}
/* --- HEADER SLOGAN --- */
.slogan p {
    font-size: 2rem;
    font-weight: 800;
    color: inherit !important;
}
/* --- NAVBAR --- */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 0;
    font-family: var(--font-family);
}
.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.navbar-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 2;
    height: auto;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: baseline;
    color: var(--header-menu-color);
}
.nav-item {
    position: relative;
    margin: 0 1rem;
    list-style: none;
}
.nav-item a {
    text-decoration: none;
    color: var(--header-txt-col);
    font-size: 1.1rem;
    /*padding: 1rem;*/
    font-weight: 500;
}
/* MENÚ DESPLEGABLE */
.dropdown {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0%);
    background: var(--header-dropdown-bg);
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.nav-item:hover > .dropdown,
.nav-item .dropdown:hover {
    display: block;
    visibility: visible;
    opacity: 1;
}

.dropdown li {
    padding: 10px;
    border-bottom: 1px solid var(--header-dropdown-border-col);
    text-align: left;
    list-style: none;
}
.dropdown li:last-child {
    border-bottom: none;
}
.dropdown li a {
    font-size: 0.7rem;
    color: var(--header-dropdown-col);
    font-weight: 500;
}
.dropdown li a:hover {
    color: var(--header-dropdown-hover-col);
}
/* HERO */
.hero {
    color: var(--txt-col);
    padding: 0.5rem 5%;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 0;
}

.feature {
    width: 140px;
    text-align: center;
}
.feature-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.circle2,
.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--circle-bg);
    margin-bottom: 0.8rem;
}
.circle2 {
    background-color: var(--circle-bg2);
    border: 3px solid var(--circle-border);
}
.circleicon {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--circle-bg);
    margin-bottom: 0.8rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 3px solid #ff9900;
    margin: 0 auto;
}

.feature-icon {
    width: 60%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}
.feature:hover .feature-icon {
    transform: scale(1.5);
}

.feature h2 {
    font-size: 0.8rem;
    color: var(--feature-title-color);
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-align: center;
}
/* ICONOS ABOUT */
.iconabout {
    width: 200px;
    height: auto;
    margin: 0 auto;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 1s ease-out;
}

.iconabout.visible {
    transform: scale(1);
    opacity: 1;
}
.icon300 {
    width: 300px !important;
}
/* --- ICONOS A LA DERECHA --- */
.right-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: auto;
}
.right-icons a {
    font-size: 1.5rem;
    color: var(--header-txt-color);
    text-decoration: none;
}
/* --- RESPONSIVE MOBILE --- */
.mobile-icons {
    display: none;
}
/* -------------------
CARDS
---------------------- */
.cardflex {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
}
.card {
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    width: 100%;
    max-width: 800px;
    border-radius: 0.5rem;
    padding-bottom: 1rem;
    background-color: var(--card-bg);
    text-align: center;
    box-sizing: border-box;
}

.cardtitle {
    position: relative;
    padding: 1rem;
    font-family: var(--font-family);
    font-size: 1.5em;
    line-height: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin: 0 auto;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background-color: var(--cardtitle-bg);
    color: var(--cardtitle-col);
}
.cardtitle h2 {
    font-size: 1.2rem;
    text-align: center;
    color: #42587e;
    width: 100%;
}
.cardtxt {
    font-family: var(--font-family);
    color: var(--cardtxt-col);
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
}
.cardshadow {
    -webkit-box-shadow: var(--cardshadow);
    -moz-box-shadow: var(--cardshadow);
    box-shadow: var(--cardshadow);
}
.card.services {
    --card-bg: rgba(13, 47, 70, 0);
    --cardtitle-bg: rgba(221, 237, 248, 0);
}
.card.values {
    --card-bg: rgba(0, 0, 0, 0);
    --cardtitle-bg: rgba(0, 0, 0, 0);
}
.stickerflex {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: wrap;
    flex-flow: row wrap;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: center;
    align-items: stretch;
}
.sticker {
    flex: 1 1 auto;
    width: 360px;
    box-sizing: border-box;
    height: auto;
    margin-top: 20px;
    text-align: center;
    margin: 20px;
    border-radius: 10px;
    flex-grow: 1;
    background-color: var(--sticker-bg);
}
.stickershadow {
    -webkit-box-shadow: var(--stickershadow);
    -moz-box-shadow: var(--stickershadow);
    box-shadow: var(--stickershadow);
}
.logocards {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
/* -------------------
HORIZONTAL
---------------------- */
.h-block {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.icon-wrapper {
    width: 25%;
    max-width: 25%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper svg {
    width: 250px;
    height: auto;
}

.text-wrapper {
    width: 70%;
    max-width: 70%;
    padding: 2rem;
}
.text-wrapper h3 {
    font-size: 1.5rem;
    color: var(--title-sections-h3);
    padding-bottom: 2rem;
}
.fair {
    font-family: var(--font-family);
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 1rem;
}

.fair::first-letter {
    font-size: 130%;
    font-weight: 700;
    color: var(--title-sections-h3);
}
/* Alternar orden del icono en desktop */
.h-block.icon-right {
    flex-direction: row-reverse;
}
/* -------------------
ACCORDEON
---------------------- */

/* Encabezado <h2> contenedor del botón */
.accordeon-title {
    margin: 0 5px;
    padding: 0;
}

/* Botón que actúa como disparador del acordeón */
.accordeon-title button.accordeon-button {
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box; /* ← Añade esta línea */
    padding: 1rem;
    border-radius: 6px;
    transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2rem;
    text-align: left;
    background-color: #fafafa;
    color: #212121;
    cursor: pointer;
    word-break: break-word; /* ← Previene palabras largas que desbordan */
    overflow-wrap: break-word;
    max-width: 100vw; /* ← Limita el ancho al viewport */
}

/* Estilo activo del botón al estar abierto */
.accordeon-title button.accordeon-button.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #212121;
    background-color: #212121;
    color: #fafafa !important;
}

/* Contenedor del contenido del acordeón (cerrado por defecto) */
.accordeon {
    height: 0;
    overflow: hidden;
    padding: 0 5px;
    background-color: #fafafa;
    margin: 0 5px 1rem;
    text-align: justify;
    line-height: 1.5rem;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Cuando está abierto */
.accordeon.open {
    padding: 1rem;
    border: 1px solid #212121;
}

.ulcontent li {
    list-style-type: square;
    margin: 0;
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 400;
}
.olcontent li {
    margin: 0;
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}
/* -------------------
TABLES
---------------------- */
.infocomp {
    border-collapse: collapse;
    max-width: 1280px;
}
.infocomp td {
    margin: 0;
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    padding: 1rem;
}
.infocomp tr:nth-child(odd) {
    background: #fff;
}
.infocomp tr:nth-child(even) {
    background: #eee;
}
.dvctr {
    margin: 0 auto;
}
.flag {
    display: inline-block;
    padding: 0 10px 0 0;
    vertical-align: middle;
    width: 60px;
    height: auto;
}
/* -------------------
BUTTONS
---------------------- */
.spacer {
    flex-grow: 1;
}
.close2end {
    margin-top: 2rem;
    margin-top: auto;
    padding-bottom: 2rem;
}
.moreinfo {
    display: inline-flex;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    height: 48px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    background-color: transparent;
    transition: all 0.2s ease-out;
    border-radius: 4px;
    padding: 0 14px;
    font-weight: 500;
    border: 2px solid var(--moreinfo-bdr-col);
    color: var(--moreinfo-col);
}
.rightarrow {
    font-size: 12px;
    line-height: 0;
    -webkit-font-smoothing: antialiased;
    font-family: arrows;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    text-transform: none;
    position: relative;
    vertical-align: baseline;
    margin-left: 14px;
    transition: all 0.2s ease-out;
}
.rightarrow::before {
    content: "\eac8";
}
.moreinfo .rightarrow {
    color: var(--moreinfo-col);
}
.moreinfo:hover {
    background-color: var(--moreinfo-col);
    color: #fafafa;
}
.moreinfo:hover .rightarrow {
    color: #fafafa;
}

.back-to-top {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 30px;
    text-decoration: none;
    color: var(--var-back-to-top);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.back-to-top:hover {
    transform: scale(1.1);
    color: var(--var-back-to-top-hover);
}
.contactbtn {
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 160px;
    height: 120px;
    margin: 1.5em 0;
    cursor: pointer;
}

.c-phone {
    background-image: url(/images/contact/phone.svg);
}
.c-form {
    background-image: url(/images/contact/form.svg);
}
.c-email {
    background-image: url(/images/contact/email.svg);
}
.mobile-menu-hamburger {
    display: none;
}
.qr-button-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-page-btn {
    font-family: var(--font-family);
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background-color: #ff9900;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    outline: 3px solid #ff9900;
    outline-offset: 5px;
}

.contact-page-btn:hover,
.qr-button-row a:hover {
    color: #6a3700;
}
.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    margin-bottom: 1.5em;

    /* Centrado del contenedor principal */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;

    /* Contenido alineado a la izquierda */
    align-items: flex-start;
    border: 3px solid #ff9900;
    border-radius: 1rem;
    padding: 1rem;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 0.8em;
    font-size: 1.1em;
}

.phone-flag {
    width: 28px;
    height: auto;
    border-radius: 4px;
}

.phone-number {
    font-family: var(--font-family);
    color: var(--header-txt-col, #333);
    text-decoration: none;
}

.phone-number:hover {
    text-decoration: underline;
}

.email-reveal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#email-display a {
    font-family: var(--font-family);
    font-size: 1.2rem;
    color: #6a3700 !important;
}
.email-dpo-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}
.email-dpo-wrapper #email-display a {
    font-family: var(--font-family);
    font-size: 1.2rem;
    color: #212121 !important;
}
.email-hidden {
    display: none;
}

.email-visible {
    display: block;
}

ul.corporate {
    list-style: none;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem;
    border: 2px solid #ff9900;
    border-radius: 0.5rem;
    box-sizing: border-box;
}
ul.corporate li {
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--txt-col);
    line-height: 1.5rem;
    text-align: left;
    -webkit-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}
/* -------------------
*** FOOTER *** 
---------------------- */
/* -------------------
*** MOBILE ***
---------------------- */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    header {
        padding: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    #breadcrumb {
        display: none !important;
    }
    .container .content {
        padding: 0.5rem;
    }
    .cardflex {
        padding: 0;
    }
    .cardtxt {
        padding: 0.5rem;
    }
    .mobile-menu-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-right: 0 !important;
    }

    .mobile-menu-hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--header-txt-col, #000);
        border-radius: 2px;
    }

    #mobile-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        background-color: rgba(255, 255, 255, 0.7);
    }

    #mobile-menu-container.open {
        transform: translateX(0);
    }

    .mobile-menu {
        padding: 2rem;
        background-color: var(--mobile-menu-bg);
        font-family: var(--font-family);
        animation: fadeIn 0.3s ease;
    }

    .mobile-menu-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .mobile-menu-back,
    .mobile-menu-close {
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--mobile-menu-symb);
    }

    .mobile-menu-title {
        flex: 1;
        text-align: center;
        font-family: var(--font-family);
        font-size: 1.5rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--mobile-menu-title);
        opacity: 1;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        margin-bottom: 1.5rem;
    }

    .mobile-menu-list li a {
        font-family: var(--font-family);
        font-size: 1.1rem;
        color: var(--mobile-menu-txt);
        text-decoration: none;
        display: block;
        padding: 0.5rem 0;
    }

    .mobile-menu-list li a.mobile-menu-muted {
        color: var(--mobile-menu-txt2);
        pointer-events: auto;
        opacity: 1;
    }

    /* Submenús y secciones ocultables */
    .menu-section {
        display: none;
    }

    .menu-section:not(.hidden) {
        display: block;
    }

    /* Animación suave al mostrar secciones */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mobile-menu button::-moz-focus-inner {
        border: 0;
    }

    .header-img {
        display: none !important;
    }

    .slogan p {
        font-size: 1.3rem !important;
        text-align: center;
    }

    .navbar-center .slogan {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-top {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-center .nav-links {
        display: none !important;
        visibility: hidden;
        position: absolute;
        left: -9999px;
    }

    .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .logo img {
        width: 100px !important;
    }
    .icon-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .h-block.icon-right {
        flex-direction: column;
    }
    .h-block.icon-left {
        flex-direction: column;
    }
    .text-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    body.menu-open {
        overflow: hidden;
    }
    /* Elimina todos los estilos residuales de focus */
    .mobile-menu *:focus,
    .mobile-menu *:focus-visible,
    .mobile-menu-list a:focus,
    .mobile-menu-list a:focus-visible,
    .mobile-menu button:focus,
    .mobile-menu button:focus-visible {
        outline: none !important;
        background: none !important;
        box-shadow: none !important;
    }
    #mobile-menu-container * {
        -webkit-tap-highlight-color: transparent !important;
    }
    .mobile-menu-hamburger:focus,
    .mobile-menu-hamburger:active,
    .mobile-menu-hamburger:focus-visible {
        outline: none !important;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .mobile-menu-hamburger span {
        pointer-events: none;
    }
    .email-dpo-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .infocomp table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }
    .infocomp td:nth-of-type(1) {
        text-align: center;
        background-color: #eee;
    }
    .infocomp td:nth-of-type(2) {
        text-align: center;
        margin: 0.8em 0 2em;
    }
    .infocomp tr:nth-child(odd) {
        background: none;
    }
    .infocomp tr:nth-child(even) {
        background: none;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    /* Estilos para laptops pequeños MacBook Air, ultrabooks */
    h1 {
        font-size: 2.4rem;
    }
}
@media (min-width: 1281px) and (max-width: 1440px) {
    /* Estilos para escritorios estándar */
    h1 {
        font-size: 2.6rem;
    }
}
@media (min-width: 1441px) and (max-width: 1920px) {
    /* Estilos para pantallas grandes */
    html {
        font-size: calc(16px + 0.4vw);
    }
    h1 {
        font-size: 2.5rem;
    }
}
@media (min-width: 1921px) {
    /* Estilos para pantallas 4K */
    html {
        font-size: calc(18px + 0.5vw);
    }
    h1 {
        font-size: 3rem;
    }
    body {
        max-width: 1600px;
        margin: 0 auto;
    }
}
