/* Diseño Web — Studio Graphite + coral. Not purple / cream / amber / lime clones. */
.dw-page {
  --dw-ink: #12141a;
  --dw-slate: #2a303b;
  --dw-muted: #66707d;
  --dw-accent: #ff5c3a;
  --dw-accent-soft: rgba(255, 92, 58, 0.12);
  --dw-paper: #eef1f5;
  --dw-display: "Fraunces", "Libre Baskerville", Georgia, serif;
  --dw-sans: "Manrope", "DM Sans", system-ui, sans-serif;
  font-family: var(--dw-sans);
  color: var(--dw-ink);
}
.dw-page .inner-hero { display: none !important; }

.dw-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0e1116;
  padding-top: 72px;
  box-sizing: border-box;
}
.dw-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.dw-hero-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 12% 20%, rgba(255,92,58,0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 88% 18%, rgba(90,140,180,0.18) 0%, transparent 50%),
    radial-gradient(70% 60% at 70% 90%, rgba(255,92,58,0.12) 0%, transparent 55%),
    linear-gradient(165deg, #151922 0%, #0e1116 48%, #1a1412 100%);
}
.dw-hero-grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 75%);
  transform: perspective(900px) rotateX(58deg) translateY(-8%);
  opacity: 0.85;
  animation: dw-grid-drift 18s ease-in-out infinite alternate;
}
@keyframes dw-grid-drift {
  from { transform: perspective(900px) rotateX(58deg) translateY(-8%) translateX(0); }
  to { transform: perspective(900px) rotateX(58deg) translateY(-4%) translateX(-2%); }
}
.dw-hero-bloom {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55;
}
.dw-hero-bloom--a {
  width: min(48vw, 420px); height: min(48vw, 420px);
  top: 8%; right: 6%;
  background: rgba(255,92,58,0.35);
  animation: dw-bloom 10s ease-in-out infinite alternate;
}
.dw-hero-bloom--b {
  width: min(36vw, 300px); height: min(36vw, 300px);
  bottom: 12%; left: 8%;
  background: rgba(120,160,190,0.22);
  animation: dw-bloom 12s ease-in-out infinite alternate-reverse;
}
@keyframes dw-bloom {
  from { transform: scale(1) translate(0,0); opacity: 0.4; }
  to { transform: scale(1.15) translate(-3%, 2%); opacity: 0.7; }
}
.dw-hero-sweep {
  position: absolute; inset: -20% -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  animation: dw-sweep 9s ease-in-out infinite;
}
@keyframes dw-sweep {
  0%, 100% { transform: translateX(-18%) rotate(0deg); opacity: 0; }
  40% { opacity: 1; }
  70% { transform: translateX(18%) rotate(0deg); opacity: 0; }
}
.dw-hero-mark {
  position: absolute; right: -2%; top: 42%;
  margin: 0;
  font-family: var(--dw-display);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center right;
  white-space: nowrap;
  user-select: none;
}
.dw-hero-inner {
  position: relative; z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 0;
}
.dw-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
  animation: dw-rise 0.7s ease both;
}
.dw-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--dw-display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 4px 32px rgba(0,0,0,0.45);
  animation: dw-rise 0.75s ease 0.08s both;
}
.dw-hero h1 .accent,
.dw-hero h1 .home-hero-accent {
  color: var(--dw-accent) !important;
  -webkit-text-fill-color: var(--dw-accent) !important;
  background: none !important;
}
.dw-hero h1 .accent::after,
.dw-hero h1 .home-hero-accent::after { display: none !important; }
.dw-hero-copy {
  margin: 1.15rem 0 0;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  color: #f0e6e2 !important;
  animation: dw-rise 0.75s ease 0.14s both;
}
.dw-hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.6rem;
  animation: dw-rise 0.75s ease 0.2s both;
}
.dw-hero-actions .btn-outline,
.dw-final .btn-outline,
.dw-proof-actions .btn-outline {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.dw-hero-note {
  margin: 1.2rem 0 0;
  font-size: 0.95rem;
  color: #d9cfc9;
  animation: dw-rise 0.75s ease 0.26s both;
}
.dw-hero-note a { color: var(--dw-accent); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,92,58,0.45); }
@keyframes dw-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.dw-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.dw-section--paper { background: var(--dw-paper); }
.dw-section--ink {
  background: linear-gradient(165deg, #171a22 0%, #12141a 50%, #1a1412 100%);
  color: #f2ece9;
}
.dw-section--ink h2 { color: #fff; }
.dw-section--ink .lead { color: #cfc4be; }
.dw-section--ink .section-kicker { color: var(--dw-accent); }

.dw-card-grid,
.dw-platform-grid,
.dw-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.dw-card, .dw-platform, .dw-faq {
  background: #fff;
  border: 1px solid rgba(18,20,26,0.08);
  border-radius: 2px;
  padding: 1.25rem 1.3rem;
}
.dw-code {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--dw-accent);
  color: #fff;
  border-radius: 2px;
}
.dw-card h3, .dw-platform h3, .dw-faq h3, .dw-step h3, .dw-proof-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--dw-display);
  font-size: 1.25rem;
}
.dw-card p, .dw-platform p, .dw-faq p, .dw-step p { margin: 0; color: var(--dw-muted); line-height: 1.5; }
.dw-platform a {
  display: inline-block; margin-top: 0.8rem;
  font-weight: 700; color: var(--dw-ink); text-decoration: none;
  border-bottom: 2px solid var(--dw-accent);
}

