/* ==========================================================================
   home.css — Homepage-specific styles (front-page.php)
   Loaded after base.css; uses design tokens from :root in base.css
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.sequeance {
  position: absolute;
  height: 100vh;
  width: 100%;
  z-index: 1;
  top: 0;
}

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

#sequence-canvas {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
}

.hero-static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bg-hero {
  z-index: 4;
  position: absolute;
  opacity: 0.6;
  background: linear-gradient(0deg, var(--color-hero-overlay) 0%, var(--color-hero-overlay) 100%),
              linear-gradient(90deg, var(--color-green-dark) -1.3%, #1e1e1e 56.86%, var(--color-green-dark) 99.65%);
  width: 100%;
  top: 0;
  height: 100%;
}

.hero-div-index {
  z-index: 4;
  width: 100%;
  top: 0;
  display: flex;
  position: absolute;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.first-hero {
  width: 95%;
  align-items: center;
  justify-content: space-between;
  height: 65%;
}

.first-aprt {
  width: 70%;
  height: 100%;
  display: flex;
  position: relative;
  z-index: 3;
  align-items: center;
}

.second-aprt {
  width: 38%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 3;
}

.second-aprt p {
  color: var(--color-lime);
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.45vw, 1.6rem);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: normal;
  margin-top: -20%;
}

.hero-section h2 {
  color: var(--color-off-white);
  font-family: var(--font-display);
  font-size: var(--text-hero-xl);
  font-weight: 700;
  width: 70%;
  line-height: 100%;
  letter-spacing: normal;
  margin-top: -3%;
}

.hero-section .second-hero h2 {
  width: 52%;
  margin-top: -7vh;
}

.svg-absolute {
  position: absolute;
  height: 100%;
  top: 70%;
  width: 60%;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.svg-absolute img {
  width: auto;
  min-height: 500px;
  height: 100%;
  object-fit: contain;
}

.second-hero {
  height: 25%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 95%;
}

.second-hero p {
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: clamp(20px, 1.3vw, 1.4rem);
  font-weight: 350;
  line-height: 130%;
  letter-spacing: -0.44px;
}

.second-hero .second-aprt {
  transform: translateY(50vh);
}

.second-hero h2 {
  align-self: flex-start;
  margin-left: -15%;
  transform: translateY(50vh);
}

.second-hero-div {
  height: 9.5rem;
  display: flex;
  align-items: center;
  border-radius: 100px;
  border: 1px solid var(--color-lime);
  background: rgba(44, 81, 52, 0.2);
  backdrop-filter: blur(2px);
  width: 4.75rem;
  justify-content: center;
}

.second-hero-div img {
  position: relative;
  animation: fadeIn 3s ease-in-out infinite;
}

@keyframes fadeIn {
  0%   { margin-top: 2rem; }
  50%  { margin-top: 0; }
  100% { margin-top: 2rem; }
}

/* ==========================================================================
   2. GET-A-QUOTE SECTION
   ========================================================================== */
.get-quote {
  height: 100vh;
  width: 100%;
  position: relative;
}

.get-quote-div {
  width: 95%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.container-quote {
  height: 95%;
  width: 90%;
  display: flex;
}

.title-div-quote {
  width: 50%;
  display: flex;
  position: relative;
  z-index: 2;
  justify-content: start;
  height: 55%;
  align-items: center;
}

.title-div-quote h3 {
  text-align: start;
  font-family: var(--font-ui);
  font-size: var(--text-h1);
  line-height: 100%;
}

.form-div-quote {
  width: 50%;
  display: flex;
  position: relative;
  z-index: 2;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  align-items: center;
}

.form-div-quote form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.container-inputs-quote {
  display: flex;
  width: 85%;
  gap: 5%;
}

.input-quote {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  align-items: start;
}

.input-quote label {
  color: var(--color-off-white);
  text-align: center;
  font-family: var(--font-ui);
  line-height: 100%;
  letter-spacing: 1px;
}

.input-quote input,
.input-quote select {
  text-align: start;
  font-family: var(--font-ui);
  height: 45px;
  width: 100%;
  border-radius: var(--radius-btn);
  padding-left: 0.5rem;
  border: 1px solid #898883;
  background: var(--color-green-dark);
  line-height: 100%;
}

.input-quote-button {
  width: 90%;
  display: flex;
  justify-content: end;
  align-items: start;
}

.input-quote-button button {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--color-white);
  width: 35%;
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: var(--text-nav);
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 240px;
  height: 50px;
}

