:root{
--green:#5f6f52;
--dark:#0f0f0f;
--white:#fff;
}

*{box-sizing:border-box;font-family:Montserrat}
body{margin:0;background:#fafafa}
/*------------------------------------------------------------------------------------------------------*/
/*--------------------------          N  A  V B A R                -------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  padding:18px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  z-index:1000;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* Texto alineado ópticamente con el logo */
.logo-text{
  font-weight:700;
  font-size:24px;
  letter-spacing:1px;
  line-height:1;
  display:flex;
  align-items:center;
}


.logo-text span{
  color:#586f4f;
}


.logo-text span{
  color:#586f4f;       /* COLOR CORPORATIVO */
}

/* NAV LINKS */
.nav-links{
  display:flex;
  gap:45px;
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  color:#111;
  font-weight:500;
  position:relative;
  padding:5px 0;
}

/* línea animada debajo */
.nav-links a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:0;
  width:0;
  height:2px;
  background:#586f4f;  /* COLOR CORPORATIVO */
  transition:width .3s ease;
}

.nav-links a:hover::after{
  width:100%;
}

/* CTA */
.nav-links .cta{
  padding:10px 26px;
  background:#586f4f;  /* COLOR CORPORATIVO */
  color:white;
  border-radius:30px;
  transition:all .3s ease;
}

.nav-links .cta:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(88,111,79,.35);
}

/* MENU TOGGLE */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.menu-toggle span{
  width:30px;
  height:3px;
  background:#111;
  transition:all .4s ease;
}

/* ANIMACIÓN HAMBURGUESA */
.menu-toggle.active span:nth-child(1){
  transform:rotate(45deg) translate(6px,6px);
}
.menu-toggle.active span:nth-child(2){
  opacity:0;
}
.menu-toggle.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* RESPONSIVE NAVBAR */
@media (max-width: 900px){

  .menu-toggle{
    display:flex;
  }

  .nav-links{
    position:fixed;
    top:82px;
    right:24px;
    flex-direction:column;
    background:white;
    padding:30px;
    border-radius:18px;
    gap:25px;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;
  }

  .nav-links.active{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
    transition:opacity .35s ease, transform .35s ease;
  }
}

/* Desktop reset */
.nav-links{
  transition:none;
}

/*------------------------------------------------------------------------------------------------------*/
/*--------------------------           H   E    R   O              -------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

/* HERO */
.hero{
  background:#586f4f;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:clamp(40px,6vw,80px);
}

.hero-wrapper{
  max-width:1200px;
  margin:auto;
  width:100%;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(40px,6vw,80px);
  align-items:center;
}

/* TEXTO */
.hero-text{
  color:#fff;
  animation:fadeUp 1s ease;
}



.hero-text h1{
  font-size:clamp(36px,5vw,56px);
  line-height:1.1;
  margin-bottom:25px;
  margin-top: 70px;
}

.hero-text h1 strong{
  color:#cddfba;
}

.hero-text p{
  font-size:18px;
  line-height:1.6;
  color:#f1f4ee;
  max-width:520px;
}

.hero-features{
  list-style:none;
  padding:0;
  margin:30px 0;
}

.hero-features li{
  margin-bottom:10px;
  font-size:16px;
  color:#eef3ea;
}

