html.dark {
  color-scheme: dark;
}

:root {
  --logo-red: #CC2229;
  --logo-red-bright: #e23a42;
  --logo-red-deep: #9b181d;
  --btn-gradient: linear-gradient(45deg, #e23a42, #CC2229 50%, #9b181d);
  --btn-gradient-hover: linear-gradient(45deg, #9b181d, #CC2229 50%, #e23a42);
}

.btn-get-started,
.fill-btn,
.call-to-action .cta-btn,
.search-form button,
.portfolio .portfolio-flters li,
.card a,
.contact-form button[type=submit] {
  background: var(--btn-gradient);
  color: #fff;
}

.btn-get-started:hover,
.fill-btn:hover,
.call-to-action .cta-btn:hover,
.search-form button:hover,
.portfolio .portfolio-flters li:hover,
.portfolio .portfolio-flters li.filter-active,
.card a:hover,
.contact-form button[type=submit]:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.header .btn-book-call {
  background: transparent;
}

/* Header / footer LAVARO logo */
.header .logo {
  flex-shrink: 0;
  line-height: 0;
}

.header .logo img {
  display: block;
  width: auto;
  height: 62px;
  max-height: 62px;
  max-width: 220px;
  margin-right: 0;
  object-fit: contain;
}

.footer-logo .logo {
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 76px;
  max-width: 240px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .header .logo img {
    height: 52px;
    max-height: 52px;
    max-width: 180px;
  }
}

@media (max-width: 575px) {
  .header .logo img {
    height: 44px;
    max-height: 44px;
    max-width: 148px;
  }
}

/* Contact quick actions */
.contact-action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.contact-action-calendly {
  background: var(--logo-red, #CC2229);
}

.contact-action-whatsapp {
  background: #25D366;
}

.contact-action-email {
  background: #025add;
}

.booking-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

.booking-section .calendly-inline-widget {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header Book a Call */
.header .btn-book-call {
  margin-left: 8px;
  background: transparent;
  border: 1px solid currentColor;
}

/* CTA dual buttons */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.cta-btn-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 50px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float i {
  font-size: 1.5rem;
  line-height: 1;
}

.whatsapp-float-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #fff !important;
}

@media (max-width: 575px) {
  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header .btn-book-call {
    display: none;
  }
}

.privacy-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.privacy-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.4rem;
}

/* =========================================================
   Trusted by Clients – enterprise trust section
   ========================================================= */
.clients.clients-section {
  padding: 0;
  background: #fafafa;
}

.clients-section-inner {
  padding: 80px 0 72px;
}

.clients-section .container {
  max-width: 1400px;
}

.clients-section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.clients-section-header h2 {
  margin-bottom: 16px;
}

.clients-section-header p {
  color: #5f6b7a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.clients-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.clients-stat-item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.clients-stat-value {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary, #CC2229);
  margin-bottom: 8px;
}

.clients-stat-label {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-logo-card img {
  max-width: 168px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.18);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.12);
  border-color: #e2e8f0;
}

.client-logo-card:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.02);
}

.clients-industries {
  text-align: center;
  margin-bottom: 36px;
}

.clients-industries-title {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: #1f2937;
}

