* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.navbar {
  background: #222;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 40px;

  position: relative;
}

/* IZQUIERDA */

.navbar-left {
  display: flex;
  align-items: center;

  gap: 15px;
}

/* LOGO */

.logo-icon {
  width: 55px;
  height: 55px;

  object-fit: contain;

  display: block;
}

/* TITULO */

.navbar-left h2 {
  color: white;

  font-size: 38px;
  font-weight: bold;
}

/* MENU */

.nav-links {
  display: flex;
  align-items: center;

  list-style: none;

  gap: 35px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: white;

  text-decoration: none;

  font-size: 20px;

  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #25D366;
}

/* ===================================================== */
/* MENU MOVIL */
/* ===================================================== */

.menu-toggle {
  display: none;

  font-size: 38px;

  color: white;

  cursor: pointer;
}

/* ===================================================== */
/* HERO */
/* ===================================================== */

.hero {
  height: 850px;

  background-image: url('../img/hero_pintura.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  position: relative;

  color: white;
}

/* OSCURECER FONDO */

.hero::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.35);
}

/* TEXTO ENCIMA */

.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

/* TITULO */

.hero h1 {
  font-size: clamp(50px, 6vw, 95px);

  font-weight: bold;

  margin-bottom: 20px;

  text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

/* SUBTITULO */

.hero p {
  font-size: clamp(22px, 2vw, 34px);

  text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

/* ===================================================== */
/* SECCIONES */
/* ===================================================== */

.section {
  padding: 80px 300px;
}

.container {
  display: flex;
  align-items: center;

  gap: 260px;
}

/* INVERTIR */

.container.reverse {
  flex-direction: row-reverse;
}

/* ===================================================== */
/* IMAGENES */
/* ===================================================== */

.image img {
  width: 450px;

  height: auto;

  border: 2px solid #333;

  border-radius: 12px;
}

/* ===================================================== */
/* TEXTO BASE */
/* ===================================================== */

.text {
  max-width: 800px;
}

/* ===================================================== */
/* PAGINA INICIO */
/* ===================================================== */

.home-text h2 {
  font-size: 42px;

  margin-bottom: 25px;

  color: #222;
}

.home-text p {
  text-align: justify;
  text-justify: inter-word;

  font-size: 22px;

  line-height: 1.9;

  color: #444;
}

/* ===================================================== */
/* PAGINA NOSOTROS */
/* ===================================================== */

.nosotros-text h2 {
  font-size: 42px;

  margin-bottom: 20px;

  color: #222;
}

.nosotros-text p {
  font-size: 20px;

  line-height: 1.8;

  color: #555;

  text-align: justify;
  text-justify: inter-word;
}

/* ===================================================== */
/* PAGINA CONTACTO */
/* ===================================================== */

.contact-text {
  max-width: 900px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;
}

/* TITULO */

.contact-text h2 {
  font-size: clamp(36px, 5vw, 72px);

  margin-bottom: 40px;

  line-height: 1.1;

  color: #222;

  white-space: nowrap;
}

/* TEXTO */

.contact-text p {
  font-size: clamp(18px, 2vw, 24px);

  line-height: 1.9;

  color: #555;

  text-align: justify;
  text-justify: inter-word;
}

/* ===================================================== */
/* ANIMACIONES */
/* ===================================================== */

.hidden {
  opacity: 0;

  transform: translateY(50px);

  transition: all 1.5s ease;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

/* ===================================================== */
/* BOTONES CONTACTO */
/* ===================================================== */

.contact-buttons {
  margin-top: 30px;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 15px;
}

.btn {
  width: 220px;

  padding: 14px;

  text-align: center;

  text-decoration: none;

  color: white;

  font-weight: bold;

  border-radius: 8px;

  transition: 0.3s ease;
}

/* WHATSAPP */

.whatsapp {
  background: #25D366;
}

.whatsapp:hover {
  background: #1ebe5d;

  transform: scale(1.05);
}

/* TELEGRAM */

.telegram {
  background: #0088cc;
}

.telegram:hover {
  background: #0077b5;

  transform: scale(1.05);
}

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

.footer {
  background: #222;

  color: white;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 30px 60px;

  margin-bottom: 30px;
}

.footer-left {
  font-size: 22px;

  font-weight: bold;
}

.footer-right {
  display: flex;

  gap: 20px;
}

.footer-right a {
  color: white;

  font-size: 24px;

  transition: 0.3s ease;
}

.footer-right a:hover {
  transform: scale(1.2);

  color: #25D366;
}

/* ===================================================== */
/* RESPONSIVE TABLET */
/* ===================================================== */

@media (max-width: 1200px) {

  .section {
    padding: 60px 100px;
  }

  .container {
    gap: 80px;
  }
}

/* ===================================================== */
/* RESPONSIVE MOVIL */
/* ===================================================== */

@media (max-width: 900px) {

  /* NAVBAR */

  .navbar {
    padding: 20px;
  }

  /* LOGO */

  .navbar-left {
    gap: 10px;
  }

  .logo-icon {
    width: 42px;
    height: 42px;
  }

  .navbar-left h2 {
    font-size: 24px;
  }

  /* BOTON HAMBURGUESA */

  .menu-toggle {
    display: block;
  }

  /* MENU */

  .nav-links {

    display: none !important;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: #222;

    flex-direction: column;

    align-items: center;

    gap: 25px;

    padding: 30px 0;

    z-index: 999;
  }

  /* MENU ACTIVO */

  .nav-links.active {
    display: flex !important;
  }

  /* LINKS */

  .nav-links a {
    font-size: 24px;
  }

  /* HERO */

  .hero {
    height: 700px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p {
    font-size: 22px;
  }

  /* SECCIONES */

  .container,
  .container.reverse {
    flex-direction: column;
  }

  .section {
    padding: 50px 25px;
  }

  .image img {
    width: 100%;

    max-width: 100%;
  }

  /* CONTACTO */

  .contact-text h2 {
    white-space: normal;
  }

  /* TEXTOS */

  .home-text p,
  .contact-text p,
  .nosotros-text p {
    text-align: center;
  }

  /* FOOTER */

  .footer {

    flex-direction: column;

    gap: 20px;

    text-align: center;

    padding: 30px;
  }
}

/* ===================================================== */
/* COOKIES */
/* ===================================================== */

.cookie-banner {

  position: fixed;

  bottom: 20px;

  left: 50%;

  transform: translateX(-50%);

  width: 90%;
  max-width: 900px;

  background: rgba(34,34,34,0.96);

  color: white;

  padding: 18px 25px;

  border-radius: 14px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  z-index: 9999;

  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.cookie-banner p {

  font-size: 16px;

  line-height: 1.5;
}

.cookie-banner button {

  background: #25D366;

  color: white;

  border: none;

  padding: 12px 22px;

  border-radius: 8px;

  cursor: pointer;

  font-weight: bold;

  transition: 0.3s ease;
}

.cookie-banner button:hover {

  background: #1ebe5d;
}

/* MOVIL */

@media (max-width: 700px) {

  .cookie-banner {

    flex-direction: column;

    text-align: center;
  }

  .cookie-banner button {

    width: 100%;
  }
}

/* ===================================================== */
/* FIX MENU SOLO CONTACTO */
/* ===================================================== */

.contact-page .section,
.contact-page .container,
.contact-page .container.reverse,
.contact-page .image,
.contact-page .text {
  position: relative;
  z-index: 1;
}

.contact-page .navbar,
.contact-page .nav-links,
.contact-page .menu-toggle {
  z-index: 999999;
}


