/*
Project: Tami Labs Website
Owner: Tami Labs
Author: Sergi Tamaral Carapeto
 2026 Tami Labs. All rights reserved.
*/

/* ============================================================
   Tami Labs  Design system (overrides template base styles)
   Colors: #e9e9e9  #d02730  #1b2832
   Font: Inter
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Light UI: white canvas, black text, brand red accents; sections separated by --tl-dark rules */
  --tl-bg: #ffffff;
  --tl-surface: #ffffff;
  --tl-surface-inset: #ffffff;
  --tl-dark: #1b2832;
  --tl-accent: #d02730;
  --tl-accent-hover: #b52129;
  --tl-text: #0a0a0a;
  --tl-muted: #1a1a1a;
  --tl-border: rgba(0, 0, 0, 0.1);
  /* Thin flat frame around inline images (matches first-section navy on light bg) */
  --tl-image-frame-border: 1px solid var(--tl-dark);
  /* Slightly lifted navy so a 1px rule reads on hero gradient (#1b2832 family) */
  --tl-image-frame-border-on-hero: 1px solid #3d5263;
  --tl-image-frame-padding: clamp(6px, 1.2vw, 10px);
  --tl-image-frame-radius: 8px;
  --tl-radius: 12px;
  --tl-radius-sm: 10px;
  --tl-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --tl-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.12);
  --tl-trans: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  /* Inset section dividers (not full-bleed) */
  --tl-rule-max: 1080px;
  --tl-rule-inset: clamp(2rem, 8vw, 5rem);
  --ve-dark: #1b2832;
  --ve-gold: #d02730;
  --ve-gold2: #b52129;
  --ve-light: #ffffff;
  --ve-navy: #1b2832;
  --ve-text: #1a1a1a;
  --ve-border: rgba(0, 0, 0, 0.1);
  --ve-radius: 12px;
  --ve-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --ve-trans: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* ---- Base (light UI: dark text, red accents) ---- */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--tl-text);
  background: var(--tl-bg);
  font-size: 16px;
  line-height: 1.6;
}

/* Template base stylesheet sets gray paragraphs  align with design tokens */
body p,
.ve-section p,
.ve-about-text p,
.ve-contact-form-wrap p,
.ve-article-body p {
  color: var(--tl-muted);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--tl-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--tl-accent);
  font-weight: 600;
}

a:hover {
  color: var(--tl-accent-hover);
}

/* Preloader */
.preloader {
  background: var(--tl-bg) !important;
}
.preloader .lds-ellipsis div {
  background: var(--tl-accent) !important;
}

.header-area {
  display: none !important;
}

body {
  padding-top: 0;
}

/* ---- Page structure: white canvas; inset navy dividers (soft ends, aligned to content width) ---- */
body > .ve-principles-bar,
body > section:not(.ve-hero):not(.ve-page-hero) {
  position: relative;
  border-top: none;
  border-bottom: none;
  background: var(--tl-bg);
}

body > .ve-principles-bar::before,
body > section:not(.ve-hero):not(.ve-page-hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--tl-rule-max), calc(100% - 2 * var(--tl-rule-inset)));
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(27, 40, 50, 0.08) 8%,
    var(--tl-dark) 22%,
    var(--tl-dark) 78%,
    rgba(27, 40, 50, 0.08) 92%,
    transparent 100%
  );
}

body > section:not(.ve-hero):not(.ve-page-hero):last-of-type::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--tl-rule-max), calc(100% - 2 * var(--tl-rule-inset)));
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(27, 40, 50, 0.08) 8%,
    var(--tl-dark) 22%,
    var(--tl-dark) 78%,
    rgba(27, 40, 50, 0.08) 92%,
    transparent 100%
  );
}

/* ============================================================
   NAVBAR (brand navy  matches hero / page-hero)
   ============================================================ */
.ve-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(27, 40, 50, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ve-header.scrolled {
  background: rgba(27, 40, 50, 0.99);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.ve-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
}

.ve-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.ve-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ve-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.ve-logo-icon,
.ve-logo-text {
  display: none;
}

.ve-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.ve-nav ul li {
  position: relative;
}

.ve-nav ul li a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--tl-trans);
  opacity: 1;
}

.ve-nav ul li a:hover,
.ve-nav ul li a.active {
  color: var(--tl-accent);
  background: rgba(208, 39, 48, 0.15);
}

.ve-nav .has-drop:hover .ve-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ve-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #243542;
  border-radius: var(--tl-radius-sm);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--tl-trans);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ve-dropdown li a {
  padding: 10px 18px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.ve-dropdown li a:hover {
  background: rgba(208, 39, 48, 0.15);
  color: var(--tl-accent);
}

.ve-nav-cta .ve-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tl-accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--tl-trans);
  border: 1px solid transparent;
}

.ve-nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ve-nav-cta .ve-cta-btn:hover {
  background: var(--tl-accent-hover);
  transform: translateY(-1px);
  color: #fff;
}

.tl-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 2px;
}

.tl-lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.tl-lang-btn.active,
.tl-lang-btn:hover {
  color: #ffffff;
}

.tl-lang-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  line-height: 1;
}

/* .ve-nav-cta is hidden ?991px, so the injected switcher must be duplicated for the header row */
.tl-lang-switcher--mobile {
  display: none;
  flex-shrink: 0;
}

.ve-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.ve-toggler span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
  transform-origin: center;
}

.ve-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ve-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ve-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ve-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(6, 10, 14, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.38s;
}

