/* ==========================================================================
   DopCoin Fintech v2 — Sistema visual institucional + soporte inteligente
   Paleta turquesa, glassmorphism, halos suaves, animaciones lentas.
   ========================================================================== */

:root {
	--dop-bg:           #07111F;
	--dop-bg-2:         #0B1E2D;
	--dop-deep:         #102A43;
	--dop-elevated:     #15293B;
	--dop-fg:           #F4F7FA;
	--dop-muted:        #AAB7C4;
	--dop-border:       rgba(255, 255, 255, 0.08);
	--dop-border-soft:  rgba(255, 255, 255, 0.04);

	--dop-turquoise:    #00D4C8;
	--dop-cyan:         #38E8FF;
	--dop-deep-accent:  #0E6B8A;
	--dop-success:      #34D399;

	--dop-grad-brand:   linear-gradient(135deg, #00D4C8 0%, #38E8FF 100%);
	--dop-grad-cta:     linear-gradient(135deg, #00D4C8 0%, #0E6B8A 100%);
	--dop-grad-night:   radial-gradient(ellipse at top, #0B1E2D 0%, #07111F 70%);

	--dop-glass-bg:     rgba(255, 255, 255, 0.04);
	--dop-glass-bg-hi:  rgba(255, 255, 255, 0.07);
	--dop-glass-border: rgba(255, 255, 255, 0.08);
	--dop-glass-blur:   blur(28px) saturate(160%);

	--dop-shadow-soft:  0 8px 24px rgba(7, 17, 31, 0.5);
	--dop-shadow-ring:  0 0 0 1px rgba(255,255,255,0.06), 0 24px 48px -16px rgba(0,0,0,0.6);
	--dop-shadow-glow:  0 20px 60px -10px rgba(0, 212, 200, 0.35);

	--dop-radius-sm:    12px;
	--dop-radius-md:    18px;
	--dop-radius-lg:    24px;
	--dop-radius-xl:    32px;
	--dop-radius-pill:  999px;

	--dop-ease:         cubic-bezier(0.16, 1, 0.3, 1);
	--dop-ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }

body.dopcoin-modern {
	background-color: var(--dop-bg);
	color: var(--dop-fg);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Halo institucional muy sutil */
body.dopcoin-modern::before {
	content: "";
	position: fixed; inset: 0; pointer-events: none; z-index: 0;
	background:
		radial-gradient(900px 600px at 15% -10%, rgba(0, 212, 200, 0.10), transparent 60%),
		radial-gradient(800px 500px at 90% 0%, rgba(56, 232, 255, 0.08), transparent 60%),
		radial-gradient(700px 400px at 50% 110%, rgba(14, 107, 138, 0.10), transparent 60%);
}

body.dopcoin-modern > * { position: relative; z-index: 1; }

body.dopcoin-modern ::selection { background: rgba(0, 212, 200, 0.30); color: #fff; }

body.dopcoin-modern::-webkit-scrollbar { width: 10px; height: 10px; }
body.dopcoin-modern::-webkit-scrollbar-track { background: var(--dop-bg); }
body.dopcoin-modern::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1F3D54, #102A43); border-radius: 999px; }
body.dopcoin-modern::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #00D4C8, #0E6B8A); }

/* ==========================================================================
   Tipografia
   ========================================================================== */
.dopcoin-modern h1, .dopcoin-modern h2, .dopcoin-modern h3,
.dopcoin-modern .wp-block-site-title a {
	font-family: 'Sora', 'Inter', sans-serif;
	letter-spacing: -0.02em;
	font-weight: 600;
}

.dopcoin-modern .has-gradient-text,
.dopcoin-modern .text-brand {
	background: var(--dop-grad-brand);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

/* ==========================================================================
   FIX CRITICO de WP 6.9: anula height:100% en wp-block-button__link
   ========================================================================== */
.dopcoin-modern .wp-block-button .wp-block-button__link,
.dopcoin-modern .wp-block-button.is-style-outline .wp-block-button__link,
.dopcoin-modern .wp-element-button {
	height: auto !important;
	min-height: 0 !important;
	align-content: normal !important;
	width: auto !important;
	display: inline-block !important;
	line-height: 1.4 !important;
}

.dopcoin-modern .wp-block-buttons {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}
.dopcoin-modern .wp-block-buttons.is-content-justification-center,
.dopcoin-modern .wp-block-buttons[style*="justify-content:center"] { justify-content: center; }
.dopcoin-modern .wp-block-button { display: inline-flex !important; height: auto !important; }

/* ==========================================================================
   Header sticky con glass premium
   ========================================================================== */
.dopcoin-modern .is-position-sticky.wp-block-group {
	background: rgba(7, 17, 31, 0.65) !important;
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
	border-bottom: 1px solid var(--dop-glass-border);
}

.dopcoin-modern .wp-block-site-title a { color: var(--dop-fg); text-decoration: none; font-weight: 600; }

.dopcoin-modern .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--dop-fg);
	font-weight: 500; font-size: 0.9375rem;
	padding: 0.5rem 0.875rem;
	border-radius: var(--dop-radius-pill);
	transition: background 0.3s var(--dop-ease), color 0.3s var(--dop-ease);
}
.dopcoin-modern .wp-block-navigation .wp-block-navigation-item__content:hover,
.dopcoin-modern .wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
	background: var(--dop-glass-bg);
	color: var(--dop-turquoise);
}

/* ==========================================================================
   Botones - turquesa premium
   ========================================================================== */
.dopcoin-modern .wp-block-button .wp-block-button__link {
	background: var(--dop-grad-brand);
	color: #06121E;
	border: none;
	border-radius: var(--dop-radius-pill);
	padding: 0.95rem 1.75rem;
	font-weight: 600; font-size: 0.9375rem;
	box-shadow: 0 8px 24px -8px rgba(0, 212, 200, 0.5);
	transition: transform 0.3s var(--dop-ease), box-shadow 0.3s var(--dop-ease), filter 0.3s var(--dop-ease);
	position: relative; overflow: hidden;
}
.dopcoin-modern .wp-block-button .wp-block-button__link::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.7s var(--dop-ease);
}
.dopcoin-modern .wp-block-button .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -10px rgba(0, 212, 200, 0.6);
	filter: brightness(1.05);
}
.dopcoin-modern .wp-block-button .wp-block-button__link:hover::after { transform: translateX(100%); }

.dopcoin-modern .wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--dop-glass-bg) !important;
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
	color: var(--dop-fg) !important;
	border: 1px solid var(--dop-glass-border) !important;
	box-shadow: none;
}
.dopcoin-modern .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--dop-glass-bg-hi) !important;
	border-color: var(--dop-turquoise) !important;
	color: var(--dop-turquoise) !important;
}

