/* -----------------------------------------------------------------------------
   Página Marina — Dobra 10 — Oferta — 3º lote
   Magenta deep background, light editorial card
   ------------------------------------------------------------------------- */

.dobra10 {
  position: relative;
  min-height: 100vh;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
  color: var(--text-on-dark);
  background: var(--primary-dark);
}

.d10-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 25% 10%, #8a2580 0%, var(--primary-dark) 45%, #3d0e38 100%);
}
.d10-bg-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(232, 197, 71, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(244, 236, 239, 0.03) 1px, transparent 1px);
  background-size: 18px 18px, 26px 26px;
  background-position: 0 0, 9px 13px;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.d10-shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

/* ----- Top frame head ----- */
.d10-frame-head {
  display: none;
  align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.12);
  color: rgba(244, 236, 239, 0.82);
}
.d10-frame-left {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d10-frame-num {
  font-family: var(--mono);
  color: var(--accent);
}
.d10-frame-line { width: 36px; height: 1px; background: var(--accent); opacity: 0.55; }
.d10-frame-cat { color: rgba(244, 236, 239, 0.7); }
.d10-frame-right {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13.5px;
  color: rgba(244, 236, 239, 0.78);
  font-variation-settings: "opsz" 36;
}
.d10-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.22);
  animation: d10-pulse 2.2s ease-in-out infinite;
}
@keyframes d10-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(232, 197, 71, 0.06); }
}

/* ----- Card row ----- */
.d10-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

/* ----- Photo column ----- */
.d10-photo {
  display: flex; flex-direction: column;
  gap: 12px;
}
.d10-photo-readout {
  display: none;
  align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 236, 239, 0.72);
}
.d10-photo-coord {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.14em;
}

.d10-photo-frame {
  position: relative;
  flex: 1;
  min-height: 480px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #0F0A12;
  border: 1px solid rgba(232, 197, 71, 0.2);
  box-shadow:
    0 30px 80px -32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.d10-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.04) saturate(0.92);
}
.d10-photo-frame picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.d10-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,10,18,0.15) 0%, transparent 30%, transparent 60%, rgba(15,10,18,0.5) 100%),
    radial-gradient(80% 60% at 50% 110%, rgba(155, 45, 142, 0.4), transparent 70%);
  pointer-events: none;
}
.d10-photo-corner {
  position: absolute;
  color: var(--accent);
  opacity: 0.85;
  pointer-events: none;
}
.d10-corner-tl { top: 12px; left: 12px; }
.d10-corner-br { bottom: 12px; right: 12px; }

.d10-photo-stamp {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 72px; height: 72px;
  border: 1.5px dashed var(--accent);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--accent);
  transform: rotate(-8deg);
  background: rgba(15, 10, 18, 0.32);
  backdrop-filter: blur(6px);
}
.d10-stamp-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
}
.d10-stamp-sm {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

.d10-photo-caption {
  display: none;
  align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(244, 236, 239, 0.62);
}
.d10-cap-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.d10-cap-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  font-variation-settings: "opsz" 36;
}

/* ----- Offer card ----- */
.d10-card {
  position: relative;
  background: #fffdfb;
  color: var(--text-on-light);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
  gap: 22px;
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    inset 0 0 0 1px var(--light-border);
}
.d10-card::before {
  /* top accent strip */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.d10-card-head {
  display: flex; flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.d10-card-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.d10-card-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 45, 142, 0.18);
}
.d10-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--text-on-light);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.d10-card-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.d10-card-sub {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(27, 15, 26, 0.65);
  margin: 4px 0 0;
  max-width: 50ch;
}

.d10-rule {
  height: 1px;
  background: var(--light-border);
  position: relative;
}
.d10-rule::before,
.d10-rule::after {
  content: "";
  position: absolute;
  top: -2.5px;
  width: 5px; height: 5px;
  border-radius: 50%;
}
.d10-rule::before { left: 0; background: var(--primary); opacity: 0.55; }
.d10-rule::after { right: 0; background: var(--accent); opacity: 0.85; }

/* ----- Specs ----- */
.d10-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.d10-spec {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border: 1px solid var(--light-border);
  border-radius: 10px;
  background: rgba(155, 45, 142, 0.02);
}
.d10-spec-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(155, 45, 142, 0.25);
  color: var(--primary);
  flex-shrink: 0;
  background: rgba(155, 45, 142, 0.05);
}
.d10-spec-body {
  display: flex; flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.d10-spec-num {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 17px;
  color: var(--text-on-light);
  letter-spacing: -0.005em;
  line-height: 1;
  font-variation-settings: "opsz" 36;
}
.d10-spec-cap {
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(27, 15, 26, 0.55);
  line-height: 1.2;
}

/* ----- Price block ----- */
.d10-price {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.d10-price-from {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(27, 15, 26, 0.6);
}
.d10-from-k {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(27, 15, 26, 0.5);
}
.d10-from-v {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: rgba(27, 15, 26, 0.55);
  font-variation-settings: "opsz" 36;
}
.d10-from-v::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  top: 52%;
  height: 1.5px;
  background: #E8806D;
  transform: rotate(-2deg);
  border-radius: 1px;
}
.d10-from-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--accent);
}
.d10-from-por {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(27, 15, 26, 0.6);
}

