* {
  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;
}
/* ===================================================== */
/* TRABAJOS */
/* ===================================================== */

.trabajos-title{

text-align:center;

margin-bottom:50px;
}

.trabajos-title h2{

font-size:45px;

margin-bottom:20px;
}

.trabajos-title p{

font-size:22px;

color:#555;
}

.trabajos-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:40px;
}

.trabajo-card{

background:white;

padding:15px;

border-radius:15px;

overflow:hidden;

box-shadow:0 5px 20px rgba(0,0,0,.15);

transition:.4s;
}

.trabajo-card:hover{

transform:translateY(-8px);
}

.trabajo-card img{

width:100%;

display:block;

border-radius:10px;
}


/* MOVIL */

@media(max-width:900px){

.trabajos-grid{

grid-template-columns:1fr;
}

}
/* ===================================================== */
/* GALERIA */
/* ===================================================== */

.gallery-header{

text-align:center;

padding:70px 20px 40px;
}

.gallery-header h1{

font-size:56px;

margin-bottom:15px;

color:#222;
}

.gallery-header p{

font-size:22px;

color:#555;
}

.gallery-grid{

padding:0 80px 80px;

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;
}

.gallery-img{

width:100%;

height:300px;

object-fit:cover;

cursor:pointer;

border-radius:12px;

box-shadow:0 5px 20px rgba(0,0,0,.15);

transition:.3s;
}

.gallery-img:hover{

transform:scale(1.03);
}

/* ===================================================== */
/* LIGHTBOX */
/* ===================================================== */

.lightbox{

display:none;

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,.95);

justify-content:center;

align-items:center;

z-index:99999;
}

.lightbox img{

max-width:85%;

max-height:85%;

border-radius:10px;
}

.close-lightbox{

position:absolute;

top:25px;
right:40px;

font-size:50px;

color:white;

cursor:pointer;
}

.prev-btn,
.next-btn{

position:absolute;

background:none;

border:none;

color:white;

font-size:70px;

cursor:pointer;
}

.prev-btn{

left:40px;
}

.next-btn{

right:40px;
}

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

@media(max-width:1200px){

.gallery-grid{

grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:900px){

.gallery-grid{

grid-template-columns:repeat(2,1fr);

padding:0 20px 50px;
}

.gallery-img{

height:220px;
}

}

@media(max-width:600px){

.gallery-grid{

grid-template-columns:1fr;
}

.gallery-img{

height:280px;
}

.gallery-header h1{

font-size:42px;
}

}
/* ===================================================== */
/* INTRO EMPRESA */
/* ===================================================== */

.empresa-intro {

  max-width: 1400px;

  margin: 80px auto;

  padding: 0 40px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

/* ===================================================== */
/* IMAGEN */
/* ===================================================== */

.empresa-image {

  width: 100%;
}

.empresa-image img {

  width: 100%;

  height: auto;

  display: block;

  border-radius: 15px;

  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

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

.empresa-content {

  width: 100%;
}

.empresa-content h1 {

  font-size: clamp(42px, 4vw, 64px);

  color: #222;

  margin-bottom: 20px;
}

.empresa-line {

  width: 120px;

  height: 5px;

  background: #C89B3C;

  border-radius: 20px;

  margin-bottom: 30px;
}

.empresa-content h2 {

  font-size: clamp(24px, 2vw, 34px);

  color: #444;

  line-height: 1.4;

  margin-bottom: 25px;
}

.empresa-content p {

  font-size: 20px;

  line-height: 1.9;

  color: #555;

  text-align: justify;
}

/* ===================================================== */
/* ESTADISTICAS */
/* ===================================================== */

.empresa-stats {

  display: flex;

  gap: 40px;

  margin-top: 40px;

  flex-wrap: wrap;
}

.stat {

  text-align: center;
}

.stat span {

  display: block;

  font-size: 42px;

  font-weight: bold;

  color: #1E4D8C;

  margin-bottom: 10px;
}

.stat p {

  font-size: 16px;

  color: #666;

  text-align: center;
}

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

@media (max-width: 1100px) {

  .empresa-intro {

    grid-template-columns: 1fr;

    text-align: center;
  }

  .empresa-line {

    margin: 0 auto 30px;
  }

  .empresa-content p {

    text-align: center;
  }

  .empresa-stats {

    justify-content: center;
  }

}

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

@media (max-width: 900px) {

  .empresa-intro {

    padding: 0 25px;

    gap: 40px;
  }

  .empresa-content h1 {

    font-size: 42px;
  }

  .empresa-content h2 {

    font-size: 24px;
  }

  .empresa-content p {

    font-size: 18px;
  }

  .stat span {

    font-size: 34px;
  }

}