/* ==========================================================
   PackReformas Premium
   Archivo: /assets/css/styles.css
   Estilo: consultor¨ªa comercial profesional sector reformas
   ========================================================== */

/* ------------------------------
   Reset
-------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: #1b1d1b;
  background: #f4f1eb;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #26372f;
  color: #ffffff;
}

/* ------------------------------
   Variables
-------------------------------- */

:root {
  --pr-bg: #f4f1eb;
  --pr-bg-light: #f8f6f1;
  --pr-bg-alt: #ebe6dc;
  --pr-bg-strong: #ddd5c7;

  --pr-white: #ffffff;
  --pr-ink: #1b1d1b;
  --pr-ink-2: #2c302d;
  --pr-muted: #646961;
  --pr-muted-2: #85897f;

  --pr-green: #26372f;
  --pr-green-dark: #17221d;
  --pr-green-soft: rgba(38, 55, 47, 0.08);

  --pr-copper: #a96d38;
  --pr-copper-dark: #7e4d25;
  --pr-copper-soft: rgba(169, 109, 56, 0.11);

  --pr-line: rgba(27, 29, 27, 0.13);
  --pr-line-strong: rgba(27, 29, 27, 0.24);
  --pr-line-dark: rgba(255, 255, 255, 0.16);

  --pr-danger: #9b2c2c;
  --pr-success: #287344;

  --pr-container: 1180px;
  --pr-header-height: 78px;
}

/* ------------------------------
   Estructura com¨²n
-------------------------------- */

.pr-container {
  width: min(var(--pr-container), calc(100% - 48px));
  margin-inline: auto;
}

.pr-narrow {
  max-width: 930px;
}

.pr-section {
  padding: 94px 0;
}

.pr-section-alt {
  background: var(--pr-bg-alt);
  border-top: 1px solid var(--pr-line);
  border-bottom: 1px solid var(--pr-line);
}

.pr-section-intro {
  padding-top: 86px;
  padding-bottom: 90px;
  background: var(--pr-bg-light);
  border-bottom: 1px solid var(--pr-line);
}

.pr-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--pr-copper-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pr-section-head {
  max-width: 860px;
  margin-bottom: 48px;
}

.pr-section-head h2,
.pr-narrow h2,
.pr-dark-title h2,
.pr-ecosystem-content h2,
.pr-image-content h2,
.pr-final-content h2 {
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.pr-section-head p,
.pr-narrow p,
.pr-ecosystem-content p,
.pr-image-content p,
.pr-final-content p {
  margin: 18px 0 0;
  color: var(--pr-muted);
  font-size: 1.06rem;
}

.pr-narrow p {
  font-size: 1.11rem;
}

.pr-narrow p + p,
.pr-ecosystem-content p + p,
.pr-image-content p + p,
.pr-final-content p + p {
  margin-top: 17px;
}

/* ------------------------------
   Botones
-------------------------------- */

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.pr-btn:hover {
  transform: translateY(-1px);
}

.pr-btn-primary {
  color: #ffffff;
  background: var(--pr-green);
  border-color: var(--pr-green);
}

.pr-btn-primary:hover {
  background: var(--pr-green-dark);
  border-color: var(--pr-green-dark);
}

.pr-btn-secondary {
  color: var(--pr-green);
  background: transparent;
  border-color: var(--pr-line-strong);
}

.pr-btn-secondary:hover {
  color: var(--pr-ink);
  background: #ffffff;
  border-color: var(--pr-ink);
}

.pr-btn-header {
  min-height: 42px;
  padding-inline: 17px;
  color: #ffffff;
  background: var(--pr-green);
  border-color: var(--pr-green);
}

.pr-btn-header:hover {
  background: var(--pr-green-dark);
  border-color: var(--pr-green-dark);
}

.pr-btn-full {
  width: 100%;
}

/* ------------------------------
   Cabecera
-------------------------------- */

.pr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(244, 241, 235, 0.94);
  border-bottom: 1px solid var(--pr-line);
  backdrop-filter: blur(12px);
}

