/* Rediseño de prueba — se carga DESPUÉS de style.css y solo actúa bajo body.rd.
   Marca: el verde del logo. Todo el color y la tipografía se cambian desde aquí arriba. */
:root {
  --rd-ink: #15221a;
  --rd-muted: #53635a;
  --rd-green: #386142;
  --rd-green-bright: #4c8f3a;
  --rd-tint: #eef5e8;
  --rd-paper: #f6f8f3;
  --rd-line: #e1e8dc;
  --rd-cta: #386142;        /* color del botón principal: cambia solo esta línea para probar otro (p. ej. naranja) */
  --rd-cta-hover: #2b4d34;
  --rd-radius: 18px;
}

body.rd {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--rd-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.rd h1, body.rd h2, body.rd h3 {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--rd-ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
body.rd h1, body.rd h2 { font-weight: 800; }
body.rd h3 { font-weight: 700; }
body.rd .eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--rd-green-bright);
}
.rd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Botones */
body.rd .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1.2;
}
body.rd .btn-primary { background: var(--rd-cta); color: #fff; box-shadow: 0 6px 18px rgba(56, 97, 66, 0.28); }
body.rd .btn-primary:hover { background: var(--rd-cta-hover); opacity: 1; }
body.rd .btn-secondary { background: #fff; color: var(--rd-ink); border: 1.5px solid var(--rd-line); }
body.rd .btn-secondary:hover { border-color: var(--rd-green); opacity: 1; }
body.rd .btn svg { width: 20px; height: 20px; flex: none; }

/* Cabecera */
body.rd .site-header { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--rd-line); }
body.rd .header-inner { max-width: 1180px; padding-top: 14px; padding-bottom: 14px; }
body.rd .logo img { max-height: 38px; }
body.rd .main-nav { font-weight: 600; font-size: 15px; gap: 26px; }
body.rd .main-nav a { color: var(--rd-ink); }
body.rd .main-nav a:hover { color: var(--rd-green); text-decoration: none; }
body.rd .lang-switch a.active { color: var(--rd-green); }
@media (min-width: 700px) {
  body.rd .whatsapp-link {
    display: inline-flex; align-items: center; background: var(--rd-cta); color: #fff;
    padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14.5px;
  }
  body.rd .whatsapp-link:hover { background: var(--rd-cta-hover); text-decoration: none; }
}
@media (min-width: 900px) {
  body.rd .main-nav { display: flex; margin-left: 24px; margin-right: auto; }
  body.rd .nav-toggle { display: none; }
}

/* Hero */
.rd-hero { position: relative; background: var(--rd-paper); overflow: hidden; display: flex; flex-direction: column; }
.rd-hero-copy { padding: 44px 20px 36px; max-width: 640px; margin: 0 auto; }
.rd-hero h1 { font-size: clamp(38px, 9vw, 64px); line-height: 1.02; margin: 12px 0 18px; }
.rd-hero-sub { font-size: 18px; line-height: 1.55; color: var(--rd-muted); margin: 0 0 28px; max-width: 30em; }
.rd-hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.rd-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--rd-ink); margin: 0 0 26px; }
.rd-rating .stars { color: #e0a100; letter-spacing: 2px; font-size: 16px; }
.rd-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rd-trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--rd-muted); }
.rd-trust svg { width: 30px; height: 30px; flex: none; color: var(--rd-green); }
.rd-hero-photo { position: relative; margin: 0; aspect-ratio: 16 / 11; order: -1; }
.rd-hero-photo picture { display: block; height: 100%; }
.rd-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.rd-hero-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, 0.95);
  border-radius: 10px; padding: 9px 13px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--rd-ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.rd-hero-photo figcaption span { display: block; font-weight: 500; color: var(--rd-muted); font-size: 12px; }