#btn-sub {
  transition: var(--transition-menu);
}

#btn-sub:hover {
  transform: scale(1.1);
}

.custom-checkbox {
  width: 100%;
  display: flex;
  gap: 1rem;
  color: var(--color-white);
  font-family: "Articulat";
  font-size: var(--text-sx);
  line-height: 120%;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  display: inline-block;
  width: 50px;
  height: 18px;
  background-color: transparent;
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #4caf50;
  border-color: #4caf50;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}

#form-quote {
  position: relative;
}

/* Animated background overlays */
.video-quote,
.video-quote2 {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0.6;
  mix-blend-mode: luminosity;
  height: 100%;
  background:
    radial-gradient(ellipse 40% 120% at 15% 20%, rgba(220, 240, 230, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse 35% 100% at 85% 40%, rgba(200, 230, 220, 0.7) 0%, transparent 45%),
    radial-gradient(ellipse 45% 110% at 50% 60%, rgba(180, 215, 200, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 30% 90% at 30% 80%, rgba(210, 235, 225, 0.75) 0%, transparent 45%),
    radial-gradient(ellipse 38% 105% at 70% 15%, rgba(190, 220, 210, 0.65) 0%, transparent 48%),
    radial-gradient(ellipse 42% 115% at 95% 75%, rgba(170, 205, 195, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse 36% 95% at 60% 35%, rgba(160, 200, 185, 0.6) 0%, transparent 45%),
    radial-gradient(ellipse 40% 100% at 25% 50%, rgba(140, 180, 170, 0.5) 0%, transparent 48%),
    linear-gradient(135deg, #0d2e31 0%, #1a4145 30%, #2a5558 60%, #1a3d40 100%);
  background-size: 100% 100%;
  filter: blur(60px);
  animation: panelVerticalShift 30s ease-in-out infinite;
}
.video-quote {
  border-radius: 20px;
}

@keyframes panelVerticalShift {
  0%   { background-position: 0% 0%;   filter: blur(60px) brightness(1); }
  25%  { background-position: 0% -15%; filter: blur(65px) brightness(1.03); }
  50%  { background-position: 0% -25%; filter: blur(70px) brightness(1.05); }
  75%  { background-position: 0% -15%; filter: blur(65px) brightness(1.03); }
  100% { background-position: 0% 0%;   filter: blur(60px) brightness(1); }
}

.absolute-blur {
  border-radius: 814px;
  opacity: 0.15;
  width: 30%;
  z-index: 1;
  height: 60%;
  left: 15%;
  bottom: 0;
  position: absolute;
  background: var(--secondary);
  filter: blur(75px);
}

.img-quote {
  position: absolute;
  z-index: 2;
}

.hexa {
  height: 100%;
  top: 0;
}

.hexa2 {
  height: 100%;
  top: 0;
  right: 0;
}

.panel {
  bottom: -35vw;
  z-index: 2;
  height: auto;
  width: 45%;
  left: 2.5%;
}

/* ==========================================================================
   3. GUARANTEE SECTION
   ========================================================================== */
.guarantee-section {
  padding-top: 5.5rem;
}

.guarantee-section h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-h1);
  width: 65%;
  min-width: 250px;
  max-width: 1500px;
  line-height: 100%;
}

.guarantee-section p {
  color: var(--color-gray-dark);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-footer);
  width: 50%;
  min-width: 200px;
  max-width: 1000px;
  font-weight: 250;
  line-height: 130%;
}

.guarantee-section-div {
  width: 100%;
  justify-content: center;
  display: flex;
  position: relative;
  align-items: start;
  height: 100%;
}

.guarantee-section-div video {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.guarantee-section-div-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  min-width: 50px;
  max-width: 300px;
  height: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.guarantee-section-gap {
  gap: 3rem;
}

.section-video {
  height: 100vh;
}

.opacado-btn {
  opacity: 0;
}

.opacado-btn:hover {
  opacity: 1;
}

/* ==========================================================================
   4. CUSTOMERS / TESTIMONIALS
   ========================================================================== */
.customers {
  position: relative;
}

.customers h2 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  line-height: 100%;
  position: relative;
  z-index: 3;
  width: 40%;
}

.customers-gap {
  position: relative;
  z-index: 2;
}

.div-h2-customers {
  width: 95%;
  display: flex;
  align-items: center;
  margin-block: 1%;
}

.div-info-customers {
  width: 95%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.titles-customers {
  flex-grow: 1;
  height: 70%;
}

.child-title-customer {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  position: relative;
  height: 100%;
}

.child-title-customer p {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-footer);
  width: 95%;
  position: absolute;
  font-weight: 350;
  line-height: 130%;
}

.info-title-customer {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.info-title-customer div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 200px;
  padding-top: 0.5rem;
}

.info-title-customer div h5 {
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.15vw, 1.16rem);
  font-weight: 400;
  line-height: 100%;
}