.ve-mobile-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .ve-mobile-backdrop {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.ve-mobile-menu {
  display: none;
  background: #1b2832;
  padding: 0 20px;
  border-top: 1px solid transparent;
}

.ve-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-mobile-menu ul li a {
  display: block;
  padding: 14px 8px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.ve-mobile-menu ul li a:hover {
  color: var(--tl-accent);
}

.ve-mobile-menu .ve-logo-img {
  height: 32px;
}

@keyframes ve-mobile-nav-item {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ve-mobile-menu {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }

  .ve-mobile-menu.open ul li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .ve-mobile-backdrop {
    transition-duration: 0.01ms !important;
  }

  .ve-toggler span {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   HERO (home  first section: brand dark + light copy, red accents)
   ============================================================ */
.ve-hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 4vw, 48px);
  background: linear-gradient(165deg, #1b2832 0%, #152028 48%, #1b2832 100%);
  overflow: hidden;
  gap: clamp(32px, 6vw, 80px);
}

.ve-hero-left {
  flex: 1 1 52%;
  max-width: 640px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ve-hero .ve-hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(208, 39, 48, 0.14);
  color: var(--tl-accent);
  border: 1px solid rgba(208, 39, 48, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ve-hero-left h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 20px;
}

.ve-hero-left h1 .ve-highlight {
  color: var(--tl-accent);
}

.ve-hero-left p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.ve-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.ve-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tl-accent);
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--tl-trans);
  border: none;
  cursor: pointer;
}

.ve-btn-primary:hover {
  background: var(--tl-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(208, 39, 48, 0.28);
  color: #fff;
}

.ve-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: var(--tl-text);
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  transition: var(--tl-trans);
}

.ve-btn-ghost:hover {
  border-color: var(--tl-accent);
  color: var(--tl-accent);
  transform: translateY(-2px);
  background: rgba(208, 39, 48, 0.08);
}

.ve-hero .ve-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: transparent;
}

.ve-hero .ve-btn-ghost:hover {
  border-color: var(--tl-accent);
  color: var(--tl-accent);
  background: rgba(208, 39, 48, 0.12);
}

.ve-hero-stats {
  display: none;
}

.ve-hero-right {
  flex: 1 1 42%;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ve-hero-img-main,
.ve-hero-img-accent {
  display: none;
}

.ve-hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: var(--tl-image-frame-padding);
  background: transparent;
  border-radius: var(--tl-image-frame-radius);
  box-shadow: none;
  border: var(--tl-image-frame-border);
  box-sizing: border-box;
}

/* Hero (dark gradient): hairline must read against #1b2832  same navy family, lifted */
.ve-hero .ve-hero-visual {
  border: var(--tl-image-frame-border-on-hero);
  max-width: min(100%, 1320px);
  width: 100%;
}

.ve-hero-brand {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ve-float-card {
  position: absolute;
  bottom: 8%;
  left: -12px;
  background: var(--tl-dark);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--tl-shadow);
}

.ve-float-card i {
  font-size: 22px;
  color: var(--tl-accent);
}

.ve-float-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.ve-float-card span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* Principles strip (top rule from body > .ve-principles-bar) */
.ve-principles-bar {
  padding: 18px 0;
}

.ve-principles-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tl-text);
}

.ve-principles-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ve-principles-inner i {
  color: var(--tl-accent);
  font-size: 14px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.ve-section {
  padding: clamp(72px, 10vw, 112px) 0;
}

.ve-section-header {
  margin-bottom: 48px;
}

.ve-section-tag {
  display: inline-block;
  background: rgba(208, 39, 48, 0.08);
  color: var(--tl-accent);
  border: 1px solid rgba(208, 39, 48, 0.18);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.ve-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  color: var(--tl-text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.ve-section-header h2 span {
  color: var(--tl-accent);
}

.ve-section-header p {
  font-size: 1.0625rem;
  color: var(--tl-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.text-center .ve-section-header p {
  margin-left: auto;
  margin-right: auto;
}

/* Services grid */
/*
 * Single-card mode: base grid is still 3 columns, so one article would only fill
 * the first column (~1/3 width). Force one column + centered max width so the
 * card reads at full width.
 */
.ve-services-grid.ve-services-grid--single {
  grid-template-columns: 1fr;
  justify-items: stretch;
  width: 100%;
  max-width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}

.ve-services-grid.ve-services-grid--single .ve-service-card {
  width: 100%;
  max-width: none;
}

.ve-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ve-service-card {
  background: #ffffff;
  border-radius: var(--tl-radius);
  padding: 32px 28px;
  border: 1px solid var(--tl-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--tl-trans);
  position: relative;
  overflow: hidden;
}

.ve-service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--tl-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ve-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tl-shadow-hover);
}

.ve-service-card:hover::before {
  transform: scaleX(1);
}

.ve-whyus-section .row {
  align-items: stretch;
}

.ve-whyus-section .ve-service-card {
  height: 100%;
}

.ve-service-card--clickable {
  cursor: pointer;
}

.ve-service-card--clickable:focus-visible {
  outline: 2px solid rgba(208, 39, 48, 0.45);
  outline-offset: 2px;
  transform: translateY(-6px);
  box-shadow: var(--tl-shadow-hover);
}

.ve-service-card--clickable:focus-visible::before {
  transform: scaleX(1);
}

.ve-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--tl-accent);
  background: rgba(208, 39, 48, 0.1);
  border: 1px solid var(--tl-border);
}

.ve-service-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tl-text);
}

.ve-service-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--tl-muted);
  margin-bottom: 16px;
}

.ve-service-title-row,
.ve-service-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ve-service-title-row h4,
.ve-service-heading-row h3 {
  margin: 0;
}

.ve-service-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Larger badges in detailed service explanation sections */
.ve-service-block .ve-service-status {
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.ve-service-card-status {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.ve-service-status--available {
  color: #1c6b4a;
  background: rgba(28, 107, 74, 0.1);
  border-color: rgba(28, 107, 74, 0.24);
}

.ve-service-status--soon {
  color: #6e5200;
  background: #fff5cf;
  border-color: #f0dc8f;
}

.ve-service-status--development {
  color: #6e5200;
  background: #fff5cf;
  border-color: #f0dc8f;
}

.ve-service-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #6e5200;
  margin: 12px 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff5cf;
  border: 1px solid #f0dc8f;
  box-shadow: 0 1px 4px rgba(110, 82, 0, 0.08);
}

.ve-service-note::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #6e5200;
  background: rgba(255, 205, 64, 0.35);
}

.ve-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--tl-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  transform: none;
  letter-spacing: normal;
}

.ve-card-link:hover {
  gap: 6px;
  color: var(--tl-accent-hover);
  transform: none;
  font-size: 14px;
  letter-spacing: normal;
}

.ve-card-link i {
  transform: none;
  transition: none;
}

/* Why / about preview */
.ve-whyus-img-wrap {
  position: relative;
  padding-bottom: 32px;
  padding-right: 24px;
}

