/* Clínica Veterinaria Natura — capa de marca sobre Kadence */

:root {
	--vn-rosa: #c2416e;
	--vn-rosa-hondo: #9b2f56;
	--vn-petalo: #f3d3df;
	--vn-niebla: #fbeef3;
	--vn-ciruela: #3b2230;
	--vn-ciruela-suave: #6e5563;
	--vn-blanco: #ffffff;

	--vn-display: "Bricolage Grotesque", system-ui, sans-serif;
	--vn-texto: "Atkinson Hyperlegible", system-ui, sans-serif;
	--vn-firma: "Parisienne", cursive;

	--vn-radio: 18px;
	--vn-ancho: 1180px;

	/* Kadence */
	--global-palette1: var(--vn-rosa);
	--global-palette2: var(--vn-rosa-hondo);
	--global-palette3: var(--vn-ciruela);
	--global-palette4: var(--vn-ciruela);
	--global-palette5: var(--vn-ciruela-suave);
	--global-palette6: #9c8792;
	--global-palette7: var(--vn-petalo);
	--global-palette8: var(--vn-niebla);
	--global-palette9: var(--vn-blanco);
	--global-body-font-family: var(--vn-texto);
	--global-heading-font-family: var(--vn-display);
}

body { font-family: var(--vn-texto); font-size: 17px; color: var(--vn-ciruela); background: var(--vn-blanco); }
h1, h2, h3, h4, .woocommerce-loop-product__title, .product_title { font-family: var(--vn-display); letter-spacing: -0.015em; color: var(--vn-ciruela); }
a { color: var(--vn-rosa-hondo); }
:focus-visible { outline: 3px solid var(--vn-rosa); outline-offset: 3px; border-radius: 4px; }

