/*
Theme Name: Villa Dental
Theme URI: https://villadentalrd.com
Author: Villa Dental
Description: Tema a medida para Villa Dental — Especialidades Odontológicas (Zona Colonial, Santo Domingo). Incluye portada completa, servicios, turismo dental, blog y contacto, todo editable desde Apariencia > Personalizar y desde el escritorio de WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: villa-dental
Tags: business, dental, one-column, custom-menu, custom-logo, block-styles
*/

/* ============================================================
   1. Variables de marca (edítalas aquí o en Personalizar > Colores)
   ============================================================ */
:root {
  --vd-primary: #0b5f9e;
  --vd-primary-deep: #003b73;
  --vd-accent: #74b816;
  --vd-accent-soft: #a8d85a;
  --vd-bg: #ffffff;
  --vd-surface: #f4f7f8;
  --vd-surface-blue: #ddeff7;
  --vd-surface-green: #eef8e6;
  --vd-text: #4a4a4a;
  --vd-border: #e4ebef;
  --vd-radius: 1.25rem;
  --vd-font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --vd-font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* ============================================================
   2. Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vd-bg);
  color: var(--vd-text);
  font-family: var(--vd-font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vd-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vd-font-display);
  color: var(--vd-primary-deep);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
.vd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .75rem 1rem; z-index: 999; border-radius: 8px; }

/* ============================================================
   3. Utilidades
   ============================================================ */
.vd-container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
.vd-narrow { max-width: 42rem; }
.vd-section { padding-block: 5rem; }
.vd-section-sm { padding-block: 3.5rem; }
.vd-surface { background: var(--vd-surface); }
.vd-surface-blue { background: var(--vd-surface-blue); }
.vd-surface-green { background: var(--vd-surface-green); }
.vd-center { text-align: center; }
.vd-mt-1 { margin-top: .5rem; } .vd-mt-2 { margin-top: 1rem; } .vd-mt-3 { margin-top: 1.5rem; }
.vd-mt-4 { margin-top: 2rem; } .vd-mt-5 { margin-top: 2.5rem; } .vd-mt-6 { margin-top: 3rem; }
.vd-lead { font-size: 1.125rem; }
.vd-small { font-size: .875rem; }
.vd-muted { color: var(--vd-text); }