.pr-header-scrolled {
  background: rgba(244, 241, 235, 0.98);
}

.pr-header-inner {
  width: min(1260px, calc(100% - 48px));
  min-height: var(--pr-header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.pr-logo,
.pr-footer-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.pr-logo img,
.pr-footer-logo img {
  width: 188px;
  height: auto;
}

.pr-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--pr-ink-2);
  font-size: 0.92rem;
  font-weight: 700;
}

.pr-nav a {
  position: relative;
  padding: 7px 0;
}

.pr-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--pr-ink);
  transition: width 180ms ease;
}

.pr-nav a:hover::after {
  width: 100%;
}

.pr-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.pr-header-phone {
  color: var(--pr-green);
  font-size: 0.93rem;
  font-weight: 800;
  white-space: nowrap;
}

.pr-header-phone:hover {
  color: var(--pr-copper-dark);
}

.pr-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pr-line);
  background: transparent;
}

.pr-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--pr-ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.pr-menu-open .pr-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.pr-menu-open .pr-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.pr-menu-open .pr-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------
   Hero
-------------------------------- */

.pr-hero {
  padding: 78px 0 86px;
  background:
    linear-gradient(90deg, rgba(27, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7f4ee 0%, #f4f1eb 100%);
  background-size: 72px 72px, auto;
  border-bottom: 1px solid var(--pr-line);
}

.pr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: 62px;
}

.pr-hero-content h1 {
  max-width: 860px;
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.pr-hero-lead {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--pr-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.pr-hero-note {
  max-width: 690px;
  margin-top: 28px;
  padding-top: 22px;
  color: var(--pr-muted);
  border-top: 1px solid var(--pr-line-strong);
  font-size: 0.98rem;
}

.pr-hero-note strong {
  color: var(--pr-ink);
}

.pr-hero-panel {
  position: relative;
}

.pr-hero-media {
  overflow: hidden;
  min-height: 540px;
  background: #d5cec0;
  border: 1px solid var(--pr-line-strong);
}

.pr-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.pr-hero-card {
  margin-top: 16px;
  padding: 18px 0 0;
  border-top: 1px solid var(--pr-line-strong);
}

.pr-hero-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--pr-copper-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pr-hero-card p {
  max-width: 470px;
  margin: 0;
  color: var(--pr-ink-2);
  font-size: 1rem;
  line-height: 1.45;
}

/* ------------------------------
   Problemas
-------------------------------- */

.pr-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--pr-line-strong);
  border-left: 1px solid var(--pr-line-strong);
}

.pr-problem-card {
  min-height: 292px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.34);
  border-right: 1px solid var(--pr-line-strong);
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-problem-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--pr-copper-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pr-problem-card h3 {
  margin: 0;
  color: var(--pr-ink);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pr-problem-card p {
  margin: 14px 0 0;
  color: var(--pr-muted);
  font-size: 0.96rem;
}

/* ------------------------------
   Servicios
-------------------------------- */

.pr-service-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--pr-line-strong);
}

.pr-service-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.43fr) minmax(0, 0.57fr);
  align-items: stretch;
  gap: 0;
  padding: 34px 0;
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-service-image {
  overflow: hidden;
  min-height: 270px;
  background: #d5cec0;
  border: 1px solid var(--pr-line);
}

.pr-service-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.pr-service-content {
  padding: 4px 0 4px 42px;
}

.pr-service-content span {
  display: block;
  margin-bottom: 18px;
  color: var(--pr-copper-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pr-service-content h3 {
  max-width: 600px;
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.pr-service-content p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--pr-muted);
  font-size: 1.03rem;
}

/* ------------------------------
   Secci¨®n oscura
-------------------------------- */

.pr-section-dark {
  color: #ffffff;
  background: #17221d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-section-dark .pr-kicker {
  color: #c79461;
}

.pr-dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 74px;
  align-items: start;
}

.pr-dark-title h2 {
  color: #ffffff;
}

