/* ==========================================================================
   Avodah — secciones del home (prototipo v2)
   Promos perro/gato · franja de delivery · huellitas · testimonios · CTA
   ========================================================================== */

/* Patrón de huellitas (SVG en línea, muy tenue) --------------------------- */
:root {
	--paws: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%234A562D' fill-opacity='.07'%3E%3Cg transform='translate(28 30) rotate(-18)'%3E%3Cellipse cx='0' cy='6' rx='3.4' ry='4.4'/%3E%3Cellipse cx='7' cy='0' rx='3.4' ry='4.6'/%3E%3Cellipse cx='15' cy='0' rx='3.4' ry='4.6'/%3E%3Cellipse cx='22' cy='6' rx='3.4' ry='4.4'/%3E%3Cpath d='M11 9c-5 0-10 6-10 10 0 3 2.4 4.4 5 4.4 2 0 3.2-1 5-1s3 1 5 1c2.6 0 5-1.4 5-4.4 0-4-5-10-10-10z'/%3E%3C/g%3E%3Cg transform='translate(104 96) rotate(22)'%3E%3Cellipse cx='0' cy='6' rx='3.4' ry='4.4'/%3E%3Cellipse cx='7' cy='0' rx='3.4' ry='4.6'/%3E%3Cellipse cx='15' cy='0' rx='3.4' ry='4.6'/%3E%3Cellipse cx='22' cy='6' rx='3.4' ry='4.4'/%3E%3Cpath d='M11 9c-5 0-10 6-10 10 0 3 2.4 4.4 5 4.4 2 0 3.2-1 5-1s3 1 5 1c2.6 0 5-1.4 5-4.4 0-4-5-10-10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   Promos: perro y gato
   ========================================================================== */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: var(--space-block); }