/* ==========================================================================
   Glass card system - clase utilitaria
   ========================================================================== */
.dopcoin-modern .dop-glass {
	background: var(--dop-glass-bg) !important;
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
	border: 1px solid var(--dop-glass-border);
	border-radius: var(--dop-radius-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--dop-shadow-ring);
	transition: transform 0.5s var(--dop-ease), border-color 0.5s var(--dop-ease), box-shadow 0.5s var(--dop-ease);
	position: relative;
	overflow: hidden;
}
.dopcoin-modern .dop-glass::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 50%);
	pointer-events: none; border-radius: inherit;
}
.dopcoin-modern .dop-glass:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 212, 200, 0.35);
	box-shadow: 0 0 0 1px rgba(0, 212, 200, 0.25), 0 32px 64px -20px rgba(0, 212, 200, 0.25);
}

/* Halo indicators */
.dopcoin-modern .dop-glass.halo-turquoise::after,
.dopcoin-modern .dop-glass.halo-cyan::after,
.dopcoin-modern .dop-glass.halo-deep::after {
	content: ""; position: absolute;
	width: 220px; height: 220px; border-radius: 50%;
	filter: blur(80px); opacity: 0.45;
	top: -70px; right: -70px; pointer-events: none; z-index: -1;
}
.dopcoin-modern .dop-glass.halo-turquoise::after { background: var(--dop-turquoise); }
.dopcoin-modern .dop-glass.halo-cyan::after      { background: var(--dop-cyan); }
.dopcoin-modern .dop-glass.halo-deep::after      { background: var(--dop-deep-accent); }

