/* ── VARIABLES ── */
:root {
  --green-deep:  #0d8a71;
  --green-mid:   #1fb89a;
  --green-soft:  #4dd4ba;
  --green-pale:  #e0f7f3;
  --green-light: #eafaf7;
  --sky:         #e0f7f3;
  --sand:        #f7f3ec;
  --text:        #1c2b22;
  --text-mid:    #4a5e52;
  --text-light:  #8a9e92;
  --white:       #ffffff;
  --border:      #c5ede6;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  padding: 1.1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(26,92,58,.07);
}
.navbar img { height: 120px; }
.nav-cta {
  background: var(--green-mid);
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green-deep); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--sky) 50%, #f0f9f5 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: radial-gradient(circle, rgba(76,175,128,.13) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%;
  background: radial-gradient(circle, rgba(31,184,154,.09) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(31,184,154,.1);
  border: 1px solid rgba(31,184,154,.25);
  color: var(--green-mid);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeUp .5s ease both;
}
.hero-badge::before { content: '🌿'; font-size: .9rem; }
.hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green-deep);
  animation: fadeUp .6s .1s ease both;
}
.hero-h1 em { font-style: italic; font-weight: 300; color: var(--green-mid); }
.hero-sub {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 1.4rem;
  max-width: 500px;
  animation: fadeUp .6s .2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}
.btn-green {
  background: var(--green-mid);
  color: #fff;
  padding: .9rem 2rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(31,184,154,.3);
}
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,184,154,.35); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  padding: .9rem 2rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--green-mid);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--green-pale); }
.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .6s .4s ease both;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: .6rem; }
.trust-ico { font-size: 1.3rem; }
.trust-text { font-size: .82rem; color: var(--text-mid); line-height: 1.35; }
.trust-text strong { display: block; font-weight: 600; color: var(--text); font-size: .9rem; }

/* ── HERO FOTO GRID ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeIn .8s .3s ease both;
}
.hero-photo-grid {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.hp-main {
  position: absolute;
  top: 0; left: 0;
  width:  auto; height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(26,92,58,.22);
  animation: fadeIn .8s .3s ease both;
}

.hp-small1 {
  position: absolute;
  top: 20px; right: 0;
  width: 160px; height: 150px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26,92,58,.18);
  animation: fadeIn .8s .5s ease both;
  border: 3px solid var(--white);
}
.hp-small2 {
  position: absolute;
  bottom: 0; right: 20px;
  width: 200px; height: 150px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26,92,58,.18);
  animation: fadeIn .8s .6s ease both;
  border: 3px solid var(--white);
}
.hp-badge {
  position: absolute;
  bottom: 30px; left: -10px;
  background: var(--white);
  border-radius: 12px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 8px 24px rgba(26,92,58,.15);
  animation: fadeIn .8s .7s ease both;
  font-size: .75rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.3;
  border-left: 3px solid var(--green-mid);
}
.hp-badge img { width: 38px; }

/* ── SECCIONES COMUNES ── */
.section-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--green-soft); border-radius: 2px; }
.section-h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-deep);
}
.section-h2 em { font-style: italic; font-weight: 300; }
.section-lead { font-size: 1rem; color: var(--text-mid); line-height: 1.7; margin-top: .9rem; max-width: 600px; }

/* ── QUIÉNES SOMOS ── */
.about { padding: 6rem 3rem; background: var(--white); }
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-cards { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.about-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  background: var(--green-light);
  border-radius: 12px;
  border-left: 4px solid var(--green-soft);
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateX(6px); box-shadow: 0 4px 20px rgba(31,184,154,.1); }
.about-card-ico { font-size: 1.6rem; flex-shrink: 0; margin-top: .1rem; }
.about-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; color: var(--green-deep); }
.about-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.55; }
.about-photo {
  width: 100%; height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(26,92,58,.15);
  margin-bottom: 1.5rem;
}
.about-image-side {
  background: linear-gradient(145deg, var(--green-pale) 0%, var(--sky) 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-big-num { font-family: 'Fraunces', serif; font-size: 5.5rem; font-weight: 600; color: var(--green-mid); line-height: 1; }
.about-big-label { font-size: 1rem; color: var(--text-mid); margin-top: .3rem; }
.about-divider { width: 40px; height: 2px; background: var(--green-soft); margin: 1.5rem auto; }
.about-quote { font-family: 'Fraunces', serif; font-size: 1.25rem; font-style: italic; color: var(--green-deep); line-height: 1.5; }

/* ── PROBLEMA ── */
.problem { padding: 6rem 3rem; background: var(--sand); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.prob-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.prob-card:hover { box-shadow: 0 8px 32px rgba(31,184,154,.12); transform: translateY(-4px); }
.prob-ico { font-size: 2rem; margin-bottom: 1rem; }
.prob-card h3 { font-size: .97rem; font-weight: 600; margin-bottom: .6rem; color: var(--green-deep); }
.prob-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ── SERVICIOS ── */
.services { padding: 6rem 3rem; background: var(--white); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.srv-card {
  border-radius: 16px;
  padding: 2rem 1.8rem;
  border: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  background: var(--white);
}
.srv-card:hover { border-color: var(--green-soft); box-shadow: 0 8px 32px rgba(31,184,154,.1); transform: translateY(-4px); }
.srv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-soft), var(--green-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.srv-card:hover::before { transform: scaleX(1); }
.srv-img {
  width: 100%; height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  display: block;
}
.srv-ico { font-size: 2.2rem; margin-bottom: 1.2rem; }
.srv-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .7rem; color: var(--green-deep); }
.srv-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }
.srv-tag {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 100px;
}

/* ── CONTACTO ── */
.contact { padding: 6rem 3rem; background: var(--white); }
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-item {
  display: flex; gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.contact-item:last-of-type { border-bottom: none; }
.c-ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--green-pale); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.c-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid); margin-bottom: .3rem; }
.c-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.c-value a { color: var(--text); text-decoration: none; }
.c-sub { font-size: .82rem; color: var(--text-light); margin-top: .1rem; }
.map-wrap {
  width: 100%; height: 250px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); margin-top: 1.5rem;
  box-shadow: 0 4px 20px rgba(26,92,58,.08);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── FORMULARIO ── */
.form-box {
  background: var(--green-light);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.form-title { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 600; color: var(--green-deep); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: .45rem; }
.fg input,
.fg select,
.fg textarea {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .8rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem; color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(31,184,154,.12);
}
.fg textarea { resize: vertical; min-height: 100px; }
.form-btn {
  width: 100%; background: var(--green-mid); color: #fff; border: none;
  border-radius: 8px; padding: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(31,184,154,.28);
  margin-top: .25rem;
}
.form-btn:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31,184,154,.35); }
.form-note { font-size: .77rem; color: var(--text-light); margin-top: .75rem; display: flex; align-items: center; gap: .35rem; }

/* ── FOOTER ── */
footer {
  background: var(--green-deep);
  color: rgba(255,255,255,.6);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer img { height: 38px; filter: brightness(0) invert(1); opacity: .85; }
footer p { font-size: .82rem; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── ANIMACIONES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .navbar { padding: 1rem 1.5rem; }
  .hero { padding: 3rem 1.5rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-photo-grid { width: 100%; height: 260px; }
  .hp-main { width: 180px; height: 200px; }
  .hp-small1 { width: 110px; height: 100px; top: 10px; }
  .hp-small2 { width: 140px; height: 100px; bottom: 0; right: 10px; }
  .about { padding: 4rem 1.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .problem { padding: 4rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact { padding: 4rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .problem-grid,
  .services-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-trust { gap: 1rem; }
}
