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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --orange: #FF5B2D;
  --orange-dark: #c8420f;
  --teal: #162C34;
  --teal-mid: #1e3a4a;
  --teal-light: #e6edf0;
  --cream: #fdf7e1;
  --black: #111;
  --white: #fff;
  --gray: #f0efe9;
  --text: #F6F6F6;
  --muted: #666;
  --font-regular: 'Montserrat';
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-regular);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* NAV */


/* === HAMBURGUESA === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 310;
  position: relative;
  background-color: var(--orange);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger:hover {
  background-color: var(--orange);
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 290;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.is-open {
  opacity: 1;
}


nav {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-box {
  background: var(--teal);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-center {
  display: flex;
  gap: 4rem;
  list-style: none;
  height: 100%;
  align-items: center;
}

.nav-center a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--teal);
  transition: color .2s;
}

.nav-center li {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-center li:hover {
  border-bottom: 2px solid var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 0px 50px;
  height: stretch;
}

.btn-tienda {
  border-radius: 5px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  font-size: 15px;
}

.btn-tienda:hover {
  background: var(--orange-dark);
}

.nav-social {
  display: flex;
  gap: 8px;
}

.nav-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  border-radius: 10px;
  text-decoration: none;
}

.nav-social .ig rect {
  width: 23px;
  height: 23px;
}

.nav-social i {
  width: 23px;
  height: 23px;
  font-size: 23px;
  color: var(--teal);
}

.nav-social .fb:hover>i {
  color: var(--orange);
}

.nav-social .ig:hover i,
.nav-social .ig:hover i {
  color: var(--orange);
}

/* SLIDER */
.mainSwiper .swiper-button-next svg,
.mainSwiper .swiper-button-prev svg {
  display: none !important;
}

.mainSwiper .swiper-button-next,
.mainSwiper .swiper-button-prev {
  color: #000;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 100%;
  padding: 10px;
}


.mainSwiper .swiper-button-next:hover,
.mainSwiper .swiper-button-prev:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

.mainSwiper.swiper-button-next::after,
.mainSwiper.swiper-button-prev::after {
  font-size: 24px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .mainSwiper .swiper-button-next,
  .mainSwiper .swiper-button-prev {
    display: none !important;
  }
}

#slider img,
#slider video {
  width: 100%;
  display: block;
}

#slider video {
  aspect-ratio: 16/9;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.about-image {
  background: #111;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
  opacity: .75;
  display: block;
}

.about-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: var(--teal-mid);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.ap-cell {
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  opacity: .25;
  transition: opacity .3s;
}

.ap-cell:hover {
  opacity: .55;
}

.about-content {
  background: var(--teal-light);
  padding: 5rem 20rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 42px;
  font-weight: 300;
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.about-content p {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: .8rem;
  font-weight: 200;
}

.about-content p strong {
  color: var(--teal);
  font-weight: 600;
}

.cats {
  margin-top: 1.2rem;
  color: var(--teal);
}

.cats strong {
  font-weight: 600;
}

/* NEWSLETTER */
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.newsletter {
  background-image: url('../imagenes/backgound-email.jpg');
  padding: 4.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.newsletter .label {
  color: #FDF9E7;
  font-size: 18px;
  text-transform: uppercase;
}

.newsletter h2 {
  font-size: 42px;
  font-weight: 300;
  color: #FFFFFF;
}

.nl-form {
  display: flex;
  width: 100%;
  gap: 5px;
}

textarea,
select,
input {
  flex: 1;
  padding: 20px 25px;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text);
  background: #162C35;
  border-radius: 5px;
  font-family: var(--font-regular);
}

textarea,
select,
input::placeholder {
  color: #ffff;
}

button {
  background: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 24px;
  transition: background .2s;
  border-radius: 5px;
  font-family: var(--font-regular);
}

button:hover {
  background: var(--orange-dark);
}

/* SUCURSALES */
.sucursales {
  background: var(--cream);
  padding: 4.5rem 2.5rem;
}

.suc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.suc-card {
  background: var(--white);
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.suc-img {
  background: var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.suc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  display: block;
  transition: filter 0.4s ease;
}

.suc-card:hover .suc-img img {
  filter: none;
}

.suc-body {
  padding: 1.2rem 1rem;
}

.suc-body h3 {
  font-size: 32px;
  font-weight: 300;
  color: var(--teal);
  margin-bottom: .6rem;
}

.suc-body p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}

.suc-body p strong {
  color: var(--teal);
}

/* MARCAS */
.marcas {
  background-color: black;
  padding: 2.5rem 0px;
}

.marcas-section {
  background: #000;
  width: 100%;
  padding: 3rem 0 4rem;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cada card de marca */
.marca-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: border-color 0.3s;
  margin: 20px 0px;
}

.marca-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.marca-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: opacity 0.3s;
  opacity: 0.85;
  aspect-ratio: 19/7;
}