.pr-dark-content {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.pr-dark-content p {
  margin: 0;
}

.pr-dark-content p + p {
  margin-top: 18px;
}

.pr-check-list {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pr-line-dark);
}

.pr-check-list li {
  position: relative;
  padding: 15px 0 15px 28px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--pr-line-dark);
}

.pr-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 10px;
  height: 10px;
  background: #c79461;
}

/* ------------------------------
   Packs
-------------------------------- */

.pr-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pr-line-strong);
  border-left: 1px solid var(--pr-line-strong);
  background: rgba(255, 255, 255, 0.34);
}

.pr-pack-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.42);
  border-right: 1px solid var(--pr-line-strong);
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-pack-featured {
  background:
    linear-gradient(180deg, rgba(38, 55, 47, 0.055), rgba(255, 255, 255, 0.45));
}

.pr-pack-head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--pr-line);
}

.pr-pack-label {
  display: block;
  min-height: 38px;
  margin-bottom: 18px;
  color: var(--pr-copper-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pr-pack-head h3 {
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.25rem, 3.2vw, 3.05rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pr-pack-head h3 small {
  color: var(--pr-muted);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pr-pack-head p {
  margin: 18px 0 0;
  color: var(--pr-muted);
  font-size: 0.99rem;
}

.pr-pack-body,
.pr-pack-ideal {
  padding-top: 26px;
}

.pr-pack-body h4,
.pr-pack-ideal h4 {
  margin: 0 0 14px;
  color: var(--pr-ink);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pr-pack-body ul,
.pr-pack-ideal ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pr-line);
}

.pr-pack-body li,
.pr-pack-ideal li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--pr-muted);
  font-size: 0.94rem;
  line-height: 1.42;
  border-bottom: 1px solid var(--pr-line);
}

.pr-pack-body li::before,
.pr-pack-ideal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--pr-copper);
}

.pr-pack-ideal {
  margin-top: auto;
  padding-bottom: 26px;
}

.pr-pack-ideal h4 {
  color: var(--pr-copper-dark);
}

.pr-pack-note {
  margin-top: 34px;
  padding: 34px 36px;
  background: #17221d;
  color: #ffffff;
}

.pr-pack-note h3 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.pr-pack-note p {
  max-width: 860px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

/* ------------------------------
   Ecosistema
-------------------------------- */

.pr-ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
  gap: 62px;
  align-items: center;
}

.pr-ecosystem-media {
  overflow: hidden;
  background: #d5cec0;
  border: 1px solid var(--pr-line-strong);
}

.pr-ecosystem-media img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.pr-ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pr-ecosystem-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  color: var(--pr-green);
  background: transparent;
  border: 1px solid var(--pr-line-strong);
  font-weight: 780;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.pr-ecosystem-links a:hover {
  color: #ffffff;
  background: var(--pr-green);
  border-color: var(--pr-green);
  transform: translateY(-1px);
}

/* ------------------------------
   Para qui¨¦n es
-------------------------------- */

.pr-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--pr-line-strong);
  background: rgba(255, 255, 255, 0.28);
}

.pr-fit-card {
  padding: 38px;
}

.pr-fit-card + .pr-fit-card {
  border-left: 1px solid var(--pr-line-strong);
}

.pr-fit-card h3 {
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.pr-fit-card ul {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pr-line);
}

.pr-fit-card li {
  position: relative;
  padding: 14px 0 14px 28px;
  color: var(--pr-muted);
  border-bottom: 1px solid var(--pr-line);
}

.pr-fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 9px;
  height: 9px;
}

.pr-fit-yes li::before {
  background: var(--pr-green);
}

.pr-fit-no li::before {
  background: var(--pr-copper);
}

/* ------------------------------
   Pasos
-------------------------------- */

.pr-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--pr-line-strong);
  border-left: 1px solid var(--pr-line-strong);
}

