/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

.section-title h2 {
  letter-spacing: 0.04em;
}

.section-title h2 strong {
  font-weight: 700;
}

.play-button,
.testimonial-play,
.swiper-button-next,
.swiper-button-prev,
.thematic-card {
  will-change: transform;
  transform: translateZ(0);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================
   RESET AND BASE STYLES
   =================================== */

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;
}

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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
/* Removed web Montserrat import; using local Montserrat via @font-face */

/* ===================================
   CUSTOM FONTS
   =================================== */

@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.thematic-modal,
.thematic-modal .modal-content,
.thematic-modal .modal-header h2,
.thematic-modal .modal-body,
.thematic-modal .modal-body p {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: white;
}

.dynamic-color {
  fill: #f5333f;
  transition: fill 160ms ease;
  pointer-events: auto;
}

.dynamic-color:hover {
  fill: transparent;
}

/* ===================================
   MAIN LAYOUT - BODY & MAIN
   =================================== */

.main {
  width: 100%;
}

.main-content {
  max-width: 1420px;
  margin: 0 auto;
  width: 100%;
  padding: 40px;
}

@media (max-width: 767px) {
  .main-content {
    padding: 20px;
  }
}

/* ===================================
   Config
   =================================== */

.section-title h2 {
  letter-spacing: 0em;
}

/* ===================================
   NAVIGATION
   =================================== */

.header {
  background-color: #fff;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 40px;
  max-width: 1420px;
  margin: 0 auto;
}

.nav-brand .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 186px;
  width: 220px;
  height: auto;
  margin-left: -12px;
}

.nav-brand .logo img {
  width: 100%;
  height: 100%;
}

/* Navigation Styles */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(8px, 1vw, 2rem);
  position: relative;
  --border-left: 0px;
  --border-top: 0px;
  --border-width: 0px;
  --border-height: 0px;
}