.marca-card:hover img {
  opacity: 1;
}

/* Paginación */
.swiper-pagination {
  margin-top: 10px !important;
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  width: 28px !important;
  height: 3px !important;
  border-radius: 2px !important;
  transition: background 0.3s !important;
}

.swiper-pagination-bullet-active {
  background: var(--orange) !important;
  width: 36px !important;
}

/* GOOGLE + TESTIMONIOS */
.social-proof {
  padding: 5rem 20rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.google-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.g-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 45px;
  color: black;
}

.g-logo {
  font-weight: 700;
}

.g-logo .gc {
  color: #4285F4;
}

.g-logo .go1 {
  color: #EA4335;
}

.g-logo .go2 {
  color: #FBBC04;
}

.g-logo .gg {
  color: #4285F4;
}

.g-logo .gl {
  color: #34A853;
}

.g-logo .ge {
  color: #EA4335;
}

.google-side h3 {
  font-size: 18px;
  color: var(--teal);
  font-weight: 600;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-num {
  font-weight: 700;
  color: var(--teal);
}

.rating-stars {
  color: #FBBC04;
  font-size: 1rem;
}

.rating-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 3px;
}

.rating-link {
  font-size: 16px;
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.testimonios-slider {
  width: 100%;
  position: relative;
}

.testimonios-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

.testi-name {
  font-family: var(--font-d, 'Playfair Display', serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal, #1A3040);
}

.testi-text {
  font-size: 18px;
  color: var(--muted, #666);
  font-style: italic;
}

/* Navegación personalizada — flechas cuadradas pequeñas */
.testi-nav {
  display: flex;
  gap: 6px;
  margin-top: .5rem;
}

.testi-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid #ccc;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  transition: all .2s;
  user-select: none;
}

.testi-btn:hover {
  background: var(--teal, #1A3040);
  border-color: var(--teal, #1A3040);
  color: white;
}

/* Si el slider va sobre fondo teal (lado derecho de la sección de reviews) */
.testi-on-dark .testi-name {
  color: white;
}

.testi-on-dark .testi-text {
  color: rgba(255, 255, 255, 0.65);
}

.testi-on-dark .testi-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.testi-on-dark .testi-btn:hover {
  background: var(--orange, #E8511A);
  border-color: var(--orange, #E8511A);
}

/* CTA TIENDA */
.cta-tienda {
  background-image: url('../imagenes/fondotienda.jpg');
  padding: 5rem 20rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-tienda-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cta-icon svg {
  fill: white;
}

.cta-tienda h2 {
  font-size: 42px;
  font-weight: 300;
  color: white;
  max-width: 548px;
  margin: 0 auto;
}

.btn-tienda-big {
  border-radius: 10px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 25px 32px;
  border-radius: 5px;
}

.btn-tienda-big:hover {
  background: #0f1e28;
}

/* CONTACTO */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.map-side {
  background: #d6d2c8;
  overflow: hidden;
  position: relative;
}

#map1 {
  width: 100%;
  height: 100%;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 13px;
  text-align: center;
}

.contact-form {
  background-image: url('../imagenes/backgound-email.jpg');
  padding: 5rem 20rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.contact-form h2 {
  font-size: 42px;
  font-weight: 300;
  color: white;
  margin-bottom: 1rem;
}

.fg2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("../imagenes/flecha.png");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;

  padding-right: 30px;
}


.cf-field {
  margin-top: 10px;
}

.cf-field select option {
  background: var(--teal);
  color: white;
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
  color: white;
}

.cf-field textarea::placeholder {
  color: white;
}

.btn-enviar {
  background: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 5px;
  align-self: flex-start;
  margin-top: 10px;
  font-family: var(--font-regular);
  width: 50%;
}

.btn-enviar:hover {
  background: var(--orange-dark);
}

/* FOOTER */
footer nav .nav-center li:hover {
  border-top: 2px solid var(--orange);
  border-bottom: 0px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1640px) {
  .cta-tienda h2 {
    font-size: 36px;
  }
  .btn-tienda-big{
    padding: 18px 25px;
  }
  .contact-form form {
    max-width: 100%;
    width: 100%;
  }

  .cta-tienda {
    justify-content: space-between;
  }

  .social-proof,
  .cta-tienda  {
    padding: 4rem 9rem;
  }

  .suc-body h3 {
    font-size: 20px;
  }

  .suc-body p {
    font-size: 12px;
  }

  .contact-form, .about-content {
    padding: 1rem 9rem 1rem 2.5rem;
  }

  .contact-form h2 {
    font-size: 40px;
  }

  .btn-enviar {
    width: auto;
    font-size: 18px;
  }

  textarea,
  select,
  input {
    padding: 16px;
  }
}

@media (max-width: 1260px) {
  
  .cta-tienda h2, .about-content h2, .newsletter h2, .contact-form h2 {
    font-size: 32px;
  }

  .about-content {
    padding: 4rem;
  }

  .contact-form {
    padding: 4rem;
  }

  .suc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-proof {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

}

@media (max-width: 860px) {
  nav {
    padding: 0 1.2rem;
  }

  .fg2 {
    gap: 0px;
  }

  .hero,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-left {
    min-height: 50vh;
  }

  .hero-right {
    min-height: 45vh;
  }

  .about-placeholder {
    min-height: 280px;
  }

  .cta-tienda {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    width: 100%;
  }

  .cta-tienda-left {
    flex-direction: column;
  }

  .map-side {
    min-height: 320px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .fg2 {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  .about-content {
    padding: 25px;
  }

  .about-content h2 {
    font-size: 32px;
  }

  .suc-grid {
    grid-template-columns: 1fr;
  }

  .marcas {
    gap: 1.5rem 2rem;
  }
}

.nl-form .mobile{
  display: none;
}

@media (max-width: 860px) {
  .nl-form .mobile{
    display: initial;
  }
  .nl-form .desktop{
    display: none;
  }
  nav {
    padding: 0px;
  }
  .nav-logo-box {
    max-width: 250px;
  }


  .nav-hamburger {
    display: flex;
    margin-right: 20px;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.is-open {
    pointer-events: all;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--white, #fff);
    z-index: 300;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
  }

  .nav-right.is-open {
    transform: translateX(0);
  }

  .nav-center {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
    height: auto;
  }

  .nav-center li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    height: auto;
  }

  .nav-center a {
    display: block;
    padding: 1rem 0;
    font-size: 13px !important;
  }

  .btn-tienda {
    width: 100%;
    text-align: center;
    padding: 12px !important;
    margin-bottom: 1.5rem;
  }

  .nav-social {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .swiper {
    width: 100%;
    padding: 0rem !important;
  }

  .social-proof, .cta-tienda, .contact-form, .about-content {
    padding: 4.5rem 2rem;
  }

  .btn-enviar{
    width: 100%;
  }

  .cta-tienda h2, .newsletter h2 {
    font-size: 32px;
  }

  
  footer nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  footer .nav-right {
    padding: 2.5rem !important;
  }
  footer .nav-logo {
    display: block;
    width: 100%;
  }

  footer .nav-logo-box {
    max-width: 100%;
  }

  footer .nav-logo-box img{
    width: 100%;
    display: none;
  }

  footer .nav-right{
    position: initial;
    transform: none;
    width: 100%;
    background: var(--white, #fff);
    z-index: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 0;
    box-shadow: none;
    transition: none;
  }
}

