*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

h1{ font-size: 1.5em;}
h2{ font-size: 2.2em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
ul{ list-style: none;}
li{ font-size: 1.25em;}

button{
    font-size: 1.15em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 15px;
    border: 2px solid rgba(0,0,0,0.3);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: black;
    background-color: rgb(255, 255, 255);
	font-family: Arial, Helvetica, sans-serif;
}

button:hover{
    background-color: rgb(63, 128, 70);
}

.container{
    max-width: 1400px;
    margin: auto;
}
header{
    background-color: rgb(245,245,245);
	height: 105px;
	position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    
}


header .container{
    display: flex;
    flex-direction: column;
}

header nav{
    display: flex;
    text-align: center;
	flex-direction: column;
    padding-bottom: 25px;
}

header a{
    padding: 35px 20px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(144, 238, 144);
}
header a:hover{
    color: rgb(0, 0, 255);
}
#Service .container{
    text-align: center;
    padding: 150px 12px;
}
#contact .container{
    text-align: center;
    padding: 150px 12px;
}
#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height:97vh;
	flex-grow: 1;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.1)
    )
    ,url("Images/Casa.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#hero h1{
    color: white;
}

#hero button{
    font-size: 1.75em;
}
#final{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgb(30,30,30);
    color: white;
    height: 80vh;
}

#final h2{
    font-size: 9vw;
}

#final button{
    font-size: 5vw;
}
.locations {
    display: flex; 
    gap: 20px;  
}
footer .seccion-1{
    display: flex;
}
footer .seccion-1 div {
	flex-grow: 1;
}
.columna-1, .columna-2 .columna-3{
    flex: 1;
}
footer{
    background-color: red;
}

footer p{
	padding: 3px 0;
	font-size: 14px;
    margin: 0;
    color: rgb(100,100,100);
}
.cleaning-services {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 50px 20px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.cleaning-card {
    text-align: center;

    padding: 30px 20px;
    background: #ffffff;

    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
.cleaning-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 150px;
    height: 150px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: White;
    );

    transition: transform 0.35s ease;
}

.cleaning-card:hover .icon-box {
    transform: scale(1.08) rotate(3deg);
}

.icon-box img {
    width: 145px;
    height: 145px;

    object-fit: contain;
}

.cleaning-card h3 {
    margin: 10px 0;

    font-size: 20px;
    font-weight: 700;

    color: #0b3d91;
}

.cleaning-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #666;
}
.contact-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #172033;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #087ea4;
    box-shadow: 0 0 0 3px rgba(8, 126, 164, 0.10);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-option {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 3px;
    border: 0px solid #d7dce5;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0 !important;
}

.service-option:hover {
    border-color: #087ea4;
    background: #f5fbfd;
}

.service-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #087ea4;
}

.service-option span {
    font-size: 14px;
    color: #333;
}

/* BUTTON */

.submit-btn {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    background: #0b3d91;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #075d79;
    transform: translateY(-2px);
}
@media (min-width: 850px){
    header{
        position: fixed;
        width: 100%;
    }

    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }
    #hero h1{
        font-size: 5em;
    }
    #final h2{
        font-size: 5em;
    }

    #final button{
        font-size: 2em;
    }
}

@media (min-width: 1200px) {
    #caracteristicas{
        background-position-x: calc(100vw - 800px);
    }
}
/* Reseteo básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Estilos de la barra de navegación (Escritorio por defecto) */
.navbar {
  width : 100%;
  height:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(245,245,245);
  padding: 15px 30px;
  position: relative;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #0b3d91;
  text-decoration: none;
  font-size: 20	px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: rgb(0, 0, 0);
}

/* Ocultar el checkbox y el icono en pantallas grandes */
.menu-checkbox {
  display: none;
}

.hamburger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 20px;
}

.hamburger-label span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* --- Media Query para Dispositivos Móviles --- */
@media (max-width: 768px) {
	header{
        position: fixed;
        width: 100%;
    }

    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 25px;
    }
	  footer{
        text-align: center;
		width: 100%;
		bottom:0;
    }
	footer h3{
		font-size: 18px;
		padding: 10px 0;
	}
	footer p{
		padding: 3px 0;
		font-size: 14px;
	}
	footer .seccion-1{
		display: Block;
		padding: 10px 0;
	}
	footer .seccion-1 a{
		display: block;
	}
	#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height:95vh;
	flex-grow: 1;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.4)
    )
    ,url("Images/Casa.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
	#hero h1{
    color: White;
	font-size: 60px;
}
  /* Mostrar el icono de hamburguesa */
  .hamburger-label {
    display: flex;
	margin-left: auto;
    position: relative;
    top: 100%;
    transform: translateY(-50%);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(245,245,245);
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Animación PRO */
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: 
      transform 0.4s ease,
      opacity 0.4s ease;
  }

  /* Estado abierto */
  .menu-checkbox:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
  .nav-links li {
    margin: 15px 0;
  }

  /* Truco CSS: Cuando el checkbox esté marcado, muestra el menú */
  .menu-checkbox:checked ~ .nav-links {
    max-height: 300px; /* Ajusta este valor según el alto de tus enlaces */
  }

  /* Animación opcional: Transforma las líneas en una 'X' al abrir */
  .menu-checkbox:checked ~ .hamburger-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
.contact-form {
        padding: 25px 18px;
        border-radius: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
}
/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .cleaning-services {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .cleaning-services {
        grid-template-columns: 1fr;

        padding: 35px 15px;
        gap: 20px;
    }

    .cleaning-card {
        padding: 25px 20px;
    }

    .icon-box {
        width: 130px;
        height: 130px;
    }

    .icon-box img {
        width: 120px;
        height: 120px;
    }

    .cleaning-card h3 {
        font-size: 19px;
    }

}


    