/* ---------- Franja de urgencias ---------- */
.vn-urgencias { background: var(--vn-ciruela); color: #fff; font-size: .92rem; }
.vn-urgencias__in { max-width: var(--vn-ancho); margin: 0 auto; padding: .5rem 1rem; display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.vn-urgencias__punto { width: .55rem; height: .55rem; border-radius: 50%; background: #ff7aa6; align-self: center; box-shadow: 0 0 0 0 rgba(255,122,166,.7); animation: vn-latido 2.4s infinite; }
.vn-urgencias a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
@keyframes vn-latido { 0% { box-shadow: 0 0 0 0 rgba(255,122,166,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,122,166,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,166,0); } }

/* ---------- Cabecera ---------- */
.site-header .site-main-header-wrap { border-bottom: 1px solid var(--vn-petalo); }
.site-branding .site-title { font-family: var(--vn-firma); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--vn-rosa-hondo); letter-spacing: 0; }
.site-branding .site-description { font-family: var(--vn-texto); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--vn-ciruela-suave); margin-top: .1rem; }
.header-navigation .menu > li > a { font-family: var(--vn-display); font-weight: 500; font-size: 1rem; color: var(--vn-ciruela); }
.header-navigation .menu > li.vn-menu-cta > a,
.header-navigation .menu > li.vn-menu-cta.current-menu-item > a { background: var(--vn-rosa); color: #fff !important; border-radius: 999px; padding: .6rem 1.25rem; margin: 0; }
.header-navigation .menu > li.vn-menu-cta { margin: 0 .9rem 0 .5rem; }
.header-navigation .menu > li.vn-menu-cta > a:hover { background: var(--vn-rosa-hondo); }
.header-navigation .menu > li.current-menu-item:not(.vn-menu-cta) > a { color: var(--vn-rosa-hondo); }

/* ---------- Botones ---------- */
.vn-btn, .button, button[type=submit], .wp-block-button__link, .woocommerce a.button, .woocommerce button.button {
	font-family: var(--vn-display); font-weight: 600; border-radius: 999px !important; padding: .8rem 1.5rem; transition: background .2s, color .2s, transform .2s;
}
.vn-btn { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.02rem; line-height: 1.2; }
.vn-btn svg { width: 1.25em; height: 1.25em; }
.vn-btn--blanco { background: #fff; color: var(--vn-rosa-hondo); }
.vn-btn--blanco:hover { background: var(--vn-niebla); color: var(--vn-rosa-hondo); transform: translateY(-1px); }
.vn-btn--linea { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.vn-btn--linea:hover { background: rgba(255,255,255,.12); color: #fff; }
.vn-btn--rosa { background: var(--vn-rosa); color: #fff; }
.vn-btn--rosa:hover { background: var(--vn-rosa-hondo); color: #fff; }

/* ---------- Portada ---------- */
.vn-home { overflow-x: clip; }
.vn-sec { max-width: var(--vn-ancho); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem; }
.vn-antetitulo { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--vn-rosa); margin: 0 0 .9rem; }

.vn-hero { background: var(--vn-rosa); color: #fff; position: relative; }
.vn-hero__in { max-width: var(--vn-ancho); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 2rem; }
.vn-hero__texto { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.vn-hero .vn-antetitulo { color: rgba(255,255,255,.85); }
.vn-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 700; margin: 0 0 1.4rem; font-variation-settings: "opsz" 96; }
.vn-hero h1 em { font-family: var(--vn-firma); font-style: normal; font-weight: 400; font-size: 1.15em; letter-spacing: 0; display: inline-block; transform: translateY(.06em); }
.vn-hero p { font-size: 1.15rem; line-height: 1.55; max-width: 30rem; margin: 0 0 2rem; color: rgba(255,255,255,.95); }
.vn-hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.vn-hero__arbol { color: #fff; align-self: end; margin-bottom: -1px; }
.vn-arbol { display: block; width: 100%; height: auto; max-height: 520px; }

/* El árbol se dibuja rama a rama y luego salen las hojas */
.vn-arbol path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vn-trazo .75s cubic-bezier(.4,0,.2,1) forwards; }
.vn-arbol .d1 { animation-delay: .35s; } .vn-arbol .d2 { animation-delay: .6s; } .vn-arbol .d3 { animation-delay: .85s; }
.vn-arbol .d4 { animation-delay: 1.05s; } .vn-arbol .d5 { animation-delay: 1.25s; } .vn-arbol .d6 { animation-delay: 1.45s; } .vn-arbol .d7 { animation-delay: 1.6s; }
.vn-arbol .h { opacity: 0; animation: vn-hoja .5s ease-out forwards; animation-delay: calc(1.9s + var(--i) * .7s); }
@keyframes vn-trazo { to { stroke-dashoffset: 0; } }
@keyframes vn-hoja { to { opacity: 1; } }

/* Datos de la clínica bajo la portada */
.vn-datos { background: var(--vn-rosa-hondo); color: #fff; }
.vn-datos ul { max-width: var(--vn-ancho); margin: 0 auto; padding: 1.1rem 1.25rem; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .98rem; }
.vn-datos li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.vn-datos svg { width: 1.3rem; height: 1.3rem; flex: none; opacity: .9; }

/* Kadence sangra las listas del contenido: aquí no */
.vn-home ul.vn-lista, .vn-home ul.vn-cats, .vn-home .vn-datos ul { padding-left: 0; margin-left: 0; }
/* Atkinson tacha el cero; horarios y teléfonos van en la de titulares */
.vn-datos li, .vn-urgencias a, .vn-visita address a { font-family: var(--vn-display); }

/* Servicios */
.vn-servicios { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); }
.vn-servicios h2, .vn-tienda__cab h2, .vn-visita h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; margin: 0 0 1rem; font-weight: 700; }
.vn-servicios__intro p { color: var(--vn-ciruela-suave); font-size: 1.08rem; line-height: 1.6; }
.vn-lista { list-style: none; margin: 0; padding: 0; }
.vn-lista li { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: 1.15rem 0; border-top: 1px solid var(--vn-petalo); margin: 0; }
.vn-lista li:last-child { border-bottom: 1px solid var(--vn-petalo); }
.vn-lista strong { font-family: var(--vn-display); font-weight: 600; font-size: 1.12rem; }
.vn-lista span { color: var(--vn-ciruela-suave); line-height: 1.5; }

/* Tienda en portada */
.vn-tienda { background: var(--vn-niebla); }
.vn-tienda__cab { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.vn-tienda__cab p { max-width: 34rem; color: var(--vn-ciruela-suave); font-size: 1.08rem; line-height: 1.6; margin: 0; }
.vn-cats { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.vn-cats a { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; background: #fff; border-radius: var(--vn-radio); padding: 1.2rem 1.2rem 1.1rem; text-decoration: none; color: var(--vn-ciruela); font-family: var(--vn-display); font-weight: 600; font-size: 1.05rem; transition: transform .2s, box-shadow .2s; }
.vn-cats a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(155,47,86,.12); }
.vn-cats svg { width: 2.4rem; height: 2.4rem; color: var(--vn-rosa); }
.vn-aviso-medicamentos { margin-top: 2.5rem; display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--vn-radio); padding: 1.2rem 1.4rem; border: 1px dashed var(--vn-rosa); }
.vn-aviso-medicamentos svg { width: 2rem; height: 2rem; color: var(--vn-rosa); flex: none; }
.vn-aviso-medicamentos p { margin: 0; line-height: 1.55; }

/* Visítanos */
.vn-visita-wrap { background: var(--vn-ciruela); color: #fff; }
.vn-visita { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.vn-visita h2 { color: #fff; }
.vn-visita .vn-antetitulo { color: #ff9dbd; }
.vn-horario { width: 100%; border-collapse: collapse; font-size: 1.05rem; margin: 0 0 1.5rem; }
.vn-horario th, .vn-horario td { text-align: left; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; font-weight: 400; }
.vn-horario td { text-align: right; font-family: var(--vn-display); font-weight: 600; }
.vn-horario tr.vn-hoy th, .vn-horario tr.vn-hoy td { color: #ff9dbd; }
.vn-visita address { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin: 0 0 1.6rem; }
.vn-visita a:not(.vn-btn) { color: #fff; }
.vn-firma { font-family: var(--vn-firma); font-size: 3.2rem; line-height: 1; color: #ff9dbd; margin: 0 0 .4rem; }

/* ---------- Tarjetas de producto ---------- */
.woocommerce ul.products li.product, ul.products li.product { background: #fff; border-radius: var(--vn-radio); overflow: hidden; box-shadow: none; border: 1px solid var(--vn-petalo); transition: transform .2s, box-shadow .2s; }
ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(155,47,86,.12); }
ul.products li.product .product-details { padding: 1rem 1.1rem 1.2rem; }
ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
ul.products li.product .price { color: var(--vn-rosa-hondo); font-family: var(--vn-display); font-weight: 700; font-size: 1.1rem; }
ul.products li.product .button { width: 100%; justify-content: center; background: var(--vn-niebla); color: var(--vn-rosa-hondo); }
ul.products li.product .button:hover { background: var(--vn-rosa); color: #fff; }
.vn-ph { aspect-ratio: 1; display: grid; place-items: center; background: var(--vn-niebla); color: var(--vn-rosa); }
.vn-ph svg { width: 38%; height: 38%; }
.vn-ph--grande { border-radius: var(--vn-radio); }
.vn-solo-clinica { display: inline-block; background: var(--vn-niebla); color: var(--vn-rosa-hondo); padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; font-family: var(--vn-texto); }

/* Ficha de producto */
.single-product .product_title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 700; }
.single-product .summary .price { font-family: var(--vn-display); font-weight: 700; font-size: 1.7rem; color: var(--vn-rosa-hondo); }
.single-product .quantity .qty { border: 1.5px solid var(--vn-petalo); border-radius: 999px; height: 3rem; }
.vn-recogida { display: flex; gap: .7rem; align-items: flex-start; background: var(--vn-niebla); border-radius: 14px; padding: .9rem 1.1rem; margin: 1.4rem 0; font-size: .98rem; line-height: 1.5; }
.vn-recogida svg { width: 1.6rem; height: 1.6rem; color: var(--vn-rosa); flex: none; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }

/* Cabeceras de página (Tienda, Pedir cita…) */
.entry-hero-container-inner, .woocommerce-products-header { background: var(--vn-niebla) !important; }
.entry-hero h1, .page-title, .archive-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
.content-bg, body.content-style-unboxed .site { background: #fff; }

/* ---------- Formulario de cita ---------- */
.vn-form { display: grid; gap: 1rem; max-width: 640px; }
.vn-form p { margin: 0; }
.vn-form .vn-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vn-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.vn-form input, .vn-form select, .vn-form textarea { width: 100%; border: 1.5px solid var(--vn-petalo); border-radius: 12px; padding: .7rem .85rem; background: #fff; font-family: var(--vn-texto); font-size: 1rem; }
.vn-form input:focus, .vn-form select:focus, .vn-form textarea:focus { border-color: var(--vn-rosa); outline: none; box-shadow: 0 0 0 3px rgba(194,65,110,.18); }
.vn-form .vn-check label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.vn-form .vn-check input { width: auto; margin-top: .3rem; accent-color: var(--vn-rosa); }
.vn-hp { position: absolute; left: -9999px; }
.vn-ok { background: var(--vn-niebla); border-left: 4px solid var(--vn-rosa); padding: 1rem 1.2rem; border-radius: 8px; }
.vn-err { background: #fdecea; border-left: 4px solid #b3261e; padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--vn-niebla); }
.site-footer .footer-html { font-size: .92rem; color: var(--vn-ciruela-suave); }

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
	.vn-hero__in { grid-template-columns: 1fr; }
	.vn-hero__texto { padding-bottom: 0; }
	.vn-hero__arbol { max-width: 420px; margin: 0 auto -1px; width: 100%; }
	.vn-servicios, .vn-visita { grid-template-columns: 1fr; }
	.vn-cats { grid-template-columns: repeat(3, 1fr); }
	.vn-lista li { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.vn-cats { display: flex; overflow-x: auto; gap: .6rem; margin: 0 -1.25rem 2rem; padding: 0 1.25rem .4rem !important; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.vn-cats li { flex: none; scroll-snap-align: start; }
	.vn-cats a { flex-direction: row; align-items: center; gap: .55rem; padding: .7rem 1rem; border-radius: 999px; font-size: .98rem; white-space: nowrap; }
	.vn-cats svg { width: 1.6rem; height: 1.6rem; }
	.vn-form .vn-2 { grid-template-columns: 1fr; }
	.vn-datos ul { flex-direction: column; }
	.site-branding .site-title { font-size: 2.1rem; }
	.site-branding .site-description { font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
	.vn-urgencias__in { flex-wrap: nowrap; gap: .45rem; font-size: .88rem; }
	.vn-urgencias__largo { display: none; }
	.vn-hero__acciones .vn-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.vn-arbol path, .vn-arbol .h, .vn-urgencias__punto { animation: none; stroke-dashoffset: 0; opacity: 1; }
	*, *::before, *::after { transition: none !important; }
}