.promo {
	position: relative; display: flex; align-items: center; min-height: 300px; padding: 40px 42px; overflow: hidden; isolation: isolate;
	border-radius: 18px; color: #fff; transition: transform .35s var(--ease-out), box-shadow .35s;
}
.promo:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -16px rgba(23,34,26,.35); }
.promo__text { position: relative; z-index: 2; max-width: 52%; }
.promo__eyebrow { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.promo__title { display: block; font: 800 46px/1.02 var(--sans); letter-spacing: -.03em; }
.promo__big { display: flex; align-items: flex-start; gap: 6px; font: 800 78px/.9 var(--sans); letter-spacing: -.04em; }
.promo__big sup { display: flex; flex-direction: column; margin-top: 6px; font-size: 26px; line-height: 1; letter-spacing: 0; }
.promo__big sup small { font-size: 18px; font-weight: 700; }
.promo__sub { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; opacity: .92; }
.promo__save { display: block; margin-top: 18px; font: 800 26px/1 var(--sans); }
.promo__save em { font-style: normal; color: var(--mustard); }
.promo__pill { position: relative; display: inline-block; margin-top: 26px; padding: 14px 26px 14px 22px; }
.promo__pill svg { position: absolute; inset: -6px -14px -8px -10px; width: calc(100% + 24px); height: calc(100% + 14px); z-index: -1; }
.promo__pill small { display: block; font-size: 13px; font-weight: 700; color: #FFB37A; }
.promo__pill b { display: block; font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.promo__media { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: 1; pointer-events: none; }
.promo__pet { position: absolute; bottom: 0; height: 92%; width: auto; transition: transform .5s var(--ease-out); filter: drop-shadow(0 18px 18px rgba(0,0,0,.18)); }
.promo__product { position: absolute; bottom: 18px; height: 62%; width: auto; transition: transform .5s var(--ease-out); filter: drop-shadow(0 14px 14px rgba(0,0,0,.2)); }
.promo:hover .promo__pet { transform: translateY(-6px) scale(1.03); }
.promo:hover .promo__product { transform: rotate(-6deg) translateY(-4px); }
.doodle { position: absolute; z-index: 1; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.promo__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.promo__cta .ico { transition: transform .25s var(--ease-out); }
.promo:hover .promo__cta .ico { transform: translateX(4px); }

.promo--dog { background: radial-gradient(120% 140% at 80% 50%, #E37549 0%, var(--terracotta) 55%, #C95A32 100%); }
.promo--dog .promo__pet { right: 30%; }
.promo--dog .promo__product { right: 8%; }
.promo--cat { background: radial-gradient(120% 140% at 80% 50%, #5B7A55 0%, var(--sage-deep) 55%, #44603F 100%); }
.promo--cat::after { /* colina detrás del producto */
	content: ""; position: absolute; right: -8%; bottom: -46%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--sage-deeper); z-index: 0;
}
.promo--cat .promo__pet { right: 0; height: 88%; }
.promo--cat .promo__product { right: 64%; bottom: 14px; height: 34%; z-index: 2; } /* a un lado del gato, nunca encima de su cara */

/* ==========================================================================
   Franja de delivery (llamativa)
   ========================================================================== */
.dlv {
	position: relative; display: grid; grid-template-columns: 1fr minmax(380px, 1.15fr) 1fr; align-items: center; gap: 24px;
	min-height: 200px; margin-top: calc(var(--space-block) + 44px); padding: 0 52px; border-radius: 18px; /* +44px: las mascotas asoman por arriba */
	background: var(--apricot); color: #fff; isolation: isolate;
}
.dlv__arc { position: absolute; left: 50%; bottom: 0; width: 50%; height: 150%; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--apricot-l); z-index: -1; overflow: hidden; }
.dlv__clip { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; z-index: -1; } /* recorta el arco a la franja sin cortar a las mascotas */
.dlv__eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dlv__title { margin: 8px 0 8px; font: 800 38px/1.05 var(--sans); letter-spacing: -.03em; }
.dlv__sub { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; opacity: .95; }
.dlv__media { position: relative; align-self: end; height: 100%; min-height: 200px; }
.dlv__pets { position: absolute; left: 50%; bottom: 0; width: 112%; max-width: none; transform: translateX(-54%); filter: drop-shadow(0 12px 14px rgba(120,60,10,.22)); transition: transform .5s var(--ease-out); }
.dlv__prod { position: absolute; bottom: 12px; height: 46%; width: auto; filter: drop-shadow(0 10px 10px rgba(120,60,10,.2)); transition: transform .5s var(--ease-out); }
.dlv__prod--1 { right: -4%; }
.dlv__prod--2 { right: 11%; height: 34%; bottom: 8px; }
.dlv:hover .dlv__pets { transform: translateX(-54%) translateY(-4px); }
.dlv:hover .dlv__prod--1 { transform: rotate(6deg); }
.dlv__cta { justify-self: end; text-align: center; }
.dlv__cta strong { display: block; margin-bottom: 14px; font-size: 18px; font-weight: 700; }
.dlv__btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 28px; border-radius: 999px; background: var(--olive-700); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(40,50,20,.5); transition: background .2s, transform .2s; }
.dlv__btn:hover { background: var(--olive-800); transform: translateY(-2px); }
.dlv__btn span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--olive-700); font-size: 18px; transition: transform .25s var(--ease-out); }
.dlv__btn:hover span { transform: translateX(3px); }
.dlv__cta small { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; opacity: .95; }
.dlv .doodle { stroke: rgba(255,255,255,.9); stroke-width: 2.6; }

/* ==========================================================================
   Huellitas junto al título de sección
   ========================================================================== */
.paws-mark { display: inline-block; width: 34px; height: 26px; margin-left: 4px; vertical-align: top; transform: translateY(-10px); }
.paws-mark path, .paws-mark ellipse { fill: var(--terracotta); }
.paws-mark g:last-child * { fill: #E9A06B; }

/* ==========================================================================
   Testimonios (carrusel)
   ========================================================================== */
.testi { position: relative; margin-top: var(--space-section); padding: var(--space-section) 0; background: #F7F2EA var(--paws) repeat; background-size: 160px; overflow: hidden; }
.testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-ink); }
.testi__title { margin: 8px 0 0; font: 800 40px/1.08 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.testi__score { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.testi__score b { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.testi__score .stars { font-size: 16px; }
.testi__nav { display: flex; gap: 10px; }
.round-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid #D9D2C6; border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.round-btn:hover:not(:disabled) { background: var(--olive-700); border-color: var(--olive-700); color: #fff; transform: translateY(-2px); }
.round-btn:disabled { opacity: .4; cursor: default; }
.testi__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 24px; margin: -10px -4px 0; scrollbar-width: none;
}
.testi__track::-webkit-scrollbar { display: none; }
.tcard {
	position: relative; display: flex; flex-direction: column; padding: 30px 30px 26px; scroll-snap-align: start;
	background: #fff; border-radius: 20px; box-shadow: 0 10px 30px -12px rgba(23,34,26,.14); transition: transform .35s var(--ease-out), box-shadow .35s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -14px rgba(23,34,26,.2); }
.tcard__quote { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; fill: var(--peach); }
.tcard__people { position: relative; width: 84px; height: 84px; margin-bottom: 18px; }
.tcard__owner { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(23,34,26,.15); }
.tcard__pet { position: absolute; right: -10px; bottom: -6px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(23,34,26,.18); transition: transform .35s var(--ease-out); }
.tcard:hover .tcard__pet { transform: scale(1.12) rotate(-6deg); }
.tcard .stars { align-self: flex-start; font-size: 15px; margin-bottom: 12px; } /* sin estirarse: el ancho parcial refleja la calificación real */
.tcard blockquote { flex: 1; margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: #3B3F38; }
.tcard footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard footer b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.tcard footer span { display: block; font-size: 13px; color: var(--muted); }
.tcard__tag { flex: none; font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--olive-100); color: var(--olive-700); }
.testi__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.testi__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #D5CDBF; transition: width .3s var(--ease-out), background .3s; }
.testi__dots button.is-on { width: 26px; background: var(--olive-700); }

/* ==========================================================================
   CTA final: perfil de mascota + recordatorios
   ========================================================================== */
.cta { margin-top: var(--space-section); margin-bottom: calc(var(--space-section) * 1.1); }
.cta__box {
	position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; overflow: hidden; isolation: isolate;
	padding: 64px 64px; border-radius: 26px; color: #fff;
	background: radial-gradient(90% 120% at 100% 0%, #5E6B3A 0%, transparent 60%), linear-gradient(135deg, #3F4A26, #2E3A1E);
}
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paws) repeat; background-size: 150px; filter: invert(1); opacity: .5; }
.cta__eyebrow { color: #F4B58A; }
.cta__title { margin: 12px 0 14px; font: 800 44px/1.06 var(--sans); letter-spacing: -.03em; }
.cta__title em { font-style: normal; color: #F4B58A; }
.cta__text { max-width: 500px; margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: #E4E6D8; }
.cta__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.cta__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.cta__list .ico { display: grid; place-items: center; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.14); color: #F4B58A; font-size: 26px; stroke-width: 2.2; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: #fff; color: var(--olive-800); }
.btn--light:hover { background: #F4B58A; color: #2E3A1E; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta__btns .btn { height: 52px; padding: 0 30px; font-size: 15.5px; }

/* Maqueta de la app (tarjetas flotantes) */
.cta__mock { position: relative; height: 380px; }
.mock { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.mock--pet { left: 6%; top: 18px; width: 300px; padding: 20px; animation: float 6s ease-in-out infinite; }
.mock--notif { right: 0; top: 150px; width: 300px; padding: 16px 18px; animation: float 6s ease-in-out -2s infinite; }
.mock--appt { left: 0; bottom: 6px; width: 260px; padding: 14px 16px; animation: float 6s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock__row { display: flex; align-items: center; gap: 12px; }
.mock__pet-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.mock b { display: block; font-size: 16px; font-weight: 800; }
.mock small { display: block; font-size: 12.5px; color: var(--muted); }
.mock__bar { height: 8px; margin: 16px 0 6px; border-radius: 999px; background: #F0ECE4; overflow: hidden; }
.mock__bar span { display: block; width: 18%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--terracotta), #E9A06B); }
.mock__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.mock__meta b { display: inline; font-size: 12px; color: var(--terracotta-ink); }
.mock__app { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock__app i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--olive-700); }
.mock__app i svg { width: 14px; height: 14px; }
.mock--notif p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.mock__btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--olive-700); color: #fff; font-size: 12.5px; font-weight: 700; }
.mock__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--olive-100); color: var(--olive-700); font-size: 22px; flex: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.promo { padding: 34px; min-height: 270px; }
	.promo__big { font-size: 64px; }
	.promo__title { font-size: 38px; }
	.dlv { grid-template-columns: 1fr minmax(320px, 1fr) auto; padding: 0 36px; }
	.dlv__title { font-size: 32px; }
	.cta__box { padding: 52px 44px; }
	.cta__title { font-size: 38px; }
}
@media (max-width: 1100px) {
	.testi__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.cta__box { grid-template-columns: 1fr; }
	.cta__mock { height: 330px; max-width: 560px; }
}
@media (max-width: 960px) {
	.promos { grid-template-columns: 1fr; gap: 16px; }
	.dlv { grid-template-columns: 1fr auto; grid-template-areas: "text cta" "media media"; padding: 32px 30px 0; row-gap: 18px; margin-top: var(--space-section); }
	.dlv__text { grid-area: text; } .dlv__cta { grid-area: cta; } .dlv__media { grid-area: media; min-height: 210px; }
	.dlv__pets { width: min(520px, 96%); }
	.dlv__arc { width: 96%; height: 46%; border-radius: 50% 50% 0 0 / 70% 70% 0 0; } /* solo detrás de las mascotas: el texto blanco conserva su contraste */
	.testi__head { flex-wrap: wrap; align-items: flex-start; }
	.testi__title { font-size: 34px; }
}
@media (max-width: 600px) {
	.promo { min-height: 230px; padding: 26px 22px; border-radius: 16px; }
	.promo__text { max-width: 56%; }
	.promo__eyebrow { font-size: 13.5px; margin-bottom: 6px; }
	.promo__big { font-size: 52px; }
	.promo__big sup { font-size: 19px; } .promo__big sup small { font-size: 14px; }
	.promo__title { font-size: 28px; }
	.promo__save { font-size: 19px; margin-top: 12px; }
	.promo__sub { font-size: 13px; }
	.promo__pill { margin-top: 16px; padding: 10px 16px 10px 14px; }
	.promo__pill b { font-size: 15px; } .promo__pill small { font-size: 11.5px; }
	.promo__media { width: 52%; }
	.promo--dog .promo__pet { right: 18%; height: 80%; }
	.promo--dog .promo__product { right: -2%; height: 52%; }
	.promo--cat .promo__pet { right: -6%; height: 74%; }
	.promo--cat .promo__product { right: 62%; height: 32%; bottom: 10px; }
	.doodle { display: none; }
	.dlv { grid-template-columns: 1fr; grid-template-areas: "text" "cta" "media"; padding: 28px 22px 0; text-align: left; }
	.dlv__cta { justify-self: start; text-align: left; }
	.dlv__title { font-size: 28px; }
	.dlv__media { min-height: 180px; }
	.testi__track { grid-auto-columns: 86%; gap: 14px; }
	.tcard { padding: 24px 22px 22px; }
	.testi__title { font-size: 28px; }
	.testi__nav { display: none; }
	.cta__box { padding: 36px 22px 24px; border-radius: 20px; }
	.cta__title { font-size: 30px; }
	.cta__btns .btn { width: 100%; }
	/* En celular las tarjetas de la app se apilan en orden, sin encimarse */
	.cta__mock { height: auto; display: grid; gap: 12px; margin-top: 8px; }
	.mock { position: relative; inset: auto; width: auto; animation: none; }
	.mock--notif { margin-left: 22px; }
	.mock--appt { margin-right: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mock { animation: none; } }