.vd-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--vd-primary);
}
.vd-chip, .vd-chip-blue {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem;
  border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.vd-chip { background: var(--vd-surface-green); color: #3f7a12; }
.vd-chip-blue { background: var(--vd-surface-blue); color: var(--vd-primary-deep); }

.vd-btn, .vd-btn-accent, .vd-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s ease; text-decoration: none;
}
.vd-btn { background: var(--vd-primary); color: #fff; box-shadow: 0 10px 30px -12px rgba(11, 95, 158, .6); }
.vd-btn:hover { background: var(--vd-primary-deep); transform: translateY(-1px); color: #fff; text-decoration: none; }
.vd-btn-accent { background: var(--vd-accent); color: #1b2a10; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(116, 184, 22, .7); }
.vd-btn-accent:hover { background: var(--vd-accent-soft); color: var(--vd-primary-deep); transform: translateY(-1px); text-decoration: none; }
.vd-btn-ghost { background: transparent; color: var(--vd-primary-deep); border-color: var(--vd-primary); }
.vd-btn-ghost:hover { background: var(--vd-surface-blue); text-decoration: none; }
.vd-btn-light { color: #fff; border-color: rgba(255,255,255,.4); }
.vd-btn-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.vd-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.vd-card {
  background: #fff; border: 1px solid var(--vd-border); border-radius: var(--vd-radius);
  padding: 1.75rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.vd-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -25px rgba(11,95,158,.35); border-color: rgba(11,95,158,.3); }
.vd-card-flat { padding: 0; overflow: hidden; }

.vd-grid { display: grid; gap: 1.5rem; }
.vd-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.vd-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.vd-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.vd-split { display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1023px) { .vd-split, .vd-grid-3, .vd-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .vd-split, .vd-grid-2, .vd-grid-3, .vd-grid-4 { grid-template-columns: 1fr; } }

.vd-icon { width: 1.375rem; height: 1.375rem; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vd-icon-sm { width: 1rem; height: 1rem; }
.vd-icon-box {
  width: 2.75rem; height: 2.75rem; border-radius: .85rem; display: inline-flex;
  align-items: center; justify-content: center; background: var(--vd-surface-blue); color: var(--vd-primary); flex: none;
}

/* ============================================================
   4. Cabecera
   ============================================================ */
.vd-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--vd-border);
}
.vd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding-block: .75rem; }
.vd-brand { display: flex; align-items: center; gap: .65rem; }
.vd-brand img { width: 44px; height: 44px; border-radius: .6rem; object-fit: contain; }
.vd-brand-name { font-family: var(--vd-font-display); font-weight: 800; color: var(--vd-primary-deep); font-size: 1.125rem; line-height: 1.1; }
.vd-brand-sub { font-size: .625rem; text-transform: uppercase; letter-spacing: .18em; color: #7a8794; }
.vd-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.vd-nav a { padding: .5rem .875rem; border-radius: 999px; font-size: .925rem; font-weight: 500; color: rgba(0,59,115,.85); }
.vd-nav a:hover { background: var(--vd-surface-blue); color: var(--vd-primary); text-decoration: none; }
.vd-nav .current-menu-item > a, .vd-nav .current_page_item > a { background: var(--vd-surface-blue); color: var(--vd-primary); font-weight: 600; }
.vd-header-actions { display: flex; align-items: center; gap: .5rem; }
.vd-social { display: flex; gap: .15rem; }
.vd-social a { width: 2.25rem; height: 2.25rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(0,59,115,.7); }
.vd-social a:hover { background: var(--vd-surface-blue); color: var(--vd-primary); }
.vd-burger { display: none; background: none; border: 0; padding: .5rem; color: var(--vd-primary-deep); cursor: pointer; }
.vd-mobile-nav { display: none; border-top: 1px solid var(--vd-border); background: #fff; }
.vd-mobile-nav.is-open { display: block; }
.vd-mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: .15rem; padding-block: .75rem; }
.vd-mobile-nav a { display: block; padding: .8rem .75rem; border-radius: .75rem; color: var(--vd-primary-deep); font-weight: 500; }
.vd-mobile-nav a:hover { background: var(--vd-surface-blue); text-decoration: none; }
@media (max-width: 1023px) { .vd-nav, .vd-header .vd-social { display: none; } .vd-burger { display: block; } }
@media (max-width: 767px) { .vd-header-actions .vd-btn-accent { display: none; } }

/* ============================================================
   5. Portada — Hero
   ============================================================ */
.vd-hero { position: relative; overflow: hidden; }
.vd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background: linear-gradient(135deg, var(--vd-surface-blue), #fff 55%, var(--vd-surface-green));
}
.vd-hero-inner { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3rem; align-items: center; padding-block: 5rem; }
.vd-hero h1 { margin-top: 1.25rem; }
.vd-hero h1 .vd-hl { color: var(--vd-primary); }
.vd-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; max-width: 28rem; margin-top: 2.5rem; }
.vd-stat-k { font-family: var(--vd-font-display); font-size: 1.5rem; font-weight: 800; color: var(--vd-primary-deep); }
.vd-stat-v { font-size: .75rem; color: #7a8794; margin-top: .25rem; }
.vd-hero-media { position: relative; }
.vd-hero-photo { border-radius: 2rem; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,59,115,.55); background: var(--vd-surface-blue); aspect-ratio: 4/5; }
.vd-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.vd-badge-white {
  position: absolute; left: -1.25rem; bottom: -1.25rem; background: #fff; border: 1px solid var(--vd-border);
  border-radius: 1rem; padding: .9rem; box-shadow: 0 18px 40px -20px rgba(0,59,115,.45);
  display: flex; align-items: center; gap: .75rem; max-width: 16rem;
}
.vd-badge-accent {
  position: absolute; right: -.75rem; top: -.75rem; background: var(--vd-accent); color: var(--vd-primary-deep);
  border-radius: 1rem; padding: .7rem 1rem; box-shadow: 0 18px 40px -20px rgba(0,59,115,.45);
}
@media (max-width: 1023px) { .vd-hero-inner { grid-template-columns: 1fr; padding-block: 3.5rem; } .vd-badge-white { left: .5rem; } }

/* ============================================================
   6. Tarjetas que giran (flip)
   ============================================================ */
.vd-flip { perspective: 1200px; background: none; border: 0; padding: 0; width: 100%; text-align: left; cursor: pointer; }
.vd-flip-inner { position: relative; min-height: 200px; transition: transform .55s ease; transform-style: preserve-3d; }
.vd-flip.is-flipped .vd-flip-inner { transform: rotateY(180deg); }
.vd-flip-face {
  border-radius: var(--vd-radius); border: 1px solid var(--vd-border); background: #fff; padding: 1.75rem;
  min-height: 200px; backface-visibility: hidden; -webkit-backface-visibility: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .5rem;
}
.vd-flip-back {
  position: absolute; inset: 0; transform: rotateY(180deg); background: var(--vd-primary); color: #fff; border-color: var(--vd-primary);
}
.vd-flip-back h3, .vd-flip-back strong { color: #fff; }
.vd-flip-back .vd-flip-cta { color: var(--vd-accent-soft); font-weight: 700; font-size: .8rem; }
.vd-flip-left .vd-flip-face { align-items: flex-start; text-align: left; justify-content: flex-start; }

/* ============================================================
   7. Servicios interactivos
   ============================================================ */
.vd-services-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 1023px) { .vd-services-layout { grid-template-columns: 1fr; } }
.vd-tags { display: flex; flex-wrap: wrap; gap: .625rem; }
.vd-tag {
  display: inline-flex; align-items: center; gap: .625rem; border-radius: 999px; border: 1px solid var(--vd-border);
  background: #fff; color: var(--vd-primary-deep); padding: .375rem 1rem .375rem .375rem; font-size: .875rem;
  font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vd-tag img { width: 2.25rem; height: 2.25rem; border-radius: 999px; object-fit: cover; }
.vd-tag:hover { border-color: rgba(11,95,158,.4); background: var(--vd-surface-blue); }
.vd-tag.is-active { background: var(--vd-primary); color: #fff; border-color: var(--vd-primary); box-shadow: 0 12px 26px -14px rgba(11,95,158,.8); }
.vd-tag.is-active img { box-shadow: 0 0 0 2px var(--vd-accent); }
.vd-service-panel { border: 1px solid var(--vd-border); border-radius: var(--vd-radius); overflow: hidden; background: #fff; position: sticky; top: 6rem; }
.vd-service-panel .vd-service-img { aspect-ratio: 4/3; background: var(--vd-surface-blue); }
.vd-service-panel .vd-service-img img { width: 100%; height: 100%; object-fit: cover; }
.vd-service-body { padding: 1.5rem; }
.vd-service-head { display: flex; align-items: center; gap: .75rem; }
.vd-service-long { display: none; font-size: .9rem; margin-top: .75rem; }
.vd-service-long.is-open { display: block; }
@media (max-width: 1023px) { .vd-service-panel { position: static; } }

/* ============================================================
   8. Historia (diente que recorre la ruta)
   ============================================================ */
.vd-timeline { position: relative; margin-top: 3.5rem; }
.vd-rail, .vd-rail-fill { position: absolute; left: 22px; top: 0; border-left: 3px dashed var(--vd-border); }
.vd-rail { bottom: 0; }
.vd-rail-fill { border-color: var(--vd-primary); height: 0; }
.vd-runner {
  position: absolute; left: 22px; transform: translateX(-50%); z-index: 2; top: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--vd-accent), 0 14px 30px -14px rgba(0,59,115,.5);
  display: flex; align-items: center; justify-content: center; color: var(--vd-primary);
}
.vd-timeline ol { list-style: none; padding-left: 4rem; display: flex; flex-direction: column; gap: 2.5rem; }
.vd-step-head { display: inline-flex; align-items: center; gap: .75rem; }
.vd-step-dot {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: rgba(11,95,158,.5); box-shadow: 0 12px 26px -16px rgba(0,59,115,.6); transition: all .5s ease; flex: none;
}
.is-reached .vd-step-dot { background: var(--vd-primary); color: #fff; }
.is-reached h3 { color: var(--vd-primary-deep); }
.vd-timeline li h3 { color: rgba(0,59,115,.5); transition: color .5s ease; }
.vd-timeline li p { opacity: .6; transition: opacity .5s ease; margin-top: .75rem; font-size: .9rem; max-width: 30rem; }
.is-reached p { opacity: 1; }
@media (min-width: 1024px) {
  .vd-rail, .vd-rail-fill, .vd-runner { left: 50%; transform: translateX(-50%); }
  .vd-runner { margin-left: 0; }
  .vd-timeline ol { padding-left: 0; gap: 0; }
  .vd-timeline li { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3rem; align-items: center; padding-block: 1.5rem; }
  .vd-timeline li.vd-alt > div:first-child { grid-column: 2; }
  .vd-timeline li:not(.vd-alt) { text-align: right; }
  .vd-timeline li:not(.vd-alt) .vd-step-head { flex-direction: row-reverse; }
  .vd-timeline li:not(.vd-alt) p { margin-left: auto; }
}

/* ============================================================
   9. Turismo dental — ruta del avión
   ============================================================ */
.vd-hero-travel { position: relative; overflow: hidden; color: #fff; }
.vd-hero-travel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, var(--vd-primary-deep), var(--vd-primary) 55%, var(--vd-primary-deep)); }
.vd-hero-travel h1, .vd-hero-travel h2 { color: #fff; }
.vd-hero-travel .vd-dots { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .25; }
.vd-boarding {
  margin-top: 2.5rem; max-width: 28rem; border-radius: 1rem; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: 1rem; display: flex; align-items: center; gap: 1rem; backdrop-filter: blur(6px);
}
.vd-boarding-code { font-family: var(--vd-font-display); font-size: 1.5rem; font-weight: 800; }
.vd-boarding-line { flex: 1; display: flex; align-items: center; gap: .5rem; color: var(--vd-accent-soft); }
.vd-boarding-line span { height: 1px; flex: 1; background: rgba(255,255,255,.45); }
.vd-route { position: relative; overflow: visible; }
.vd-route svg.vd-route-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vd-plane-i { display: flex; align-items: center; justify-content: center; transition: transform .2s linear; }
.vd-plane {
  position: absolute; left: 12%; top: 2.6%; z-index: 5; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 2px var(--vd-primary), 0 18px 40px -18px rgba(0,59,115,.6);
  display: flex; align-items: center; justify-content: center; color: var(--vd-primary); transform: translate(-50%, -50%);
}
.vd-phases { list-style: none; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 2.5rem; grid-auto-rows: 13rem; }
.vd-phases li { display: flex; align-items: center; }
.vd-phases li:nth-child(odd) { grid-column: 1; justify-content: flex-end; }
.vd-phases li:nth-child(even) { grid-column: 2; justify-content: flex-start; }
.vd-phase { max-width: 24rem; opacity: .55; transform: translateY(12px); transition: all .5s ease; }
.vd-phase.is-reached { opacity: 1; transform: none; border-color: var(--vd-accent); box-shadow: 0 24px 50px -25px rgba(11,95,158,.4); }
.vd-phase-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7a8794; }
.vd-route-mobile ol { list-style: none; padding-left: 4rem; display: flex; flex-direction: column; gap: 2rem; }
@media (max-width: 767px) { .vd-route-desktop { display: none; } }
@media (min-width: 768px) { .vd-route-mobile { display: none; } }

/* ============================================================
   10. Galería, testimonios, FAQ, blog
   ============================================================ */
.vd-case { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 1/1; }
.vd-case img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vd-case:hover img { transform: scale(1.05); }
.vd-case-label { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; color: #fff; background: linear-gradient(to top, rgba(0,59,115,.88), transparent); }
.vd-case-label .vd-kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.vd-quote-mark { color: var(--vd-accent); }
.vd-stars { display: inline-flex; gap: .1rem; color: var(--vd-accent); }
.vd-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
@media (max-width: 1023px) { .vd-faq { grid-template-columns: 1fr; } }
.vd-acc { background: #fff; border: 1px solid var(--vd-border); border-radius: 1rem; overflow: hidden; margin-bottom: .75rem; }
.vd-acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 600; color: var(--vd-primary-deep); font-family: var(--vd-font-display); }
.vd-acc-i { width: 2rem; height: 2rem; border-radius: 999px; background: var(--vd-surface-blue); color: var(--vd-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.vd-acc-a { display: none; padding: 0 1.25rem 1.25rem; font-size: .9rem; }
.vd-acc.is-open .vd-acc-a { display: block; }
.vd-post-card { display: block; background: #fff; border: 1px solid var(--vd-border); border-radius: var(--vd-radius); overflow: hidden; height: 100%; transition: transform .3s ease, box-shadow .3s ease; color: inherit; }
.vd-post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -25px rgba(11,95,158,.35); text-decoration: none; }
.vd-post-thumb { aspect-ratio: 4/3; background: var(--vd-surface); }
.vd-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-post-body { padding: 1.25rem; }
.vd-post-body h3 { margin-top: .75rem; font-size: 1.05rem; line-height: 1.35; }
.vd-post-meta { font-size: .8rem; color: #7a8794; margin-top: .5rem; }

/* Entrada individual */
.vd-article { max-width: 46rem; margin-inline: auto; }
.vd-article-content > * + * { margin-top: 1.15rem; }
.vd-article-content h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.vd-article-content h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.vd-article-content ul, .vd-article-content ol { padding-left: 1.25rem; }
.vd-article-content li { margin-top: .4rem; }
.vd-article-content img { border-radius: 1rem; }
.vd-article-cover { border-radius: 1.5rem; overflow: hidden; aspect-ratio: 16/9; background: var(--vd-surface); }
.vd-article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Contacto */
.vd-contact-card { display: flex; gap: 1rem; }
.vd-map { border-radius: 2rem; overflow: hidden; border: 1px solid var(--vd-border); box-shadow: 0 30px 60px -35px rgba(0,59,115,.5); position: relative; display: block; min-height: 420px; }
.vd-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; pointer-events: none; display: block; }
.vd-map-cta { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); background: var(--vd-primary); color: #fff; font-size: .875rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; }
.vd-cta-dark { border-radius: 2rem; background: var(--vd-primary-deep); color: #fff; padding: 3rem 2rem; text-align: center; }
.vd-cta-dark h2 { color: #fff; }
.vd-cta-dark p { color: rgba(255,255,255,.8); max-width: 34rem; margin-inline: auto; }

/* Formularios (comentarios / contacto) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--vd-border); border-radius: .75rem;
  font: inherit; color: var(--vd-primary-deep); background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--vd-primary); outline-offset: 1px; }

/* ============================================================
   11. Pie de página y WhatsApp flotante
   ============================================================ */
.vd-footer { background: var(--vd-primary-deep); color: rgba(255,255,255,.85); margin-top: 5rem; }
.vd-footer a { color: rgba(255,255,255,.85); }
.vd-footer a:hover { color: var(--vd-accent-soft); }
.vd-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem; }
@media (max-width: 767px) { .vd-footer-grid { grid-template-columns: 1fr; } }
.vd-footer h4 { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.vd-footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.vd-footer-brand { display: flex; align-items: center; gap: .75rem; }
.vd-footer-brand img { width: 48px; height: 48px; border-radius: .6rem; }
.vd-footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.vd-footer-social a { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.vd-footer-social a:hover { background: var(--vd-accent); color: var(--vd-primary-deep); }
.vd-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; color: rgba(255,255,255,.55); }
.vd-footer-bottom .vd-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.25rem; }
.vd-wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 3.75rem; height: 3.75rem; border-radius: 999px;
  background: var(--vd-accent); color: var(--vd-primary-deep); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); transition: transform .25s ease;
}
.vd-wa-float:hover { transform: scale(1.08); }

/* ============================================================
   12. Animaciones al hacer scroll
   ============================================================ */
.vd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.vd-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vd-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Cursor de diente (solo escritorio, se puede desactivar en Personalizar) */
@media (pointer: fine) {
  html.vd-cursor, html.vd-cursor body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 3c-3.2 0-4.6 1.4-7.2 1.4C6.1 4.4 4 6.6 4 10.4c0 4.2 1.5 6.2 2.3 9.5.6 2.6.6 8.3 3.1 8.3 2.2 0 2.3-3.7 2.9-6.4.4-1.8 1-2.8 3.7-2.8s3.3 1 3.7 2.8c.6 2.7.7 6.4 2.9 6.4 2.5 0 2.5-5.7 3.1-8.3.8-3.3 2.3-5.3 2.3-9.5 0-3.8-2.1-6-4.8-6C20.6 4.4 19.2 3 16 3z' fill='%23ffffff' stroke='%230B5F9E' stroke-width='2'/%3E%3C/svg%3E") 6 2, auto;
  }
  html.vd-cursor a, html.vd-cursor button, html.vd-cursor [role="button"], html.vd-cursor label, html.vd-cursor summary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 32 32'%3E%3Cpath d='M16 3c-3.2 0-4.6 1.4-7.2 1.4C6.1 4.4 4 6.6 4 10.4c0 4.2 1.5 6.2 2.3 9.5.6 2.6.6 8.3 3.1 8.3 2.2 0 2.3-3.7 2.9-6.4.4-1.8 1-2.8 3.7-2.8s3.3 1 3.7 2.8c.6 2.7.7 6.4 2.9 6.4 2.5 0 2.5-5.7 3.1-8.3.8-3.3 2.3-5.3 2.3-9.5 0-3.8-2.1-6-4.8-6C20.6 4.4 19.2 3 16 3z' fill='%23A8D85A' stroke='%23003B73' stroke-width='2'/%3E%3C/svg%3E") 7 2, pointer;
  }
}

/* Bloques de WordPress dentro de páginas normales */
.vd-page-content > * + * { margin-top: 1.15rem; }
.vd-page-content h2 { margin-top: 2.25rem; }
.vd-page-content ul, .vd-page-content ol { padding-left: 1.25rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .8rem; color: #7a8794; }

/* ============================================================
   13. Ajustes de plantilla (cabecera, pie, menús)
   ============================================================ */
.vd-skip { position: absolute; left: -9999px; }
.vd-skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .75rem 1rem; z-index: 999; border-radius: 8px; }
.vd-brand-text { display: flex; flex-direction: column; }
.vd-brand-text strong { font-family: var(--vd-font-display); font-weight: 800; color: var(--vd-primary-deep); font-size: 1.05rem; line-height: 1.15; }
.vd-brand-text small { font-size: .625rem; text-transform: uppercase; letter-spacing: .16em; color: #7a8794; }
.vd-brand:hover { text-decoration: none; }
.vd-brand .custom-logo { width: 44px; height: 44px; object-fit: contain; }
.vd-socials { display: inline-flex; gap: .15rem; }
.vd-socials .vd-social { width: 2.25rem; height: 2.25rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(0,59,115,.7); }
.vd-socials .vd-social:hover { background: var(--vd-surface-blue); color: var(--vd-primary); text-decoration: none; }
.vd-socials .vd-social-light { background: rgba(255,255,255,.12); color: #fff; width: 2.4rem; height: 2.4rem; }
.vd-socials .vd-social-light:hover { background: var(--vd-accent); color: var(--vd-primary-deep); }
.vd-socials-mobile { margin: .75rem 0 1.25rem; }
.vd-menu { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; }
.vd-mobile-nav[hidden] { display: none; }
.vd-mobile-nav { padding-inline: 1.25rem; padding-bottom: 1rem; }
.vd-mobile-menu { list-style: none; display: flex; flex-direction: column; gap: .15rem; padding-block: .75rem; margin: 0; }
.vd-mobile-menu a { display: block; padding: .8rem .75rem; border-radius: .75rem; color: var(--vd-primary-deep); font-weight: 500; }
.vd-mobile-menu a:hover { background: var(--vd-surface-blue); text-decoration: none; }
.vd-btn-block { width: 100%; }
@media (max-width: 1023px) { .vd-header .vd-socials { display: none; } }
@media (max-width: 767px) { .vd-header-cta { display: none; } }
.vd-footer-title { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.vd-footer-text { font-size: .9rem; margin-top: 1rem; max-width: 28rem; }
.vd-brand-footer img { width: 52px; height: 52px; border-radius: .6rem; }
.vd-footer-menu, .vd-footer-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; margin: 0; }
.vd-footer-list a, .vd-footer-list span { display: flex; gap: .6rem; align-items: flex-start; }
.vd-footer-list .vd-icon { margin-top: .15rem; color: var(--vd-accent-soft); }
.vd-footer .vd-socials { margin-top: 1.25rem; }
.vd-main { display: block; }

/* Rejillas auxiliares */
.vd-grid-5 { display: grid; gap: 1.25rem; grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 1023px) { .vd-grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px) { .vd-grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.vd-team-photo { aspect-ratio: 3/4; border-radius: 1.25rem; overflow: hidden; background: var(--vd-surface-blue); }
.vd-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.vd-team-name { margin-top: .9rem; font-size: 1.05rem; }
.vd-team-role { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vd-primary); margin-top: .2rem; }
.vd-campaign { border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--vd-border); background: #fff; }
.vd-campaign img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.vd-list-check { list-style: none; display: grid; gap: .75rem; }
.vd-list-check li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.vd-list-check .vd-icon { color: var(--vd-accent); margin-top: .2rem; }
.vd-num { width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--vd-surface-blue); color: var(--vd-primary); font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.vd-service-tag-name { font-weight: 600; }
.vd-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.vd-pagination .page-numbers { padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--vd-border); color: var(--vd-primary-deep); }
.vd-pagination .page-numbers.current { background: var(--vd-primary); color: #fff; border-color: var(--vd-primary); }