/* Height follows the logo (no fixed tall frame  wordmark fills the card width) */
.ve-whyus-img-main {
  width: 100%;
  border-radius: var(--tl-image-frame-radius);
  background: transparent;
  border: var(--tl-image-frame-border);
  box-shadow: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--tl-image-frame-padding);
}

.ve-whyus-img-main .ve-whyus-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ve-whyus-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--tl-dark);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: left;
  min-width: 160px;
  box-shadow: var(--tl-shadow);
}

.ve-whyus-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.ve-whyus-badge span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Spanish badge line reads as a phrase, not an uppercase label */
html[lang="es"] .ve-whyus-badge span {
  text-transform: none;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ve-whyus-content {
  padding-left: clamp(0px, 3vw, 40px);
}

.ve-whyus-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ve-whyus-content h2 span {
  color: var(--tl-accent);
}

.ve-whyus-content > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tl-muted);
  margin-bottom: 24px;
}

.ve-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ve-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ve-check-item > i {
  font-size: 18px;
  color: var(--tl-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.ve-check-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--tl-text);
  margin-bottom: 4px;
}

.ve-check-item p {
  font-size: 14px;
  color: var(--tl-muted);
  margin: 0;
  line-height: 1.55;
}

.mt-30 {
  margin-top: 30px;
}

/* Counters */
.ve-counter-section {
  background: var(--tl-surface);
  padding: 64px 0;
}

.ve-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ve-counter-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--tl-border);
}

.ve-counter-item:last-child {
  border-right: none;
}

.ve-counter-item i {
  font-size: 28px;
  color: var(--tl-accent);
  margin-bottom: 12px;
  display: block;
}

.ve-counter-item strong {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--tl-text);
  line-height: 1;
}

.ve-counter-item span {
  font-size: 1.25rem;
  color: var(--tl-accent);
  font-weight: 700;
}

.ve-counter-item p {
  font-size: 13px;
  color: var(--tl-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Testimonials */
.ve-testimonials-section {
  background: var(--tl-bg);
}

.ve-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ve-testi-card {
  background: #ffffff;
  border-radius: var(--tl-radius);
  padding: 28px 24px;
  border: 1px solid var(--tl-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--tl-trans);
}

.ve-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tl-shadow);
}

.ve-testi-stars {
  font-size: 14px;
  color: var(--tl-accent);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.ve-testi-card > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tl-muted);
  margin-bottom: 20px;
  font-style: normal;
}

.ve-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ve-testi-author strong {
  color: var(--tl-text);
  display: block;
  font-size: 15px;
}

.ve-testi-author span {
  display: block;
  font-size: 13px;
  color: var(--tl-muted);
}

.tl-dark-strip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--tl-dark);
  border-radius: 12px;
}

/* CTA banner */
.ve-cta-banner {
  position: relative;
  padding: 88px 0;
  background: var(--tl-surface) !important;
  background-image: none !important;
}

.ve-cta-overlay {
  display: none;
}

.ve-cta-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--tl-text);
  margin-bottom: 12px;
}

.ve-cta-content h2 span {
  color: var(--tl-accent);
  opacity: 1;
}

.ve-cta-content p {
  font-size: 1.0625rem;
  color: var(--tl-muted);
  margin: 0;
}

.ve-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tl-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--tl-trans);
}

.ve-btn-white:hover {
  background: var(--tl-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.text-lg-right {
  text-align: right;
}

/* Insights / blog cards */
.ve-insight-card {
  border-radius: var(--tl-radius);
  overflow: hidden;
  border: 1px solid var(--tl-border);
  transition: var(--tl-trans);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
}

.ve-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tl-shadow);
}

.ve-insight-img {
  height: 200px;
  background: var(--tl-bg);
}

.ve-insight-body {
  padding: 22px 24px 24px;
}

.ve-insight-body h5 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.ve-insight-body > p {
  font-size: 14px;
  margin-bottom: 14px;
}

.ve-insight-cat {
  display: inline-block;
  background: rgba(208, 39, 48, 0.08);
  color: var(--tl-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.ve-insight-body h5 a {
  color: var(--tl-text);
}

.ve-insight-body h5 a:hover {
  color: var(--tl-accent);
}

.ve-insight-meta a {
  color: var(--tl-accent);
}

.ve-project-card .ve-insight-body {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.ve-project-card .ve-insight-meta {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.ve-project-card .ve-insight-meta a {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.ve-project-card .ve-insight-cat {
  align-self: flex-start;
  background: rgba(28, 107, 74, 0.1);
  color: #1c6b4a;
  border: 1px solid rgba(28, 107, 74, 0.24);
}

.ve-project-card {
  cursor: pointer;
}

.ve-project-service-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--tl-accent);
  border: 1px solid rgba(208, 39, 48, 0.55);
  box-shadow: 0 3px 10px rgba(208, 39, 48, 0.22);
}

/* Newsletter */
.ve-newsletter-section {
  background: var(--tl-surface);
  padding: 56px 0;
}

.ve-newsletter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ve-nl-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ve-nl-left i {
  font-size: 36px;
  color: var(--tl-accent);
  flex-shrink: 0;
}

.ve-nl-left h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tl-text);
  margin: 0 0 4px;
}

.ve-nl-left p {
  font-size: 14px;
  color: var(--tl-muted);
  margin: 0;
}

.ve-nl-form {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--tl-border);
}

.ve-nl-form input {
  background: #ffffff;
  border: none;
  padding: 14px 18px;
  color: var(--tl-text);
  font-size: 14px;
  min-width: 220px;
  outline: none;
  font-family: inherit;
}

.ve-nl-form input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.ve-nl-form button {
  background: var(--tl-accent);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--tl-trans);
}

.ve-nl-form button:hover {
  background: var(--tl-accent-hover);
}

@media (max-width: 767px) {
  .ve-newsletter-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .ve-nl-form {
    width: 100%;
    flex-direction: column;
  }
  .ve-nl-form input {
    width: 100%;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ve-footer {
  position: relative;
  background: var(--tl-dark);
  padding: 80px 0 0;
  overflow: hidden;
}

.ve-footer-watermark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: min(52vw, 420px);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.ve-footer-watermark img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) brightness(1.2);
}

.mb-50 {
  margin-bottom: 50px;
}

.ve-footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 18px 0 22px;
  max-width: 320px;
  text-align: center;
}

