/*
  (c) 2025 MASSIMO Baterías - Diseño por Grupo Interactivo
*/

.marca1 {
  border: 1px red dotted;
}

.marca2 {
  border: 2px green dashed;
}

.marca3 {
  border: 2px salmon dotted;
}

.marca4 {
  border: 2px orange dashed;
}

.marca5 {
  border: 2px rgb(255, 246, 231) dashed;
}

/* ---- COLOR PALETTE  ---- */
:root {
  --massimo-yellow: #F6A711;
  --massimo-light-yellow: #fdc04f;
  --black: #000000;
  --white: #ffffff;
  --body-text: #ffffff;
}

/* -------- Fonts --------- */
/*  
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;

  */
/* ------- Estilos por defecto -------- */
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8em;
  color: var(--black);
  background-color: var(--black);
  text-align: left;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  line-height: 1.2em;
  margin-top: 10px;
  margin-bottom: 1.5em;
  color: var(--massimo-yellow);
}

a {
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--massimo-light-yellow);
  text-decoration: none;
}

p {
  color: var(--black);
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.5em;
}

p strong {
  font-weight: 700;
  color: var(--massimo-yellow);
}

p a {
  font-weight: 700;
  color: var(--massimo-yellow);
  text-decoration: none;
}

p a:hover {
  color: var(--capri-blue);
}

ul {
  list-style: none;
  padding: 0;
  padding-left: 0;
  line-height: 1.8em;
  text-align: left;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 1em;
}

ol {
  padding-left: 15px;
  line-height: 1.8em;
}

ul li,
ol li {
  font-size: 1em;
  line-height: 1.5em;
  color: var(--black);
}

/*  -------  Custom scrollbar ------- */
body::-webkit-scrollbar {
  width: 10px;
  position: relative;
  background-color: #171717;
}

body::-webkit-scrollbar-track {
  background-color: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(60, 60, 60);
  border-radius: 0;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: gray;
}

/* --------------  Selección de textos ---------------- */
::-moz-selection,
a::-moz-selection,
p::-moz-selection {
  color: #ffffff;
  background-color: var(--massimo-yellow);
  text-shadow: none;
}

::selection,
a::selection,
p::selection {
  color: #ffffff;
  background-color: var(--massimo-yellow);
  text-shadow: none;
}

h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection {
  color: #ffffff;
  background-color: var(--massimo-yellow);
  text-shadow: none;
}

/* ---------------- PORTADA ---------------- */
#main {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../img/portada-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom: 9px solid var(--massimo-yellow);
}

/* ---------------- HEADER ---------------- */
.header {
  width: 100%;
  padding: 2em 0 2em 6%;
  display: flex;
  justify-content: space-between;
  align-items: initial;
}

.header .logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* ---------------- NAV BAR ---------------- */
.nav-bar {
  width: 42vw;
  min-width: 500px;
  height: fit-content;
  padding: 0.6em 6em 0.6em 6em;
  background-color: var(--massimo-yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-shell {
  position: relative;
  display: inline-block;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--massimo-yellow);
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  height: 48px;
}

.nav-bar {
  position: relative;
  z-index: 2;
  background: transparent;
}

.nav-bar .nav-link,
.nav-bar .dropdown-toggle,
.nav-bar .dropdown-item {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nav-bar .nav-link:focus,
.nav-bar .nav-link:active,
.nav-bar .dropdown-toggle:focus,
.nav-bar .dropdown-toggle:active,
.nav-bar .dropdown-item:focus,
.nav-bar .dropdown-item:active {
  outline: none !important;
  box-shadow: none !important;
}

.nav-bar .nav-link {
  font-size: 1.2em;
  color: var(--black);
  font-weight: 600;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-bar .nav-link:hover {
  color: #fff;
}

.nav-bar .dropdown-toggle::after {
  display: none;
}

.nav-bar .dropdown-toggle::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  display: inline-block;
  transition: .25s;
}

.nav-bar .dropdown.show .dropdown-toggle::before {
  transform: rotate(-135deg);
}

/* ---------------- DROPDOWN ---------------- */
.nav-bar .dropdown-menu {
  background-color: var(--black);
  border-radius: 0px;
  border: none;
  padding: 0.5em;
  min-width: fit-content;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  transform: translateY(38px) !important;
}

.nav-bar .dropdown-item {
  padding: 0.7em 1.1em;
  color: var(--white);
  font-weight: 600;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 1em;
}

.nav-bar .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #000;
}

.nav-bar .dropdown-item:hover {
  color: var(--massimo-light-yellow);
  background-color: rgb(188, 32, 32);
}

.nav-bar.inMobile {
  width: 420px;
  height: fit-content;
  padding: 0.6em 4em 0.6em 5em;
  background-color: var(--massimo-yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(30px 0,
      100% 0,
      100% 100%,
      0 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
}

.nav-bar .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--black);
}


/* ======= MOBILE BUTTON ======= */
.mobile-btn {
  position: fixed;
  top: 35px;
  right: 30px;
  background: var(--massimo-yellow);
  color: #000;
  font-family: 'Cabin Condensed';
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.3em 1.2em;
  cursor: pointer;
  z-index: 1001;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  border-radius: 25px;
  transition: 0.2s ease;
  border: 1px solid var(--black);
}

.mobile-btn:hover {
  color: var(--white);
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 83%;
  height: 100vh;
  background: var(--massimo-yellow);
  z-index: 9999;
  transition: .5s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .3);
}

