/* PHONECASH: estilos principales.
   Paleta: negro, blanco y azul. Tipografía: SF Pro en dispositivos Apple, Inter (incluida en el tema) en el resto. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-400.woff") format("woff");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/inter-500.woff") format("woff");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-600.woff") format("woff");
}

:root {
	--black: #000;
	--white: #fff;
	--ink: #1d1d1f;
	--muted: #6e6e73;
	--mist: #f5f5f7;
	--line: #d2d2d7;
	--blue: #0071e3;
	--blue-hover: #0077ed;
	--blue-press: #006edb;
	--blue-link: #0066cc;
	--blue-bright: #2997ff;
	--wa: #1faa59;

	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
	--container: 1120px;
	--gutter: 20px;
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--pill: 980px;
	--header-h: 56px;
	--ease: cubic-bezier(0.28, 0.11, 0.32, 1);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

html.nav-locked {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.012em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blue-link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

:focus-visible {
	outline: 3px solid var(--blue-bright);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--white);
	color: var(--black);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 12px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container-narrow {
	max-width: calc(860px + var(--gutter) * 2);
}

.icon {
	flex: none;
	display: block;
}

/* ---------- Botones ---------- */

.btn,
.button,
button.button,
input[type="submit"].button,
a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--pill);
	background: var(--blue);
	color: var(--white);
	font: 500 17px/1.2 var(--font);
	letter-spacing: -0.012em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.4s var(--ease-out);
}

.btn:hover,
.button:hover,
a.button:hover {
	background: var(--blue-hover);
	color: var(--white);
	text-decoration: none;
}

.btn:active,
.button:active {
	background: var(--blue-press);
	transform: scale(0.97);
}

.btn-lg {
	min-height: 56px;
	padding: 16px 32px;
	font-size: 19px;
}

.btn-primary {
	background: var(--blue);
}

.btn-dark {
	background: var(--black);
	color: var(--white);
}

.btn-dark:hover {
	background: #2a2a2d;
}

.btn-secondary {
	background: transparent;
	color: var(--blue-link);
	box-shadow: inset 0 0 0 1.5px var(--blue-link);
}

.btn-secondary:hover {
	background: var(--blue-link);
	color: var(--white);
}

.btn-light {
	background: #f5f5f7;
	color: #1d1d1f;
}

.btn-light:hover {
	background: #fff;
	color: #1d1d1f;
}

.btn-dark .icon,
.btn-light .icon {
	margin-left: -4px;
}

.btn-block {
	display: flex;
	width: 100%;
}

.link-on-dark {
	color: var(--blue-bright);
	font-size: 19px;
	font-weight: 500;
}

.link-on-dark:hover {
	text-decoration: underline;
}

.link-wa {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* ---------- Encabezado ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: var(--black);
	border-bottom: 1px solid #1d1d1f;
	color: #f5f5f7;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

.brand {
	color: var(--white);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
}

.brand:hover {
	color: var(--white);
	text-decoration: none;
}

.site-nav {
	flex: 1;
}

.nav-list {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--pill);
	color: rgba(245, 245, 247, 0.8);
	font-size: 14px;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-list a:hover {
	color: var(--white);
	text-decoration: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.header-wa {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-right: 6px;
	padding: 6px 16px 6px 8px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.12);
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.3s var(--ease);
}

.header-wa:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	text-decoration: none;
}

.cart-link {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: rgba(245, 245, 247, 0.88);
	transition: color 0.2s ease;
}

.cart-link:hover {
	color: var(--white);
	text-decoration: none;
}

.cart-count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 17px;
	height: 17px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--blue);
	color: var(--white);
	font-size: 11px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
	letter-spacing: 0;
}

.cart-count:not(.has-items) {
	display: none;
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f5f5f7;
	cursor: pointer;
}