.ve-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 8px;
  width: 100%;
}

.ve-footer-logo .ve-logo-icon,
.ve-footer-logo .ve-logo-text {
  display: none;
}

.ve-footer-logo-img {
  height: 76px;
  width: auto;
}

.ve-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ve-social {
  display: flex;
  gap: 10px;
}

.ve-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--tl-trans);
}

.ve-social a:hover {
  background: rgba(208, 39, 48, 0.2);
  color: #fff;
  border-color: rgba(208, 39, 48, 0.45);
}

.ve-footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ve-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-footer-links li {
  margin-bottom: 10px;
}

.ve-footer-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--tl-trans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.ve-footer-links li a::before {
  content: "\f105";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 13px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--tl-accent);
  display: inline-block;
  width: 1em;
}

.ve-footer-links li a:hover {
  color: #fff;
  padding-left: 2px;
}

.ve-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-footer-contact li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.ve-footer-contact li i {
  color: var(--tl-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.ve-footer-email-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: inline;
  transform: none !important;
  letter-spacing: normal;
  transition: color 0.2s ease;
}

.ve-footer-email-link:hover {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: #ffffff;
  transform: none !important;
  letter-spacing: normal;
}

.ve-footer-bottom {
  /* Slightly deeper than body footer blue  stays in same hue family (not flat gray) */
  background: #152028;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding: 22px 0;
}

.ve-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ve-footer-bottom-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.ve-footer-bottom-inner p a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 500;
}

.ve-footer-bottom-inner p a:hover {
  color: #fff;
}

.ve-footer-bottom-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.ve-footer-bottom-inner ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
}

.ve-footer-bottom-inner ul li a:hover {
  color: #fff;
}

/* ============================================================
   PAGE HERO (inner pages  first section: brand dark + light copy, red accents)
   ============================================================ */
.ve-page-hero {
  position: relative;
  margin-top: 72px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 56px;
  background-color: var(--tl-dark) !important;
  background-size: cover;
  background-position: center;
}

.ve-page-hero[style*="background-image"] {
  background-color: var(--tl-dark) !important;
}

.ve-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(27, 40, 50, 0.55) 100%);
  pointer-events: none;
}

.ve-page-hero:not([style*="background-image"]) .ve-page-hero-overlay {
  background: transparent;
}

.ve-page-hero-content {
  position: relative;
  z-index: 2;
}

.ve-page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 16px;
  line-height: 1.15;
}

.ve-page-hero-content h1 span {
  color: var(--tl-accent);
}

.ve-page-hero .ve-section-tag {
  background: rgba(208, 39, 48, 0.14);
  border-color: rgba(208, 39, 48, 0.35);
  color: var(--tl-accent);
}

.ve-page-hero-sm {
  min-height: 380px;
}

.ve-post-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 8px;
}

.ve-page-hero .ve-post-meta-hero span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ve-page-hero .ve-insight-cat {
  margin-bottom: 12px;
  background: rgba(208, 39, 48, 0.18);
  border: 1px solid rgba(208, 39, 48, 0.4);
  color: var(--tl-accent);
}

.ve-breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ve-breadcrumb li {
  font-size: 14px;
  color: var(--tl-muted);
}

.ve-breadcrumb li a {
  color: var(--tl-text);
  text-decoration: none;
  font-weight: 500;
}

.ve-breadcrumb li a:hover {
  color: var(--tl-accent);
}

.ve-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: rgba(0, 0, 0, 0.25);
}

.ve-breadcrumb li.active {
  color: var(--tl-muted);
}

.ve-page-hero .ve-breadcrumb li {
  color: rgba(255, 255, 255, 0.68);
}

.ve-page-hero .ve-breadcrumb li a {
  color: rgba(255, 255, 255, 0.95);
}

.ve-page-hero .ve-breadcrumb li a:hover {
  color: var(--tl-accent);
}

.ve-page-hero .ve-breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.35);
}

.ve-page-hero .ve-breadcrumb li.active {
  color: rgba(255, 255, 255, 0.78);
}

/* About */
.ve-about-img-stack {
  position: relative;
  padding: 0 32px 32px 0;
}

.ve-about-img-1 {
  width: 100%;
  border-radius: var(--tl-image-frame-radius);
  background: var(--tl-dark);
  border: var(--tl-image-frame-border);
  box-shadow: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--tl-image-frame-padding);
}

.ve-about-hero-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ve-about-img-2 {
  display: none;
}

.ve-about-ribbon {
  position: absolute;
  top: 24px;
  left: -12px;
  background: var(--tl-accent);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--tl-shadow);
}

.ve-about-ribbon strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.ve-about-ribbon span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ve-about-text {
  padding-left: clamp(0px, 3vw, 32px);
}

.ve-about-text h2 span {
  color: var(--tl-accent);
}

.ve-lead {
  font-size: 1.0625rem;
  color: var(--tl-text);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.65;
}

.ve-af-item i {
  color: var(--tl-accent);
}

/* MVV */
.ve-mvv-section {
  background: var(--tl-surface);
  padding: 80px 0;
}

.ve-mvv-section .ve-section-header h2 {
  color: var(--tl-text);
}

.ve-mvv-section .ve-section-header p {
  color: var(--tl-muted);
}

.ve-mvv-section .ve-section-tag {
  background: rgba(208, 39, 48, 0.08);
  border-color: rgba(208, 39, 48, 0.18);
  color: var(--tl-accent);
}

.ve-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ve-mvv-card {
  background: #ffffff;
  border: 1px solid var(--tl-border);
  border-radius: var(--tl-radius);
  padding: 36px 28px;
  text-align: left;
  transition: var(--tl-trans);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ve-mvv-card:hover {
  box-shadow: var(--tl-shadow-hover);
  transform: translateY(-4px);
}

.ve-mvv-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--tl-accent);
  background: rgba(208, 39, 48, 0.15);
  border: 1px solid rgba(208, 39, 48, 0.25);
}

.ve-mvv-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tl-text);
  margin-bottom: 10px;
}

.ve-mvv-card p {
  font-size: 0.9375rem;
  color: var(--tl-muted);
  line-height: 1.65;
  margin: 0;
}

/* Founder (About) */
.ve-founder-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--tl-radius);
  border: 1px solid var(--tl-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: clamp(28px, 4vw, 44px);
}