.mobile-title {
  color: var(--white);
  margin-bottom: 0.7em;
  letter-spacing: 1px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2em;
  cursor: pointer;
}

.mobile-inner {
  padding: 4em 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.mobile-block h4 {
  font-family: 'Cabin Condensed';
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: .4em;
}

.mobile-block a {
  display: block;
  font-family: 'Cabin Condensed';
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  margin-left: 15px;
}

.mobile-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.mobile-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.mobile-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
}

.mobile-list a {
  font-family: 'Cabin Condensed';
  font-size: 1.1em;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}

.mobile-list a:hover {
  color: var(--white);
}


/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .nav-shell {
    display: none;
  }

  .mobile-btn {
    display: block;
  }
}

.social-first {
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 30px;
  top: 100px;
  gap: 2em;
}

.social-first img {
  width: 28px;
  margin-right: 5px;
  filter: brightness(0) invert(1);
}

.social-first a:hover {
  color: var(--massimo-light-yellow);
}

.main-content {
  width: 100%;
  height: calc(100vh - 141px);
  display: flex;
}

.main-text {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  padding-left: 6%;
  padding-bottom: 8%;
  position: relative;
}

.main-text h1 {
  color: var(--white);
  font-size: 8vw;
  font-weight: 500;
  line-height: 1em;
  margin-bottom: 20px;
}

.main-img {
  width: 50%;
  height: auto;
  padding: 1.5em;
  display: flex;
  align-items: end;
  position: relative;
}

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

.voltage-button {
  position: relative;
  width: fit-content;
}

.voltage-button button {
  color: var(--black);
  font-weight: 700;
  background: #F6A711;
  padding: 0.9em 2em 0.9em 2em;
  border-radius: 25px;
  font-size: 1.2em;
  line-height: 1em;
  letter-spacing: 0.075em;
  transition: background 0.3s;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
}

.voltage-button button:hover {
  cursor: pointer;
  background: #ffbb3e;
}

.voltage-button button:hover+svg,
.voltage-button button:hover+svg+.dots {
  opacity: 1;
}

.voltage-button svg {
  display: block;
  position: absolute;
  top: -0.75em;
  left: -0.25em;
  width: calc(100% + 0.5em);
  height: calc(100% + 1.5em);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  transition-delay: 0.1s;
}

.voltage-button svg path {
  stroke-dasharray: 100;
  filter: url("#glow");
}

.voltage-button svg path.line-1 {
  stroke: #f6de8d;
  stroke-dashoffset: 0;
  animation: spark-1 3s linear infinite;
}

.voltage-button svg path.line-2 {
  stroke: #F6A711;
  stroke-dashoffset: 500;
  animation: spark-2 3s linear infinite;
}

.voltage-button .dots {
  opacity: 0;
  transition: opacity 0.3s;
  transition-delay: 0.4s;
}

.voltage-button .dots .dot {
  width: 1em;
  height: 1em;
  background: white;
  border-radius: 100%;
  position: absolute;
  opacity: 0;
}

.voltage-button .dots .dot-1 {
  top: 0;
  left: 20%;
  animation: fly-up 3s linear infinite;
}

.voltage-button .dots .dot-2 {
  top: 0;
  left: 55%;
  animation: fly-up 3s linear infinite;
  animation-delay: 0.5s;
}

.voltage-button .dots .dot-3 {
  top: 0;
  left: 80%;
  animation: fly-up 3s linear infinite;
  animation-delay: 1s;
}

.voltage-button .dots .dot-4 {
  bottom: 0;
  left: 30%;
  animation: fly-down 3s linear infinite;
  animation-delay: 2.5s;
}