/* ==========================================================================
   Section system
   ========================================================================== */
.dopcoin-modern .dop-section {
	padding-block: clamp(4rem, 8vw, 7rem);
	position: relative;
}

.dopcoin-modern .dop-section + .dop-section::before {
	content: ""; position: absolute; top: 0; left: 50%;
	transform: translateX(-50%);
	width: min(80%, 800px); height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}

.dopcoin-modern .dop-section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.dopcoin-modern .dop-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.4rem 0.875rem;
	background: var(--dop-glass-bg);
	border: 1px solid var(--dop-glass-border);
	border-radius: var(--dop-radius-pill);
	font-size: 0.8125rem;
	color: var(--dop-turquoise);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
}
.dopcoin-modern .dop-eyebrow::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--dop-turquoise);
	box-shadow: 0 0 12px var(--dop-turquoise);
	animation: dop-pulse 2.4s ease-in-out infinite;
}
@keyframes dop-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.55; transform: scale(1.5); }
}

/* ==========================================================================
   HERO - Digital Support Hub (escena pseudo-3D)
   ========================================================================== */
.dopcoin-modern .dop-hero {
	min-height: clamp(640px, 92vh, 940px);
	background: var(--dop-grad-night);
	position: relative;
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 8rem);
}

/* Grid pattern de fondo */
.dopcoin-modern .dop-hero::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
	pointer-events: none;
}

.dopcoin-modern .dop-hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin-bottom: 1.25rem;
}

.dopcoin-modern .dop-hero p.dop-hero-lead {
	font-size: clamp(1rem, 1.3vw, 1.1875rem);
	color: var(--dop-muted);
	max-width: 580px;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.dopcoin-modern .dop-hero-microtext {
	margin-top: 1.5rem;
	color: var(--dop-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
}
.dopcoin-modern .dop-hero-microtext span { color: var(--dop-turquoise); margin-inline: 0.5rem; opacity: 0.7; }

/* Layout grid del hero */
.dopcoin-modern .dop-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 3rem);
	position: relative;
	z-index: 2;
}
@media (min-width: 980px) {
	.dopcoin-modern .dop-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ESCENA: Digital Support Hub */
.dopcoin-modern .dop-scene {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 560px;
	margin-inline: auto;
	perspective: 1200px;
}

/* Núcleo digital central */
.dopcoin-modern .dop-core {
	position: absolute; top: 50%; left: 50%;
	width: 38%; height: 38%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(56, 232, 255, 0.4) 0%, rgba(0, 212, 200, 0.18) 40%, transparent 70%);
	box-shadow:
		inset 0 0 60px rgba(0, 212, 200, 0.4),
		0 0 80px rgba(0, 212, 200, 0.35);
}
.dopcoin-modern .dop-core::before,
.dopcoin-modern .dop-core::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 1px solid rgba(0, 212, 200, 0.35);
	animation: dop-ring 6s ease-out infinite;
}
.dopcoin-modern .dop-core::after { animation-delay: 3s; }

@keyframes dop-ring {
	0%   { transform: scale(1);   opacity: 0.8; }
	100% { transform: scale(2.4); opacity: 0;   }
}

/* Anillos orbitales SVG-like usando borders */
.dopcoin-modern .dop-orbit {
	position: absolute; top: 50%; left: 50%;
	border: 1px dashed rgba(0, 212, 200, 0.18);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: dop-orbit-rotate 60s linear infinite;
}
.dopcoin-modern .dop-orbit-1 { width: 60%; height: 60%; }
.dopcoin-modern .dop-orbit-2 { width: 90%; height: 90%; animation-direction: reverse; animation-duration: 90s; }