.ve-founder-linkedin {
  position: absolute;
  top: clamp(18px, 3vw, 36px);
  right: clamp(18px, 3vw, 36px);
  z-index: 2;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ve-founder-linkedin:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.ve-founder-linkedin:focus-visible {
  outline: 2px solid var(--tl-accent);
  outline-offset: 3px;
}

.ve-founder-linkedin svg {
  display: block;
  width: 32px;
  height: 32px;
}

.ve-founder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
  text-align: center;
}

.ve-founder-photo {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
}

.ve-founder-photo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--tl-image-frame-radius);
  border: var(--tl-image-frame-border);
  box-sizing: border-box;
}

.ve-founder-body {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding-right: clamp(40px, 11vw, 52px);
}

@media (min-width: 768px) {
  .ve-founder-inner {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .ve-founder-photo {
    max-width: 240px;
  }

  .ve-founder-photo-img {
    max-height: none;
    aspect-ratio: 4 / 5;
  }
}

.ve-founder-card h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  color: var(--tl-text);
  margin: 0 0 6px;
  line-height: 1.2;
}

.ve-founder-card h2 span {
  color: var(--tl-accent);
}

.ve-founder-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tl-text);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.ve-founder-bio {
  margin-bottom: 20px;
}

.ve-founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ve-founder-tags span {
  display: inline-block;
  background: var(--tl-bg);
  color: var(--tl-muted);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--tl-border);
  font-weight: 600;
}

/* Team  optional */
.ve-team-section {
  background: var(--tl-bg);
}

.ve-team-card {
  background: #ffffff;
  border-radius: var(--tl-radius);
  border: 1px solid var(--tl-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ve-team-card h5,
.ve-team-card h6 {
  color: var(--tl-text);
}

.ve-team-card p {
  color: var(--tl-muted);
}

.ve-team-social {
  display: flex;
  gap: 8px;
}

.ve-team-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: var(--tl-trans);
  background: var(--tl-bg);
  color: var(--tl-muted);
  border: 1px solid var(--tl-border);
}

.ve-team-social a:hover {
  background: var(--tl-accent);
  color: #fff;
  border-color: var(--tl-accent);
}

/* Process */
.ve-process-section {
  background: var(--tl-bg);
  padding: 80px 0;
}

.ve-process-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.ve-process-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  background: #ffffff;
  border-radius: var(--tl-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 28px 22px;
  text-align: left;
  border: 1px solid var(--tl-border);
  transition: var(--tl-trans);
}

.ve-process-step:hover {
  box-shadow: var(--tl-shadow);
  transform: translateY(-3px);
}

.ve-process-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(208, 39, 48, 0.35);
  margin-bottom: 10px;
  line-height: 1;
}

.ve-process-step h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tl-text);
  margin-bottom: 8px;
}

.ve-process-step p {
  font-size: 0.875rem;
  color: var(--tl-muted);
  line-height: 1.6;
  margin: 0;
}

.ve-process-arrow {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.15);
  align-self: center;
  padding: 0 8px;
}

/* FAQ */
.ve-faq-section {
  background: var(--tl-surface);
}

.ve-faq-lead {
  color: var(--tl-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.ve-inline-link {
  color: var(--tl-accent);
  font-weight: 600;
  text-decoration: none;
}

.ve-inline-link:hover {
  text-decoration: underline;
}

.ve-faq-item {
  border: 1px solid var(--tl-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--tl-surface);
}

.ve-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.ve-faq-q span {
  color: var(--tl-text);
  flex: 1;
  line-height: 1.45;
  font-weight: 700;
}

.ve-faq-q i {
  color: var(--tl-accent);
  flex-shrink: 0;
}

.ve-faq-item .ve-faq-a {
  display: none;
  padding: 0 18px 18px;
  color: var(--tl-muted);
  line-height: 1.65;
  font-weight: 400;
}

.ve-faq-item.open .ve-faq-a {
  display: block;
}

/* Contact  strip under page hero */
.ve-contact-cards-section {
  background: var(--tl-surface);
  padding: 48px 0 56px;
  margin-top: 0;
}

.ve-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 20px;
}

.ve-contact-info-card {
  background: #ffffff;
  border-radius: var(--tl-radius);
  padding: 32px 24px;
  text-align: left;
  border: 1px solid var(--tl-border);
  transition: var(--tl-trans);
}

.ve-contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tl-shadow-hover);
}

a.ve-contact-info-card--mailto {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

a.ve-contact-info-card--mailto:hover {
  border-color: var(--tl-accent);
}

a.ve-contact-info-card--mailto:focus-visible {
  outline: 2px solid var(--tl-accent);
  outline-offset: 3px;
}

.ve-ci-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--tl-accent);
  background: rgba(208, 39, 48, 0.15);
  border: 1px solid rgba(208, 39, 48, 0.28);
}

.ve-contact-info-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tl-text);
  margin-bottom: 8px;
}

.ve-contact-info-card p {
  font-size: 14px;
  color: var(--tl-muted);
  margin: 0;
  line-height: 1.6;
}

.ve-contact-info-card small {
  color: var(--tl-muted);
  font-size: 12px;
}

.ve-contact-section {
  padding-bottom: 96px;
}

.ve-contact-aside {
  padding-left: clamp(0px, 3vw, 28px);
}

/* Matches .ve-contact-form-wrap  one card for sidebar copy */
.ve-contact-aside-card {
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--tl-border);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ve-contact-form-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--tl-border);
}

.ve-contact-form-wrap h2 span {
  color: var(--tl-accent);
}

.ve-contact-form .ve-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ve-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.ve-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tl-text);
  margin-bottom: 8px;
}

.ve-label-opt {
  font-weight: 500;
  color: var(--tl-muted);
  font-size: 0.85em;
}

.ve-form-group input,
.ve-form-group select,
.ve-form-group textarea {
  border: 1px solid var(--tl-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--tl-text);
  background: var(--tl-surface-inset);
  outline: none;
  transition: var(--tl-trans);
}

.ve-form-group input::placeholder,
.ve-form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.ve-form-group select {
  color-scheme: light;
}

.ve-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.ve-form-group input:focus,
.ve-form-group select:focus,
.ve-form-group textarea:focus {
  border-color: var(--tl-accent);
  box-shadow: 0 0 0 3px rgba(208, 39, 48, 0.12);
}