.voltage-button .dots .dot-5 {
  bottom: 0;
  left: 65%;
  animation: fly-down 3s linear infinite;
  animation-delay: 1.5s;
}

@keyframes spark-1 {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes spark-2 {
  to {
    stroke-dashoffset: -500;
  }
}

@keyframes fly-up {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }

  5% {
    opacity: 1;
    transform: translateY(-1.5em) scale(0.4);
  }

  10%,
  100% {
    opacity: 0;
    transform: translateY(-3em) scale(0.2);
  }
}

@keyframes fly-down {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }

  5% {
    opacity: 1;
    transform: translateY(1.5em) scale(0.4);
  }

  10%,
  100% {
    opacity: 0;
    transform: translateY(3em) scale(0.2);
  }
}

.flashAnim {
  -webkit-animation: relampago 0.3s 2s both;
  animation: relampago 0.3s 2s both;
  animation-iteration-count: 2;
}

@-webkit-keyframes relampago {
  0% {
    background-image: url(../img/portada-img.jpg);
  }

  50% {
    background-image: url(../img/portada-imgv2.jpg);
  }

  100% {
    background-image: url(../img/portada-img.jpg);
  }
}

@keyframes relampago {
  0% {
    background-image: url(../img/portada-img.jpg);
  }

  50% {
    background-image: url(../img/portada-imgv2.jpg);
  }

  100% {
    background-image: url(../img/portada-img.jpg);
  }
}

/*  ------- CARDS DE MODELOS DE BATERÍA ------- */
.cards-container {
  padding: 6em 0;
  background-color: var(--white);
}

.product-card {
  max-width: 380px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: var(--black);
  border-radius: 25px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card.tubular {
  max-width: 100%;
}

.card-link-wrapper:hover .product-card {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 8px 15px rgba(0, 0, 0, 0.25);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-card .card-body {
  padding: 1.5em 1.5em 1em 1.5em;
  background: var(--black);
}

.product-card .card-title {
  color: var(--massimo-yellow);
  font-weight: 500;
  font-size: 2.1em;
  margin: 0.2em 0 0.3em 0;
}

.product-card .card-link {
  color: var(--white);
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 0;
}

.product-card .card-tag {
  width: 100%;
  max-width: fit-content;
  height: auto;
  color: var(--white);
  font-size: 1.1em;
  background-color: rgb(188, 32, 32);
  padding: 0.6em 1em;
  border-radius: 1.5em;
  margin-bottom: 0;
  line-height: 1.2em;
}


/*  ------- VENTAJAS ------- */
.titulo-grande {
  width: 100%;
  height: auto;
  padding: 1em 2em;
  display: flex;
  justify-content: center;
}

.titulo-grande h2 {
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
  font-size: 6em;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  margin-bottom: 0;
  line-height: 1em;
}

.ventajas {
  background-image: url(../img/ventajas-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6em 0em;
}

.features-section {
  margin-top: 3em;
}

.feature-card {
  padding: 1.5em;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
}

.feature-img {
  text-align: center;
}

.feature-img img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 25px;
  transition: all ease 0.3s;
}

.feature-img img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(210, 210, 210, 0.233);
}

.feature-title {
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
  font-size: 2.5em;
  color: var(--massimo-yellow);
  font-weight: 500;
  margin-bottom: 0.5em;
}

.feature-text {
  width: fit-content;
  color: #ffffff;
  font-size: 1.4em;
  padding-bottom: 1em;
  border-bottom: 3px solid var(--massimo-yellow);
}

/*  ------- SECCIÓN CON PIN SCROLL ------- */
.pinScroll {
  width: 100%;
  height: 500px;
  height: 100vh;
  display: flex;
}

.pinScroll .left {
  width: 50%;
  height: 100vh;
  background: var(--massimo-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
}

.pinScroll .left h2 {
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
  color: var(--black);
  font-size: 9vw;
  margin: 0;
}

.pinScroll .right {
  font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
  font-weight: 500;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}

.pinScroll .right::-webkit-scrollbar {
  display: none;
}

.pinScroll .step {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9vw;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pinScroll .step:nth-child(1) {
  background-image: url('../img/img_pinscroll1.jpg');
}

.pinScroll .step:nth-child(2) {
  background-image: url('../img/img_pinscroll3.jpg');
}

.pinScroll .step:nth-child(3) {
  background-image: url('../img/img_pinscroll2.jpg');
}

.pinScroll .step:nth-child(4) {
  background-image: url('../img/img_pinscroll4.jpg');
}

.pinScroll .step:nth-child(5) {
  background-image: url('../img/img_pinscroll5.jpg');
}

/* .pinScroll .step:nth-child(6) {
  background-image: url('../img/pin-img-3.jpg');
} */

/*  ------- EL PODER DE MASSIMO ------- */
.el-poder {
  background-image: url(../img/elpoderdemassimo-img.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 4em 0 6em 0;
}

.titulo-grande.whitLogo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0em 6%;
}


.titulo-grande.whitLogo h2{
  text-shadow: 1px 1px 10px rgba(18, 18, 18, 0.553);
  margin-top: 0.8em;
}

.titulo-grande.whitLogo img {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-left: 4em;
}

.el-poder-info {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: right;
  margin-top: 6em;
}

.el-poder-info .info {
  width: 60%;
  max-width: 900px;
  height: auto;
  background-color: var(--massimo-yellow);
  padding: 3em 5em;
  border-radius: 25px 0 0 25px;
}

.el-poder-info .info p {
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  color: var(--black);
  font-size: 1.6em;
}

/* ================= FORMULARIO ================= */
#block-contact-form {
  position: relative;
  padding: 5em 24px 5em 24px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background-color: var(--white);
}

#block-contact-form::before {
  display: block;
  position: absolute;
  content: '';
  width: 100%;
  height: 30px;
  background-color: var(--white);
  top: 0;
  left: 0;
}

#block-contact-form.cotizar {
  margin-top: 3em;
}

