/* ═══════════════════════════════════════════════════════════
   AREGATO — Landing pública
   Paleta extraída de redes sociales (FB/IG @aregatoqro)
   v1.0
   ═══════════════════════════════════════════════════════════ */

:root {
	/* Marca */
	--teal: #258f95;
	--teal-dark: #1d747a;
	--teal-light: #e6f4f5;
	--coral: #f0647a;
	--coral-dark: #d94f66;
	--lavender: #c4a8d8;
	--pink-soft: #f8c8d4;
	--pink-bg: #fdf0f3;
	/* Neutros cálidos */
	--ink: #2b2b33;
	--ink-soft: #5c5c66;
	--cream: #fffdf9;
	--white: #ffffff;
	--border: #f0ebe4;
	/* Funcionales */
	--whatsapp: #25d366;
	--shadow-sm: 0 2px 8px rgba(43, 43, 51, .06);
	--shadow-md: 0 8px 24px rgba(43, 43, 51, .08);
	--shadow-lg: 0 16px 48px rgba(43, 43, 51, .12);
	--radius: 20px;
	--radius-lg: 28px;
	/* Tipografía */
	--font-head: 'Poppins', sans-serif;
	--font-body: 'Nunito', sans-serif;
	--font-script: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
	width: min(1140px, 92%);
	margin-inline: auto;
}

/* ── Animaciones base ─────────────────────────────────────── */

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
	50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

@keyframes pulse-ring {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
	70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes paw-drift {
	0% { transform: translateY(0) rotate(0deg); opacity: 0; }
	15% { opacity: .5; }
	85% { opacity: .5; }
	100% { transform: translateY(-110vh) rotate(25deg); opacity: 0; }
}

@keyframes tail-wag {
	0%, 100% { transform: rotate(-6deg); }
	50% { transform: rotate(8deg); }
}

/* Reveal on scroll (lo activa js/anim.js) */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 14px 0;
	transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
	background: rgba(255, 253, 249, .88);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow-sm);
	padding: 8px 0;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.header-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--ink);
}
.header-logo img {
	width: 42px;
	height: 42px;
	background: var(--white);
	border-radius: 50%;
	padding: 3px;
	box-shadow: var(--shadow-sm);
}
.main-nav {
	display: flex;
	gap: 28px;
	font-weight: 700;
	font-size: .92rem;
	color: var(--ink-soft);
}
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--teal); }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
	padding: 13px 26px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-whatsapp {
	background: var(--whatsapp);
	color: #fff;
	animation: pulse-ring 2.4s infinite;
}
.btn-whatsapp:hover {
	background: #1fb958;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}
.btn-outline {
	background: transparent;
	color: var(--teal);
	border: 2px solid var(--teal);
}
.btn-outline:hover {
	background: var(--teal-light);
	transform: translateY(-2px);
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	background:
		radial-gradient(ellipse 60% 50% at 85% 15%, rgba(196, 168, 216, .18), transparent),
		radial-gradient(ellipse 50% 45% at 10% 85%, rgba(37, 143, 149, .12), transparent),
		var(--cream);
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 48px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--teal-light);
	color: var(--teal-dark);
	font-weight: 800;
	font-size: .8rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 999px;
	margin-bottom: 20px;
}
.hero h1 {
	font-family: var(--font-head);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	margin-bottom: 18px;
}
.hero h1 .accent {
	color: var(--teal);
	position: relative;
	white-space: nowrap;
}
.hero h1 .script {
	font-family: var(--font-script);
	font-size: 1.25em;
	font-weight: 700;
	color: var(--coral);
	transform: rotate(-3deg) translateY(6px);
	display: inline-block;
}
.hero p.lead {
	font-size: 1.12rem;
	color: var(--ink-soft);
	max-width: 46ch;
	margin-bottom: 30px;
}
.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}
.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	font-size: .9rem;
	font-weight: 700;
	color: var(--ink-soft);
}
.hero-trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hero-trust i { color: var(--teal); }

/* Visual del hero */
.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
}
.hero-photo {
	width: min(420px, 88%);
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	transform: rotate(2deg);
	animation: float 6s ease-in-out infinite;
	--rot: 2deg;
}
.hero-logo-float {
	position: absolute;
	top: -34px;
	right: 4%;
	width: 110px;
	height: 110px;
	background: var(--white);
	border-radius: 50%;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-md);
	animation: float 5s ease-in-out infinite;
	--rot: -4deg;
	z-index: 3;
}
.hero-logo-float img { width: 78px; }
.hero-chip {
	position: absolute;
	background: var(--white);
	border-radius: 16px;
	box-shadow: var(--shadow-md);
	padding: 12px 18px;
	font-weight: 800;
	font-size: .9rem;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: float 7s ease-in-out infinite;
	z-index: 3;
}
.hero-chip i { font-size: 1.3rem; }
.chip-price { bottom: 8%; left: -4%; color: var(--teal-dark); --rot: -3deg; }
.chip-days { top: -5%; left: -10%; color: var(--coral-dark); animation-delay: 1.2s; --rot: 2deg; }

/* Huellas flotantes de fondo */
.paws-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}
.paw {
	position: absolute;
	bottom: -60px;
	color: var(--teal);
	opacity: 0;
	animation: paw-drift linear infinite;
}

/* ── Secciones genéricas ──────────────────────────────────── */