.ve-social--light {
  display: flex;
  gap: 10px;
}

.ve-social--light a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  color: var(--tl-muted);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: var(--tl-trans);
}

.ve-social--light a:hover {
  background: rgba(208, 39, 48, 0.1);
  color: var(--tl-accent);
}

/* Contact sidebar  flat blocks (no boxed borders) */
.ve-ca-social {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.ve-ca-social h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--tl-text);
  margin: 0 0 12px;
}

.ve-ca-box {
  background: transparent;
  border: none;
  padding: 0;
}

.ve-ca-box h4 {
  color: var(--tl-text);
  font-size: 1.125rem;
  margin: 0 0 14px;
}

.ve-ca-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-ca-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tl-muted);
}

.ve-ca-list li:last-child {
  margin-bottom: 0;
}

.ve-ca-list li i {
  color: var(--tl-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.ve-ca-hours {
  background: transparent;
  border: none;
  padding: 0;
}

.ve-ca-hours h5 {
  color: var(--tl-text);
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.ve-ca-hours h5 i {
  color: var(--tl-accent);
  margin-right: 6px;
}

.ve-ca-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-ca-hours ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: none;
  font-size: 14px;
}

.ve-ca-hours ul li:last-child {
  border-bottom: none;
}

.ve-ca-hours ul li span {
  color: var(--tl-muted);
}

.ve-ca-hours ul li strong {
  color: var(--tl-text);
  font-weight: 600;
}

/* Blog sidebar & article */
.ve-rp-img--plain {
  background: var(--tl-bg);
  border: 1px solid var(--tl-border);
}

.ve-rp-img {
  width: 64px;
  height: 50px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ve-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ve-sidebar-widget {
  background: var(--tl-surface);
  border-radius: var(--tl-radius);
  padding: 24px;
  border: 1px solid var(--tl-border);
}

.ve-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tl-text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tl-accent);
  display: inline-block;
}

.ve-search-box {
  display: flex;
  border: 1px solid var(--tl-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--tl-surface-inset);
}

.ve-search-box input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: transparent;
  color: var(--tl-text);
}

.ve-search-box input::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.ve-search-box button {
  background: var(--tl-accent);
  color: #fff;
  border: none;
  padding: 0 16px;
  cursor: pointer;
}

.ve-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve-cat-list li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--tl-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--tl-border);
  font-weight: 500;
}

.ve-cat-list li:last-child a {
  border-bottom: none;
}

.ve-cat-list li a span {
  background: var(--tl-surface);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tl-text);
}

.ve-cat-list li a:hover {
  color: var(--tl-accent);
}

.ve-project-categories li a.active {
  color: var(--tl-accent);
}

.ve-recent-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tl-border);
}

.ve-recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ve-recent-post div a {
  font-size: 13px;
  font-weight: 700;
  color: var(--tl-text);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}

.ve-recent-post div a:hover {
  color: var(--tl-accent);
}

.ve-recent-post div span {
  font-size: 12px;
  color: var(--tl-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ve-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ve-tags a {
  background: var(--tl-bg);
  color: var(--tl-muted);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--tl-border);
  font-weight: 600;
}

.ve-tags a:hover {
  background: rgba(208, 39, 48, 0.08);
  color: var(--tl-accent);
}

.ve-pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.ve-pagination a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--tl-surface);
  color: var(--tl-muted);
  border: 1px solid var(--tl-border);
  transition: var(--tl-trans);
}

.ve-pagination a:hover,
.ve-pagination a.active {
  background: var(--tl-accent);
  color: #fff;
  border-color: var(--tl-accent);
}

.ve-article {
  background: var(--tl-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tl-border);
  margin-bottom: 40px;
  box-shadow: var(--tl-shadow);
}

.ve-article-body {
  padding: clamp(24px, 4vw, 40px);
}

.ve-article-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--tl-text);
}

.ve-article-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--tl-muted);
  margin-bottom: 16px;
}

.ve-article-lead {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--tl-text);
  line-height: 1.7;
  padding-left: 18px;
  border-left: 4px solid var(--tl-accent);
  margin-bottom: 28px;
}

.ve-blockquote {
  background: var(--tl-bg);
  border-left: 4px solid var(--tl-accent);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 24px 0;
}

.ve-blockquote p {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 600;
  color: var(--tl-text);
  margin: 0 0 8px;
}

.ve-blockquote cite {
  font-size: 13px;
  color: var(--tl-muted);
  font-style: normal;
  font-weight: 600;
}

.ve-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tl-border);
}

.ve-article-tags strong {
  font-size: 13px;
  color: var(--tl-text);
  font-weight: 700;
}

.ve-article-tags a,
.ve-article-tags .ve-article-tag-pill {
  background: var(--tl-bg);
  color: var(--tl-muted);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--tl-border);
  font-weight: 600;
  transition: var(--tl-trans);
}

.ve-article-tags a {
  text-decoration: none;
}

.ve-article-tags a:hover,
.ve-article-tags .ve-article-tag-pill:hover {
  background: rgba(208, 39, 48, 0.08);
  color: var(--tl-accent);
  border-color: rgba(208, 39, 48, 0.25);
}

/* Legal pages */
.ve-legal-article .ve-article-body h3 {
  margin-top: 24px;
}

.ve-legal-article .ve-article-body ul {
  margin: 0 0 16px 1.1rem;
  padding-left: 0.2rem;
}

.ve-legal-article .ve-article-body li {
  color: var(--tl-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.ve-article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.ve-article-share strong {
  font-size: 13px;
  color: var(--tl-text);
}

.ve-article-share a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tl-bg);
  color: var(--tl-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--tl-border);
  transition: var(--tl-trans);
}

.ve-article-share a:hover {
  background: var(--tl-accent);
  color: #fff;
  border-color: var(--tl-accent);
}

.ve-comments-section {
  margin-bottom: 40px;
}

.ve-comments-section h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--tl-text);
}

.ve-comment {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tl-border);
}

.ve-comment:last-child {
  border-bottom: none;
}

.ve-comment-reply {
  margin-left: 36px;
}

.ve-comment-body {
  flex: 1;
}

.ve-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.ve-comment-meta strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--tl-text);
}