.info-title-customer div h4 {
  font-family: "Articulat";
  font-size: clamp(24px, 1.5vw, 1.6rem);
  font-weight: 500;
  line-height: 100%;
}

.info-slide-customer {
  width: 75%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-slide-customer-child {
  width: 85%;
  height: 95%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-slide-customer-child h3 {
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: var(--text-lg2);
  font-weight: 400;
  line-height: 100%;
}

.info-slide-customer-child p {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 350;
  line-height: 130%;
}

.contenedor-texto {
  min-width: 450px;
  position: relative;
}

.opaco-div {
  position: absolute;
  left: 55%;
  opacity: 0;
  transition: var(--transition-menu);
}

.opaco-p {
  opacity: 0;
  left: 55%;
}

.placeholder {
  position: relative;
  opacity: 0;
  z-index: -444;
}

.h3-info {
  position: relative;
}

.h3-info2 {
  position: relative;
}

.info-slider-h3-abs {
  position: absolute;
  top: 0;
  opacity: 0;
  transition: var(--transition-menu);
}

.active-h3-info {
  opacity: 1;
}

.active-p {
  opacity: 1;
  left: 0;
}

.active-title {
  left: 5%;
  opacity: 1;
}

.botones-slide {
  height: 50%;
  display: flex;
  align-items: end;
  justify-content: start;
  gap: 0.5rem;
}

.botones-slide button {
  border-radius: 10.932px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: none;
  background: var(--Secondary-Street, #d1ccbc);
  backdrop-filter: blur(3.28px);
  transition: var(--transition-menu);
}

.inactive-btn {
  opacity: 0.25;
}

/* Testimonial image shapes */
.shapes {
  width: fit-content;
  height: 100%;
  position: relative;
}

.shapes svg {
  position: absolute;
  right: 2.5%;
  top: 0;
  width: 3vw;
  height: 2.8vw;
  cursor: pointer;
  z-index: 2;
}

#apertura {
  width: 3vw;
  height: 3vw;
  right: 0.1px;
}

.custom-shape {
  width: 34vw;
  height: 26vw;
  transform-style: preserve-3d;
  overflow: visible;
  position: relative;
  mask-image: url("../assets/why-custom-shape.svg") !important;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.custom-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  z-index: 1;
  transition: all 1s ease;
}

.imagen-especial {
  position: relative !important;
  opacity: 0;
}

.img-oculta {
  left: 50vw;
}

.img-oculta2 {
  left: -42vw;
}

.active-imagne {
  left: 0;
}

.contenedor-de-estado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contenedor-de-estado img {
  height: auto;
  width: 280px;
}

.contenedor-de-estado h2 {
  color: var(--color-gray-dark);
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
}

.contenedor-de-estado p {
  color: var(--color-gray-dark);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
}

/* ==========================================================================
   5. HOMEPAGE BUTTONS
   ========================================================================== */
.btn-see {
  height: 50%;
  display: flex;
  align-items: end;
}

.btn-see button,
.btn-see a {
  width: 45%;
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: var(--text-nav);
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 240px;
  height: 50px;
  text-wrap: nowrap;
  padding: 0 1rem;
  background-color: var(--color-white);
  transition: var(--transition-menu);
}

.btn-see button:hover,
.btn-see a:hover {
  background-color: transparent;
  border: 1px solid var(--color-green-light);
  color: var(--color-green-light) !important;
}

.btn-see2 {
  display: flex;
  align-items: end;
}

.btn-see2 a {
  width: 16rem;
  background-color: var(--color-white);
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.15vw, 1.15rem);
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 440px;
  height: 50px;
  transition: var(--transition-menu);
}

.btn-see2 a:hover {
  background-color: transparent;
  border: 1px solid var(--color-green-light);
  color: var(--color-green-light) !important;
}

.btn-see2 a:hover path {
  stroke: var(--color-green-light) !important;
}

.btn-see3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.btn-see3 button {
  width: 16rem;
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.15vw, 1.15rem);
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 440px;
  height: 50px;
}

