/* Inner pages — one layout language, many compositions */

.inner-page { --pg-ac: var(--brand); --pg-wash: rgba(255, 244, 236, 0.55); }
.inner-page--diseno-web, .pg--diseno-web { --pg-ac: #F0531C; --pg-wash: #fff3ec; }
.inner-page--seo, .pg--seo, .inner-page--seo-local { --pg-ac: #2E7FC2; --pg-wash: #eef6fc; }
.inner-page--google-ads, .pg--google-ads { --pg-ac: #E4A11B; --pg-wash: #fff6e4; }
.inner-page--meta-ads, .pg--meta-ads { --pg-ac: #7B5CF0; --pg-wash: #f3efff; }
.inner-page--software-a-medida, .pg--software-a-medida,
.inner-page--automatizacion, .inner-page--aplicaciones-saas { --pg-ac: #1F8A70; --pg-wash: #e8f6f1; }
.inner-page--hoteles-y-apartamentos, .pg--hoteles-y-apartamentos { --pg-ac: #C45B2A; --pg-wash: #f8eee6; }
.inner-page--restaurantes, .pg--restaurantes { --pg-ac: #9a3d1c; --pg-wash: #f7efe6; }
.inner-page--excursiones-y-actividades { --pg-ac: #1F8A70; --pg-wash: #eaf6f2; }
.inner-page--inmobiliarias { --pg-ac: #2E7FC2; --pg-wash: #eef5fb; }
.inner-page--clinicas-y-salud { --pg-ac: #3d6b7a; --pg-wash: #eef4f6; }
.inner-page--maspalomas, .pg--maspalomas { --pg-ac: #C45B2A; --pg-wash: #f6eadf; }
.inner-page--playa-del-ingles { --pg-ac: #E4A11B; --pg-wash: #fff4d8; }
.inner-page--meloneras { --pg-ac: #2E7FC2; --pg-wash: #e8f1f8; }
.inner-page--tarifas { --pg-ac: #14202B; --pg-wash: #eef2f5; }
.inner-page--metodo { --pg-ac: #1F8A70; --pg-wash: #e9f5f1; }

.inner-page .in-kicker { color: var(--pg-ac); }

.pg { position: relative; z-index: 2; padding: 8px 0 28px; }
.pg-ch { position: relative; padding: 28px 0 40px; scroll-margin-top: 110px; }
.pg-ix {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pg-ac);
  margin-bottom: 10px;
}
.pg h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-size: clamp(28px, 4.4vw, 52px);
  margin: 0 0 16px;
  max-width: 18ch;
}
.pg h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0 0 10px;
}
.pg .pg-copy p,
.pg .pg-lead p,
.pg-note p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
.pg .pg-copy p:last-child,
.pg .pg-lead p:last-child,
.pg-note p:last-child { margin-bottom: 0; }
.pg .pg-copy ul,
.pg .pg-lead ul {
  margin: 0 0 14px;
  padding-left: 1.1em;
}
.pg-note,
.pg-lead {
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 22px 24px 24px;
  margin: 0 0 22px;
}
.pg-note ul,
.pg-lead ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pg-note li,
.pg-lead li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}
.pg-split .pg-sub,
.pg-proof .pg-sub {
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 22px 24px 24px;
  border-top: 0;
}
.pg-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  color: var(--pg-ac);
  text-decoration: none;
}
.pg-jump:hover { color: var(--ink); }

/* —— Split —— */
.pg-split-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr);
  gap: 40px 48px;
  align-items: start;
}
.pg-split-h { position: sticky; top: 92px; }
.pg-split-b { display: grid; gap: 16px; }

/* —— Deck —— */
.pg-deck-h { max-width: 52ch; margin-bottom: 22px; }
.pg-deck-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pg-plate {
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 22px 22px 24px;
  transform: rotate(var(--r, 0deg));
}
.pg-plate:nth-child(3) { grid-column: 1 / -1; }

/* —— Proof —— */
.pg-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 8px 0 22px;
  color: var(--ink);
}
.pg-proof .pg-lead { margin-bottom: 28px; }
.pg-proof-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  padding-top: 8px;
  border-top: 1.5px solid var(--ink);
}

/* —— Spec / artboard —— */
.pg-artboard {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 50px -32px rgba(20, 32, 43, 0.4);
}
.pg-crop {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.pg-crop.tl { top: -1px; left: -1px; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.pg-crop.tr { top: -1px; right: -1px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.pg-crop.bl { bottom: -1px; left: -1px; border-bottom: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.pg-crop.br { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.pg-spec-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px dashed rgba(20, 32, 43, 0.18);
}

/* —— Spine —— */
.pg-spine-list { list-style: none; margin: 28px 0 0; padding: 0; }
.pg-spine-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 32px;
  position: relative;
}
.pg-spine-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 36px;
  bottom: 0;
  width: 1.5px;
  background: rgba(20, 32, 43, 0.14);
}
.pg-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pg-ac);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

/* —— Folio —— */
.pg-folio-sheet {
  background: #fffdf8;
  border: 1px solid rgba(196, 91, 42, 0.22);
  box-shadow: 0 18px 40px -28px rgba(80, 40, 16, 0.35);
  padding: 26px 26px 10px;
}
.pg-folio-h {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.pg-folio-h h2 { max-width: 16ch; }
.pg-folio-stamp {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pg-ac);
  border: 1.5px solid var(--pg-ac);
  padding: 6px 10px;
  transform: rotate(8deg);
}
.pg-folio-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 32, 43, 0.1);
}

/* —— Dune —— */
.pg-dune { background: linear-gradient(180deg, transparent, var(--pg-wash) 18%, transparent 100%); }
.pg-dune-stack { display: grid; gap: 8px; margin-top: 18px; }
.pg-sheet {
  background: #fff8f1;
  border: 1px solid rgba(196, 91, 42, 0.16);
  padding: 22px 22px 24px;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 16px 34px -24px rgba(80, 40, 16, 0.4);
}
.pg-tape {
  display: inline-block;
  background: var(--pg-ac);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  margin-bottom: 10px;
}

/* —— Board —— */
.pg-board-ink {
  background: #14202b;
  color: #f4f7fa;
  border-radius: 22px;
  padding: 28px 26px 26px;
}
.pg-board-ink h2,
.pg-board-ink h3 { color: #fff; }
.pg-board-ink .pg-ix { color: #7cc4ff; }
.pg-board-ink .pg-copy p,
.pg-board-ink .pg-lead p,
.pg-board-ink .pg-note p { color: rgba(244, 247, 250, 0.78); }
.pg-board-ink .pg-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.pg-board-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.pg-ad {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 18px 20px;
}
.pg-board-ink .pg-jump { color: #ffb087; }

/* —— Carta —— */
.pg-carta-paper {
  background: #f7efe4;
  border: 1px solid rgba(154, 61, 28, 0.18);
  padding: 28px 26px;
  box-shadow: 0 20px 40px -30px rgba(80, 40, 16, 0.4);
}
.pg-carta-h { text-align: center; margin-bottom: 8px; }
.pg-carta-h h2 { margin-left: auto; margin-right: auto; }
.pg-dish {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 32, 43, 0.12);
}
.pg-dish h3 { margin: 0; }
.pg-rule {
  display: block;
  height: 0;
  border-bottom: 1px dotted rgba(20, 32, 43, 0.28);
}

/* —— Ticket —— */
.pg-ticket-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
.pg-pass {
  position: relative;
  background: #fff;
  border: 1.5px dashed rgba(31, 138, 112, 0.45);
  border-radius: 18px;
  padding: 20px 20px 20px 72px;
}
.pg-pass-ix {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  display: grid;
  place-items: center;
  background: var(--pg-ac);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  border-radius: 16px 0 0 16px;
}

/* —— Ledger —— */
.pg-ledger-h { padding-bottom: 16px; }
.pg-ledger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pg-col {
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 22px 22px 20px;
}
.pg-ledger--chips .pg-col .pg-copy p {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pg-ac);
}

/* —— Ink / terminal —— */
.pg-ink {
  background: linear-gradient(180deg, #0f1820, #14202b);
  color: #e8eef3;
  padding: 48px 0;
}
.pg-ink h2, .pg-ink h3 { color: #fff; }
.pg-ink .pg-ix { color: #4adeb0; }
.pg-ink .pg-copy p,
.pg-ink .pg-lead p,
.pg-ink .pg-note p { color: rgba(232, 238, 243, 0.78); }
.pg-ink .pg-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.pg-ink-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.pg-term {
  background: #0b1218;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 16px 18px;
}
.pg-term-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.pg-term-bar b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d4b56;
}
.pg-term-bar b:first-child { background: #f0531c; }
.pg-ink .pg-jump { color: #4adeb0; }

/* —— Legal —— */
.pg-legal-body { max-width: 68ch; padding: 10px 0 20px; }
.pg-legal-body h2 { max-width: none; font-size: clamp(26px, 3vw, 40px); }

.pg-ch {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pg-ch.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pg-ch { opacity: 1; transform: none; }
}

.pg-folio .wrap,
.pg-carta .wrap,
.pg-ticket .wrap,
.pg-dune .wrap {
  position: relative;
}
.pg-folio .wrap::before,
.pg-carta .wrap::before,
.pg-ticket .wrap::before,
.pg-dune .wrap::before {
  content: "";
  display: block;
  height: 180px;
  border-radius: 20px;
  margin-bottom: 22px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pg--hoteles-y-apartamentos .pg-folio .wrap::before,
.pg--meloneras .pg-folio .wrap::before {
  background-image: linear-gradient(180deg, rgba(18,10,6,.08), rgba(18,10,6,.35)), url("../media/hotel.jpg");
  background-position: center 45%;
}
.pg--restaurantes .pg-carta .wrap::before {
  background-image: linear-gradient(180deg, rgba(14,12,8,.1), rgba(14,12,8,.4)), url("../media/resto.jpg");
  background-position: center 40%;
}
.pg--excursiones-y-actividades .pg-ticket .wrap::before {
  background-image: linear-gradient(180deg, rgba(6,16,14,.12), rgba(6,16,14,.4)), url("../media/trip.jpg");
  background-position: center 50%;
}
.pg--maspalomas .pg-dune .wrap::before,
.pg--playa-del-ingles .pg-dune .wrap::before {
  background-image: linear-gradient(180deg, rgba(18,12,6,.1), rgba(18,12,6,.38)), url("../media/hotel.jpg");
  background-position: center 72%;
}

@media (min-width: 981px) {
  body:has(.inner-page) .topbar.nav-hidden { transform: none !important; }
  .pg { padding: 24px 0 48px; }
  .pg-ch { padding: 48px 0 64px; }
  .pg h2 { max-width: 16ch; }
  .pg .pg-copy p,
  .pg .pg-lead p,
  .pg-note p { font-size: 17px; max-width: none; }

  .pg-split-h { top: 118px; }
  .pg-split .pg-sub {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.2fr);
    gap: 18px 28px;
    align-items: start;
  }
  .pg-split .pg-sub h3 { margin: 0; }

  .pg-deck-h {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.1fr);
    gap: 20px 48px;
    align-items: end;
    max-width: none;
    margin-bottom: 28px;
  }
  .pg-deck-h .pg-ix,
  .pg-deck-h h2 { grid-column: 1; }
  .pg-deck-h .pg-note { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .pg-deck-grid { grid-template-columns: 1fr 1fr; }
  .pg-plate:nth-child(3) { grid-column: auto; }

  .pg-proof .wrap {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.2fr);
    gap: 28px 56px;
    align-items: start;
  }
  .pg-proof-h { position: sticky; top: 118px; }
  .pg-proof .pg-lead,
  .pg-proof .pg-note { grid-column: 2; margin: 0 0 24px; }
  .pg-proof-cols { grid-column: 2; border-top: 0; padding-top: 0; }

  .pg-artboard {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.25fr);
    gap: 8px 40px;
    align-items: start;
    padding: 36px 34px 28px;
  }
  .pg-spec-h {
    position: sticky;
    top: 118px;
    align-self: start;
  }
  .pg-spec-row {
    grid-column: 2;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(20, 32, 43, 0.08);
    border-radius: 14px;
    padding: 18px 18px 18px 16px;
    margin-bottom: 10px;
  }
  .pg-spec-row + .pg-spec-row { border-top: 0; }

  .pg-spine .wrap {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 32px 64px;
    align-items: start;
  }
  .pg-spine-h { position: sticky; top: 118px; }
  .pg-spine-list { margin-top: 0; }
  .pg-spine-item {
    background: rgba(255, 255, 255, 0.62);
    border-radius: 18px;
    padding: 18px 20px 18px 16px;
    margin-bottom: 12px;
  }
  .pg-spine-item:not(:last-child)::before { display: none; }

  .pg-folio .wrap,
  .pg-carta .wrap,
  .pg-ticket .wrap,
  .pg-dune .wrap {
    display: grid;
    grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
    gap: 28px 36px;
    align-items: stretch;
  }
  .pg-folio .wrap::before,
  .pg-carta .wrap::before,
  .pg-ticket .wrap::before,
  .pg-dune .wrap::before {
    grid-row: 1 / -1;
    height: auto;
    min-height: 100%;
    margin: 0;
    border-radius: 22px;
  }
  .pg-folio-sheet,
  .pg-carta-paper,
  .pg-ticket-h,
  .pg-dune-h { grid-column: 2; }
  .pg-folio-rows,
  .pg-ticket-row,
  .pg-dune-stack { grid-column: 2; }
  .pg-folio-sheet { padding: 32px 34px 18px; }
  .pg-folio-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 36px;
  }
  .pg-folio-row { align-items: start; }

  .pg-dune-h {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.1fr);
    gap: 16px 48px;
    align-items: end;
  }
  .pg-dune-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .pg-carta-paper {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    gap: 12px 48px;
    padding: 36px 40px;
  }
  .pg-carta-h { text-align: left; position: sticky; top: 118px; align-self: start; }
  .pg-carta-h h2 { margin-left: 0; }

  .pg-ticket .wrap {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 20px 40px;
  }
  .pg-ticket-h { position: sticky; top: 118px; align-self: start; }
  .pg-ticket-row { margin-top: 0; }

  .pg-ledger .wrap {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px 48px;
    align-items: start;
  }
  .pg-ledger-h { position: sticky; top: 118px; padding-bottom: 0; }
  .pg-ledger-h .pg-note { margin-top: 12px; }
  .pg-ledger-grid { gap: 14px; }
}

@media (max-width: 860px) {
  .pg-split-grid,
  .pg-deck-grid,
  .pg-proof-cols,
  .pg-board-cols,
  .pg-ledger-grid,
  .pg-ink-grid { grid-template-columns: 1fr; }
  .pg-split-h { position: static; }
  .pg-plate:nth-child(3) { grid-column: auto; }
  .pg-col,
  .pg-col:nth-child(even) { padding: 20px 18px; }
  .pg-pass { padding: 18px; }
  .pg-pass-ix {
    position: static;
    width: auto;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-plate, .pg-sheet { transform: none; }
}

/* —— Método: one column, three information types —— */
.pg-method {
  padding: 8px 0 56px;
}
.pg-method .mtd-wrap {
  max-width: 820px;
}
.pg-method .mtd-sec {
  padding: 36px 0 8px;
  scroll-margin-top: 132px;
}
.pg-method .mtd-h {
  margin: 0 0 28px;
  padding-left: 58px;
}
.pg-method .mtd-k {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1f8a70;
  margin: 0 0 8px;
}
.pg-method h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}
.pg-method h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.025em;
}
.pg-method .mtd-p p,
.pg-method .mtd-aside p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}
.pg-method .mtd-p a,
.pg-method .mtd-aside a { color: #1f8a70; }

.mtd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mtd-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  padding: 0 0 18px;
  align-items: start;
}
.mtd-steps li:last-child { padding-bottom: 0; }
.mtd-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1.5px;
  background: rgba(31, 138, 112, 0.28);
  z-index: 0;
}
.mtd-n {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f8a70;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 16px -10px rgba(31, 138, 112, 0.7);
}
.mtd-card {
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: var(--surf-r, 22px);
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 20px 22px 22px;
}

.mtd-pactos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 0;
}
.mtd-stick {
  position: relative;
  background: #fbe9cf;
  border: 1px solid rgba(20, 32, 43, 0.1);
  border-radius: 3px 3px 2px 6px;
  box-shadow: 0 10px 22px -14px rgba(20, 32, 43, 0.45), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 20px 20px 22px;
  transform: rotate(var(--r, -1deg));
  transform-origin: 50% 8%;
}
.mtd-stick::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.8) 47.5% 50%, rgba(20, 32, 43, 0.08) 51%, rgba(20, 32, 43, 0.18) 100%);
}
.mtd-stick:nth-child(2) { background: #d5ebf6; }
.mtd-stick:nth-child(3) { background: #d8efe4; }
.mtd-stick:nth-child(4) { background: #f3f0c9; }
.mtd-stick h3 { max-width: 16ch; }

.mtd-aside,
.mtd-pactos,
.mtd-sheet {
  margin-left: 58px;
}
.mtd-aside {
  margin-bottom: 0;
}
.mtd-sheet {
  background: #fffdf8;
  border: 1px solid rgba(20, 32, 43, 0.08);
  border-radius: var(--surf-r, 22px);
  box-shadow: 0 18px 40px -26px rgba(20, 32, 43, 0.4);
  padding: 22px 24px 10px;
}
.mtd-sheet .mtd-aside {
  margin: 0 0 16px;
}
.mtd-sheet .mtd-aside p { max-width: none; }
.mtd-table {
  margin: 0;
  border-top: 1.5px solid #14202b;
}
.mtd-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px 28px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(20, 32, 43, 0.12);
}
.mtd-table dt {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.mtd-table dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f8a70;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .mtd-stick { transform: none; }
}
@media (max-width: 640px) {
  .pg-method .mtd-h { padding-left: 0; }
  .mtd-aside,
  .mtd-pactos,
  .mtd-sheet { margin-left: 0; }
  .mtd-table > div {
    grid-template-columns: 1fr 150px;
    gap: 12px;
  }
}
@media (min-width: 761px) {
  .pg-method .mtd-sec { padding: 48px 0 12px; }
  .mtd-pactos {
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }
}