.form-box {
  position: relative;
  width: 80%;
  max-width: 800px;
  overflow: hidden;
  padding: 50px 42px 24px 42px;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: transparent;
}

.form-box h4 {
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 2.6em;
  text-align: center;
  color: rgb(85, 85, 85);
}

.contact2-form input {
  outline: none;
  border: none;
  background-color: transparent;
  border-bottom: 2px var(--massimo-yellow) solid;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
}

.contact2-form textarea {
  outline: none;
  border: none;
  background-color: transparent;
  border-bottom: 2px var(--massimo-yellow) solid;
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
}

.contact2-form textarea:focus,
.contact2-form input:focus {
  border-color: transparent !important;
}

.contact2-form .legal-txt {
  font-size: 0.938em;
  text-align: center;
  margin-top: 2em;
  padding: 0 24px;
  color: var(--black);
}

.contact2-form .legal-txt a {
  color: var(--black);
  text-decoration: underline;
}

.contact2-form .btn-gi {
  font-size: 1em;
  padding: 0.9em 1.9em 1em 1.9em;
}

.contact2-form .btn-gi:hover {
  color: #80b918;
  background-color: var(--black);
}

.bg-contact2 {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.contact2-form {
  width: 100%;
}

.wrap-input2 {
  width: 100%;
  position: relative;
  border-bottom: 1px solid var(--white);
  margin-bottom: 37px;
  color: var(--white);
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
}

.input2 {
  display: block;
  width: 100%;
  font-size: 1.4em;
  color: var(--black);
  line-height: 1.2;
}

.focus-input2 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input2::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  background: var(--massimo-light-yellow);
  background: -webkit-linear-gradient(45deg, var(--massimo-light-yellow), #ffde3b);
  background: -o-linear-gradient(45deg, var(--massimo-light-yellow), #ffde3b);
  background: -moz-linear-gradient(45deg, var(--massimo-light-yellow), #ffde3b);
  background: linear-gradient(45deg, var(--massimo-light-yellow), #ffde3b);
}

.focus-input2::after {
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;
  font-size: 1.1em;
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

input.input2 {
  height: 55px;
  margin-top: 15px;
}

input.input2+.focus-input2::after {
  top: 16px;
  left: 0;
}

textarea.input2 {
  min-height: 115px;
  padding-top: 13px;
  padding-bottom: 13px;
}

textarea.input2+.focus-input2::after {
  top: 16px;
  left: 0;
}

.input2:focus+.focus-input2::after {
  color: var(--massimo-light-yellow);
  top: -13px;
}

.input2:focus+.focus-input2::before {
  width: 100%;
}

.input2.has-val+.focus-input2::after {
  color: var(--massimo-light-yellow);
  top: -13px;
}

/* GI Material select box */
.gi-select-group {
  text-align: left;
}

.gi-select-group label {
  font-size: 0.938em;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--massimo-light-yellow);
  margin-top: 8px;
  margin-bottom: 0;
}

.gi-select-group select {
  border-radius: 0;
  border: none;
  border-bottom: 2px #E7E7E7 solid;
}

.gi-select-group select:hover,
.gi-select-group select:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px var(--massimo-light-yellow) solid;
}

.gi-select-group select option:disabled {
  font-style: italic;
  color: #CDCDCD;
}

.m2top {
  margin-top: 40px;
}

.cv-up label {
  font-weight: 600;
  margin-right: 15px;
}

.addr p {
  font-size: 1.1em;
  text-align: center;
  line-height: normal;
  margin-bottom: 0.4em;
}

.intro-txt .social-row {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.intro-txt .social-row .social-icon {
  margin-left: 14px;
  margin-right: 14px;
}

.intro-txt .social-row .social-icon svg {
  fill: #8e6b62;
  width: 24px;
}

.intro-txt .social-row .social-icon svg:hover {
  fill: var(--massimo-light-yellow);
}

/*-----------------
[ Alert validate ]*/
.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: white;
  border: 1px solid red;
  border-radius: 8px;
  padding: 4px 35px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;
  color: red;
  font-size: 1.0em;
  font-style: italic;
  line-height: 1.4;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  display: block;
  position: absolute;
  color: #fff;
  font-size: 1.4em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 8px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

.wrap-input2 select {
  border: none;
  outline: none;
  height: 70px;
  width: 100%;
  font-size: 1em;
  color: #646464;
  border-bottom: 2px var(--massimo-yellow) solid;
  background: transparent;
  padding-top: 25px;
  padding-bottom: 0;
  line-height: normal;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23646464' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px bottom 10px;
  background-size: 16px;
}

#block-contact-form .titulo-grande h2 {
  color: var(--black);
  text-align: center;
}

.form-btn {
  display: flex;
  justify-content: center;
  padding: 2em 0;
}

/* FIN DEL FORMULARIO */

/* ===== FOOTER ===== */
.footer {
  width: 100%;
  height: auto;
  padding: 2.5em 2em;
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer p {
  max-width: 600px;
  color: var(--white);
  text-align: center;
  margin: 0;
}

/* ===== MODAL DE LAS CARDS ===== */
.modal-content {
  border-radius: 1em 1em 0 0;
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: auto;
  max-height: 85vh;
  border-bottom: 9px solid var(--massimo-yellow);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.modal-header {
  padding: 1em 2em;
  background-color: var(--black);
}

.modal-title {
  font-size: 2em;
  font-weight: 500;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2em;
  text-align: left;
  height: auto;
  overflow: auto;
}

.modal-body h6 {
  font-size: 1.4em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1em;
  color: var(--black);
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.modal-body ul li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.3em;
  font-size: 1.1em;
  color: #333;
  line-height: 1.3em;
}

.modal-body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  color: var(--black);
}

.modal.fade .modal-dialog {
  transform: translateY(20px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2em;
  align-items: center;
}

.modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.modal-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-info h3 {
  font-size: 1.6em;
  font-weight: 500;
  color: black;
}

.modal-btn {
  background-color: var(--massimo-yellow);
  padding: 0.4em 2em;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 1px 1px 10px rgba(109, 109, 109, 0.274);
  margin-top: 1.5em;
}

.modal-btn:hover {
  color: var(--white);
}

.contact-info {
  width: 100%;
  height: auto;
  margin: auto;
  padding: 3em 0;
}

.info-box {
  padding: 20px 10px;
  height: auto;
  text-align: center;
}

.info-box h4 {
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: 3px solid var(--massimo-yellow);
}

.info-box p {
  font-size: 1.4em;
  color: rgb(85, 85, 85);
  margin: 0;
}

.info-box::selection,
.info-box p::selection {
  color: #ffffff;
  background-color: var(--black);
  text-shadow: none;
}

.info-box::-moz-selection,
.info-box p::-moz-selection {
  color: #ffffff;
  background-color: var(--black);
  text-shadow: none;
}

.info-card {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.info-card .info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  box-shadow: 1px 1px 10px rgba(79, 79, 79, 0.256);
  padding: 2em;
  background-color: var(--massimo-yellow);
}

.info-card .info-box h4 {
  border-bottom: none;
  color: var(--black);
}

.info-card .info-box p {
  color: var(--white);
}

body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

.modal-backdrop {
  background-color: black !important;
  opacity: 0.9 !important;
}

.social-row{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 5em;
}

.social-row p{
  font-family: 'Cabin Condensed', Arial, Helvetica, sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  margin-top: 0;
  text-align: center;
  color: rgb(85, 85, 85);
}

.social-row svg{
  margin: 0 0.5em;
  font-size: 40px;
}

.social-row svg:hover{
  fill: var(--massimo-light-yellow);
}