.btn-see4 {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 5%;
  justify-content: center;
  margin-top: 1rem;
}

.btn-see4 a {
  width: 16rem;
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  background-color: var(--color-off-white);
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.15vw, 1.15rem);
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 440px;
  height: 50px;
}

.bg-3 {
  background: #ededed;
}

/* ==========================================================================
   6. MAP SECTION
   ========================================================================== */
.map-container {
  height: 130vh;
}

.mapa-mundi {
  height: 130vh;
}

.contenedor {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.contenedor-div {
  width: 95%;
}

.map-header h2 {
  color: #26422c;
}

.map {
  width: 70vw;
  position: relative;
  height: fit-content;
  margin-inline: 10%;
}

.map img {
  width: 100%;
}

.map svg {
  width: 100%;
}

.markers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  pointer-events: none;
}

.marker-item {
  position: absolute;
  width: 15vw;
  height: 15vw;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.marker-item:hover .marker-hover {
  display: block;
}

.marker-hover {
  text-align: center;
}

.marker-hover:hover {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.marker-hover h3 {
  color: var(--color-gray-dark);
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.45vw, 1.5rem);
  font-weight: 700;
  line-height: 100%;
}

.marker-hover p {
  color: var(--color-gray-dark);
  font-family: var(--font-ui);
  font-size: clamp(16px, 1vw, 1vw);
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  margin-top: 1%;
  width: 75%;
}

.marker-hover p p {
  width: 100%;
}

.marker-hover button {
  width: 60%;
  margin-top: 5%;
  min-width: 150px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: clamp(14px, 0.95vw, 1rem);
  border: 1px solid var(--color-off-white);
  color: var(--color-green-dark);
  background-color: #ededed;
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 240px;
  height: 40px;
}

.marker-hover button img {
  width: 25px;
  height: 25px;
}

.marker-content-title {
  font-size: 16px;
  color: #333;
}

.marker-content-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}

.texto-mapa {
  color: var(--color-green-dark) !important;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 7.5rem);
  font-weight: 700;
  width: 70%;
  line-height: 100%;
  padding-bottom: 4rem;
  padding-top: 6vw;
  padding-left: 1vw;
}

.contenedor-ul {
  width: 95%;
  position: relative;
  z-index: 99;
}

.contenedor-ul ul {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  right: 0;
  top: 10vh;
}

.contenedor-ul li {
  color: var(--color-gray-dark);
  font-family: var(--font-ui);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 100%;
}

.map-contact {
  width: 90%;
  justify-self: center;
  height: 70vh;
  margin-bottom: 5%;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
}

.map__wrapper {
  width: 100%;
  height: 100%;
}

.map-info-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
}

.map-info-container h3 {
  color: var(--color-black);
  font-family: var(--font-ui);
  gap: 10px;
  font-size: 22px;
}

.map-info-container h5 {
  color: var(--color-black);
  font-family: "Articulat";
  font-size: 20px;
}

.map-info-container p {
  color: #9C9B9B;
  font-family: "Articulat";
  font-size: 18px;
}

.map-info-container h6 {
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  font-size: 16px;
}

.map-info {
  background-color: #F6FAF6;
  width: 90%;
  height: 90%;
  display: flex;
  padding: 10%;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.find-us-text {
  color: var(--color-green-dark);
  font-family: var(--font-ui);
  font-size: var(--text-h1);
  font-weight: 400;
  line-height: 100%;
  display: flex;
  align-items: center;
  margin-left: 5%;
  margin-bottom: 2rem;
  gap: 1%;
}

.green {
  fill: var(--color-green-dark);
}

.no-green {
  fill: var(--color-off-white);
  stroke: #e6e6e6;
}

#west-virginia {
  stroke: #e6e6e6;
}