.section { padding: 88px 0; }
.section-head {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 52px;
}
.section-head .eyebrow {
	font-family: var(--font-script);
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--coral);
	display: block;
	margin-bottom: 4px;
}
.section-head h2 {
	font-family: var(--font-head);
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ── Productos ────────────────────────────────────────────── */

.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.product-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .3s ease, box-shadow .3s ease;
	display: flex;
	flex-direction: column;
}
.product-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}
.product-media {
	position: relative;
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
}
.product-media img {
	width: 100%;
	height: 100%;
	object-fit: fill;
	transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .78rem;
	padding: 7px 14px;
	border-radius: 999px;
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.tag-blanca { background: var(--teal); }
.tag-aroma { background: var(--lavender); }
.tag-natural { background: var(--coral); }
.product-body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.product-body h3 {
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 700;
}
.product-body .desc {
	font-size: .92rem;
	color: var(--ink-soft);
	flex: 1;
}
.price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px dashed var(--border);
	padding-top: 14px;
}
.price-row .unit { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.price-row .amount {
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--teal-dark);
}
.price-row .amount small { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }

/* ── Cómo funciona ────────────────────────────────────────── */

.how-section { background: var(--white); }
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	counter-reset: paso;
}
.step-card {
	position: relative;
	background: var(--cream);
	border-radius: var(--radius);
	padding: 34px 22px 26px;
	text-align: center;
	transition: transform .3s ease;
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	background: var(--teal);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	border-radius: 50%;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-sm);
}
.step-card:nth-child(even) .step-num { background: var(--coral); }
.step-icon {
	font-size: 2rem;
	color: var(--teal);
	margin-bottom: 12px;
}
.step-card:nth-child(even) .step-icon { color: var(--coral); }
.step-card h3 {
	font-family: var(--font-head);
	font-size: 1.02rem;
	font-weight: 700;
	margin-bottom: 6px;
}
.step-card p { font-size: .88rem; color: var(--ink-soft); }

/* ── Entregas ─────────────────────────────────────────────── */

.delivery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 40px;
}
.day-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 30px 24px;
	text-align: center;
	box-shadow: var(--shadow-sm);
	border-top: 5px solid var(--teal);
	transition: transform .3s ease, box-shadow .3s ease;
}
.day-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.day-card:nth-child(2) { border-top-color: var(--coral); }
.day-card:nth-child(3) { border-top-color: var(--lavender); }
.day-card .day-name {
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 4px;
}
.day-card .cutoff {
	font-size: .9rem;
	color: var(--ink-soft);
	font-weight: 700;
}
.day-card .cutoff strong { color: var(--coral-dark); }
.delivery-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--pink-bg);
	border-radius: var(--radius);
	padding: 20px 28px;
	max-width: 720px;
	margin: 0 auto;
	font-weight: 700;
	color: var(--ink);
	text-align: center;
}
.delivery-note i { font-size: 1.5rem; color: var(--coral); flex-shrink: 0; }

/* ── FAQ ──────────────────────────────────────────────────── */

.faq-section { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
	background: var(--cream);
	border-radius: var(--radius);
	overflow: hidden;
}
.faq-q {
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	text-align: left;
}
.faq-q i {
	color: var(--teal);
	transition: transform .3s ease;
	flex-shrink: 0;
}
.faq-item.is-open .faq-q i { transform: rotate(180deg); }
.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s cubic-bezier(.22, 1, .36, 1);
}
.faq-a p {
	padding: 0 24px 22px;
	color: var(--ink-soft);
	font-size: .95rem;
}

/* ── CTA final ────────────────────────────────────────────── */

.cta-final {
	background:
		radial-gradient(ellipse 70% 90% at 50% -10%, rgba(255, 255, 255, .14), transparent),
		linear-gradient(135deg, var(--teal-dark), var(--teal));
	border-radius: var(--radius-lg);
	padding: 64px 40px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.cta-final::before {
	content: '\f1b0';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	font-size: 14rem;
	color: rgba(255, 255, 255, .06);
	right: -30px;
	bottom: -60px;
	transform: rotate(-15deg);
}
.cta-final h2 {
	font-family: var(--font-head);
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	font-weight: 800;
	margin-bottom: 12px;
	position: relative;
}
.cta-final p {
	opacity: .85;
	max-width: 52ch;
	margin: 0 auto 28px;
	position: relative;
}
.cta-final .btn-whatsapp { font-size: 1.05rem; padding: 16px 34px; position: relative; }

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
	padding: 56px 0 32px;
	background: var(--ink);
	color: rgba(255, 255, 255, .75);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.footer-brand img {
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 50%;
	padding: 3px;
}
.footer-brand span {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.2rem;
	color: #fff;
}
.footer-col h4 {
	font-family: var(--font-head);
	color: #fff;
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.footer-col a { transition: color .2s; display: inline-flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: #fff; }
.footer-col i { width: 18px; text-align: center; color: var(--teal); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: .85rem;
}
.footer-bottom .script { font-family: var(--font-script); font-size: 1.3rem; color: var(--pink-soft); }

/* ── Botón flotante WhatsApp ──────────────────────────────── */

.wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 90;
	width: 60px;
	height: 60px;
	background: var(--whatsapp);
	color: #fff;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.7rem;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
	animation: pulse-ring 2.4s infinite;
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
	.hero p.lead { margin-inline: auto; }
	.hero-ctas, .hero-trust { justify-content: center; }
	/* Móvil: texto primero, imagen después (orden natural del DOM) */
	.hero-photo { height: 235px; width: auto; }
	.products-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
	.steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
	.delivery-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; margin-bottom: 32px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.main-nav { display: none; }
}

@media (max-width: 560px) {
	.section { padding: 64px 0; }
	.steps-grid { grid-template-columns: 1fr; }
	.chip-days { left: 0; top: -12px; }
	.chip-price { left: 0; }
	.hero-logo-float { width: 88px; height: 88px; top: 139px; }
	.hero-logo-float img { width: 62px; }
}