/* BOTÓN */
.hero-btn{
  padding:18px 45px;
  font-size:16px;
  background:linear-gradient(135deg, #a4c18b, #7fa35f);
  border:none;
  border-radius:50px;
  color:#1f2a1a;
  cursor:pointer;
  font-weight:600;
  transition:.3s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.hero-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

/* IMAGEN */
.hero-image{
  position:relative;
  display:flex;
  justify-content:center;
}

.hero-image img{
  width:100%;
  max-width:500px;
  aspect-ratio:3/4;
  border-radius:100px;
  box-shadow:0 30px 60px rgba(0,0,0,.4);
}


/* RESPONSIVE */
@media(max-width:1000px){
  .hero-wrapper{
    grid-template-columns:1fr;
    text-align:center;
  }

  .hero-text p{
    margin-inline:auto;
  }

  .hero-features{
    display:inline-block;
    text-align:left;
  }

  .hero-image img{
    display: none;
  }
}

/* ANIMACIÓN */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}





/* SEPARADOR CTA */
.hero-divider{
  list-style:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin:30px 0 20px;
  position:relative;
}



.divider-arrow{
  font-size:35px;
  color:#cddfba;
  animation:bounceArrow 1.8s infinite;
}

/* CTA alineado */
.hero-cta{
  list-style:none;
  display:flex;
  justify-content:center;
}

/* ANIMACIÓN FLECHA */
@keyframes bounceArrow{
  0%,100%{
    transform:translateY(0);
    opacity:.7;
  }
  50%{
    transform:translateY(8px);
    opacity:1;
  }
}


/*------------------------------------------------------------------------------------------------------*/
/*--------------------------           P  R  O Y E  C T S           ------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.reformas {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

.reforma-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-bottom: 2rem;
  overflow: hidden;
}

.reforma-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reforma-header h2 {
  font-size: 1.3rem;
}

.toggle-icon {
  font-size: 1.8rem;
  transition: transform .3s;
}

.reforma-card.open .toggle-icon {
  transform: rotate(45deg);
}

.reforma-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
}

.reforma-card.open .reforma-content {
  max-height: 2000px;
}

/* ZONAS */
.zonas {
  display: flex;
  gap: .5rem;
  padding: 1rem;
  overflow-x: auto;
}

.zona-btn {
  flex: 1;
  padding: .6rem;
  border-radius: 8px;
  border: none;
  background: #eee;
  cursor: pointer;
  white-space: nowrap;
}

.zona-btn.active {
  background: #111;
  color: #fff;
}

/* ZONA CONTENT */
.zona {
  display: none;
  padding: 1rem;
}

.zona.active {
  display: block;
  animation: fade .4s ease;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BEFORE AFTER */
.before-after {
  text-align: center;
}

.controls {
  margin-bottom: 1rem;
}

.img-btn {
  padding: .5rem 1rem;
  margin: 0 .3rem;
  border-radius: 20px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

.img-btn.active {
  background: #111;
  color: #fff;
}

.image-wrapper {
  position: relative;
}

.img {
  width: 100%;
  border-radius: 12px;
  display: none;
}

.img.active {
  display: block;
  animation: fade .4s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .reforma-header h2 {
    font-size: 1.1rem;
  }
}

.before-after.extras .controls {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.before-after.extras .img-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 600;
}




/*------------------------------------------------------------------------------------------------------*/
/*--------------------------           F  O R M                    -------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
.reforma-contacto {
  background: linear-gradient(135deg, #586f4f, #3b4a35);
  padding: 90px 20px;
  font-family: system-ui, sans-serif;
  color: #fff;
}

.reforma-contacto .formulario {
  max-width: 1050px;
  margin: auto;
}

.reforma-contacto h2 {
  font-size: 2.4rem;
  margin-bottom: 45px;
}

/* CARDS */
.reforma-contacto .cards-calidad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reforma-contacto .card {
  background: #fff;
  color: #333;
  padding: 36px;
  border-radius: 22px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.reforma-contacto .card:hover {
  transform: translateY(-7px);
  border-color: #000;
  background-color: #a3b4a9;
}

.reforma-contacto .card input {
  display: none;
}

.reforma-contacto .card input:checked + span {
  color: #586f4f;
}

.reforma-contacto .card strong {
  font-size: 1.5rem;
}

.reforma-contacto .card p {
  margin-top: 10px;
  opacity: 0.75;
}

/* FORM */
.reforma-contacto .paso {
  animation: fade 0.4s ease;
}

.reforma-contacto .hidden {
  display: none;
}

.reforma-contacto .fila {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.reforma-contacto .fila.triple .campo {
  flex: 1;
}

.reforma-contacto .campo {
  position: relative;
  width: 100%;
}

.reforma-contacto input, textarea {
  width: 100%;
  padding: 17px 18px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  outline: none;
  background: #fff;
}

.reforma-contacto input::placeholder,
.reforma-contacto textarea::placeholder {
  color: #aaa;
}

.reforma-contacto input:focus,
.reforma-contacto textarea:focus {
  box-shadow: 0 0 0 3px rgba(88,111,79,0.35);
}

.reforma-contacto textarea {
  min-height: 160px;
  margin: 30px 0;
  resize: vertical;
}

/* PRESUPUESTO */
.reforma-contacto .campo.presupuesto input {
  padding-right: 45px;
}

.reforma-contacto .campo.presupuesto span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #666;
}

/* BOTÓN */
.reforma-contacto button {
  background: #586f4f;
  border: none;
  padding: 22px;
  width: 100%;
  font-size: 1.3rem;
  border-radius: 18px;
  cursor: pointer;
  color: #fff;
}

.reforma-contacto button:hover {
  background: #475d40;
}

/* ERROR TELÉFONO */
.reforma-contacto input.error {
  box-shadow: 0 0 0 3px rgba(220,50,50,0.4);
}

/* ANIM */
@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .reforma-contacto .cards-calidad {
    grid-template-columns: 1fr;
  }

 .reforma-contacto .fila {
    flex-direction: column;
  }
}








/*------------------------------------------------------------------------------------------------------*/
/*--------------------------          F  O O T E R                 -------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
/* FOOTER PROFESIONAL AVANZADO */
.footer {
  background: linear-gradient(180deg, #0d0d0d, #111);
  color: #fff;
  padding: 70px 30px 25px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* GRID */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

/* COLUMNAS */
.footer-col h3 {
  margin-bottom: 18px;
  font-size: 18px;
}

/* BRAND */
.footer-brand h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #bbb;
  margin-bottom: 15px;
}

/* LINKS */
.gmail-link,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  background: #1a1a1a;
  border: 1px solid #333;
  transition: 0.3s;
}

.gmail-link {
  background:#ea4335 ;
  color: #fff;
}

.gmail-link:hover {
  background:#fff ;
  color: #ea4335;
  
}

.phone-link {
  color: #fff;
}

.phone-link:hover {
  background: #fff;
  color: #000;
}

/* NAV */
.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #586f4f;
  padding-left: 5px;
}

/* SOCIAL */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  color: #fff;
  transition: 0.3s;
}


.instagram:hover {
  background: #e4405f;
}

.tiktok:hover {
  background: #000;
  color: #69c9d0;
}

/* WHATSAPP */
.whatsapp-cta {
  max-width: 600px;
  margin: 45px auto 0;
}

.whatsapp-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(90deg, #586f4f, #35442f);
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.35s;
}

.whatsapp-cta a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(60, 98, 74, 0.45);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #222;
  padding-top: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}






@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1}}
.hidden{display:none}