.contenedor-div2 {
  /* used in mobile map dropdown */
}

.contenedor-div2-div {
  /* used in mobile map dropdown */
}

/* ==========================================================================
   7. CERTIFICATES / ACCOLADES
   ========================================================================== */
.certificates {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-bottom: 1%;
}

.certificates h2 {
  color: var(--color-green-dark);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 6.25vw);
  font-weight: 800;
  line-height: 100%;
  text-align: center;
  margin-bottom: 3%;
}

.certificates .swiper {
  width: 95%;
}

.certificates .swiper-slide {
  text-align: center;
  font-size: clamp(14px, 0.75vw, 3.125vw);
  background: var(--color-white);
  display: flex;
  border-radius: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
  color: var(--color-gray-dark);
  font-family: var(--font-ui);
}

.certificates .swiper-slide img {
  width: 100%;
  object-fit: contain;
  height: 100%;
}

.certificates #progress-bar {
  display: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: fit-content;
}

.certificates .swiper-scrollbar {
  margin-top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #f5f5f5;
  height: 8px;
  width: 80%;
  cursor: grab;
}

.certificates .swiper-scrollbar-drag {
  border-radius: 18px;
  background: var(--color-green-dark);
}

.controls {
  display: flex;
  justify-content: center;
  gap: 2vw;
  margin-bottom: 4%;
  width: 95%;
}

.certificates .controls button {
  color: var(--color-green-dark);
  text-align: center;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 12px;
  border: 1px solid var(--color-green-dark);
  padding: 15px 40px;
  font-size: clamp(12px, 1.2vw, 1.5vw);
}

.certificates .controls button span {
  font-family: var(--font-ui);
}

.certificates .controls button.active {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  border: none;
}

/* ==========================================================================
   8. RAMS BANNER
   ========================================================================== */
.rams-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  line-height: 0;
  height: auto;
}

.rams-banner__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   9. SPANISH BUTTON (fixed)
   ========================================================================== */
.see-spanish {
  position: fixed;
  bottom: 5%;
  right: 2%;
  z-index: 100;
}

.see-spanish #btn-spanish {
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: var(--text-nav);
  border: 1px solid var(--color-off-white);
  color: var(--color-green-dark);
  background-color: #ededed;
  line-height: 106%;
  letter-spacing: -0.66px;
  max-width: 240px;
  height: 50px;
}

.see-spanish #btn-spanish.no-visible {
  display: none;
}

/* ==========================================================================
   10. CONTAINER / LAYOUT (homepage-specific)
   ========================================================================== */