@keyframes dop-orbit-rotate {
	from { transform: translate(-50%, -50%) rotate(0deg);   }
	to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tarjetas flotantes con estado */
.dopcoin-modern .dop-card {
	position: absolute;
	background: rgba(11, 30, 45, 0.65);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	padding: 0.75rem 1rem;
	font-size: 0.78rem;
	color: var(--dop-fg);
	box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
	display: flex; align-items: center; gap: 0.6rem;
	white-space: nowrap;
	min-width: 150px;
	animation: dop-float 8s ease-in-out infinite;
	will-change: transform;
}

.dopcoin-modern .dop-card .dop-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--dop-turquoise);
	box-shadow: 0 0 10px var(--dop-turquoise);
	animation: dop-pulse 2s ease-in-out infinite;
	flex-shrink: 0;
}
.dopcoin-modern .dop-card.is-pending .dop-dot { background: var(--dop-cyan); box-shadow: 0 0 10px var(--dop-cyan); }
.dopcoin-modern .dop-card.is-active  .dop-dot { background: var(--dop-success); box-shadow: 0 0 10px var(--dop-success); }

.dopcoin-modern .dop-card-label { font-weight: 500; color: var(--dop-fg); }
.dopcoin-modern .dop-card-meta  { color: var(--dop-muted); margin-left: auto; font-size: 0.7rem; }

/* Posiciones de las tarjetas alrededor del núcleo */
.dopcoin-modern .dop-card-1 { top: 6%;  left: -5%;  animation-delay: 0s;   }
.dopcoin-modern .dop-card-2 { top: 22%; right: -8%; animation-delay: 1.5s; }
.dopcoin-modern .dop-card-3 { bottom: 28%; left: -10%; animation-delay: 3s; }
.dopcoin-modern .dop-card-4 { bottom: 6%;  right: 4%;  animation-delay: 4.5s; }

@keyframes dop-float {
	0%, 100% { transform: translateY(0)    rotate(0deg); }
	50%      { transform: translateY(-12px) rotate(0.4deg); }
}

/* Burbujas de chat */
.dopcoin-modern .dop-chat {
	position: absolute;
	background: var(--dop-grad-brand);
	color: #06121E;
	font-weight: 500;
	font-size: 0.78rem;
	padding: 0.55rem 0.85rem;
	border-radius: 14px 14px 14px 4px;
	box-shadow: 0 8px 20px -6px rgba(0, 212, 200, 0.45);
	animation: dop-chat-in 6s ease-in-out infinite;
	opacity: 0;
}
.dopcoin-modern .dop-chat-1 { top: 40%; left: 12%; animation-delay: 0.5s;  border-radius: 14px 14px 4px 14px; }
.dopcoin-modern .dop-chat-2 { top: 58%; right: 10%; animation-delay: 3s; }