.nav-bars {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.nav-bars i {
	position: absolute;
	left: 0;
	width: 20px;
	height: 1.6px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}

.nav-bars i:first-child {
	top: 3px;
}

.nav-bars i:last-child {
	top: 10px;
}

.nav-open .nav-bars i:first-child {
	top: 6.5px;
	transform: rotate(45deg);
}

.nav-open .nav-bars i:last-child {
	top: 6.5px;
	transform: rotate(-45deg);
}

/* Menú móvil: solo existe en pantallas pequeñas */

.nav-extra {
	display: none;
}

@media (max-width: 860px) {
	.nav-toggle {
		display: grid;
	}

	/* En el teléfono, WhatsApp vive dentro del menú y en el botón flotante. */
	.header-wa {
		display: none;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		display: flex;
		flex: none;
		flex-direction: column;
		padding: 8px var(--gutter) max(28px, env(safe-area-inset-bottom));
		background: var(--black);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.nav-open .site-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}

	.nav-list {
		flex-direction: column;
		gap: 0;
	}

	.nav-list a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 20px 2px 20px 0;
		border-bottom: 1px solid #1d1d1f;
		border-radius: 0;
		color: #f5f5f7;
		font-size: 28px;
		font-weight: 600;
		letter-spacing: -0.032em;
	}

	.nav-list a::after {
		content: "";
		width: 9px;
		height: 9px;
		border-top: 2px solid #6e6e73;
		border-right: 2px solid #6e6e73;
		transform: rotate(45deg);
		transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
	}

	.nav-list a:active::after {
		border-color: #f5f5f7;
		transform: translateX(3px) rotate(45deg);
	}

	.nav-extra {
		display: block;
		margin-top: auto;
		padding-top: 28px;
	}

	.nav-wa {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 16px 18px;
		border-radius: 22px;
		background: #1c1c1e;
		color: #f5f5f7;
		text-decoration: none;
		transition: background-color 0.3s var(--ease), transform 0.4s var(--ease-out);
	}

	.nav-wa:active {
		background: #2c2c2e;
		transform: scale(0.98);
	}

	.nav-wa-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		line-height: 1.25;
	}

	.nav-wa-text strong {
		font-size: 18px;
		font-weight: 600;
		letter-spacing: -0.02em;
	}

	.nav-wa-text small {
		color: #a1a1a6;
		font-size: 14px;
	}

	.nav-note {
		margin: 18px 0 14px;
		color: #86868b;
		font-size: 14px;
		line-height: 1.4;
	}

	.nav-social {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.nav-social a {
		display: inline-flex;
		align-items: center;
		gap: 9px;
		padding: 10px 16px 10px 12px;
		border-radius: var(--pill);
		background: #1c1c1e;
		color: #f5f5f7;
		font-size: 15px;
		text-decoration: none;
		transition: background-color 0.3s var(--ease), transform 0.4s var(--ease-out);
	}

	.nav-social a:active {
		background: #2c2c2e;
		transform: scale(0.97);
	}
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
	.nav-list li,
	.nav-extra > * {
		opacity: 0;
		translate: 0 14px;
		transition: opacity 0.5s var(--ease), translate 0.6s var(--ease-out);
	}

	.nav-open .nav-list li,
	.nav-open .nav-extra > * {
		opacity: 1;
		translate: 0 0;
		transition-delay: calc(0.08s + var(--n, 0) * 0.055s);
	}

	.nav-list li:nth-child(1) { --n: 0; }
	.nav-list li:nth-child(2) { --n: 1; }
	.nav-list li:nth-child(3) { --n: 2; }
	.nav-list li:nth-child(4) { --n: 3; }
	.nav-list li:nth-child(5) { --n: 4; }
	.nav-list li:nth-child(6) { --n: 5; }
	.nav-list li:nth-child(7) { --n: 6; }
	.nav-extra > :nth-child(1) { --n: 6; }
	.nav-extra > :nth-child(2) { --n: 7; }
	.nav-extra > :nth-child(3) { --n: 8; }
}

/* ---------- Inicio: portada ---------- */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--black);
	color: #f5f5f7;
	text-align: center;
}

.hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 70%;
	background: radial-gradient(50% 60% at 50% 100%, rgba(0, 113, 227, 0.42), rgba(0, 113, 227, 0) 70%);
	pointer-events: none;
}

.hero-copy {
	position: relative;
	padding-top: clamp(56px, 9vw, 104px);
}

.hero h1 {
	max-width: 22ch;
	margin-inline: auto;
	color: #f5f5f7;
	font-size: clamp(36px, 6.6vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.hero-sub {
	max-width: 640px;
	margin: 24px auto 0;
	color: #a1a1a6;
	text-wrap: balance;
	font-size: clamp(18px, 2.2vw, 22px);
	line-height: 1.4;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 28px;
	margin-top: 34px;
}

.hero-verified {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding: 8px 16px 8px 12px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.08);
	color: #d2d2d7;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.3s var(--ease);
}

.hero-verified:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	text-decoration: none;
}