.container {
  width: 100%;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contenedor-color {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
}

.guagua {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certificado-div {
  flex-grow: 1;
  margin-top: 22vh;
}

.pad-bottom {
  /* used on mobile */
}

/* ==========================================================================
   11. RESPONSIVE — Desktop breakpoints
   ========================================================================== */

/* Desktop: swiper center alignment */
@media (min-width: 1024px) {
  .carousel-container .swiper-wrapper {
    justify-content: center;
  }
}

/* 1024-1279 */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .svg-absolute {
    width: 70%;
  }

  .custom-checkbox .checkmark {
    min-width: 18px;
    width: 1.25rem;
  }

  .custom-shape {
    clip-path: path("M0 8.6878C0 4.0940 3.7297 0.360358 8.34625 0.309438L50.0681 0H516.7702C521.0785 0 525.4785 3.6280 525.4785 8.3914V40.3177C525.4785 45.0811 529.8785 48.7091 534.1867 48.7091H572.0489C576.3571 48.7091 580.7571 52.3371 580.7571 57.1006V424.7657C580.7571 429.5291 576.3571 433.1571 572.0489 433.1571H204.5878H7.7882C3.6280 433.1571 0 429.5291 0 424.7657V48.8877V8.6878Z");
  }

  .info-slide-customer-child {
    width: 95%;
  }

  .customers h2 {
    width: 55%;
  }

  .child-title-customer p {
    width: 90%;
  }

  .panel {
    width: 45%;
  }

  .container-inputs-quote {
    width: 95%;
  }

  .container-quote {
    width: 95%;
  }

  .form-div-quote {
    width: 52.5%;
  }

  .title-div-quote {
    width: 47.5%;
  }

  .container-inputs-quote .end-content-nav a {
    padding: 12.5px 25px;
  }
}

/* 1280-1439 */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .panel {
    width: 45%;
  }

  .svg-absolute {
    width: 70%;
  }

  .custom-shape {
    clip-path: path("M0 8.6878C0 4.0940 3.7297 0.360358 8.34625 0.309438L50.0681 0H516.7702C521.0785 0 525.4785 3.6280 525.4785 8.3914V40.3177C525.4785 45.0811 529.8785 48.7091 534.1867 48.7091H572.0489C576.3571 48.7091 580.7571 52.3371 580.7571 57.1006V424.7657C580.7571 429.5291 576.3571 433.1571 572.0489 433.1571H204.5878H7.7882C3.6280 433.1571 0 429.5291 0 424.7657V48.8877V8.6878Z");
  }

  .container-inputs-quote {
    width: 95%;
  }

  .container-quote {
    width: 95%;
  }

  .form-div-quote {
    width: 52.5%;
  }

  .title-div-quote {
    width: 47.5%;
  }

  .btn-see button,
  .btn-see a {
    width: 55%;
  }

  .customers h2 {
    width: 55%;
  }

  .child-title-customer p {
    width: 90%;
  }
}

/* 1440-1599 */
@media screen and (min-width: 1440px) and (max-width: 1599px) {
  .panel {
    width: 45%;
  }

  .customers h2 {
    width: 55%;
  }

  .custom-shape {
    clip-path: path("M0 9.6531C0 4.5489 4.14406 0.400398 9.27361 0.343820L55.6312 0H574.1891C578.9761 0 583.865 4.03107 583.865 9.32375V44.7975C583.865 50.0901 588.754 54.1212 593.541 54.1212H635.6099C640.3968 54.1212 645.2856 58.1523 645.2856 63.4449V471.9619C645.2856 477.2546 640.3968 481.2856 635.6099 481.2856H227.3198H8.6536C4.03107 481.2856 0 477.2546 0 471.9619V54.3197V9.6531Z");
  }

  .container-inputs-quote {
    width: 95%;
  }

  .container-quote {
    width: 95%;
  }

  .form-div-quote {
    width: 52.5%;
  }

  .title-div-quote {
    width: 47.5%;
  }

  .btn-see button,
  .btn-see a {
    width: 55%;
  }

  .img-oculta {
    left: 50vw;
  }

  .active-imagne {
    left: 0;
  }
}

/* 1600-1919 */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
  .panel {
    width: 45%;
  }

  .img-oculta {
    left: 50vw;
  }

  .img-oculta2 {
    left: -43vw;
  }

  .custom-shape {
    clip-path: path("M0 10.7892C0 5.08345 4.60319 0.44635 10.3087 0.404495L65.4485 0H675.5146C681.2507 0 686.9 4.64949 686.9 10.3849V49.7747C686.9 55.5101 691.55 61.1596 697.286 61.1596H742.0146C747.7507 61.1596 752.4 65.8091 752.4 71.5445V524.4646C752.4 530.2 747.7507 534.8495 742.0146 534.8495H266.3572H10.3849C4.64945 534.8495 0 530.2 0 524.4646V61.4549V10.7892Z");
  }

  .info-slide-customer-child {
    width: 90%;
  }

  .customers h2 {
    width: 50%;
  }

  .container-inputs-quote {
    width: 95%;
  }

  .container-quote {
    width: 95%;
  }

  .form-div-quote {
    width: 52.5%;
  }

  .title-div-quote {
    width: 47.5%;
  }
}

/* ==========================================================================
   12. RESPONSIVE — Mobile (< 1024px)
   ========================================================================== */