/* Sliding border that moves between navigation items */
.nav-menu::after {
  content: "";
  position: absolute;
  top: var(--border-top);
  left: var(--border-left);
  height: var(--border-height);
  width: var(--border-width);
  border: 3px solid #f5333f;
  border-radius: 0;
  background-color: white;
  box-sizing: border-box;
  transition: top 0.25s ease, left 0.25s ease, width 0.25s ease,
    height 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.nav-link {
  color: #011e41;
  text-decoration: none;
  font-size: clamp(10px, 1.2vw, 18px);
  padding: 0.5rem 0.6rem;
  border: 2px solid transparent;
  font-weight: 400;
  border-radius: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.nav-link strong {
  font-weight: 700;
}

.nav-link:hover:not(.active) {
  color: #f5333f;
}

@media (max-width: 767px) {
  .nav {
    gap: 1rem;
    padding: 0 20px;
  }

  .nav-menu {
    display: flex;
    /* Show the menu on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    z-index: 1000;
    gap: 1rem;
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
  }

  .nav-menu.open {
    max-height: 400px;
    padding: 40px 20px;
    gap: 0.5rem;
    z-index: 1001;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    display: flex;
    width: 100%;
    text-align: left;
    border: 3px solid transparent;
    transition: all 0.2s ease;
  }

  .nav-link.active {
    border: 3px solid #f5333f;
    width: max-content;
  }

  .nav-link:hover:not(.active) {
    color: #f5333f;
  }

  /* Ensure header appears above the dimming */
  .header {
    z-index: 999;
  }

  /* Ensure modals appear above everything */
  .thematic-modal {
    z-index: 1004;
  }

  /* Dim the page background when mobile menu is open */
  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .nav-brand span {
    font-size: 1.2rem;
  }
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 1rem;
  height: 100%;
}

.content-row:last-child {
  margin-bottom: 0;
}

.videos-row .video-section {
  flex: 1;
}

.video-section {
  flex: 0 0 calc(70% - 1rem);
  display: flex;
  flex-direction: column;
}

.video-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: clamp(5px, 1vw, 15px);
}

.title-line {
  flex: 1;
  height: clamp(1px, 0.5vw, 3px);
  background-color: #f5333f;
  margin-bottom: 5px;
}

.title-left,
.title-right {
  white-space: nowrap;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 40px;
  color: #f5333f;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 1;
  border: 3px solid #fff;
  background-color: #000;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #f5333f;
}

/* Ensure all video containers maintain 16:9 aspect ratio */
.videos-row .video-section .video-container,
.content-row .video-section .video-container {
  aspect-ratio: 16 / 9 !important;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.video-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.video-thumbnail-overlay:hover::after {
  background-color: rgba(0, 0, 0, 0.3);
}

.youtube-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 15vw, 120px);
  height: clamp(60px, 15vw, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.play-button.small {
  width: clamp(40px, 10vw, 80px);
  height: clamp(40px, 10vw, 80px);
  transition: all 0.2s ease-out;
}

.play-button:hover,
.video-container:hover .play-button {
  transform: translate(-50%, -50%) scale(1.2);
}

.play-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.text-section {
  flex: 0 0 calc(30% - 1rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 40px;
  background-color: #f5333f;
  min-height: 100%;
  container-type: inline-size;
}

.text-section .normal {
  line-height: 1.1;
  font-size: clamp(16px, 12.5cqi, 38px);
  color: white;
  margin: 0;
  word-wrap: break-word;
  hyphens: auto;
}

.responsive-text {
  display: none;
  color: white;
  font-size: clamp(28px, 12.5cqi, 38px);
}

@media (max-width: 1280px) {
  .text-section {
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  .text-section {
    padding: 30px;
  }

  .text-section h2 {
    font-size: clamp(16px, 7cqi, 32px);
    line-height: 1.1;
  }
}

@media (max-width: 767px) {
  .content-row {
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: stretch;
  }

  .text-section {
    flex: 1 1 100%;
    min-height: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: end !important;
    align-items: start !important;
    order: 2;
  }

  .text-section .normal {
    display: none;
  }

  .responsive-text {
    display: block;
  }

  .video-section {
    flex: 1 1 100%;
    width: 100%;
    order: 1;
  }

  .video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  /* Ensure text-section and video-section have matching dimensions */
  .text-section,
  .video-section {
    width: 100%;
    max-width: 100%;
  }

  .text-section {
    min-height: calc(100vw * 0.5625);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .text-section {
    padding: 15px;
    min-height: calc(100vw * 0.5625);
  }

  .content-row {
    gap: 1.5rem;
  }
}

/* ===================================
   NUESTRO DÍA A DÍA SECTION
   =================================== */

.nuestro-dia-section {
  background-color: #f5333f;
}

.section-header {
  text-align: left;
}

.section-header h2 {
  font-size: clamp(34px, 5vw, 40px);
  color: white;
  margin: 0;
  letter-spacing: 0.011em;
}

.section-header p {
  text-align: left;
  color: white;
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.3;
  margin: 0 0 3rem 0;
  max-width: 735px;
}

.thematic-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(6, 118px);
  gap: 1rem;
  max-width: 1338px;
  margin: 0 auto;
}

.thematic-card {
  background-color: #011e41;
  border: none;
  border-radius: 0;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  gap: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: clamp(120px, 20vw, 240px);
  container-type: inline-size;
  transition: all 0.2s ease-out;
}

.thematic-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 40px;
}

.card-icon img {
  width: 100%;
  height: 100%;
}

.thematic-card:hover .card-icon img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.card-text {
  font-size: 11%;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
}

.thematic-grid > .thematic-card:nth-child(1) {
  grid-column: 1 / 14;
}

.thematic-grid > .thematic-card:nth-child(2) {
  grid-column: 14 / 25;
}

.thematic-grid > .thematic-card:nth-child(3) {
  grid-column: 1 / 10;
}

.thematic-grid > .thematic-card:nth-child(4) {
  grid-column: 10 / 16;
}

.thematic-grid > .thematic-card:nth-child(5) {
  grid-column: 16 / 25;
}

.thematic-grid > .thematic-card:nth-child(6) {
  grid-column: 1 / 10;
}

.thematic-grid > .thematic-card:nth-child(7) {
  grid-column: 10 / 18;
}

.thematic-grid > .thematic-card:nth-child(8) {
  grid-column: 18 / 25;
}

.thematic-grid > .thematic-card:nth-child(9) {
  grid-column: 1 / 9;
}

.thematic-grid > .thematic-card:nth-child(10) {
  grid-column: 9 / 15;
}

.thematic-grid > .thematic-card:nth-child(11) {
  grid-column: 15 / 25;
}

.thematic-grid > .thematic-card:nth-child(12) {
  grid-column: 1 / 8;
}

.thematic-grid > .thematic-card:nth-child(13) {
  grid-column: 8 / 16;
}

.thematic-grid > .thematic-card:nth-child(14) {
  grid-column: 16 / 25;
}

.thematic-grid > .thematic-card:nth-child(15) {
  grid-column: 1 / 7;
}

.thematic-grid > .thematic-card:nth-child(16) {
  grid-column: 7 / 15;
}

.thematic-grid > .thematic-card:nth-child(17) {
  grid-column: 15 / 25;
}

.cta-section {
  margin: 4rem 0;
}

.cta-text {
  font-size: clamp(18px, 5vw, 28px);
  width: 100%;
  margin: 0 auto;
  color: white;
  margin-bottom: 2rem;
  text-align: center;
}

.cta-text strong {
  font-weight: 700;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 3px solid white;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  width: 200px;
  height: 60px;
  line-height: 1.2;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  color: #f5333f;
  background-color: white;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* ===================================
   EN DATOS SECTION
   =================================== */

.datos-section {
  background-color: #011e41;
}

.datos-header h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 40px);
}

.datos-content h2 {
  color: #fff;
  font-size: clamp(16px, 2.3vw, 22px);
  line-height: 1.3;
  text-align: start;
}

.datos-chart {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.datos-chart-main {
  width: 90%;
}

@media (max-width: 767px) {
  .datos-chart-main {
    width: 100%;
  }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
  background-color: #ededed;
}

.text-blue {
  color: #011e41 !important;
}

.testimonials-swiper {
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.testimonials-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
  transform: translateZ(0);
}

.testimonials-swiper .swiper-slide {
  transition: transform 0.3s ease !important;
  will-change: transform;
  transform: translateZ(0);
}

.testimonials-section .main-content {
  position: relative;
  max-width: 1420px;
  margin: 0 auto;
  padding-bottom: 8rem;
}

.carousel-container-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.testimonial-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.testimonial-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover .testimonial-video::after {
  opacity: 1;
}

.testimonial-card:hover .testimonial-play {
  transform: translate(-50%, -50%) scale(1.2);
  transition: all 0.24s ease-in-out;
}

.testimonial-title {
  position: absolute;
  bottom: 5%;
  left: 10px;
  right: 10px;
  color: white;
  font-size: 20px;
  padding: 2px 10px;
  z-index: 15;
  text-align: left;
  line-height: 1.2;
}

.testimonial-title p {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

.testimonial-video img,
.testimonial-video iframe,
.testimonial-title {
  transition: opacity 0.15s ease-in-out;
}

.testimonial-video iframe {
  opacity: 0;
}

.testimonial-video iframe[style*="opacity: 1"] {
  opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 30px !important;
  height: 30px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  position: relative !important;
  margin-top: 0 !important;
  flex-shrink: 0;
  cursor: pointer !important;
  outline: none !important;
  z-index: 10 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-pagination {
  display: none;
}

@media (max-width: 767px) {
  .swiper-pagination {
    display: block;
  }
}

.swiper-button-prev {
  background-image: url("assets/icon-arrow.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.swiper-button-next {
  background-image: url("assets/icon-arrow.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transform: rotate(180deg) !important;
}

.swiper-button-next:hover {
  transform: rotate(180deg) scale(1.2) !important;
}

.swiper-button-prev:hover {
  transform: scale(1.2) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: "" !important;
  display: none !important;
}

/* Ensure arrows are always visible and clickable */
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled,
.swiper-button-disabled {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.swiper-pagination {
  position: relative !important;
  text-align: center;
  z-index: 5;
  top: auto !important;
  bottom: auto !important;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(1, 30, 65, 0.3);
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #ff0000 !important;
  transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
  background: rgba(1, 30, 65, 0.6);
  transform: scale(1.1);
}

.testimonial-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

.testimonial-video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.37);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.testimonial-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.2s ease;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.testimonial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 20;
  width: 60px;
  height: 80px;
  transition: all 0.2s ease-out;
}

.testimonial-play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.swiper-nav-responsive {
  display: none;
}

/* ===================================
   redes SECTION
   =================================== */

.redes-section {
  background-color: #ffffff;
  color: #011e41;
  padding: 2rem 0 4rem;
  text-align: center;
}

.redes-content {
  max-width: 620px;
}

.redes-header h2 {
  color: #011e41;
  font-size: clamp(32px, 5vw, 40px);
}

.redes-content h2 {
  font-size: clamp(16px, 2.3vw, 22px);
  line-height: 1.3;
  text-align: start;
}

.redes-share {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.share-slot {
  position: relative;
  height: 64px;
  min-width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  height: 64px;
  min-width: 350px;
  background-color: #f5333f;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.share-btn:hover {
  background-color: #011e41;
}

.share-label {
  line-height: 1;
}

.share-icon svg {
  display: block;
}

.share-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease,
    visibility 0s linear 0.25s;
}

.share-icons.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.share-icon-item {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-icon-item img {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.share-btn.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease,
    background-color 0.2s ease;
}

.redes-image {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .redes-section {
    padding: 1rem 0;
  }
  .redes-content {
    padding: 0 0.2rem;
  }
  .redes-share {
    margin-top: 2rem;
    gap: 2rem;
  }
  .share-btn {
    min-width: 200px;
    height: 50px;
  }
  .share-icon-item {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .testimonials-swiper {
    touch-action: pan-x pinch-zoom;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .testimonials-swiper .swiper-slide {
    touch-action: pan-x pinch-zoom;
  }

  .testimonials-swiper .swiper-wrapper {
    touch-action: pan-x pinch-zoom;
  }

  .thematic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
  }

  .thematic-card {
    grid-column: 1 !important;
    min-height: 80px;
  }

  .card-text {
    font-size: 0.8rem;
  }

  .testimonials-section .main-content {
    padding-bottom: 2rem;
  }

  .carousel-container-wrapper {
    gap: 1rem;
    flex-direction: column;
    margin: 0 auto;
    max-width: 85%;
  }

  .testimonials-swiper {
    width: 100%;
    padding: 0;
  }

  .testimonial-play {
    width: 100px;
    height: 100px;
  }

  .testimonial-title {
    bottom: 5%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    display: none !important;
  }
  .swiper-nav-responsive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .swiper-nav-responsive .prev-show,
  .next-show {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
  }

  .swiper-button-next {
    margin-right: -10px;
  }

  .swiper-button-prev {
    margin-left: -10px;
  }

  .carousel-container-wrapper {
    gap: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonials-section {
    padding: 3.5rem 0;
  }

  .carousel-container-wrapper {
    gap: 1.5rem;
  }

  .testimonial-play {
    width: 100px;
    height: 100px;
  }

  .testimonial-title {
    top: 62%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
  }
}

@media (max-width: 768px) {
  .cta-section {
    margin-top: 2rem;
    padding: 1rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-button {
    width: 80%;
    max-width: 200px;
    font-size: 16px;
  }

  .redes-icon {
    width: 50px;
    height: 50px;
  }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background-color: #fff;
  padding: 2rem 0;
  border-top: 1px solid #eee;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.5;
  max-width: 327px;
}

.policy-container {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 14px;
}

.policy-container a {
  text-decoration: none;
}

.footer-social {
  font-size: 14px;
  font-weight: 700;
  color: #f5333f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.redes-icons {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  align-items: center;
}

.redes-icon {
  display: flex;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  align-items: center;
}

.redes-icon img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.redes-icon:hover {
  transform: scale(1.12);
}

.legal-link {
  text-decoration: underline;
  transition: color 0.3s ease;
  color: #000;
}

.legal-link:hover {
  color: #f5333f;
}

.footer-right {
  flex-shrink: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  height: auto;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 986px) {
  .footer-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-social {
    flex-direction: column;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left {
    order: 2;
  }

  .footer-right {
    order: 1;
  }
}

@media (max-width: 480px) {
  .footer-left p {
    font-size: 0.8rem;
  }

  .policy-container {
    font-size: 0.8rem;
    justify-content: center;
  }

  .footer-logo span {
    font-size: 1rem;
  }
}

/* ===================================
   COOKIE POLICY PAGE
   =================================== */

.cookie-policy {
  width: 100%;
}

.cookie-policy .page-title {
  padding: 20px 0 10px;
}

.cookie-policy .page-title h2 {
  font-size: 28px;
  font-weight: 700;
}

.cookie-policy .content {
  padding: 10px 0 60px;
  max-width: 980px;
}

.cookie-policy h3 {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 700;
}

.cookie-policy ul {
  margin-left: 20px;
  list-style: disc;
}

.cookie-policy .legal-note {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .cookie-policy .page-title h2 {
    font-size: 28px;
  }

  .cookie-policy .content {
    padding: 10px 0 40px;
    max-width: 100%;
  }
}

/* Thematic Modal Styles */
.thematic-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  background-color: #011e41;
  padding: 30px 50px;
  width: 966px;
  max-height: 90%;
  overflow-y: auto;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalContentSlideIn 0.4s ease-out;
  transform-origin: center center;
}

/* Modal content layout */
.modal-content-layout {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-text-content {
  flex: 2;
  max-width: 537px;
}

.modal-image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 40%;
  max-height: 390px;
  border: 3px solid white;
  overflow: hidden;
}

.modal-image {
  text-align: center;
  margin-top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes modalContentSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal closing animations */
.thematic-modal.closing {
  animation: modalFadeOut 0.2s ease-in forwards;
}

.thematic-modal.closing .modal-content {
  animation: modalContentSlideOut 0.2s ease-in forwards;
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modalContentSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
}

.modal-header {
  padding: 50px 0 20px;
}

.modal-header h2 {
  color: white;
  margin: 0;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  font-size: 32px;
  white-space: normal;
  display: block;
}

.modal-header h2 strong {
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.modal-close img {
  width: 20px;
  height: 20px;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-text-content p {
  color: white;
  font-size: 16px;
  letter-spacing: 0.07em;
  line-height: normal;
  margin-bottom: 20px;
}

.modal-text-content strong {
  font-weight: 700;
  color: #ffffff;
}

/* Responsive modal */

@media (max-width: 1200px) {
  .modal-content-layout {
    flex-direction: column;
    gap: 20px;
    height: 100%;
  }
  .modal-image-content {
    max-height: 100%;
    max-width: 100%;
  }

  .modal-text-content {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .modal-content {
    margin: 0px;
    padding: 10px 40px;
    max-height: 95%;
    width: 90%;
  }

  .modal-content-layout {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .modal-text-content {
    flex: none;
  }

  .modal-image-content {
    flex: none;
    order: -1;
    min-height: 200px;
    width: 100%;
  }

  .modal-image {
    margin-top: 0;
    width: 100%;
    height: 100%;
  }

  .modal-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modal-close {
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    padding: 8px 30px;
  }
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #011e41;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Hamburger Menu Open State (X icon) */
.hamburger-menu.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-menu.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Show hamburger menu on mobile */
@media (max-width: 767px) {
  .hamburger-menu {
    display: flex;
  }

  /* Hide the sliding border on mobile */
  .nav-menu::after {
    display: none;
  }
}

/* Font Classes */
.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.font-montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.font-graphik {
  font-family: "Graphik", sans-serif;
}

.font-graphik-bold {
  font-family: "Graphik", sans-serif;
  font-weight: 700;
}

/* Default font helper */
.font-default {
  font-family: "Montserrat", sans-serif;
}

@supports (-webkit-touch-callout: none) {
  .video-iframe {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

@supports (-moz-appearance: none) {
  .video-iframe {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

.testimonial-video .video-iframe {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.testimonial-video .video-iframe[style*="display: block"] {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 999 !important;
}

.testimonial-video {
  position: relative;
  z-index: 1;
}

.testimonial-video .video-iframe {
  position: relative;
  z-index: 2;
}