.clients-industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.clients-industry-pills li {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.clients-industry-pills li:hover {
  background: var(--color-primary, #CC2229);
  border-color: var(--color-primary, #CC2229);
  color: #fff;
  transform: translateY(-2px);
}

.clients-success-message {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .clients-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-section-inner {
    padding: 64px 0 56px;
  }
}

@media (max-width: 575px) {
  .clients-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .clients-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .client-logo-card {
    min-height: 96px;
    padding: 16px 12px;
  }

  .clients-section-header p,
  .clients-success-message {
    font-size: 1rem;
  }
}


/* =========================================================
   Our Products – enterprise product cards
   ========================================================= */
.products-section {
  padding-bottom: 40px;
}

.products-flters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.products-section .portfolio-flters li {
  margin: 4px;
  font-size: 15px;
  padding: 12px 20px;
}

.products-grid {
  align-items: stretch;
}

.products-grid > .portfolio-item {
  display: flex;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
}

.product-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f5f8;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.08);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
  background: #fff;
}

.product-card-category {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary, #CC2229);
}

.product-card-title {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.product-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card-title a:hover {
  color: var(--color-primary, #CC2229);
}

.product-card-desc {
  color: #5f6b7a;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary, #CC2229);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.product-card-link:hover {
  gap: 10px;
  color: #9e1a20;
}

.product-detail-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.product-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #3a3a3a;
}

.product-feature-list i {
  color: var(--color-primary, #CC2229);
  margin-top: 3px;
}

.btn-get-started.cta-btn-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

@media (max-width: 1199px) {
  .products-grid .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .products-grid .col-md-6,
  .products-grid .col-lg-4,
  .products-grid .col-xl-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* =========================================================
   Services – AI & enterprise IT theme
   ========================================================= */
.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.services-section-inner {
  padding: 80px 0 72px;
}

.services-section .section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.services-section .section-header p {
  color: #5f6b7a;
}

.services-grid > [class*="col-"] {
  display: flex;
}

.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  border-color: #e2e8f0;
}

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(204, 34, 41, 0.08);
  color: var(--color-primary, #CC2229);
  font-size: 1.5rem;
}

.service-card:hover .service-card-icon {
  background: var(--color-primary, #CC2229);
  color: #fff;
}

.service-card-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-card-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 12px;
}

.service-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card-title a:hover {
  color: var(--color-primary, #CC2229);
}

.service-card-desc {
  color: #5f6b7a;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary, #CC2229);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-card-link:hover {
  gap: 10px;
  color: #9e1a20;
}

.services-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.services-cta .btn-get-started {
  margin: 0;
}

.single-page .services-section-inner {
  padding-top: 40px;
}

@media (max-width: 767px) {
  .services-section-inner {
    padding: 56px 0 48px;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }
}

/* =========================================================
   Featured – Why Choose LAVARO
   ========================================================= */
.featured-section {
  background: #fff;
  padding: 80px 0 72px;
}

.featured-section .section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.featured-section .section-header p {
  color: #5f6b7a;
}

.featured-intro {
  margin-bottom: 48px;
}

.featured-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.1);
}

.featured-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.featured-intro-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.featured-intro-text {
  color: #5f6b7a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.featured-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-weight: 500;
}

.featured-highlight i {
  color: var(--color-primary, #CC2229);
  margin-top: 2px;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.featured-actions .btn-get-started {
  margin: 0;
}

.featured-points > [class*="col-"] {
  display: flex;
}

.featured-card {
  width: 100%;
  height: 100%;
  padding: 26px 22px;
  background: #fafafa;
  border: 1px solid #eceff3;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.1);
}

.featured-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(204, 34, 41, 0.08);
  color: var(--color-primary, #CC2229);
  font-size: 1.35rem;
}

.featured-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.featured-card p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.6;
  font-size: 0.96rem;
}

.featured-process {
  margin-top: 56px;
  padding: 36px 28px;
  background: #fafafa;
  border: 1px solid #eceff3;
  border-radius: 16px;
}

.featured-process-title {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.35rem;
}

.featured-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.featured-step {
  text-align: center;
  padding: 8px 10px;
}

.featured-step-number {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary, #CC2229);
}

.featured-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.featured-step p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .featured-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-section {
    padding: 64px 0 56px;
  }
}

@media (max-width: 575px) {
  .featured-steps {
    grid-template-columns: 1fr;
  }

  .featured-process {
    padding: 28px 18px;
  }
}



/* Audit polish: a11y, hero H1, honeypot, focus */
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--hero-text-color, #fff);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.hp-field,
.hp-wrap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn-get-started:focus-visible,
.cta-btn:focus-visible {
  outline: 3px solid var(--color-primary, #CC2229);
  outline-offset: 2px;
}

.breadcrumbs .page-header h1 {
  color: inherit;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

/* SEO service & blog pages */
.service-detail-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 34, 41, 0.1);
  color: var(--color-primary, #CC2229);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-benefit-list {
  padding-left: 1.25rem;
  margin: 1rem 0 1.75rem;
}

.service-benefit-list li {
  margin-bottom: 0.5rem;
}

.service-sidebar {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.related-service-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-service-links li {
  margin-bottom: 0.55rem;
}

.related-service-links a {
  text-decoration: none;
  font-weight: 600;
}

.service-directory-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-directory-link:hover {
  border-color: var(--color-primary, #CC2229);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  color: inherit;
}

.service-directory-link i {
  color: var(--color-primary, #CC2229);
  font-size: 1.25rem;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-cat-chip {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-cat-chip.active,
.blog-cat-chip:hover {
  background: var(--color-primary, #CC2229);
  border-color: var(--color-primary, #CC2229);
  color: #fff;
}

.blog-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.blog-card-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.blog-article-body h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.blog-author-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #f7f8fa;
  border-radius: 10px;
}

.all-services-directory {
  padding-top: 20px;
}

@media (max-width: 991px) {
  .service-sidebar {
    position: static;
  }
}