.dw-proof-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin-top: 2.2rem; }
.dw-proof {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
}
.dw-proof:nth-child(even) { direction: rtl; }
.dw-proof:nth-child(even) > * { direction: ltr; }
.dw-proof-shot {
  display: block; overflow: hidden; border-radius: 2px;
  border: 1px solid rgba(255,92,58,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.dw-proof-shot img {
  width: 100%; height: auto; display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.dw-proof-shot:hover img { transform: scale(1.06); }
.dw-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dw-accent);
}
.dw-proof-copy p { color: #cfc4be; margin: 0 0 1rem; line-height: 1.55; }
.dw-proof-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.dw-more { text-align: center; margin: 2rem 0 0; }
.dw-more a { color: var(--dw-accent); font-weight: 700; }

.dw-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.dw-step {
  padding: 1.25rem 1.15rem;
  border-top: 3px solid var(--dw-accent);
  background: rgba(255,92,58,0.05);
}
.dw-step-num {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--dw-ink);
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
}

.dw-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.dw-price-note { color: #cfc4be; margin-top: 0.75rem; }
.dw-factors { list-style: none; margin: 0; padding: 0; }
.dw-factors li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.dw-factor-num {
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  background: var(--dw-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.dw-factors strong { color: #fff; display: block; margin-bottom: 0.2rem; }
.dw-factors p { margin: 0; color: #cfc4be; }

.dw-final {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 40%, rgba(255,92,58,0.22), transparent 55%),
    var(--dw-ink);
  color: #fff;
}
.dw-final-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center;
}
.dw-final h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--dw-display);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  max-width: 16ch;
}
.dw-final p { margin: 0; max-width: 42ch; color: #cfc4be; }
.dw-final-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.dw-related { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--dw-paper); }
.dw-related-list {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center;
}
.dw-related-list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(18,20,26,0.1);
  color: var(--dw-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.dw-related-list a:hover { border-color: var(--dw-accent); }

@media (max-width: 980px) {
  .dw-card-grid, .dw-platform-grid, .dw-process, .dw-faq-grid, .dw-pricing, .dw-proof {
    grid-template-columns: 1fr 1fr;
  }
  .dw-proof:nth-child(even) { direction: ltr; }
  .dw-hero-mark { display: none; }
}
@media (max-width: 720px) {
  .dw-card-grid, .dw-platform-grid, .dw-process, .dw-faq-grid, .dw-pricing, .dw-proof {
    grid-template-columns: 1fr;
  }
  .dw-hero-inner { padding: clamp(2rem, 10vh, 4rem) 0; }
  .dw-hero-grid { opacity: 0.55; }
}