.pr-step {
  min-height: 260px;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.42);
  border-right: 1px solid var(--pr-line-strong);
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-step span {
  display: block;
  margin-bottom: 38px;
  color: var(--pr-copper-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.pr-step h3 {
  margin: 0;
  color: var(--pr-ink);
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.pr-step p {
  margin: 14px 0 0;
  color: var(--pr-muted);
  font-size: 0.96rem;
}

/* ------------------------------
   Bloque con imagen
-------------------------------- */

.pr-section-image {
  padding-top: 0;
  background: #f4f1eb;
}

.pr-image-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1.05fr) minmax(0, 0.95fr);
  gap: 58px;
  align-items: center;
  padding: 48px;
  background: #ffffff;
  border: 1px solid var(--pr-line-strong);
}

.pr-image-media {
  overflow: hidden;
  background: #d5cec0;
  border: 1px solid var(--pr-line);
}

.pr-image-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

/* ------------------------------
   FAQ
-------------------------------- */

.pr-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--pr-line-strong);
  border-left: 1px solid var(--pr-line-strong);
}

.pr-faq-item {
  padding: 28px;
  background: rgba(255, 255, 255, 0.35);
  border-right: 1px solid var(--pr-line-strong);
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-faq-item h3 {
  margin: 0;
  color: var(--pr-ink);
  font-size: 1.1rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.pr-faq-item p {
  margin: 12px 0 0;
  color: var(--pr-muted);
  font-size: 0.97rem;
}

/* ------------------------------
   CTA final y formulario
-------------------------------- */

.pr-final-cta {
  padding: 96px 0;
  color: #ffffff;
  background: #17221d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-final-cta .pr-kicker {
  color: #c79461;
}

.pr-final-content h2,
.pr-final-content p {
  color: #ffffff;
}

.pr-final-content p {
  color: rgba(255, 255, 255, 0.76);
}

.pr-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: 62px;
  align-items: start;
}

.pr-contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.pr-contact-lines a {
  width: fit-content;
  color: #d8a772;
  font-weight: 800;
  border-bottom: 1px solid rgba(216, 167, 114, 0.45);
}

.pr-contact-lines a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.pr-form-wrap {
  padding: 30px;
  color: var(--pr-ink);
  background: #f8f6f1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pr-form {
  display: grid;
  gap: 17px;
}

.pr-form-row {
  display: grid;
  gap: 8px;
}

.pr-form-row label {
  color: var(--pr-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.pr-form-row input,
.pr-form-row textarea,
.pr-form-row select {
  width: 100%;
  border: 1px solid var(--pr-line-strong);
  padding: 13px 14px;
  color: var(--pr-ink);
  background: #ffffff;
  outline: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.pr-form-row select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--pr-green) 50%),
    linear-gradient(135deg, var(--pr-green) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.pr-form-row input:focus,
.pr-form-row textarea:focus,
.pr-form-row select:focus {
  border-color: var(--pr-green);
  box-shadow: 0 0 0 3px rgba(38, 55, 47, 0.12);
}

.pr-form-row textarea {
  resize: vertical;
  min-height: 132px;
}

.pr-form-legal {
  margin: -2px 0 0;
  color: var(--pr-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.pr-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pr-field-error {
  border-color: rgba(155, 44, 44, 0.8) !important;
  background: rgba(155, 44, 44, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.10) !important;
}

.pr-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  font-weight: 750;
  line-height: 1.45;
}

.pr-alert-success {
  color: var(--pr-success);
  background: rgba(40, 115, 68, 0.10);
  border: 1px solid rgba(40, 115, 68, 0.24);
}

.pr-alert-error {
  color: var(--pr-danger);
  background: rgba(155, 44, 44, 0.10);
  border: 1px solid rgba(155, 44, 44, 0.24);
}

/* ------------------------------
   Footer
-------------------------------- */

.pr-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #101713;
}

.pr-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(0, 0.7fr));
  gap: 46px;
}

.pr-footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.pr-footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.pr-footer-contact a,
.pr-footer-column a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.pr-footer-contact a:hover,
.pr-footer-column a:hover {
  color: #d8a772;
}

.pr-footer-column h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
}