@media screen and (max-width: 1023px) {
  /* Hero */
  .hero-section {
    top: 0;
    min-height: 100vh;
    height: auto;
  }

  .bg-hero {
    opacity: 1;
    background: linear-gradient(180deg, #00000000 0%, #000 100%);
  }

  #sequence-canvas {
    display: none;
  }

  .hero-div-index {
    position: relative;
    height: auto;
    min-height: 100vh;
    justify-content: space-between;
    padding-block: 50px;
  }

  .first-hero {
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
  }

  .first-hero .second-aprt p {
    margin-top: 15px;
  }

  .first-hero .second-aprt {
    width: 95%;
    height: fit-content;
  }

  .first-aprt {
    width: 95%;
    height: fit-content;
    align-items: flex-start;
  }

  .hero-section h2 {
    width: 100%;
    letter-spacing: 0px;
    margin-top: 15%;
    font-size: 46px;
  }

  .hero-section .second-hero h2 {
    width: fit-content;
    letter-spacing: 0px;
    margin-top: 0;
    position: relative;
    left: 0;
    margin-left: 0;
    margin-bottom: 15px;
    transform: translateY(0);
  }

  .hero-section .second-aprt a {
    position: relative;
  }

  .second-hero p {
    font-size: 18px;
    margin-top: 0;
    gap: 15px;
  }

  .second-hero p span {
    height: 10px;
  }

  .second-hero .second-aprt {
    gap: 20px;
    transform: translateY(0);
    width: 100%;
  }

  .second-hero {
    height: auto;
    align-items: end;
    justify-content: end;
    flex-direction: column;
    transform: none;
  }

  .second-hero img {
    width: 20px;
  }

  .second-hero-div {
    width: 4rem;
    height: 7rem;
    display: none;
  }

  /* Get-a-quote */
  .get-quote {
    padding-bottom: 5rem;
    height: auto;
  }

  .get-quote-div {
    padding-bottom: 1rem;
    height: 100%;
  }

  .container-quote {
    flex-direction: column;
  }

  .title-div-quote {
    width: 100%;
    min-height: 75px;
    height: 12.5%;
  }

  .form-div-quote {
    width: 100%;
  }

  .form-div-quote form {
    gap: 1.5rem;
    height: 100%;
  }

  .container-inputs-quote {
    width: 97.5%;
    flex-direction: column;
    gap: 1rem;
  }

  .input-quote-button {
    width: 100%;
  }

  .input-quote-button button {
    height: 45px;
    font-size: var(--text-footer);
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--color-white);
  }

  .custom-checkbox {
    gap: 1.25%;
  }

  .custom-checkbox .checkmark {
    min-width: 18px;
    width: 1.25rem;
  }

  .hexa {
    width: 100%;
    object-fit: cover;
  }

  .absolute-blur {
    width: 100%;
    opacity: 0.1;
    left: auto;
    height: 400px;
    bottom: 0;
    right: 0;
  }

  .video-quote {
    height: 100%;
    opacity: 0;
    mix-blend-mode: color-dodge;
  }

  /* Guarantee */
  .guarantee-section {
    padding-top: 60px;
    height: 295px;
  }

  .guarantee-section-div {
    width: 100%;
    justify-content: center;
    display: flex;
    position: relative;
    gap: 2rem;
    flex-direction: column;
    height: 90%;
  }

  .guarantee-section-div video {
    flex-grow: 1;
    height: 100%;
    width: 100%;
    border-radius: 50px;
  }

  .guarantee-section-div-svg {
    top: 40%;
  }

  .guarantee-section-gap {
    height: 100%;
    gap: 1.5rem;
  }

  .guarantee-section h2 {
    width: 100%;
  }

  .guarantee-section p {
    width: 84%;
    font-size: 16px;
  }

  .section-video {
    height: 50vh;
    padding-inline: 25px;
  }

  /* Customers */
  .customers {
    height: fit-content;
  }

  .customers h2 {
    min-width: 250px;
    max-width: 800px;
    width: 100%;
    font-size: 48px;
  }

  .customers-gap {
    gap: 2rem;
    padding-inline: 20px;
  }

  .div-h2-customers {
    padding-top: 2rem;
  }

  .div-info-customers {
    height: fit-content;
    width: 90%;
    gap: 2rem;
    flex-direction: column;
  }

  .info-slide-customer {
    height: fit-content;
    width: 100%;
  }

  .child-title-customer {
    gap: 1rem;
  }

  .child-title-customer p {
    position: relative;
  }

  .custom-shape {
    height: 55vh;
  }

  .shapes img {
    cursor: pointer;
    width: 100%;
    height: auto;
  }

  /* Buttons */
  .btn-see {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-see button,
  .btn-see a {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px;
    box-sizing: border-box;
  }

  .btn-see2 a {
    width: 12rem;
    height: 45px;
  }

  .btn-see3 button {
    padding: 11.5px 30px;
    font-size: 18px;
    min-width: auto;
    width: auto;
  }

  .btn-see4 {
    position: relative;
    width: 100%;
  }

  .btn-see4 a {
    border-radius: 7.671px;
    background: var(--color-off-white);
    backdrop-filter: blur(0px);
    letter-spacing: 0.1px;
  }

  .pad-bottom {
    padding-bottom: 2rem;
  }

  .contenedor-de-estado p {
    font-family: "Articulat";
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
  }

  /* Map */
  .map-container {
    height: auto;
    padding-block: 50px;
    padding-inline: 25px;
  }

  .map-container .container {
    justify-content: flex-start;
  }

  .map-container .container h2 {
    padding-left: 0;
  }

  .map-container .container .contenedor-div {
    width: 100%;
  }

  .texto-mapa {
    width: 90%;
    padding-bottom: 0;
    padding-top: 0;
  }

  .map-header {
    height: 20%;
  }

  .find-us-text {
    width: 100%;
    margin-bottom: 1rem;
  }

  .find-us-text svg {
    width: 40px;
    height: 40px;
    margin-left: 10px;
  }

  .map-contact {
    border-radius: 15px;
  }

  .map-info-container {
    display: none;
  }

  .contenedor-div2 {
    height: 50%;
    width: 95%;
  }

  .contenedor-div2-div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contenedor-div2-div label {
    color: var(--color-black);
    font-family: "Articulat";
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    margin-top: 50px;
  }

  .contenedor-div2-div select {
    border-radius: var(--radius-btn);
    border: 1px solid rgba(44, 81, 52, 0.5);
    background: #ececec;
    height: 50px;
    color: #7c7c7c;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    padding: 0 0.5rem;
  }

  /* Certificates */
  .certificates {
    height: auto;
    padding: 5vh 0;
  }

  .certificates .controls {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 2vh;
  }

  .certificates #progress-bar {
    height: 3px !important;
  }

  .certificates .controls button span {
    text-wrap: nowrap;
  }

  /* Certificado-div */
  .certificado-div {
    display: none;
  }

  .certificado-div img {
    min-height: 125px;
    height: 15vh;
    max-height: 180px;
    width: auto;
  }
}