.hero-stage {
	position: relative;
	display: flex;
	justify-content: center;
	height: clamp(330px, 44vw, 430px);
	margin-top: clamp(40px, 6vw, 64px);
	overflow: hidden;
}

.device {
	flex: none;
	width: 310px;
	height: 640px;
	padding: 10px;
	border-radius: 56px;
	background: linear-gradient(150deg, #5a5a5f 0%, #2a2a2d 30%, #1a1a1c 60%, #3b3b3f 100%);
	box-shadow: 0 0 0 1px #6e6e73 inset, 0 40px 120px rgba(0, 113, 227, 0.35);
}

.device-screen {
	position: relative;
	height: 100%;
	padding: 16px 14px;
	border-radius: 46px;
	background: #0b0b0d;
	overflow: hidden;
	text-align: left;
}

.device-island {
	display: block;
	width: 92px;
	height: 28px;
	margin: 0 auto 14px;
	border-radius: 20px;
	background: #000;
	box-shadow: 0 0 0 1px #1c1c1e;
}

.chat-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 6px 14px;
	border-bottom: 1px solid #202024;
}

.chat-avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 600;
}

.chat-who {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.chat-who strong {
	color: #f5f5f7;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.chat-who small {
	color: var(--blue-bright);
	font-size: 12px;
}

.chat-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 2px;
}

.bubble {
	max-width: 84%;
	margin: 0;
	padding: 10px 14px;
	border-radius: 20px;
	font-size: 14.5px;
	line-height: 1.34;
	letter-spacing: -0.01em;
}

.bubble-out {
	align-self: flex-end;
	border-bottom-right-radius: 6px;
	background: var(--blue);
	color: #fff;
}

.bubble-in {
	align-self: flex-start;
	border-bottom-left-radius: 6px;
	background: #26262a;
	color: #f5f5f7;
}

@media (prefers-reduced-motion: no-preference) {
	.bubble {
		opacity: 0;
		transform: translateY(10px) scale(0.97);
		animation: bubble-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
		animation-delay: calc(1.7s + var(--i, 0) * 1.05s);
	}
}