.ve-comment-meta span {
  font-size: 13px;
  color: var(--tl-muted);
}

.ve-comment-body p {
  font-size: 14px;
  color: var(--tl-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.ve-reply-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--tl-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ve-reply-btn:hover {
  color: var(--tl-accent-hover);
}

.ve-comment-form-wrap {
  background: var(--tl-surface);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--tl-border);
  box-shadow: var(--tl-shadow);
}

.ve-comment-form-wrap h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--tl-text);
}

/* Elements page */
.ve-elements-section {
  background: var(--tl-bg);
}

.ve-el-block {
  margin-bottom: 64px;
}

.ve-el-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tl-text);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tl-border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ve-el-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--tl-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.ve-el-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Service detail blocks */
.ve-service-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--tl-border);
}

.ve-service-block:last-child {
  border-bottom: none;
}

.ve-service-block h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.ve-service-block .ve-lead,
.ve-service-block p:not(.ve-service-note),
.ve-service-block ul li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tl-muted);
}

.ve-service-block .ve-lead {
  font-weight: 400;
  margin-bottom: 12px;
}

.ve-service-block ul {
  margin: 16px 0 0;
  padding-left: 1.15rem;
  color: var(--tl-muted);
}

.ve-service-block ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Services page  web offering: 22 equal cards (scoped to #web only) */
#web .tl-web-detail-header .tl-web-section-lead {
  max-width: min(52ch, 100%);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

#web .tl-web-copy--split {
  counter-reset: tl-web-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 4px;
  min-height: clamp(440px, 50vh, 680px);
}

#web .tl-web-block {
  counter-increment: tl-web-step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
  min-height: 0;
  height: 100%;
  padding: 18px 20px 20px 18px;
  background: #ffffff;
  border: 1px solid var(--tl-border);
  border-radius: var(--tl-radius-sm);
  border-left: 3px solid var(--tl-accent);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transform: scale(1);
  transform-origin: center center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Do not set shorthand border-color on hover  it would override the red left accent */
#web .tl-web-block:hover {
  border-top-color: rgba(0, 0, 0, 0.12);
  border-right-color: rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  border-left-color: var(--tl-accent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
  position: relative;
  z-index: 1;
}

#web .tl-web-block::before {
  content: counter(tl-web-step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(208, 39, 48, 0.1);
  color: var(--tl-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

#web .tl-web-h4 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--tl-text);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

#web .tl-web-block p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--tl-muted);
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
  #web .tl-web-copy--split {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(200px, auto);
    min-height: unset;
  }

  #web .tl-web-block {
    height: auto;
    min-height: 220px;
  }

  #web .tl-web-block p {
    overflow-y: visible;
  }
}

@media (max-width: 575px) {
  #web .tl-web-block {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px 14px 18px 14px;
    column-gap: 12px;
  }

  #web .tl-web-block::before {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #web .tl-web-block {
    transition: none;
  }

  #web .tl-web-block:hover {
    transform: none;
  }
}

/* Utility */
/* Kept for HTML compatibility  same white canvas as the rest of the page */
.tl-bg-surface {
  background: var(--tl-bg) !important;
}

.tl-text-muted-center {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.55;
}

.tl-service-visual .tl-text-muted-center {
  color: #ffffff;
}

.tl-service-visual {
  max-width: 100%;
  background: var(--tl-dark);
}

.tl-service-visual-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: max(4px, calc(var(--tl-image-frame-radius) - 1px));
  object-fit: cover;
  object-position: center;
}

.tl-icon-center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.tl-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: var(--tl-dark);
  color: #fff;
  transition: var(--tl-trans);
}

.tl-btn-dark:hover {
  opacity: 0.92;
  color: #fff;
  transform: translateY(-2px);
}

.tl-btn-outline-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--tl-accent);
  color: var(--tl-accent);
  background: transparent;
  transition: var(--tl-trans);
}

.tl-btn-outline-accent:hover {
  background: rgba(208, 39, 48, 0.08);
  color: var(--tl-accent);
}

.ve-counter-section--rounded {
  border-radius: var(--tl-radius);
  overflow: hidden;
}

.ve-contact-form-wrap--narrow {
  max-width: 700px;
}

.ve-article-featured--plain {
  min-height: 280px;
  background: var(--tl-bg);
  border: 1px solid var(--tl-border);
}

