/* ============================================================
   Vitalis Dental — Design System
   Violeta + blanco · confianza, higiene, calidez, tecnología
   ============================================================ */

:root {
  /* Color */
  --violet-900: #3B1876;
  --violet-700: #5B21B6;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-300: #C4B0F5;
  --violet-200: #DDD0FB;
  --violet-100: #EDE6FD;
  --violet-50:  #F5F3FF;
  --white: #FFFFFF;
  --ink-900: #221A35;
  --ink-700: #423A56;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --border: #E6E1F5;
  --gold: #F5A623;

  /* Elevation (violet-tinted shadows) */
  --shadow-sm: 0 1px 2px rgba(91, 33, 182, 0.06), 0 1px 3px rgba(91, 33, 182, 0.08);
  --shadow-md: 0 8px 24px rgba(91, 33, 182, 0.10);
  --shadow-lg: 0 24px 48px -12px rgba(91, 33, 182, 0.22);
  --shadow-glow: 0 0 0 1px rgba(124, 58, 237, 0.08), 0 20px 40px -8px rgba(124, 58, 237, 0.28);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  /* Type */
  --font-heading: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1220px;
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; color: var(--ink-900); line-height: 1.15; letter-spacing: -0.02em; }

html:focus-within { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--violet-600); outline-offset: 3px; border-radius: 4px; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 900px) {
  .container { padding-inline: 40px; }
}

section { position: relative; }

.section-pad { padding-block: 96px; }
@media (max-width: 720px) { .section-pad { padding-block: 64px; } }

.bg-alt { background: var(--violet-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--violet-600);
  border-radius: var(--r-full);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--gray-500); line-height: 1.65; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet-700);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--violet-700);
  border: 1.5px solid var(--violet-200);
}
.btn-outline:hover { border-color: var(--violet-600); background: var(--violet-50); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--violet-700);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 28px 56px -14px rgba(0,0,0,0.28); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn:hover svg.icon-arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 72px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(91,33,182,0.03), 0 12px 30px -18px rgba(91,33,182,0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--ink-900); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(124,58,237,0.35);
}
.brand-mark svg { width: 21px; height: 21px; color: var(--white); }
.brand span { color: var(--violet-600); }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-700);
  padding: 10px 16px; border-radius: var(--r-full);
  position: relative; transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--violet-700); background: var(--violet-50); }

.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--violet-50);
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--violet-700); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; top: var(--nav-h); z-index: 99;
  background: var(--white);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-heading); font-size: 20px; font-weight: 700; padding: 14px 6px; border-bottom: 1px solid var(--border); color: var(--ink-900); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }
@media (min-width: 980px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero-blob-a { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, var(--violet-200), transparent 70%); }
.hero-blob-b { width: 380px; height: 380px; bottom: -140px; left: -140px; background: radial-gradient(circle, var(--violet-100), transparent 70%); }

.hero-copy { position: relative; z-index: 1; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  color: var(--violet-700);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-full);
  margin-bottom: 28px;
}
.badge-pill .avatars { display: flex; }
.badge-pill .avatars span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
}
.badge-pill .avatars span:first-child { margin-left: 0; }

.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  max-width: 15ch;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.hero-stats .stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink-900);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stats .stat-label { font-size: 13.5px; color: var(--gray-500); margin-top: 4px; }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; align-self: end; }
.hero-panel {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, var(--violet-600) 0%, var(--violet-700) 65%, var(--violet-900) 100%);
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.hero-panel .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}
.hero-panel .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(59,24,118,0.15) 0%, rgba(59,24,118,0.05) 40%, rgba(59,24,118,0.75) 100%);
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-y 5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--violet-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card .fc-icon svg { width: 21px; height: 21px; color: var(--violet-600); }
.float-card .fc-title { font-family: var(--font-heading); font-weight: 800; font-size: 14.5px; color: var(--ink-900); }
.float-card .fc-sub { font-size: 12.5px; color: var(--gray-500); }

.float-card--top { top: -6%; left: -8%; animation-delay: 0s; }
.float-card--bottom { bottom: 8%; right: -9%; animation-delay: -2.4s; }