@keyframes bubble-in {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Inicio: confianza ---------- */

.trust {
	padding: clamp(40px, 6vw, 72px) 0;
	border-bottom: 1px solid var(--line);
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trust-icon {
	display: block;
	margin-bottom: 16px;
	color: var(--blue);
}

.trust-title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.trust-text {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.45;
}

@media (max-width: 900px) {
	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 36px 24px;
	}
}

@media (max-width: 520px) {
	.trust-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Secciones ---------- */

.section {
	padding: clamp(72px, 10vw, 132px) 0;
	scroll-margin-top: var(--header-h);
}

.section-head {
	max-width: 640px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section h1,
.section h2,
.closing h2 {
	font-size: clamp(34px, 5.4vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.038em;
}

.section-head p {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.4;
}

.section-cta {
	margin: 48px 0 0;
	text-align: center;
}

/* ---------- Catálogo (inicio y tienda) ---------- */

.catalog {
	background: var(--white);
}

ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products li.product {
	position: relative;
	margin: 0;
	padding: 0;
	border-radius: var(--radius-lg);
	background: var(--mist);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px 20px 24px;
	color: var(--ink);
	text-decoration: none;
}

.pc-media {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	margin-bottom: 18px;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.pc-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.phone-placeholder {
	width: 62%;
	height: auto;
}

ul.products .woocommerce-loop-product__title {
	margin: 0 0 6px;
	font-size: 21px;
	line-height: 1.19;
	letter-spacing: -0.025em;
}

ul.products .price {
	display: block;
	margin-bottom: 14px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 500;
}

.price del {
	margin-right: 6px;
	color: var(--muted);
	font-weight: 400;
}

.price ins {
	text-decoration: none;
}

.pc-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	color: var(--blue-link);
	font-size: 15px;
	font-weight: 500;
}

.pc-more::after {
	content: "\203A";
	font-size: 1.25em;
	line-height: 1;
	transition: transform 0.3s var(--ease-out);
}

ul.products li.product:hover .pc-more::after {
	transform: translateX(3px);
}

ul.products li.product:hover .pc-more {
	text-decoration: underline;
}

/* Rejilla: 4 en pantalla grande, 3 en tableta y siempre 2 por fila en celular. */
@media (max-width: 1000px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	ul.products li.product {
		border-radius: 22px;
	}

	ul.products li.product > a.woocommerce-LoopProduct-link {
		padding: 10px 10px 16px;
	}

	.pc-media {
		margin-bottom: 10px;
		border-radius: 14px;
	}

	ul.products .woocommerce-loop-product__title {
		margin-bottom: 4px;
		font-size: 16px;
		line-height: 1.2;
		letter-spacing: -0.02em;
	}

	ul.products .price {
		margin-bottom: 10px;
		font-size: 14px;
		line-height: 1.3;
	}

	.pc-more {
		font-size: 13.5px;
	}

	ul.products .onsale {
		top: 10px;
		left: 10px;
		padding: 2px 9px;
		font-size: 11px;
	}
}

.onsale {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: var(--pill);
	background: var(--blue);
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* Productos agotados: se ven en gris con la etiqueta "Sin existencias". */
.pc-soldout {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: var(--pill);
	background: rgba(29, 29, 31, 0.78);
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

ul.products li.product.outofstock {
	background: #f9f9fb;
}

ul.products li.product.outofstock .pc-media img,
ul.products li.product.outofstock .pc-media .phone-placeholder {
	opacity: 0.45;
	filter: grayscale(1);
}

ul.products li.product.outofstock .woocommerce-loop-product__title,
ul.products li.product.outofstock .price {
	color: #8e8e93;
}

ul.products li.product.outofstock .price del,
ul.products li.product.outofstock .price ins {
	color: inherit;
}

ul.products li.product.outofstock .pc-more {
	color: #8e8e93;
}

@media (max-width: 640px) {
	ul.products .pc-soldout {
		top: 10px;
		left: 10px;
		padding: 2px 9px;
		font-size: 11px;
	}
}

.empty-state {
	max-width: 520px;
	padding: 40px 32px;
	border-radius: var(--radius-lg);
	background: var(--mist);
}

.empty-state h3 {
	margin-bottom: 8px;
	font-size: 24px;
}

.empty-state p {
	color: var(--muted);
}

/* ---------- Cómo comprar ---------- */

.how {
	background: var(--black);
	color: #f5f5f7;
}

.how h2 {
	color: #f5f5f7;
}

.how-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: start;
}

.how-intro {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.how-intro p {
	margin-top: 20px;
	color: #a1a1a6;
	font-size: 19px;
	line-height: 1.45;
}

.steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding: 28px 0 28px 64px;
	border-top: 1px solid #2a2a2d;
	counter-increment: step;
}

.steps li:last-child {
	border-bottom: 1px solid #2a2a2d;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 26px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
}

.steps h3 {
	margin-bottom: 6px;
	color: #f5f5f7;
	font-size: 24px;
	letter-spacing: -0.025em;
}

.steps p {
	margin: 0;
	color: #a1a1a6;
	font-size: 17px;
}

@media (max-width: 860px) {
	.how-grid {
		grid-template-columns: 1fr;
	}

	.how-intro {
		position: static;
	}
}

/* ---------- Entregas ---------- */

.delivery {
	background: var(--white);
}

.delivery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tile {
	padding: 36px 32px 40px;
	border-radius: var(--radius-lg);
	background: var(--mist);
}

.tile-icon {
	display: block;
	margin-bottom: 52px;
	color: var(--blue);
}

.tile h3 {
	margin-bottom: 10px;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.028em;
}

.tile p {
	margin: 0;
	color: var(--muted);
	font-size: 17px;
}

@media (max-width: 860px) {
	.delivery-grid {
		grid-template-columns: 1fr;
	}

	.tile-icon {
		margin-bottom: 28px;
	}
}

/* ---------- Tasa 0 ---------- */

.installments {
	background: var(--mist);
}

.installments-grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.installments-copy > p:first-of-type {
	margin: 20px 0 28px;
	color: var(--muted);
	font-size: 21px;
	line-height: 1.4;
}

.checklist {
	display: grid;
	gap: 14px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.checklist .icon {
	margin-top: 2px;
	color: var(--blue);
}

.fine-print {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.banks {
	border-radius: var(--radius-lg);
	background: var(--white);
	overflow: hidden;
}

.bank-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 28px;
	border-top: 1px solid var(--mist);
	font-size: 18px;
}

.bank-row:first-child {
	border-top: 0;
}

.bank-row strong {
	color: var(--blue);
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 860px) {
	.installments-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
	background: var(--white);
}

.faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 7vw, 96px);
	align-items: start;
}

.faq h2 {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.faq-list details {
	border-top: 1px solid var(--line);
}

.faq-list details:last-child {
	border-bottom: 1px solid var(--line);
}

.faq-list summary {
	position: relative;
	padding: 24px 48px 24px 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.022em;
	cursor: pointer;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -9px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 0.25s ease, margin-top 0.25s ease;
}

.faq-list details[open] summary::after {
	margin-top: -3px;
	transform: rotate(-135deg);
}

.faq-list details p {
	margin: 0;
	padding: 0 48px 26px 0;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.5;
}

@media (max-width: 860px) {
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.faq h2 {
		position: static;
	}

	.faq-list summary {
		font-size: 19px;
	}
}

/* ---------- Redes sociales ---------- */

.social {
	background: var(--mist);
}

.social-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.social-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 36px 32px 32px;
	border-radius: var(--radius-lg);
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}

.social-card:hover {
	color: var(--ink);
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 22px 46px rgba(0, 0, 0, 0.09);
}

.social-card > .icon {
	margin-bottom: 28px;
}

.social-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.social-text {
	color: var(--muted);
	font-size: 17px;
}

.social-go {
	margin-top: 18px;
	color: var(--blue-link);
	font-size: 17px;
}

.social-card:hover .social-go {
	text-decoration: underline;
}

@media (max-width: 860px) {
	.social-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Cierre ---------- */

.closing {
	padding: clamp(80px, 11vw, 140px) 0;
	background: var(--black);
	color: #f5f5f7;
	text-align: center;
}

.closing h2 {
	max-width: 14ch;
	margin: 0 auto;
	color: #f5f5f7;
}

.closing p {
	max-width: 520px;
	margin: 20px auto 36px;
	color: #a1a1a6;
	font-size: 20px;
}

/* ---------- Pie de página ---------- */

.site-footer {
	padding: 64px 0 40px;
	background: #000;
	border-top: 1px solid #1d1d1f;
	color: #86868b;
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer-brand p {
	max-width: 34ch;
	margin: 16px 0 0;
	line-height: 1.5;
}

.footer-title {
	margin-bottom: 14px;
	color: #f5f5f7;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.footer-col ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col a {
	color: #a1a1a6;
}

.footer-col a:hover {
	color: #f5f5f7;
	text-decoration: none;
}

.footer-legal {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid #1d1d1f;
	font-size: 12.5px;
	line-height: 1.5;
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 90;
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
	transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease);
}

.wa-float svg {
	display: block;
	width: 100%;
	height: 100%;
}

.wa-float:hover {
	text-decoration: none;
	transform: scale(1.08);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.wa-float:active {
	transform: scale(0.94);
}

.footer-link-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* ---------- Páginas normales ---------- */

.page-main {
	padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}

.page-title {
	margin-bottom: clamp(28px, 4vw, 48px);
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.07;
	letter-spacing: -0.038em;
}

.page-title a {
	color: inherit;
}

.entry-content {
	font-size: 18px;
	line-height: 1.55;
}

.entry-content h2,
.entry-content h3 {
	margin: 1.6em 0 0.5em;
}

.entry-content h2 {
	font-size: 28px;
}

.entry-content h3 {
	font-size: 22px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.navigation.pagination {
	margin-top: 40px;
}

/* ---------- Movimiento (estilo Apple) ---------- */

@media (prefers-reduced-motion: no-preference) {

	/* Entrada de la portada */
	.hero h1 {
		animation: rise-blur 1.1s var(--ease-out) 0.05s both;
	}

	.hero-sub {
		animation: rise 1.1s var(--ease-out) 0.2s both;
	}

	.hero-actions {
		animation: rise 1.1s var(--ease-out) 0.35s both;
	}

	.hero .device {
		animation: device-in 1.5s var(--ease-out) 0.5s both;
	}

	.hero::before {
		animation: glow-in 2.4s var(--ease) 0.4s both;
	}

	.wa-float {
		animation: pop-in 0.8s var(--ease-out) 1.4s both;
	}

	@keyframes rise {
		from {
			opacity: 0;
			transform: translateY(30px);
		}
	}

	@keyframes rise-blur {
		from {
			opacity: 0;
			filter: blur(10px);
			transform: translateY(34px);
		}
	}

	@keyframes device-in {
		from {
			opacity: 0;
			transform: translateY(90px) scale(0.94);
		}
	}

	@keyframes glow-in {
		from {
			opacity: 0;
		}
	}

	@keyframes pop-in {
		from {
			opacity: 0;
			transform: scale(0.5);
		}
	}

	/* Aparecer al hacer scroll. Solo se activa si el script del tema cargó. */
	.pc-js .section-head,
	.pc-js .trust-grid > li,
	.pc-js ul.products li.product,
	.pc-js .how-intro,
	.pc-js .steps li,
	.pc-js .tile,
	.pc-js .social-card,
	.pc-js .installments-copy,
	.pc-js .banks,
	.pc-js .faq-grid h2,
	.pc-js .faq-list details,
	.pc-js .closing .container > *,
	.pc-js .empty-state,
	.pc-js .section-cta,
	.pc-js .single-trust {
		opacity: 0;
		translate: 0 36px;
		transition: opacity 1s var(--ease-out) var(--rd, 0ms), translate 1.1s var(--ease-out) var(--rd, 0ms), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
	}

	/* Se repite la clase para ganarle en peso a las reglas de arriba. */
	.pc-js .is-in.is-in.is-in {
		opacity: 1;
		translate: 0 0;
	}

	/* Los números de los pasos aparecen con un pequeño rebote. */
	.pc-js .steps li::before {
		scale: 0.5;
		transition: scale 0.8s var(--ease-out) calc(var(--rd, 0ms) + 0.2s);
	}

	.pc-js .steps li.is-in::before {
		scale: 1;
	}

	/* Contacto con el cursor */
	ul.products li.product:hover {
		transform: translateY(-6px);
		box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
	}

	.pc-media img,
	.pc-media .phone-placeholder {
		transition: transform 0.9s var(--ease-out);
	}

	ul.products li.product:hover .pc-media img,
	ul.products li.product:hover .pc-media .phone-placeholder {
		transform: scale(1.06);
	}

	.tile {
		transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease);
	}

	.tile .tile-icon {
		transition: transform 0.6s var(--ease-out);
		transform-origin: left center;
	}

	.tile:hover {
		transform: translateY(-4px);
	}

	.tile:hover .tile-icon {
		transform: scale(1.12);
	}

	.trust-icon {
		transition: transform 0.6s var(--ease-out);
		transform-origin: left center;
	}

	.trust-grid li:hover .trust-icon {
		transform: scale(1.12);
	}

	.bank-row {
		transition: background-color 0.3s var(--ease), padding-left 0.4s var(--ease-out);
	}

	.bank-row:hover {
		padding-left: 34px;
		background: #fafafc;
	}

	/* Preguntas: la respuesta se desliza al abrir */
	.faq-list details[open] > p {
		animation: faq-open 0.55s var(--ease-out) both;
	}

	@keyframes faq-open {
		from {
			opacity: 0;
			transform: translateY(-8px);
		}
	}

	@supports (interpolate-size: allow-keywords) {
		.faq-list details {
			interpolate-size: allow-keywords;
		}

		.faq-list details::details-content {
			block-size: 0;
			overflow: hidden;
			transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
		}

		.faq-list details[open]::details-content {
			block-size: auto;
		}
	}
}

/* ---------- Pantallas pequeñas ---------- */

@media (max-width: 860px) {
	.hero-stage {
		height: 420px;
	}

	.device {
		width: 290px;
	}
}

@media (max-width: 520px) {
	body {
		font-size: 16px;
	}

	.hero-actions {
		flex-direction: column;
		gap: 18px;
	}

	.hero-actions .btn {
		width: 100%;
		max-width: 340px;
	}

	.bank-row {
		padding: 18px 20px;
		font-size: 16px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Página /iphones/ ---------- */

.iphones-prose {
	max-width: 720px;
}

.iphones-prose h2 {
	margin: 0 0 28px;
}

.iphones-prose p {
	margin: 0 0 20px;
	color: var(--muted);
	font-size: clamp(17px, 1.8vw, 19px);
	line-height: 1.55;
}

.iphones-prose a {
	color: var(--blue, #0071e3);
	text-underline-offset: 3px;
}

.landing-hero {
	padding-bottom: clamp(24px, 4vw, 48px);
}

.landing-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin: 0;
}

.landing-body {
	padding-top: clamp(24px, 4vw, 48px);
}

.landing-block {
	margin: 0 0 48px;
}

.landing-block:last-child {
	margin-bottom: 0;
}

.landing-block h2 {
	margin: 0 0 16px;
	font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.iphones-prose ul {
	margin: 0 0 20px;
	padding-left: 1.2em;
	color: var(--muted);
	font-size: clamp(17px, 1.8vw, 19px);
	line-height: 1.55;
}

.iphones-prose li + li {
	margin-top: 8px;
}