.ve-testi-avatar--ph {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(208, 39, 48, 0.12);
  color: var(--tl-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Animations */
.wow {
  visibility: visible;
}

/* Home hero: larger brand (~3 old 440px cap) without swallowing the whole row */
@media (min-width: 992px) {
  .ve-hero {
    display: grid;
    grid-template-columns: minmax(280px, min(44vw, 560px)) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
  }

  .ve-hero-left {
    flex: unset;
    max-width: none;
  }

  .ve-hero-right {
    flex: unset;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .ve-header {
    --tl-mobile-bar-h: 64px;
    background: linear-gradient(165deg, rgba(26, 38, 48, 0.98) 0%, rgba(17, 26, 34, 0.98) 55%, rgba(20, 30, 38, 0.99) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .ve-header.scrolled {
    background: linear-gradient(165deg, rgba(22, 33, 42, 0.99) 0%, rgba(15, 22, 29, 0.99) 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.03) inset,
      0 16px 44px rgba(0, 0, 0, 0.42);
  }

  .ve-nav-wrap {
    position: relative;
    height: var(--tl-mobile-bar-h);
    padding: 0 14px;
    max-width: none;
    gap: 8px;
  }

  .ve-nav-wrap::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(208, 39, 48, 0.38) 42%,
      rgba(208, 39, 48, 0.12) 100%
    );
    opacity: 0.9;
    pointer-events: none;
  }

  .ve-logo {
    flex-shrink: 0;
  }

  .ve-logo-img {
    height: 38px;
  }

  .ve-hero {
    margin-top: var(--tl-mobile-bar-h);
    min-height: calc(100vh - var(--tl-mobile-bar-h));
  }

  .ve-page-hero {
    margin-top: var(--tl-mobile-bar-h);
  }

  .ve-nav,
  .ve-nav-cta {
    display: none;
  }

  .tl-lang-switcher--mobile {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    margin-left: auto;
    padding: 5px 10px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  }

  .tl-lang-switcher--mobile .tl-lang-btn {
    padding: 6px 7px;
    min-width: 32px;
    font-size: 11px;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .tl-lang-switcher--mobile .tl-lang-btn.active {
    background: rgba(208, 39, 48, 0.22);
    color: #fff;
  }

  .tl-lang-switcher--mobile .tl-lang-sep {
    opacity: 0.5;
  }

  .ve-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    touch-action: manipulation;
  }

  .ve-toggler:active {
    background: rgba(255, 255, 255, 0.11);
  }

  /* Mobile nav panel: compact sheet (not half the viewport) */
  .ve-mobile-menu {
    display: block;
    margin: 0 12px;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-4px);
    padding: 0;
    border-top: none;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, rgba(30, 44, 56, 0.98) 0%, rgba(22, 32, 42, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.45),
      0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.32s ease,
      visibility 0.45s,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s ease;
  }

  .ve-mobile-menu.open {
    max-height: min(42vh, 300px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 10px 10px 14px;
  }

  .ve-mobile-menu.open::before {
    content: "";
    display: block;
    height: 2px;
    margin: 0 6px 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tl-accent) 0%, rgba(208, 39, 48, 0.15) 65%, transparent 100%);
    opacity: 0.95;
  }

  .ve-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 2px;
  }

  .ve-mobile-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-bottom: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
  }

  .ve-mobile-menu ul li a::after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 13px;
    opacity: 0.4;
    transition:
      opacity 0.2s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ve-mobile-menu ul li a:hover,
  .ve-mobile-menu ul li a:focus-visible {
    color: #fff;
    background: rgba(208, 39, 48, 0.12);
    border-color: rgba(208, 39, 48, 0.28);
  }

  .ve-mobile-menu ul li a:hover::after,
  .ve-mobile-menu ul li a:focus-visible::after {
    opacity: 0.85;
    transform: translateX(3px);
  }

  .ve-mobile-menu.open ul li {
    animation: ve-mobile-nav-item 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .ve-mobile-menu.open ul li:nth-child(1) {
    animation-delay: 0.04s;
  }
  .ve-mobile-menu.open ul li:nth-child(2) {
    animation-delay: 0.09s;
  }
  .ve-mobile-menu.open ul li:nth-child(3) {
    animation-delay: 0.14s;
  }
  .ve-mobile-menu.open ul li:nth-child(4) {
    animation-delay: 0.19s;
  }
  .ve-mobile-menu.open ul li:nth-child(5) {
    animation-delay: 0.24s;
  }
  .ve-mobile-menu.open ul li:nth-child(6) {
    animation-delay: 0.29s;
  }

  .ve-hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 100px;
    gap: 28px;
  }

  .ve-hero-right {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
  }

  /*
   * Hero visual: override desktop max-width (1320px) so the bordered frame,
   * logo, and float card share one width (no stair-step or scale overflow).
   */
  .ve-hero .ve-hero-visual {
    max-width: min(100%, 420px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: clamp(8px, 2vw, 12px);
  }

  .ve-hero .ve-hero-brand {
    transform: none;
    width: 100%;
    height: auto;
    display: block;
  }

  .ve-float-card {
    position: relative;
    left: 0;
    bottom: auto;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 10px;
  }

  .ve-float-card i {
    font-size: 18px;
    flex-shrink: 0;
  }

  .ve-float-card strong {
    font-size: 13px;
  }

  .ve-float-card span {
    font-size: 11px;
    line-height: 1.35;
  }

  /* About-preview: badge smaller on mobile; avoid transform scale (layout skew) */
  .ve-whyus-img-main {
    padding: clamp(6px, 2vw, 12px);
  }

  .ve-whyus-img-main .ve-whyus-logo {
    transform: none;
  }

  .ve-whyus-badge {
    padding: 11px 14px;
    min-width: 0;
    border-radius: 10px;
    max-width: min(100%, 220px);
  }

  .ve-whyus-badge strong {
    font-size: 1.15rem;
  }

  .ve-whyus-badge span {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  html[lang="es"] .ve-whyus-badge span {
    font-size: 10px;
  }
  .ve-services-grid,
  .ve-testi-grid,
  .ve-counter-grid,
  .ve-mvv-grid,
  .ve-contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .ve-counter-item {
    border-right: none;
    border-bottom: 1px solid var(--tl-border);
  }
  .ve-counter-item:last-child {
    border-bottom: none;
  }
  .ve-whyus-content,
  .ve-about-text {
    padding-left: 0;
    margin-top: 32px;
  }
  .ve-contact-aside {
    padding-left: 0;
    margin-top: 28px;
  }
  .ve-process-section {
    padding: 56px 0;
  }

  .ve-process-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .ve-process-step {
    flex: 0 0 auto;
    width: 100%;
    max-width: min(300px, 92vw);
    min-width: 0;
    padding: 18px 16px;
    text-align: center;
  }

  .ve-process-num {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .ve-process-step h5 {
    font-size: 0.95rem;
  }

  .ve-process-step p {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  .ve-process-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
    align-self: center;
  }
  .ve-contact-info-card {
    border-right: none;
  }
  .text-lg-right {
    text-align: left;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .ve-nav-wrap {
    height: var(--tl-mobile-bar-h);
  }
  .ve-section {
    padding: 56px 0;
  }
  .ve-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .ve-contact-form .ve-form-row {
    grid-template-columns: 1fr;
  }

  .ve-process-section {
    padding: 44px 0;
  }

  .ve-process-step {
    max-width: min(272px, 94vw);
    padding: 16px 14px;
  }

  .ve-process-num {
    font-size: 1.5rem;
  }
}

/* Cookie consent banner */
.tl-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  background: rgba(27, 40, 50, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--tl-accent);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.tl-cookie-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.5;
}

.tl-cookie-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tl-cookie-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl-cookie-link:hover {
  color: #ffffff;
}

.tl-cookie-accept {
  border: 1px solid transparent;
  background: var(--tl-accent);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: var(--tl-trans);
}

.tl-cookie-accept:hover {
  background: var(--tl-accent-hover);
}

.tl-cookie-reject {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: var(--tl-trans);
}

.tl-cookie-reject:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 767px) {
  .tl-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tl-cookie-actions {
    width: 100%;
    justify-content: space-between;
  }
}