.pr-footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pr-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 54px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.pr-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.87rem;
}

.pr-footer-bottom p:last-child {
  text-align: right;
}

/* ------------------------------
   Responsive
-------------------------------- */

@media (max-width: 1160px) {
  .pr-header-actions {
    display: none;
  }

  .pr-hero-grid,
  .pr-ecosystem-grid,
  .pr-final-grid {
    grid-template-columns: 1fr;
  }

  .pr-hero-content {
    max-width: 900px;
  }

  .pr-hero-panel {
    max-width: 780px;
  }

  .pr-problem-grid,
  .pr-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-pack-grid {
    grid-template-columns: 1fr;
  }

  .pr-pack-card {
    min-height: auto;
  }

  .pr-pack-label {
    min-height: auto;
  }

  .pr-pack-ideal {
    margin-top: 0;
  }

  .pr-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --pr-header-height: 72px;
  }

  .pr-header-inner {
    width: min(100% - 32px, 1260px);
  }

  .pr-nav-toggle {
    display: inline-block;
  }

  .pr-nav {
    position: fixed;
    top: var(--pr-header-height);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #f8f6f1;
    border: 1px solid var(--pr-line-strong);
  }

  body.pr-menu-open .pr-nav {
    display: flex;
  }

  .pr-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--pr-line);
  }

  .pr-nav a:last-child {
    border-bottom: 0;
  }

  .pr-nav a::after {
    display: none;
  }

  .pr-section {
    padding: 74px 0;
  }

  .pr-hero {
    padding: 62px 0 72px;
  }

  .pr-service-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pr-service-content {
    padding: 0;
  }

  .pr-fit-grid,
  .pr-faq,
  .pr-dark-grid,
  .pr-image-grid {
    grid-template-columns: 1fr;
  }

  .pr-fit-card + .pr-fit-card {
    border-left: 0;
    border-top: 1px solid var(--pr-line-strong);
  }

  .pr-image-grid {
    padding: 30px;
  }

  .pr-image-media {
    order: 2;
  }

  .pr-image-content {
    order: 1;
  }
}

@media (max-width: 680px) {
  .pr-container {
    width: min(100% - 30px, var(--pr-container));
  }

  .pr-header-inner {
    width: min(100% - 30px, 1260px);
  }

  .pr-logo img,
  .pr-footer-logo img {
    width: 164px;
  }

  .pr-hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .pr-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pr-btn {
    width: 100%;
  }

  .pr-hero-media,
  .pr-hero-media img {
    min-height: 390px;
  }

  .pr-problem-grid,
  .pr-steps {
    grid-template-columns: 1fr;
  }

  .pr-problem-card,
  .pr-step {
    min-height: auto;
  }

  .pr-service-card {
    padding: 28px 0;
  }

  .pr-service-image,
  .pr-service-image img {
    min-height: 230px;
  }

  .pr-pack-card {
    padding: 28px 22px;
  }

  .pr-pack-note {
    padding: 28px 24px;
  }

  .pr-fit-card,
  .pr-faq-item {
    padding: 24px;
  }

  .pr-ecosystem-media img,
  .pr-image-media img {
    min-height: 330px;
  }

  .pr-final-grid {
    gap: 36px;
  }

  .pr-form-wrap {
    padding: 22px;
  }

  .pr-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pr-footer-bottom {
    display: grid;
  }

  .pr-footer-bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .pr-header-inner {
    width: min(100% - 24px, 1260px);
  }

  .pr-container {
    width: min(100% - 24px, var(--pr-container));
  }

  .pr-logo img,
  .pr-footer-logo img {
    width: 148px;
  }

  .pr-section-head h2,
  .pr-narrow h2,
  .pr-dark-title h2,
  .pr-ecosystem-content h2,
  .pr-image-content h2,
  .pr-final-content h2 {
    font-size: 2rem;
  }

  .pr-image-grid {
    padding: 22px;
  }

  .pr-pack-head h3 {
    font-size: 2.2rem;
  }
}