@media (min-width: 560px) {
  .rd-hero-actions { flex-direction: row; }
}
@media (min-width: 900px) {
  .rd-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 600px; }
  .rd-hero-copy {
    padding: 72px 48px 64px 20px; margin: 0 0 0 auto; width: 100%; max-width: 640px; align-self: center;
  }
  .rd-hero-photo { order: 0; aspect-ratio: auto; min-height: 100%; border-bottom-left-radius: 56px; overflow: hidden; }
  .rd-trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; }
}

/* Secciones */
.rd-section { padding: 72px 0; }
.rd-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.rd-head h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 0; }
.rd-link { font-weight: 700; font-size: 15px; color: var(--rd-green); }

/* Servicios */
.rd-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
.rd-card { display: block; color: inherit; text-decoration: none; }
.rd-card:hover { text-decoration: none; }
.rd-card-img { border-radius: var(--rd-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rd-paper); }
.rd-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rd-card:hover .rd-card-img img { transform: scale(1.04); }
.rd-card h3 { font-size: 22px; margin: 16px 0 6px; }
.rd-card p { margin: 0 0 8px; color: var(--rd-muted); font-size: 15.5px; line-height: 1.5; }
.rd-card .rd-more { font-weight: 700; font-size: 14.5px; color: var(--rd-green); }
.rd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; align-items: center; }
.rd-chips-label { font-size: 14px; font-weight: 700; color: var(--rd-muted); margin-right: 4px; }
.rd-chips a {
  background: var(--rd-paper); border: 1px solid var(--rd-line); color: var(--rd-ink); padding: 9px 16px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600;
}
.rd-chips a:hover { border-color: var(--rd-green); color: var(--rd-green); text-decoration: none; }
@media (min-width: 700px) { .rd-cards { grid-template-columns: repeat(3, 1fr); } }