@media (max-width: 640px) {
  .float-card { padding: 10px 14px; gap: 9px; }
  .float-card .fc-icon { width: 32px; height: 32px; }
  .float-card--top { left: 0; top: -4%; }
  .float-card--bottom { right: 0; bottom: 4%; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Trust / Partners ---------- */
.trust { padding-block: 56px; }
.trust p.eyebrow-center {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 32px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.trust-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--gray-400);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--r-full);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.trust-logo:hover { color: var(--violet-700); border-color: var(--violet-300); transform: translateY(-2px); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0 0 30px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.07); }

.service-icon-badge {
  position: absolute;
  bottom: -22px; left: 22px;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.service-icon-badge svg { width: 24px; height: 24px; color: var(--violet-600); }

.service-body { padding: 38px 26px 0; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--gray-500); line-height: 1.65; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--violet-600);
}
.service-card .card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .card-link svg { transform: translateX(3px); }

.icon-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--violet-50), var(--violet-100));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.icon-tile svg { width: 27px; height: 27px; color: var(--violet-600); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item .icon-tile { background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; color: var(--gray-500); line-height: 1.65; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-card {
  background: var(--violet-50);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); border: 1px solid var(--violet-100); }

.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 17px; height: 17px; color: var(--gold); }

.testi-card blockquote { font-size: 15.5px; line-height: 1.7; color: var(--ink-700); }

.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.avatar-initials {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--white);
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  flex-shrink: 0;
}
.avatar-photo {
  width: 46px; height: 46px; border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--white);
}
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-person .p-name { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.testi-person .p-role { font-size: 13px; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
}
.faq-q .chev { width: 22px; height: 22px; color: var(--violet-600); flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.faq-item[data-open="true"] .chev { transform: rotate(180deg); }
.faq-item[data-open="true"] .faq-q { color: var(--violet-700); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease);
}
.faq-a-inner { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.7; color: var(--gray-500); max-width: 62ch; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--violet-600), var(--violet-700) 60%, var(--violet-900));
  border-radius: var(--r-xl);
  margin-inline: 24px;
  padding: 80px 32px;
  text-align: center;
  isolation: isolate;
}
@media (min-width: 900px) { .cta-final { margin-inline: 40px; padding: 96px 32px; } }

.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  z-index: -1;
}
.cta-final .cta-glow-a { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); top: -180px; left: -100px; z-index: -1; }
.cta-final .cta-glow-b { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%); bottom: -160px; right: -80px; z-index: -1; }

.cta-final h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); max-width: 18ch; margin-inline: auto; }
.cta-final p { color: var(--violet-100); font-size: 17px; max-width: 52ch; margin: 18px auto 0; line-height: 1.65; }
.cta-final .hero-actions { justify-content: center; margin-top: 36px; }
.cta-final .eyebrow { color: var(--violet-100); justify-content: center; }
.cta-final .eyebrow::before { background: rgba(255,255,255,0.6); }

/* Booking form */
.book-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  margin-top: 48px;
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
  box-shadow: var(--shadow-lg);
}
.book-card h3 { font-size: 20px; margin-bottom: 6px; }
.book-card > p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 24px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-size: 15px;
  background: var(--violet-50);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet-500); background: var(--white); }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 12.5px; color: var(--gray-400); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  color: var(--violet-700);
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.book-card.is-submitted form { display: none; }
.book-card.is-submitted .form-success { display: flex; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--violet-100); padding-top: 80px; }
.footer-top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; } }

.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,0.6); max-width: 34ch; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-social a:hover { background: var(--violet-600); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: var(--white); }

.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col a, .footer-col address { font-size: 14.5px; color: rgba(255,255,255,0.65); font-style: normal; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; color: rgba(255,255,255,0.65); }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--violet-400, var(--violet-300)); flex-shrink: 0; margin-top: 2px; }

.newsletter-form { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 160px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  padding: 12px 18px;
  color: var(--white);
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--violet-400, var(--violet-300)); }
.newsletter-msg { font-size: 13px; margin-top: 10px; color: var(--violet-300); min-height: 16px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}