.d10-price-row {
  display: flex; align-items: flex-end; gap: 20px;
  flex-wrap: wrap;
}
.d10-price-now {
  display: flex; align-items: baseline; gap: 6px;
  color: var(--text-on-light);
  font-family: var(--serif);
  line-height: 0.95;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.d10-cents {
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--primary);
  letter-spacing: -0.01em;
}
.d10-amount {
  font-weight: 400;
  font-size: clamp(64px, 8vw, 110px);
  letter-spacing: -0.035em;
  color: var(--text-on-light);
}
.d10-decimal {
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-left: 4px;
}
.d10-price-side {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}
.d10-lote {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.4);
  color: #8a6b00;
  width: max-content;
}
.d10-price-vista {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: rgba(27, 15, 26, 0.6);
  font-variation-settings: "opsz" 36;
}

/* ----- Payments ----- */
.d10-payments {
  display: block;
}
.d10-payment-flags {
  width: min(100%, 520px);
  height: auto;
  display: block;
}

/* ----- CTA ----- */
.d10-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 18px 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.005em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow:
    0 16px 36px -14px rgba(155, 45, 142, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.d10-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.d10-cta:hover {
  transform: translateY(-1px);
  background: #A8369B;
  box-shadow: 0 22px 44px -16px rgba(201, 100, 185, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.d10-cta-divider {
  opacity: 0.4;
  font-weight: 300;
}
.d10-cta-lote {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.d10-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease;
}
.d10-cta:hover .d10-cta-arrow { transform: translateX(2px); }

/* ----- Progress ----- */
.d10-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.d10-progress-track {
  position: relative;
  width: 370px;
  max-width: 100%;
  height: 11px;
  background: transparent;
  border-radius: 8px;
  border: 2px solid #F2A23A;
  overflow: hidden;
  box-shadow: inset 0 0 0 rgba(0,0,0,0.04);
}
.d10-progress-fill {
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, #E86F2A, #F2A23A);
  background-size: 200% 100%;
  border-radius: inherit;
  transition: width .8s cubic-bezier(.22,.61,.36,1);
  will-change: width;
  animation: d10-lote-flow 8s linear infinite;
}
.d10-progress-fill::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  filter: blur(.4px);
  animation: d10-lote-shine 2.2s linear infinite;
  pointer-events: none;
}
.d10-progress-fill.is-empty,
.d10-progress-fill.is-complete {
  animation: none;
}
.d10-progress-fill.is-empty::after,
.d10-progress-fill.is-complete::after {
  display: none;
}
@keyframes d10-lote-shine {
  from { left: -40%; }
  to { left: 110%; }
}
@keyframes d10-lote-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.d10-progress-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  width: 370px;
  max-width: 100%;
  gap: 12px;
}
.d10-progress-pct {
  display: inline-flex; align-items: baseline; gap: 8px;
}
.pct-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--primary);
  font-variation-settings: "opsz" 36;
}
.pct-cap {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(27, 15, 26, 0.62);
}
.d10-progress-remaining {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6b00;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.4);
}

.hero-lote-progress {
  margin-top: -16px;
  margin-bottom: 32px;
}

.hero-lote-progress .d10-progress-track,
.hero-lote-progress .d10-progress-meta {
  width: 370px;
}

.hero-lote-progress .d10-progress-remaining {
  display: none;
}

.hero-lote-progress .d10-progress-pct {
  gap: 10px;
}

.hero-lote-progress .pct-num {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(232, 197, 71, 0.28);
}

.hero-lote-progress .pct-cap {
  color: rgba(244, 236, 239, 0.86);
  font-weight: 600;
}

/* ----- Guarantee ----- */
.d10-guarantee {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--light-border);
  border-radius: 12px;
  background: rgba(155, 45, 142, 0.025);
}
.d10-guar-mark {
  color: var(--primary);
  display: inline-flex;
  flex-shrink: 0;
}
.d10-guar-text {
  display: flex; flex-direction: column;
  gap: 2px;
}
.d10-guar-title {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-on-light);
}
.d10-guar-cap {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 12.5px;
  color: rgba(27, 15, 26, 0.6);
  font-variation-settings: "opsz" 36;
}

/* ----- Responsive ----- */
@media (max-width: 820px) {
  .d10-card-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .d10-frame-right { display: none; }
  .d10-photo-frame { aspect-ratio: 3 / 4; min-height: 360px; }
  .d10-specs { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .dobra10 { padding: 40px 16px; }
  .d10-card { padding: 24px 20px; gap: 18px; }
  .d10-card-title { font-size: 30px; }
  .d10-amount { font-size: 64px; }
  .d10-cents { font-size: 20px; }
  .d10-cta { padding: 16px 20px; font-size: 14.5px; gap: 8px; }
  .d10-cta-lote { font-size: 11px; }
  .d10-progress { align-items: center; }
  .d10-progress-track {
    width: 250px;
    height: 8px;
  }
  .hero-lote-progress .d10-progress-track,
  .hero-lote-progress .d10-progress-meta {
    width: 250px;
  }
  .hero-lote-progress {
    align-items: flex-start;
    margin-top: -34px;
  }
  .hero-lote-progress .d10-progress-meta {
    justify-content: flex-start;
    text-align: left;
  }
  .d10-progress-meta {
    width: 250px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .pct-num { font-size: 18px; }
  .pct-cap { font-size: 13px; }
}