/* Trabajos recientes (reutiliza .job-card) */
body.rd .jobs-strip { padding: 72px 0; background: #fff; }
body.rd .jobs-strip .container { max-width: 1180px; }
body.rd .jobs-strip .eyebrow, body.rd .jobs-strip h2 { text-align: left; }
body.rd .jobs-strip h2 { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 28px; }
body.rd .jobs-grid { gap: 16px; }
body.rd .job-card { box-shadow: none; border: 1px solid var(--rd-line); border-radius: var(--rd-radius); }
body.rd .job-card:hover, body.rd .job-card:focus-visible { text-decoration: none; box-shadow: 0 12px 28px rgba(21, 34, 26, 0.12); }
body.rd .job-card img { aspect-ratio: 1 / 1; }
body.rd .job-client { font-weight: 700; color: var(--rd-ink); padding-top: 12px; }
body.rd .job-what { color: var(--rd-muted); }
@media (min-width: 980px) { body.rd .jobs-grid { grid-template-columns: repeat(3, 1fr); } body.rd .job-card img { aspect-ratio: 4 / 3; } }

/* Sobre mí */
.rd-about { background: var(--rd-paper); padding: 72px 0; }
.rd-about-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
.rd-about-photo { margin: 0; border-radius: var(--rd-radius); overflow: hidden; }
.rd-about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rd-about h2 { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 12px; line-height: 1.1; }
.rd-about p { color: var(--rd-muted); font-size: 16.5px; line-height: 1.6; }
.rd-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rd-line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; margin: 4px 0 8px; }
.rd-badge .stars { color: #e0a100; letter-spacing: 2px; }
.rd-quotes { display: grid; gap: 14px; margin-top: 22px; }
.rd-quotes blockquote { margin: 0; background: #fff; border: 1px solid var(--rd-line); border-radius: 14px; padding: 18px 20px; }
.rd-quotes blockquote .stars { color: #e0a100; letter-spacing: 2px; font-size: 14px; }
.rd-quotes blockquote p { margin: 6px 0 8px; font-size: 15.5px; line-height: 1.5; color: var(--rd-ink); }
.rd-quotes cite { font-style: normal; font-size: 13px; color: var(--rd-muted); }
.rd-quotes cite a { color: var(--rd-green); font-weight: 600; }
@media (min-width: 900px) {
  .rd-about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .rd-quotes { grid-template-columns: 1fr 1fr; }
}

/* Cómo trabajo */
.rd-steps { display: grid; gap: 26px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.rd-step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.rd-step-n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--rd-tint); color: var(--rd-green);
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.rd-step h3 { font-size: 19px; margin: 2px 0 6px; }
.rd-step p { margin: 0; color: var(--rd-muted); font-size: 15.5px; line-height: 1.55; }
@media (min-width: 800px) { .rd-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Banda final */
.rd-cta { background: var(--rd-green); color: #fff; padding: 64px 0; }
.rd-cta-inner { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
body.rd .rd-cta h2 { color: #fff; font-size: clamp(28px, 5vw, 42px); line-height: 1.1; margin: 0 0 10px; }
.rd-cta p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.55; }
.rd-cta-actions { display: flex; flex-direction: column; gap: 12px; }
body.rd .rd-cta .btn-primary { background: #fff; color: var(--rd-green); box-shadow: none; }
body.rd .rd-cta .btn-primary:hover { background: var(--rd-tint); }
body.rd .rd-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
body.rd .rd-cta .btn-secondary:hover { border-color: #fff; }
.rd-cta-meta { font-size: 14px; color: rgba(255, 255, 255, 0.78); margin-top: 6px; }
@media (min-width: 860px) {
  .rd-cta-inner { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}

/* Pie */
body.rd .site-footer { background: #101a14; color: #c3cfc6; }
body.rd .footer-grid h3 { color: #fff; }
body.rd .footer-grid p, body.rd .footer-bottom p { color: #c3cfc6; }
body.rd .footer-grid a, body.rd .footer-bottom a { color: #fff; }
body.rd .footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); }

/* Páginas de servicio: cabecera con foto y secciones existentes con la misma piel */
.rd-crumbs { font-size: 13.5px; margin: 0 0 6px; color: var(--rd-muted); }
.rd-crumbs a { color: var(--rd-muted); }
.rd-crumbs a:hover { color: var(--rd-green); }
body.rd .services { padding: 56px 0; }
body.rd .services .container, body.rd .container { max-width: 1180px; }
body.rd .service-card img, body.rd .service-card .placeholder { border-radius: var(--rd-radius); }
body.rd .service-card h3 { font-size: 20px; }
body.rd .price-section { background: var(--rd-paper); }
body.rd .price-box { border-radius: var(--rd-radius); }
body.rd .compare-slider { border-radius: var(--rd-radius); overflow: hidden; }

/* Páginas interiores: cabecera de página y bloque de presupuesto con la misma piel */
body.rd .page-header { background: var(--rd-paper); padding: 52px 0 44px; text-align: left; border-bottom: 1px solid var(--rd-line); }
body.rd .page-header .container { max-width: 1180px; }
body.rd .page-header .center, body.rd .page-header p.hero-sub { text-align: left; margin-left: 0; margin-right: 0; }
body.rd .page-header h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 8px 0 14px; max-width: 18ch; }
body.rd .page-header .hero-sub { font-size: 18px; color: var(--rd-muted); max-width: 40em; }
body.rd .page-header .eyebrow a { color: var(--rd-green); font-weight: 700; }
body.rd .quote { background: var(--rd-green); color: #fff; padding: 64px 0; }
body.rd .quote .eyebrow { color: #cfe8c4; }
body.rd .quote h2 { color: #fff; }
body.rd .quote .quote-sub, body.rd .quote p { color: rgba(255, 255, 255, 0.9); font-size: 18px; }
body.rd .quote .btn-primary { background: #fff; color: var(--rd-green); box-shadow: none; }
body.rd .quote .btn-primary:hover { background: var(--rd-tint); }
body.rd .quote .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
body.rd .quote .btn-secondary:hover { border-color: #fff; }
body.rd .quote .hero-actions { justify-content: center; }
body.rd .link-arrow { color: var(--rd-green); font-weight: 700; }
body.rd .services .eyebrow.center { text-align: left; }
body.rd .services h2.center { text-align: left; }
