/* Geovanny Salazar Penna Limpiezas — hoja de estilos
   Paleta verde esmeralda profesional con acento ámbar. Sin dependencias externas. */
:root {
  --primario: #0f766e;
  --oscuro: #115e59;
  --profundo: #0b3d39;
  --claro: #e7f5f2;
  --suave: #f6fbf9;
  --vivo: #159f8c;
  --ambar: #d97706;
  --ambar-suave: #fef3e2;
  --tinta: #182826;
  --gris: #52655f;
  --borde: #d5e6e0;
  --sombra: 0 12px 32px rgba(17, 94, 89, 0.12);
  --sombra-suave: 0 4px 14px rgba(17, 94, 89, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--tinta); background: #ffffff; line-height: 1.7; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primario); }
a:hover { color: var(--oscuro); }
h1, h2, .brand-name b { font-family: Georgia, "Times New Roman", serif; }

/* ===== Animaciones (accesibles) =====
   Solo actúan con JavaScript activo (clase .js); sin JS todo es visible.
   Se desactivan con prefers-reduced-motion. Red de seguridad en script.js. */
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes flotar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes brillo { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.visible { animation: subir 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.js .reveal.d1.visible { animation-delay: 0.09s; }
.js .reveal.d2.visible { animation-delay: 0.18s; }
.hero-art img { animation: flotar 6.5s ease-in-out infinite; }
.chispa { animation: brillo 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.visible, .hero-art img, .chispa { animation: none; }
  .btn, .card, .steps li, .valor { transition: none !important; }
}

/* ===== Encabezado ===== */
.site-header {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 10px rgba(17, 94, 89, 0.05);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0.6rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--tinta); }
.brand-logo { height: 52px; width: auto; border-radius: 50%; }
.brand-name { font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.brand-name small { display: block; font-weight: 400; color: var(--gris); font-size: 0.76rem; letter-spacing: 0.04em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.site-nav a {
  text-decoration: none; color: var(--tinta); padding: 0.48rem 0.8rem;
  border-radius: 999px; font-size: 0.94rem; transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--claro); color: var(--oscuro); }
.site-nav a[aria-current="page"] { background: var(--primario); color: #ffffff; font-weight: 600; }

/* ===== Estructura ===== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.4rem 0; }
.section.alt { background: var(--suave); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.18; margin-bottom: 0.9rem; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.13rem; margin-bottom: 0.5rem; }
p + p, p + ul, ul + p, ol + p { margin-top: 0.85rem; }
.lede { font-size: 1.13rem; color: var(--gris); max-width: 47rem; }
.muted { color: var(--gris); }
.small { font-size: 0.88rem; }
.centrado { text-align: center; }
.centrado .lede { margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; font-weight: 700; color: var(--ambar);
  margin-bottom: 0.8rem;
}
.subrayado { position: relative; display: inline-block; }
.subrayado::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.34em;
  background: rgba(21, 159, 140, 0.22); z-index: -1; border-radius: 3px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 400px at 12% -8%, rgba(21, 159, 140, 0.14), transparent 60%),
    radial-gradient(700px 320px at 95% 8%, rgba(217, 119, 6, 0.10), transparent 60%),
    linear-gradient(180deg, var(--claro), #ffffff 94%);
  padding: 3.6rem 0 3rem; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 2.6rem; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 0 1.25rem;
}
.hero-art img { display: block; width: 100%; max-width: 470px; margin: 0 auto; filter: drop-shadow(0 20px 32px rgba(17, 94, 89, 0.16)); }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.15rem 0 1.45rem; padding: 0; list-style: none; }
.badges li {
  background: #fff; border: 1px solid var(--borde); border-radius: 999px;
  padding: 0.34rem 0.95rem; font-size: 0.88rem; color: var(--gris); box-shadow: var(--sombra-suave);
}
.badges li::before { content: "✓ "; color: var(--primario); font-weight: 700; }

/* ===== Botones ===== */
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.82rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primario { background: linear-gradient(135deg, var(--vivo), var(--oscuro)); color: #fff; box-shadow: 0 8px 22px rgba(17, 94, 89, 0.30); }
.btn-primario:hover { color: #fff; box-shadow: 0 12px 28px rgba(17, 94, 89, 0.36); }
.btn-secundario { background: #fff; color: var(--oscuro); border-color: var(--primario); }
.btn-secundario:hover { background: var(--claro); }
.btn-ambar { background: var(--ambar); color: #fff; box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3); }
.btn-ambar:hover { color: #fff; background: #b96305; }

/* ===== Tarjetas de servicio ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--borde); border-radius: 18px;
  overflow: hidden; box-shadow: var(--sombra-suave);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.card-img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-bottom: 1px solid var(--borde); }
.card-body { padding: 1.35rem 1.45rem 1.55rem; }
.card ul { margin: 0.6rem 0 0 1.15rem; }
.card li { margin-bottom: 0.32rem; }
.card .enlace { display: inline-block; margin-top: 0.8rem; font-weight: 600; text-decoration: none; }
.card .enlace::after { content: " →"; }

/* ===== Valores / compromisos ===== */
.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.15rem; margin-top: 1.5rem; }
.valor {
  background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.35rem;
  box-shadow: var(--sombra-suave); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.valor:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.valor .icono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 12px; font-size: 1.25rem;
  background: var(--claro); margin-bottom: 0.7rem;
}

/* ===== Pasos ===== */
.steps { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; padding: 0; }
.steps li {
  background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.4rem;
  counter-increment: paso; box-shadow: var(--sombra-suave); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.steps li::before {
  content: counter(paso);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--vivo), var(--oscuro));
  color: #fff; font-weight: 700; margin-bottom: 0.7rem;
  box-shadow: 0 4px 10px rgba(17, 94, 89, 0.25);
  font-family: Georgia, serif;
}

/* ===== Checklist ===== */
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.check-col { background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.35rem; box-shadow: var(--sombra-suave); }
.check-col h3 { color: var(--oscuro); border-bottom: 2px solid var(--claro); padding-bottom: 0.5rem; margin-bottom: 0.7rem; }
.check-col ul { list-style: none; padding: 0; }
.check-col li { padding-left: 1.5rem; position: relative; margin-bottom: 0.42rem; }
.check-col li::before { content: "✓"; position: absolute; left: 0; color: var(--primario); font-weight: 700; }

/* ===== Sección imagen + texto ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.3rem; align-items: center; }
.split.invert .split-img { order: 2; }
.split-img img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--borde); box-shadow: var(--sombra); }

/* ===== Tablas de precios ===== */
.tabla-wrap { overflow-x: auto; margin-top: 1rem; border-radius: 16px; box-shadow: var(--sombra-suave); }
table.precios { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--borde); border-radius: 16px; overflow: hidden; min-width: 560px; }
table.precios th, table.precios td { padding: 0.88rem 1rem; text-align: left; border-bottom: 1px solid var(--borde); vertical-align: top; }
table.precios th { background: linear-gradient(135deg, var(--primario), var(--profundo)); color: #ffffff; font-size: 0.92rem; letter-spacing: 0.02em; }
table.precios tbody tr { transition: background 0.15s ease; }
table.precios tbody tr:hover { background: var(--claro); }
table.precios tr:last-child td { border-bottom: none; }
table.precios td.precio { white-space: nowrap; font-weight: 700; color: var(--oscuro); }

/* ===== Avisos ===== */
.aviso {
  background: var(--ambar-suave); border: 1px solid #ecc98f; border-left: 4px solid var(--ambar);
  border-radius: 14px; padding: 1.05rem 1.25rem; margin-top: 1.25rem; font-size: 0.95rem;
}
.nota-independencia {
  background: var(--suave); border: 1px solid var(--borde); border-left: 4px solid var(--primario);
  border-radius: 12px; padding: 1rem 1.2rem; margin-top: 1.25rem; font-size: 0.92rem; color: var(--gris);
}

/* ===== Contacto ===== */
.contact-box {
  background: #fff; border: 1px solid var(--borde); border-radius: 18px;
  padding: 1.65rem; margin-top: 1.25rem; box-shadow: var(--sombra-suave);
}
.contact-line { font-size: 1.18rem; margin: 0.4rem 0; }
.contact-line strong { color: var(--oscuro); }

/* ===== FAQ ===== */
details {
  background: #fff; border: 1px solid var(--borde); border-radius: 14px;
  padding: 0.95rem 1.3rem; margin-top: 0.7rem; box-shadow: var(--sombra-suave);
  transition: box-shadow 0.2s ease;
}
details:hover { box-shadow: var(--sombra); }
details summary { cursor: pointer; font-weight: 600; }
details summary::marker { color: var(--ambar); }
details[open] summary { margin-bottom: 0.5rem; color: var(--oscuro); }

/* ===== Prosa legal ===== */
.prosa { max-width: 47rem; }
.prosa h2 { margin-top: 2rem; }
.prosa ul, .prosa ol { margin: 0.6rem 0 0.6rem 1.3rem; }
.prosa li { margin-bottom: 0.35rem; }

/* ===== CTA final ===== */
.cta-final {
  background:
    radial-gradient(680px 300px at 88% 0%, rgba(21, 159, 140, 0.35), transparent 62%),
    linear-gradient(135deg, var(--oscuro), var(--profundo));
  color: #e6f4f0; border-radius: 22px; padding: 2.8rem 2.4rem; box-shadow: var(--sombra);
  position: relative; overflow: hidden;
}
.cta-final h2 { color: #ffffff; }
.cta-final .lede { color: #c8e2db; }
.cta-final .btn-secundario { border-color: #ffffff; color: #ffffff; background: transparent; }
.cta-final .btn-secundario:hover { background: rgba(255,255,255,0.12); }
.cta-final .btn-primario { background: #ffffff; color: var(--profundo); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }

/* ===== Pie de página ===== */
.site-footer { background: var(--profundo); color: #bcd8d1; margin-top: 3rem; padding: 2.7rem 0 1.8rem; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 0.6rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.42rem; }
.footer-logo { height: 60px; width: auto; border-radius: 50%; margin-bottom: 0.7rem; background: #fff; }
.footer-bottom { border-top: 1px solid #1d5750; margin-top: 1.9rem; padding-top: 1.2rem; font-size: 0.85rem; color: #8fb8af; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 340px; }
  .split, .split.invert { grid-template-columns: 1fr; }
  .split.invert .split-img { order: 0; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand-logo { height: 44px; }
  .site-nav { width: 100%; }
  .site-nav a { padding: 0.4rem 0.6rem; font-size: 0.9rem; }
  .section { padding: 2.3rem 0; }
  .cta-final { padding: 1.9rem 1.4rem; }
}