/* ==========================================================================
   13. RESPONSIVE — Map breakpoint
   ========================================================================== */
@media (width <= 768px) {
  .map {
    width: 90vw;
    margin-inline: 5%;
  }
}

/* ==========================================================================
   14. RESPONSIVE — Height-specific breakpoints
   ========================================================================== */
@media screen and (min-width: 1023px) and (min-height: 680px) and (max-height: 749px) {
  .custom-shape {
    height: 55vh;
  }

  .map-container {
    height: 1050px;
  }
}

@media screen and (min-width: 1599px) and (min-height: 680px) and (max-height: 749px) {
  .custom-shape {
    height: 55vh;
  }

  .map-container {
    height: 1250px;
  }
}

@media screen and (min-width: 1023px) and (max-height: 679px) {
  .botones-slide {
    height: 40%;
  }

  .get-quote {
    height: 100vh;
  }

  .custom-shape {
    height: 55vh;
  }
}

@media screen and (max-width: 1023px) and (max-height: 679px) {
  .get-quote {
    padding: 2rem 0;
  }

  .map-container {
    height: 850px;
  }
}

/* ==========================================================================
   15. RESPONSIVE — Rams banner
   ========================================================================== */
@media (max-width: 1023px) {
  .rams-banner {
    padding: 2rem 0;
  }

  .rams-banner__img {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .rams-banner {
    padding: 1.5rem 0;
  }

  .rams-banner__img {
    width: 92%;
  }
}

/* Mobile certificado-div visible state */
@media screen and (max-width: 1023px) {
  .certificado-div {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (width < 1024px) {
  .certificado-div {
    display: none;
  }
}