@keyframes dop-chat-in {
	0%, 70%, 100% { opacity: 0; transform: translateY(8px) scale(0.95); }
	15%, 55%      { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Líneas de conexión SVG */
.dopcoin-modern .dop-svg-lines {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	pointer-events: none;
	z-index: 1;
}
.dopcoin-modern .dop-svg-lines path {
	fill: none;
	stroke: rgba(0, 212, 200, 0.35);
	stroke-width: 1;
	stroke-dasharray: 4 6;
	animation: dop-dash 14s linear infinite;
}
@keyframes dop-dash { to { stroke-dashoffset: -200; } }

/* Avatares abstractos */
.dopcoin-modern .dop-avatar {
	position: absolute;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #15293B 0%, #0E6B8A 100%);
	border: 1px solid rgba(255,255,255,0.15);
	display: flex; align-items: center; justify-content: center;
	color: var(--dop-cyan);
	box-shadow: 0 8px 20px -8px rgba(0,0,0,0.6);
	animation: dop-float 9s ease-in-out infinite;
}
.dopcoin-modern .dop-avatar svg { width: 18px; height: 18px; }
.dopcoin-modern .dop-avatar-1 { top: 14%; right: 22%; animation-delay: 1s; }
.dopcoin-modern .dop-avatar-2 { bottom: 14%; left: 28%; animation-delay: 4s; }

/* Escudo/check final */
.dopcoin-modern .dop-shield {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 18%; height: 18%;
	display: flex; align-items: center; justify-content: center;
	color: #06121E;
	background: var(--dop-grad-brand);
	border-radius: 50%;
	font-weight: 700;
	box-shadow: 0 0 30px rgba(0, 212, 200, 0.55);
	z-index: 3;
}
.dopcoin-modern .dop-shield svg { width: 50%; height: 50%; }

/* ==========================================================================
   "Qué es DopCoin" - 3 cards
   ========================================================================== */
.dopcoin-modern .dop-feature-icon {
	width: 48px; height: 48px;
	border-radius: 14px;
	background: var(--dop-glass-bg);
	border: 1px solid var(--dop-glass-border);
	display: flex; align-items: center; justify-content: center;
	color: var(--dop-turquoise);
	margin-bottom: 1rem;
}

/* ==========================================================================
   Experiencia DopCoin - Flow timeline (5 pasos)
   ========================================================================== */
.dopcoin-modern .dop-flow {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	position: relative;
}
@media (min-width: 980px) {
	.dopcoin-modern .dop-flow { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
	.dopcoin-modern .dop-flow::before {
		content: "";
		position: absolute;
		top: 28px; left: 8%; right: 8%;
		height: 1px;
		background: linear-gradient(90deg, transparent, rgba(0,212,200,0.4) 20%, rgba(0,212,200,0.4) 80%, transparent);
		z-index: 0;
	}
}

.dopcoin-modern .dop-flow-step {
	position: relative;
	text-align: center;
	padding: 0;
}

.dopcoin-modern .dop-flow-node {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--dop-bg-2);
	border: 1px solid var(--dop-turquoise);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--dop-turquoise);
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 1.125rem;
	margin-bottom: 1rem;
	box-shadow: 0 0 0 6px rgba(7, 17, 31, 1), 0 0 20px rgba(0, 212, 200, 0.4);
	position: relative;
	z-index: 1;
}

.dopcoin-modern .dop-flow-step h4 {
	font-family: 'Sora', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--dop-fg);
	margin: 0 0 0.5rem;
}

