/* ==========================================================================
   Reset & Base
   ========================================================================== */
:root {
  --bg-light: #f8fafc;
  --teal: #14b8a6;
  --teal-light: #0d9488;
  --partner-red: #b4003c;
  --text-dark: #0a2540;
  --text-muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-light);
}

/* Elementos reutilizáveis */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-light);
  /* font-size: 0.85rem; */
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 12px 0 0;
  line-height: 1.6;
}

.btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(10, 37, 64, 0.2);
}

.btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

/* ==========================================================================
   Header / Navegação
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand img {
  height: 36px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav a {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--teal-light);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--teal-light);
  background: rgba(10, 37, 64, 0.05);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.08);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botão hamburguer (mobile) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle.active span {
  background: transparent;
}

.nav-toggle.active span::before {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4f3 100%);
}

.hero-lines {
  position: absolute;
  top: 0;
  right: -5%;
  width: 60%;
  height: 100%;
  color: var(--teal-light);
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  max-width: 45%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Features / Diferenciais
   ========================================================================== */
.features {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.08);
  border-color: rgba(20, 184, 166, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-light);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Parceria TecnoFerrari
   ========================================================================== */
.partner-section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-areas:
    "brand brand"
    "text stats";
  gap: 40px 48px;
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  /* Borda superior em degradê: liga a identidade da VB TECH (teal) à
     cor de destaque da TecnoFerrari (vermelho), em vez de usar só o
     vermelho do parceiro isolado. */
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--teal-light) 0%, var(--partner-red) 55%, var(--partner-red) 100%) 1;
  border-radius: 20px;
  padding: 48px;
}

.partner-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
}

.partner-brand .section-tag {
  margin-bottom: 0;
}

/* A tag "Parceria estratégica" continua no teal padrão (herdado de
   .section-tag), reforçando que é a VB TECH apresentando o parceiro. */
.partner-tag {
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
   width: 100%;
}

.partner-logo {
  width: 220px;
  height: auto;
  display: block;
}

/* Texto da parceria */
.partner-text {
  grid-area: text;
  min-width: 0;
}

.partner-title {
  margin: 0 0 18px;
}

.partner-title strong {
  color: var(--partner-red);
}

.partner-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.partner-desc strong {
  color: var(--text-dark);
  font-weight: 600;
}

.partner-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.partner-link:hover {
  color: var(--partner-red);
  border-color: var(--partner-red);
}

/* Indicadores */
.partner-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  /* Fundo levemente mais suave (0.05 em vez de 0.06) para o vermelho
     não competir tanto com o teal do restante da página. */
  background: rgba(180, 0, 60, 0.05);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}

.stat-box-wide {
  grid-column: span 2;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--partner-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* AGV showcase */
.agv-showcase {
  max-width: 1200px;
  margin: 48px auto 0;
}

.agv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 28px;
}

.agv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.agv-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.agv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.08);
  border-color: rgba(180, 0, 60, 0.25);
}

.agv-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.agv-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Página Contato
   ========================================================================== */
.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--teal-light);
}

.contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
}

.contact-map iframe {
  display: block;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 20px;
  padding: 40px;
}

.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.contact-form-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(10, 37, 64, 0.15);
  background: var(--bg-light);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  grid-column: span 2;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* ==========================================================================
   Página Sobre
   ========================================================================== */
.about-hero {
  padding: 70px 24px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.about-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.about-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-badge {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  padding: 16px 24px;
  min-width: 150px;
}

.about-badge-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 4px;
}

.about-badge-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-intro {
  padding: 40px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-strip {
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 0 24px;
  text-align: center;
}

.mission-strip p {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
  border-left: 3px solid var(--teal-light);
  padding-left: 20px;
  text-align: left;
  display: inline-block;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-intro-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.about-intro-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.about-intro-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-left: 3px solid var(--teal-light);
  border-radius: 12px;
  padding: 22px 24px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-partner-teaser {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 48px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-top: 3px solid var(--partner-red);
  border-radius: 20px;
}

.about-partner-teaser p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 16px 0 24px;
}

.about-partner-teaser strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: block;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.09);
  border-color: rgba(20, 184, 166, 0.25);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-light);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--teal-light);
}

/* ==========================================================================
   Página Serviços
   ========================================================================== */
.services-detail-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}

.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon svg {
  width: 28px;
  height: 28px;
}

.service-detail-body .service-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-light);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
}

.service-detail-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.service-detail-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.service-detail-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.service-detail-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.service-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-light);
  font-weight: 700;
}

.service-detail-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(180, 0, 60, 0.05);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0;
}

.service-detail-note a {
  color: var(--partner-red);
  font-weight: 600;
  text-decoration: none;
}

.service-detail-note a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.final-cta {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 24px;
  color: #ffffff;
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}

.final-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0 0 28px;
}

.final-cta .btn-teal {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: none;
}

.final-cta .btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 42px 24px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--teal-light);
  color: #ffffff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.footer-col a,
.footer-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsapp-pulse 2.5s ease-out 3;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablets grandes / menu mobile */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(248, 250, 252, 0.97);
    backdrop-filter: blur(16px);
    padding: 16px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .header-actions.mobile-open .btn {
    display: inline-block;
  }

  .hero {
    min-height: 80vh;
    padding: 40px 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "text"
      "stats";
    padding: 36px 28px;
    gap: 32px;
  }

  .partner-logo {
    width: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .services {
    padding: 60px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-logo-watermark {
    width: 90%;
    right: -20%;
    opacity: 0.04;
  }
}

@media (max-width: 600px) {
  .partner-brand {
    gap: 12px;
  }

  .partner-logo {
    width: 150px;
  }

  .partner-brand .section-tag {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .features {
    padding: 60px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .partner-section {
    padding: 60px 20px;
  }

  .agv-grid {
    grid-template-columns: 1fr;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }

  .about-badges {
    flex-direction: column;
    align-items: center;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group-full,
  .form-submit {
    grid-column: span 1;
  }

  .contact-form-card {
    padding: 28px 24px;
  }

  .agv-title {
    font-size: 1.05rem;
  }

  .final-cta {
    margin: 40px 20px 60px;
    padding: 40px 24px;
  }

  .site-footer {
    padding: 48px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}