/* ==========================================================
   Páginas legales
   Aviso legal / Privacidad / Cookies
   ========================================================== */

.pr-legal-hero {
  padding: 82px 0 72px;
  background:
    linear-gradient(90deg, rgba(27, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7f4ee 0%, #f4f1eb 100%);
  background-size: 72px 72px, auto;
  border-bottom: 1px solid var(--pr-line);
}

.pr-legal-hero h1 {
  margin: 0;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.pr-legal-hero p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--pr-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.pr-legal-section {
  padding: 82px 0 96px;
  background: var(--pr-bg-light);
}

.pr-legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.pr-legal-index {
  position: sticky;
  top: calc(var(--pr-header-height) + 24px);
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--pr-line-strong);
}

.pr-legal-index h2 {
  margin: 0 0 18px;
  color: var(--pr-ink);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pr-legal-index nav {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--pr-line);
}

.pr-legal-index nav a {
  display: block;
  padding: 11px 0;
  color: var(--pr-muted);
  font-size: 0.92rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--pr-line);
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.pr-legal-index nav a:hover {
  color: var(--pr-green);
  padding-left: 6px;
}

.pr-legal-content {
  min-width: 0;
  padding: 44px;
  background: #ffffff;
  border: 1px solid var(--pr-line-strong);
}

.pr-legal-content section {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--pr-line);
  scroll-margin-top: calc(var(--pr-header-height) + 28px);
}

.pr-legal-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.pr-legal-content h2 {
  margin: 0 0 18px;
  color: var(--pr-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.pr-legal-content h3 {
  margin: 28px 0 12px;
  color: var(--pr-ink-2);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.pr-legal-content p {
  margin: 0;
  color: var(--pr-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.pr-legal-content p + p {
  margin-top: 16px;
}

.pr-legal-content a {
  color: var(--pr-green);
  font-weight: 750;
  border-bottom: 1px solid rgba(38, 55, 47, 0.28);
}

.pr-legal-content a:hover {
  color: var(--pr-copper-dark);
  border-bottom-color: rgba(126, 77, 37, 0.42);
}

.pr-legal-content ul,
.pr-legal-content ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pr-legal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--pr-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.pr-legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--pr-copper);
}

.pr-legal-table {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid var(--pr-line-strong);
  border-left: 1px solid var(--pr-line-strong);
}

.pr-legal-table div {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 0.68fr);
  border-right: 1px solid var(--pr-line-strong);
  border-bottom: 1px solid var(--pr-line-strong);
}

.pr-legal-table strong {
  padding: 14px 16px;
  color: var(--pr-ink);
  background: var(--pr-bg-alt);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pr-legal-table span {
  min-width: 0;
  padding: 14px 16px;
  color: var(--pr-muted);
  background: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.pr-legal-table a {
  word-break: break-word;
}

.pr-legal-notice {
  margin-top: 22px;
  padding: 18px 20px;
  color: var(--pr-ink-2);
  background: var(--pr-copper-soft);
  border-left: 4px solid var(--pr-copper);
  font-size: 0.98rem;
  line-height: 1.6;
}

.pr-legal-notice strong {
  color: var(--pr-ink);
}

/* ------------------------------
   Responsive legales
-------------------------------- */

@media (max-width: 1020px) {
  .pr-legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pr-legal-index {
    position: relative;
    top: auto;
  }

  .pr-legal-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }
}

@media (max-width: 680px) {
  .pr-legal-hero {
    padding: 62px 0 56px;
  }

  .pr-legal-section {
    padding: 58px 0 74px;
  }

  .pr-legal-content {
    padding: 28px 22px;
  }

  .pr-legal-content section {
    padding-bottom: 34px;
    margin-bottom: 34px;
  }

  .pr-legal-index {
    padding: 20px;
  }

  .pr-legal-index nav {
    grid-template-columns: 1fr;
  }

  .pr-legal-table div {
    grid-template-columns: 1fr;
  }

  .pr-legal-table strong {
    border-bottom: 1px solid var(--pr-line);
  }
}

@media (max-width: 420px) {
  .pr-legal-content {
    padding: 24px 18px;
  }

  .pr-legal-hero h1 {
    font-size: 2.35rem;
  }
/* ==========================================================
   Corrección móvil final
   PackReformas Premium
   ========================================================== */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .pr-container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .pr-header-inner {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .pr-logo img,
  .pr-footer-logo img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }

  .pr-hero,
  .pr-section,
  .pr-section-intro,
  .pr-final-cta,
  .pr-legal-hero,
  .pr-legal-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pr-hero-grid,
  .pr-ecosystem-grid,
  .pr-final-grid,
  .pr-dark-grid,
  .pr-image-grid,
  .pr-fit-grid,
  .pr-faq,
  .pr-legal-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .pr-hero-content h1,
  .pr-legal-hero h1 {
    font-size: 2.45rem !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
  }

  .pr-section-head h2,
  .pr-narrow h2,
  .pr-dark-title h2,
  .pr-ecosystem-content h2,
  .pr-image-content h2,
  .pr-final-content h2,
  .pr-legal-content h2 {
    font-size: 2rem !important;
    line-height: 1.12 !important;
  }

  .pr-hero-lead,
  .pr-section-head p,
  .pr-narrow p,
  .pr-ecosystem-content p,
  .pr-image-content p,
  .pr-final-content p,
  .pr-legal-hero p,
  .pr-legal-content p {
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }

  .pr-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .pr-btn {
    width: 100% !important;
  }

  .pr-hero-media,
  .pr-hero-media img,
  .pr-ecosystem-media img,
  .pr-image-media img {
    min-height: 280px !important;
    max-height: 420px !important;
  }

  .pr-service-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 28px 0 !important;
  }

  .pr-service-content {
    padding: 0 !important;
  }

  .pr-service-image,
  .pr-service-image img {
    min-height: 220px !important;
  }

  .pr-problem-grid,
  .pr-steps,
  .pr-pack-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .pr-pack-card {
    padding: 26px 20px !important;
  }

  .pr-pack-head h3 {
    font-size: 2.2rem !important;
  }

  .pr-pack-label {
    min-height: auto !important;
  }

  .pr-pack-ideal {
    margin-top: 0 !important;
  }

  .pr-pack-note {
    padding: 26px 22px !important;
  }

  .pr-image-grid {
    padding: 24px 20px !important;
  }

  .pr-form-wrap {
    padding: 22px 18px !important;
  }

  .pr-footer-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .pr-footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .pr-footer-bottom p:last-child {
    text-align: left !important;
  }
}

/* ==========================================================
   Corrección específica páginas legales en móvil
   ========================================================== */

@media (max-width: 768px) {
  .pr-legal-hero {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }

  .pr-legal-section {
    padding-top: 46px !important;
    padding-bottom: 68px !important;
  }

  .pr-legal-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .pr-legal-index {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    padding: 18px !important;
  }

  .pr-legal-index nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .pr-legal-index nav a {
    font-size: 0.92rem !important;
    padding: 10px 0 !important;
  }

  .pr-legal-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 18px !important;
    overflow-x: hidden !important;
  }

  .pr-legal-content section {
    padding-bottom: 32px !important;
    margin-bottom: 32px !important;
  }

  .pr-legal-content h2 {
    font-size: 1.75rem !important;
  }

  .pr-legal-content h3 {
    font-size: 1.05rem !important;
  }

  .pr-legal-content ul,
  .pr-legal-content ol {
    gap: 8px !important;
  }

  .pr-legal-content li {
    font-size: 0.96rem !important;
    line-height: 1.58 !important;
  }

  .pr-legal-table {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .pr-legal-table div {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .pr-legal-table strong,
  .pr-legal-table span {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .pr-legal-table strong {
    border-bottom: 1px solid var(--pr-line);
  }

  .pr-legal-notice {
    padding: 16px !important;
    font-size: 0.95rem !important;
  }
}