.dopcoin-modern .dop-flow-step p {
	font-size: 0.875rem;
	color: var(--dop-muted);
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   Soporte inteligente - 6 cards compactas
   ========================================================================== */
.dopcoin-modern .dop-support-card {
	display: flex;
	gap: 0.875rem;
	align-items: flex-start;
}
.dopcoin-modern .dop-support-card .dop-feature-icon {
	flex-shrink: 0;
	width: 40px; height: 40px;
	margin-bottom: 0;
}
.dopcoin-modern .dop-support-card h4 {
	font-family: 'Sora', sans-serif;
	font-size: 1rem; font-weight: 600;
	margin: 0 0 0.25rem;
}
.dopcoin-modern .dop-support-card p {
	font-size: 0.875rem;
	color: var(--dop-muted);
	margin: 0;
	line-height: 1.5;
}

/* ==========================================================================
   Forms (WPForms)
   ========================================================================== */
.dopcoin-modern .wpforms-form input[type="text"],
.dopcoin-modern .wpforms-form input[type="email"],
.dopcoin-modern .wpforms-form input[type="tel"],
.dopcoin-modern .wpforms-form input[type="number"],
.dopcoin-modern .wpforms-form select,
.dopcoin-modern .wpforms-form textarea {
	background: var(--dop-glass-bg) !important;
	border: 1px solid var(--dop-glass-border) !important;
	border-radius: var(--dop-radius-md) !important;
	color: var(--dop-fg) !important;
	padding: 0.875rem 1rem !important;
	font-family: inherit !important;
	font-size: 0.9375rem !important;
}
.dopcoin-modern .wpforms-form input:focus,
.dopcoin-modern .wpforms-form select:focus,
.dopcoin-modern .wpforms-form textarea:focus {
	outline: none !important;
	border-color: var(--dop-turquoise) !important;
	background: var(--dop-glass-bg-hi) !important;
	box-shadow: 0 0 0 4px rgba(0, 212, 200, 0.12) !important;
}
.dopcoin-modern .wpforms-form ::placeholder { color: var(--dop-muted) !important; }
.dopcoin-modern .wpforms-form label,
.dopcoin-modern .wpforms-form .wpforms-field-label {
	color: var(--dop-fg) !important;
	font-weight: 500 !important;
	font-size: 0.875rem !important;
}
.dopcoin-modern .wpforms-form button[type="submit"],
.dopcoin-modern .wpforms-submit {
	background: var(--dop-grad-brand) !important;
	color: #06121E !important;
	border: none !important;
	border-radius: var(--dop-radius-pill) !important;
	padding: 0.95rem 1.75rem !important;
	font-weight: 600 !important;
	box-shadow: 0 8px 24px -8px rgba(0, 212, 200, 0.5) !important;
}

/* ==========================================================================
   WooCommerce polish
   ========================================================================== */
.dopcoin-modern .woocommerce ul.products li.product {
	background: var(--dop-glass-bg);
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
	border: 1px solid var(--dop-glass-border);
	border-radius: var(--dop-radius-lg);
	padding: 1.25rem !important;
}
.dopcoin-modern .woocommerce-Price-amount {
	font-family: 'Sora', sans-serif !important;
	font-weight: 600 !important;
	background: var(--dop-grad-brand);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.dopcoin-modern .woocommerce a.button,
.dopcoin-modern .woocommerce button.button,
.dopcoin-modern .woocommerce a.button.alt {
	background: var(--dop-grad-brand) !important;
	color: #06121E !important;
	border-radius: var(--dop-radius-pill) !important;
	padding: 0.75rem 1.5rem !important;
	font-weight: 600 !important;
	border: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.dopcoin-modern footer.wp-block-template-part {
	background: linear-gradient(180deg, transparent 0%, var(--dop-bg-2) 100%);
	border-top: 1px solid var(--dop-glass-border);
	padding-block: 3rem 2rem;
	color: var(--dop-muted);
}
.dopcoin-modern footer .wp-block-social-links a {
	color: var(--dop-fg);
	transition: transform 0.25s var(--dop-ease);
}
.dopcoin-modern footer .wp-block-social-links a:hover { transform: translateY(-2px); color: var(--dop-turquoise); }

/* ==========================================================================
   Animaciones de entrada
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.dopcoin-modern .dop-hero h1,
	.dopcoin-modern .dop-hero p,
	.dopcoin-modern .dop-hero .wp-block-buttons,
	.dopcoin-modern .dop-hero-microtext {
		animation: dop-fade-up 0.9s var(--dop-ease) both;
	}
	.dopcoin-modern .dop-hero p              { animation-delay: 0.15s; }
	.dopcoin-modern .dop-hero .wp-block-buttons { animation-delay: 0.3s;  }
	.dopcoin-modern .dop-hero-microtext     { animation-delay: 0.45s; }

	.dopcoin-modern .dop-glass[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--dop-ease), transform 0.8s var(--dop-ease); }
	.dopcoin-modern .dop-glass[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

@keyframes dop-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Reduced motion - respetar preferencia del usuario
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.dopcoin-modern *,
	.dopcoin-modern *::before,
	.dopcoin-modern *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
	.dopcoin-modern .dop-glass { padding: 1.25rem; border-radius: var(--dop-radius-md); }
	.dopcoin-modern .dop-hero { min-height: 100vh; }
	.dopcoin-modern .dop-hero::before { background-size: 40px 40px; }
	.dopcoin-modern .dop-card { font-size: 0.7rem; min-width: 130px; padding: 0.55rem 0.75rem; }
	.dopcoin-modern .dop-flow-node { width: 48px; height: 48px; font-size: 1rem; }
}

.dopcoin-modern .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(7, 17, 31, 0.95) !important;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	color: var(--dop-fg);
}

/* ==========================================================================
   Boletín DopCoin - News cards (Query Loop)
   ========================================================================== */
.dopcoin-modern .dop-news-grid {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1.5rem !important;
	list-style: none;
	padding: 0;
	margin: 0;
}
@media (min-width: 720px) {
	.dopcoin-modern .dop-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.dopcoin-modern .dop-news-grid { grid-template-columns: repeat(3, 1fr); }
}

.dopcoin-modern .dop-news-card {
	background: var(--dop-glass-bg) !important;
	backdrop-filter: var(--dop-glass-blur);
	-webkit-backdrop-filter: var(--dop-glass-blur);
	border: 1px solid var(--dop-glass-border);
	border-radius: var(--dop-radius-lg);
	overflow: hidden;
	display: flex !important;
	flex-direction: column;
	transition: transform 0.4s var(--dop-ease), border-color 0.4s var(--dop-ease), box-shadow 0.4s var(--dop-ease);
	height: 100%;
}
.dopcoin-modern .dop-news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 212, 200, 0.4);
	box-shadow: 0 0 0 1px rgba(0, 212, 200, 0.25), 0 24px 48px -16px rgba(0, 212, 200, 0.25);
}

/* Featured image - 16:9 con fallback gradient si no hay imagen */
.dopcoin-modern .dop-news-thumb {
	margin: 0 !important;
	width: 100%;
	background: linear-gradient(135deg, #0E6B8A 0%, #102A43 100%);
	overflow: hidden;
}
.dopcoin-modern .dop-news-thumb a,
.dopcoin-modern .dop-news-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dopcoin-modern .dop-news-thumb img {
	transition: transform 0.6s var(--dop-ease);
}
.dopcoin-modern .dop-news-card:hover .dop-news-thumb img {
	transform: scale(1.04);
}

/* Si no hay featured image, mostrar un placeholder con la marca */
.dopcoin-modern .dop-news-card:not(:has(img)) .dop-news-thumb,
.dopcoin-modern .dop-news-card:has(.dop-news-thumb:empty) .dop-news-thumb {
	aspect-ratio: 16 / 9;
	position: relative;
}
.dopcoin-modern .dop-news-card:not(:has(img)) .dop-news-thumb::before {
	content: "DopCoin";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.65);
	letter-spacing: -0.02em;
}

.dopcoin-modern .dop-news-body {
	display: flex !important;
	flex-direction: column;
	gap: 0.625rem !important;
	padding: 1.25rem !important;
	flex: 1;
}

/* Categoría como badge */
.dopcoin-modern .dop-news-cat {
	display: inline-flex;
	align-self: flex-start;
	font-size: 0.6875rem !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dop-turquoise) !important;
	background: rgba(0, 212, 200, 0.08);
	border: 1px solid rgba(0, 212, 200, 0.2);
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	margin: 0 !important;
	width: fit-content;
}
.dopcoin-modern .dop-news-cat a {
	color: inherit !important;
	text-decoration: none !important;
}

/* Title - 2 líneas máximo con ellipsis */
.dopcoin-modern .dop-news-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	color: var(--dop-fg);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: -0.01em;
}
.dopcoin-modern .dop-news-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.2s var(--dop-ease);
}
.dopcoin-modern .dop-news-card:hover .dop-news-title a {
	color: var(--dop-turquoise);
}

/* Date */
.dopcoin-modern .dop-news-date {
	font-size: 0.8125rem !important;
	color: var(--dop-muted) !important;
	margin: auto 0 0 !important;
	padding-top: 0.5rem;
}
