:root {
  --bg: #f6f5ef;
  --primary: #2f6f4f;
  --accent: #c8a96b;
  --text: #1f2937;
  --white: #fff;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HERO */
.hero {
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-image {
  height: 400px;
  background: linear-gradient(135deg, #2f6f4f, #c8a96b);
  border-radius: 20px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
}

/* BOTONES */
.btn {
  padding: 1rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-block;
  margin-right: 10px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  border: 1px solid var(--primary);
}

/* SECCIONES */
.section {
  padding: 4rem 0;
}

.section-soft {
  background: #f1eee4;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 2rem;
  background: white;
  border-radius: 20px;
}

/* CARRUSEL */
.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
}

.slide {
  min-width: 300px;
  height: 200px;
  background: #ddd;
  border-radius: 20px;
}

/* BEFORE AFTER */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.before, .after {
  height: 250px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: bold;
}

.before {
  background: #ccc;
}

.after {
  background: linear-gradient(135deg, #2f6f4f, #c8a96b);
  color: white;
}

/* PROCESO */
.process-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #183727, #2f6f4f);
  color: white;
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.process-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.process-card:hover {
  transform: translateY(-8px);
}

.circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8a96b, #e6c98a);
  color: #183727;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.process-line {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

/* ========================= */
/* 💚 CONTACTO PRO ARREGLADO */
/* ========================= */

.contact-section {
  padding: 6rem 0 10rem;
  background: linear-gradient(135deg, #183727, #2f6f4f);
  position: relative;
  overflow: hidden;
}

/* curva */
.contact-section::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #f6f5ef;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info {
  color: white;
}

.contact-info h2 {
  font-size: 2.5rem;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
}

.contact-badges span {
  display: block;
  margin-bottom: 0.5rem;
  color: #c8a96b;
}

/* FORM */
.contact-form-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

/* INPUTS */
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: white;
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: rgba(255,255,255,0.6);
  transition: 0.2s ease;
}

/* FLOAT */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
  top: -8px;
  font-size: 0.75rem;
  color: #c8a96b;
}

/* BOTON */
.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #c8a96b, #e6c98a);
  color: #183727;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.05);
}

/* ================= */
/* 🧱 FOOTER FIXED   */
/* ================= */

.footer {
  background: #0f241a;
  color: white;
  padding-top: 5rem;
  margin-top: 0; /* FIX CLAVE */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

}


/* ========================= */
/* ⚪ CONTACTO BLANCO PRO */
/* ========================= */
/* ========================= */
/* ⚪ CONTACTO BLANCO PRO */
/* ========================= */

.contact-white {
  background: #ffffff;
  padding: 6rem 0;
}

.contact-white-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-white-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-white-info p {
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-white-info ul {
  padding: 0;
  list-style: none;
}

.contact-white-info li {
  margin-bottom: 0.5rem;
  color: #2f6f4f;
  font-weight: 500;
}

/* FORM */
.contact-white-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* INPUTS */
.contact-white-form input,
.contact-white-form textarea,
.contact-white-form select {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 0.95rem;
}

/* FOCUS PRO */
.contact-white-form input:focus,
.contact-white-form textarea:focus,
.contact-white-form select:focus {
  border-color: #2f6f4f;
  box-shadow: 0 0 0 2px rgba(47,111,79,0.1);
}

/* BOTON */
.contact-white-form .btn-submit {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(135deg, #2f6f4f, #4f9b74);
  color: white;
}

.contact-white-form .btn-submit:hover {
  transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-white-wrapper {
    grid-template-columns: 1fr;
  }

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