/* American Technet — Design System (colores del logo) */
:root {
  --navy: #1b2d48;
  --navy-light: #2a4060;
  --navy-dark: #142338;
  --red: #e33e44;
  --red-soft: #ee5a5f;
  --red-dark: #c9353a;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #d8dee6;
  --gray-400: #8b95a8;
  --gray-600: #5a6478;
  --gray-800: #2d3548;
  --shadow-sm: 0 2px 8px rgba(27, 45, 72, 0.06);
  --shadow-md: 0 8px 32px rgba(27, 45, 72, 0.1);
  --shadow-lg: 0 20px 60px rgba(27, 45, 72, 0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(227, 62, 68, 0.2); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid rgba(227, 62, 68, 0.15);
}

.site-header .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img { height: 52px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0.25rem;
  list-style: none;
}

/* Cada item ocupa el alto del header: evita zonas muertas al bajar el puntero */
.nav-desktop > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-desktop a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--red);
  background: rgba(227, 62, 68, 0.08);
}

/* Mega menú de servicios */
.nav-item--mega {
  position: static;
}

.nav-item--mega > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item--mega > a .chevron {
  transition: transform var(--transition);
}

.nav-item--mega:hover > a .chevron {
  transform: rotate(180deg);
}

.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

.nav-item--mega:hover .nav-mega,
.nav-item--mega.is-open .nav-mega,
.nav-item--mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-desktop .nav-item--mega.is-closing .nav-mega {
  display: none;
}

.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.5rem;
  width: max-content;
  max-width: min(1100px, 92vw);
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.nav-mega-col {
  min-width: 0;
}

.nav-desktop .nav-mega-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
}

.nav-desktop .nav-mega-head:hover,
.nav-desktop .nav-mega-head.active {
  background: none;
  color: var(--red);
}

.nav-mega-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--red);
  background: rgba(227, 62, 68, 0.08);
  transition: background var(--transition);
}

.nav-desktop .nav-mega-head:hover .nav-mega-icon {
  background: rgba(227, 62, 68, 0.16);
}

.nav-mega-list {
  list-style: none;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.15rem;
}

.nav-desktop .nav-mega-list a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-600);
  background: none;
}

.nav-desktop .nav-mega-list a:hover,
.nav-desktop .nav-mega-list a.active {
  color: var(--red);
  background: none;
}

.nav-mobile-sub {
  display: grid;
  gap: 0;
  padding-left: 1rem;
}

.nav-mobile .nav-mobile-sub a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.6rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}

.lang-toggle button.active {
  background: var(--navy);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background var(--transition);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(227, 62, 68, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(227, 62, 68, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(27, 45, 72, 0.06);
}

.hero .btn-outline,
.cta-band .btn-outline,
.contact-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero .btn-outline:hover,
.cta-band .btn-outline:hover,
.contact-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  color: var(--red);
  background: rgba(227, 62, 68, 0.08);
}

.btn-ghost:hover { background: rgba(227, 62, 68, 0.15); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(27, 45, 72, 0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Main view container */
#app-view {
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow-x: clip;
}

.view {
  display: none;
  animation: viewIn 0.5s ease forwards;
}

.view.active { display: block; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (view-transition-name: none) {
  ::view-transition-old(root) { animation: fadeOut 0.25s ease; }
  ::view-transition-new(root) { animation: fadeIn 0.35s ease; }
}

@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(227, 62, 68, 0.18), transparent),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(42, 64, 96, 0.4), transparent),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--red-soft), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-visual {
  position: relative;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.hero-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-soft);
  margin-bottom: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--red-soft);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-photo-stack {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: clamp(260px, 38vw, 420px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero compacto para vistas internas */
.page-hero {
  min-height: 0;
  padding: 4.5rem 0 4rem;
}

.page-hero .container {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero-text {
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero .hero-lead {
  max-width: 640px;
  margin-bottom: 0;
}

/* Hub principal de servicios (4 categorías) */
.services-overview {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.services-overview-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.services-overview-card:hover {
  border-color: rgba(227, 62, 68, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.services-overview-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.services-overview-head:hover {
  color: var(--red);
}

.services-overview-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.services-overview-card > p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.services-overview-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.services-overview-list li {
  padding: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.services-overview-list a {
  display: block;
  padding: 0;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.services-overview-list a:hover {
  color: var(--red);
}

.services-overview-card .card-link {
  margin-top: 0.25rem;
}

@media (max-width: 1100px) {
  .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 45, 72, 0.1), rgba(227, 62, 68, 0.1));
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p { color: var(--gray-600); font-size: 0.95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.6rem; }

/* Solution cards */
.solution-card {
  position: relative;
  overflow: hidden;
}

.solution-card .badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
}

.solution-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  border: none;
  border-left: 4px solid var(--red);
}

.solution-card.featured h3,
.solution-card.featured .card-sub { color: var(--white); }
.solution-card.featured p { color: rgba(255,255,255,0.75); }
.solution-card.featured .badge { background: var(--red); color: var(--white); }

.card-sub {
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
  list-style: none;
}

.tag-list li {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  background: var(--gray-100);
  border-radius: 999px;
  color: var(--gray-600);
}

.solution-card.featured .tag-list li {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--red));
  color: var(--white);
}

.value-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-item p { font-size: 0.9rem; color: var(--gray-600); }

/* Process */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
}

.process-step h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.process-step p { font-size: 0.85rem; color: var(--gray-600); }

/* Industries */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.industry-pills span {
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}

.industry-pills span:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 62, 68, 0.05);
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.service-detail-content {
  min-width: 0;
  max-width: 100%;
}

.service-detail-content h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 0.75rem;
}

.service-sections {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.service-section {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-section--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
}

.service-section-media {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.service-section-photo {
  width: 100%;
  max-width: 100%;
  height: clamp(220px, 28vw, 300px);
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.service-section-body {
  min-width: 0;
  max-width: 100%;
}

.service-section-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.service-diagram {
  margin-top: 1.5rem;
}

.service-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
}

/* Dynamic service layouts */
.svc-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.svc-feature-card {
  padding: 1.25rem 1.15rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: svcRise 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

.svc-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 62, 68, 0.35);
  box-shadow: var(--shadow-sm);
}

.svc-feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #2a3a6e);
  color: var(--white);
}

.svc-feature-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.svc-feature-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.svc-process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  position: relative;
}

.svc-process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  z-index: 0;
}

.svc-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: svcRise 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

.svc-process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
  box-shadow: 0 0 0 6px rgba(227, 62, 68, 0.08);
}

.svc-process-step h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.svc-process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.svc-stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.svc-stat {
  text-align: center;
  padding: 1.35rem 1rem;
  background: linear-gradient(160deg, var(--navy) 0%, #1a2749 100%);
  border-radius: var(--radius);
  color: var(--white);
  animation: svcRise 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

.svc-stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, #fff, var(--red-soft, #ff8a8e));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

.svc-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.svc-channel {
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.3s ease;
  animation: svcRise 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

.svc-channel:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.svc-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(227, 62, 68, 0.08);
  color: var(--red);
}

.svc-channel h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.svc-channel p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.45;
}

.service-section--spotlight {
  background: linear-gradient(135deg, var(--navy) 0%, #24355f 55%, #1a2749 100%);
  border: none;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.service-section--spotlight:not(:has(.service-section-media)) {
  grid-template-columns: 1fr;
}

.service-section--spotlight .service-section-body h3,
.service-section--spotlight h3 {
  color: var(--white);
}

.service-section--spotlight .service-section-sub {
  color: var(--red-soft, #ff8a8e);
}

.service-section--spotlight .service-section-body > p,
.service-section--spotlight > .service-section-body p {
  color: rgba(255, 255, 255, 0.8);
}

.service-section--spotlight .feature-list li {
  color: rgba(255, 255, 255, 0.85);
}

.service-section--spotlight .feature-list li::before,
.service-section--spotlight .feature-list svg {
  color: var(--red-soft, #ff8a8e);
}

.service-section--spotlight .service-section-note {
  color: rgba(255, 255, 255, 0.55);
}

.service-section--cards,
.service-section--steps,
.service-section--stats,
.service-section--channels,
.service-section--flowchart {
  padding: 1.5rem 1.75rem;
}

.service-section--flowchart .service-section-body--tight {
  margin-bottom: 0;
}

.service-section--flowchart .service-section-body--tight > p {
  margin-bottom: 0;
  max-width: 70ch;
}

/* Ticket flow L-layout: N1 left of diagram, escalations under image */
.ticket-l {
  --ticket-line: var(--red);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.ticket-l-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: 0.75rem 1rem;
  align-items: stretch;
}

.ticket-l-rail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  min-height: 100%;
}

.ticket-l-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.ticket-l-diagram {
  margin: 0;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.ticket-l-legend {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.ticket-l-diagram img,
.ticket-flow-combo-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: var(--white);
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.ticket-l-diagram:hover,
.ticket-l-diagram:focus-within,
.ticket-flow-combo-diagram:hover,
.ticket-flow-combo-diagram:focus-within {
  z-index: 5;
}

.ticket-l-diagram:hover img,
.ticket-l-diagram:focus-within img,
.ticket-flow-combo-diagram:hover img,
.ticket-flow-combo-diagram:focus-within img {
  transform: scale(1.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.ticket-l-diagram figcaption,
.ticket-flow-combo-diagram figcaption {
  margin-top: 0.4rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--gray-400);
  text-align: center;
}

.ticket-l-step {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.8rem;
  min-width: 0;
}

.ticket-l-step--input {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: none;
  padding: 0;
}

.ticket-l-step--input .ticket-flow-input-label {
  flex: 1;
  max-width: none;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
}

.ticket-l-step-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(227, 62, 68, 0.22);
}

.ticket-l-step-head .ticket-lane-icon,
.ticket-l-step--input .ticket-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.ticket-l-step-head .ticket-lane-icon svg,
.ticket-l-step--input .ticket-flow-icon svg {
  width: 16px;
  height: 16px;
}

.ticket-l-step-head .ticket-lane-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.ticket-l-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ticket-l-step--t1 .ticket-l-step-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

@media (max-width: 600px) {
  .ticket-l-step--t1 .ticket-l-step-body {
    grid-template-columns: 1fr;
  }
}

.ticket-l-step .ticket-node {
  padding: 0.6rem 0.7rem;
}

.ticket-l-step .ticket-node strong {
  font-size: 0.8rem;
}

.ticket-l-step .ticket-node p,
.ticket-l-step .ticket-node li {
  font-size: 0.75rem;
  line-height: 1.35;
}

.ticket-l-step .ticket-node--resolve .ticket-lane-icon {
  width: 32px;
  height: 32px;
}

/* Connectors */
.ticket-l-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--ticket-line);
}

.ticket-l-line--v {
  height: 22px;
  flex-direction: column;
}

.ticket-l-line--v::before {
  content: '';
  width: 2px;
  flex: 1;
  background: var(--ticket-line);
  min-height: 14px;
}

.ticket-l-line--branch {
  flex: 1 1 auto;
  min-height: 56px;
  height: auto;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  align-self: center;
  width: 100%;
  justify-content: flex-start;
  padding: 0.15rem 0 0;
}

.ticket-l-line--branch::before {
  display: none;
}

.ticket-l-branch-shaft {
  display: block;
  width: 2px;
  flex: 1 1 auto;
  min-height: 28px;
  background: var(--ticket-line);
  border-radius: 2px;
}

.ticket-l-branch-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227, 62, 68, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.ticket-l-line--h {
  width: 28px;
  align-self: center;
  justify-self: center;
}

.ticket-l-line--h::before {
  content: '';
  height: 2px;
  width: 100%;
  background: var(--ticket-line);
}

.ticket-l-arrow::after,
.ticket-l-arrow--down::after,
.ticket-l-arrow--right::after {
  content: '';
  display: block;
  border-style: solid;
}

.ticket-l-line--v .ticket-l-arrow::after,
.ticket-l-arrow--down::after {
  border-width: 6px 5px 0 5px;
  border-color: var(--ticket-line) transparent transparent transparent;
}

.ticket-l-arrow--right::after {
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent var(--ticket-line);
}

.ticket-l-return {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(227, 62, 68, 0.35);
}

.ticket-l-return-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--ticket-line), transparent);
  position: relative;
}

.ticket-l-return-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  border: 5px solid transparent;
  border-bottom-color: var(--ticket-line);
}

.ticket-l-return-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .ticket-l-diagram img,
  .ticket-flow-combo-diagram img {
    transition: none;
  }
  .ticket-l-diagram:hover img,
  .ticket-l-diagram:focus-within img,
  .ticket-flow-combo-diagram:hover img,
  .ticket-flow-combo-diagram:focus-within img {
    transform: none;
    box-shadow: none;
  }
}

/* Ticket lifecycle flowchart */
.ticket-flow {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.ticket-flow-input {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  animation: svcRise 0.5s ease both;
}

.ticket-flow-icon,
.ticket-lane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(36, 72, 168, 0.1);
  color: #2448a8;
  flex-shrink: 0;
}

.ticket-flow-input-label {
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 280px;
  line-height: 1.35;
}

.ticket-flow-arrow {
  width: 36px;
  height: 2px;
  background: var(--red);
  position: relative;
  flex-shrink: 0;
}

.ticket-flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--red);
}

.ticket-flow-lanes {
  display: grid;
  gap: 0.85rem;
}

.ticket-lane {
  display: grid;
  grid-template-columns: minmax(150px, 200px) 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem 1.15rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  animation: svcRise 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

.ticket-lane-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 0.5rem;
  border-right: 2px solid rgba(227, 62, 68, 0.25);
}

.ticket-lane-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.3;
}

.ticket-lane-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.ticket-node {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  position: relative;
}

.ticket-node strong {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.ticket-node p,
.ticket-node li {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
}

.ticket-node ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.ticket-node li {
  position: relative;
  padding-left: 0.9rem;
  margin-top: 0.25rem;
}

.ticket-node li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.ticket-node--decision {
  border-left: 3px solid var(--red);
}

.ticket-node--resolve {
  background: linear-gradient(135deg, rgba(36, 72, 168, 0.06), rgba(227, 62, 68, 0.06));
  border-color: rgba(36, 72, 168, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ticket-node--resolve .ticket-lane-icon {
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, var(--navy), var(--red));
  color: var(--white);
}

.ticket-flow-legend {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0.25rem 0 0;
  line-height: 1.55;
}

@keyframes svcRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-feature-card,
  .svc-process-step,
  .svc-stat,
  .svc-channel,
  .ticket-lane,
  .ticket-flow-input {
    animation: none;
  }
}

.service-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 420px;
}

.service-table caption {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-table th,
.service-table td {
  border: 1px solid var(--gray-100);
  padding: 0.6rem 0.85rem;
  text-align: left;
  color: var(--gray-600);
}

.service-table thead th {
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
}

.service-table tbody th {
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
}

.service-section-body h3,
.service-section h3 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-section-sub {
  color: var(--red);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-section-body > p,
.service-section > p {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.service-section--partners {
  display: block;
  overflow: hidden;
}

.service-section--partners .partners-slider-wrap {
  margin-top: 1.5rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.service-section--partners .partners-slider {
  max-width: 100%;
  min-width: 0;
}

.service-section .feature-list {
  margin-top: 0.75rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--gray-600);
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e33e44'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.service-nav button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}

.service-nav button.active,
.service-nav button:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.office-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.office-block:last-child { border: none; margin: 0; padding: 0; }

.office-block h4 {
  color: var(--red-soft);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.office-block p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.contact-chat {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-chat h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-chat p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.btn-whatsapp {
  background: var(--wa-green-bright);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1eb85a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp svg { flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 62, 68, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.form-check input { margin-top: 0.2rem; }

.form-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.form-status.is-error {
  color: var(--red);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--red);
  font-weight: 600;
}

/* About page */
.about-hero {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
  padding: 4rem 0;
}

.about-hero--media { padding: 3rem 0 4rem; }

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-photo img,
.about-photo img,
.split-photo,
.service-detail-photo {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-hero-photo img { height: clamp(220px, 30vw, 320px); }
.about-photo img { height: 100%; min-height: 320px; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Media sections */
.brand-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.brand-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.split-media {
  padding: 4.5rem 0;
}

.split-media:nth-of-type(even) { background: var(--gray-100); }

.split-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-media--reverse .split-media-grid {
  direction: rtl;
}

.split-media--reverse .split-media-grid > * {
  direction: ltr;
}

.split-media-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.split-media-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.split-photo {
  height: clamp(260px, 34vw, 380px);
}

.service-detail-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.service-detail-photo {
  height: clamp(240px, 30vw, 340px);
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.service-back {
  margin: -0.5rem 0 1.5rem;
}

.service-back a {
  color: var(--red);
  font-weight: 500;
  font-size: 0.95rem;
}

.service-back a:hover {
  text-decoration: underline;
}

.cloud-hub {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}

.cloud-hub-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cloud-hub .section-header p {
  color: var(--gray-600);
  max-width: 560px;
}

.cloud-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cloud-hub-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cloud-hub-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cloud-hub-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
}

.cloud-hub-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex: 1;
}

.cloud-hub-card .card-link {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-hero {
  position: relative;
  height: clamp(280px, 40vw, 420px);
  overflow: hidden;
  background: var(--navy);
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(27, 45, 72, 0.15) 0%, rgba(27, 45, 72, 0.88) 100%);
  color: var(--white);
}

.contact-hero-overlay h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.contact-hero-overlay p {
  opacity: 0.9;
  max-width: 560px;
}

.about-hero h1,
.about-hero h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.about-purpose {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}

.about-purpose-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.35rem 0 0;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.remote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-page .content-prose,
.thanks-page {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.content-prose {
  max-width: 800px;
}

.content-prose h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.content-prose h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.content-prose p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.thanks-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
}

.about-stats {
  max-width: 900px;
  margin-inline: auto;
}

.about-stats .stat-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.about-stats .stat-value {
  color: var(--red);
}

.about-stats .stat-label {
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.35;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cert-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 62, 68, 0.1);
  color: var(--red);
  margin-bottom: 1rem;
}

.cert-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cert-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  margin-bottom: 1rem;
}

.use-case-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.use-case-block {
  margin-bottom: 0.85rem;
}

.use-case-block p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.use-case-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.use-case-result {
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
}

.use-case-result .use-case-label {
  color: var(--red);
}

.use-case-highlights {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.use-case-highlights li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.use-case-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-light);
}

/* Partners */
.partners-section {
  background: var(--white);
}

.partners-slider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partners-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.partners-track {
  display: flex;
  will-change: transform;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1.1rem 1.25rem;
  box-sizing: border-box;
}

.partner-logo img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.partners-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.partners-nav:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.partners-nav:active {
  transform: scale(0.96);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--red-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.cta-band p {
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 1fr 0.9fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-offices {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-office {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-office strong {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.footer-support {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-support svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--red-soft);
}

.footer-social-title { margin-top: 1.5rem; }

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--red-soft);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--red-soft); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .split-media-grid,
  .about-hero-grid { grid-template-columns: 1fr; }
  .split-media--reverse .split-media-grid { direction: ltr; }
  .solution-card.featured { grid-column: span 1; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-offices { grid-template-columns: repeat(3, 1fr); }
  .service-detail { grid-template-columns: minmax(0, 1fr); }
  .service-section--media { grid-template-columns: minmax(0, 1fr); }
  .service-section--spotlight { grid-template-columns: 1fr; }
  .svc-process-track::before { display: none; }
  .ticket-l-top {
    grid-template-columns: 1fr;
  }
  .ticket-l-rail {
    min-height: 0;
  }
  .ticket-l-line--branch {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .ticket-l-branch-shaft {
    min-height: 20px;
  }
  .ticket-l-bottom {
    grid-template-columns: 1fr;
  }
  .ticket-l-line--h {
    width: auto;
    height: 24px;
    flex-direction: column;
  }
  .ticket-l-line--h::before {
    width: 2px;
    height: 100%;
  }
  .ticket-l-arrow--right::after {
    border-width: 6px 5px 0 5px;
    border-color: var(--ticket-line, var(--red)) transparent transparent transparent;
  }
  .ticket-lane { grid-template-columns: 1fr; }
  .ticket-lane-head {
    border-right: none;
    border-bottom: 2px solid rgba(227, 62, 68, 0.25);
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .cloud-hub-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-offices { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .use-case-grid { grid-template-columns: 1fr; }
}

/* WhatsApp floating widget */
:root {
  --wa-green: #075e54;
  --wa-green-light: #128c7e;
  --wa-green-bright: #25d366;
  --wa-chat-bg: #e5ddd5;
  --wa-error: #e74c3c;
}

#wa-widget {
  position: fixed;
  z-index: 9999;
  inset: auto 1.25rem 1.25rem auto;
  pointer-events: none;
}

.wa-fab {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green-bright);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(7, 94, 84, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(7, 94, 84, 0.55);
}

.wa-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem 1.25rem 5.5rem;
  pointer-events: auto;
}

.wa-panel[hidden] { display: none !important; }

.wa-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 45, 72, 0.35);
}

.wa-panel-card {
  position: relative;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  animation: wa-slide-up 0.3s ease;
}

@keyframes wa-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-panel-header {
  background: var(--wa-green);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.wa-panel-profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 0.75rem;
  align-items: center;
  padding: 1rem 1rem 0.75rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.wa-profile-avatar {
  grid-row: 1 / 3;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.wa-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wa-profile-info strong {
  font-size: 0.95rem;
  color: var(--gray-800);
}

.wa-profile-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--wa-green-light);
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green-bright);
}

.wa-profile-badge {
  grid-column: 3;
  grid-row: 1;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--wa-green-light);
  border-radius: 4px;
  color: var(--wa-green);
  white-space: nowrap;
}

.wa-panel-close {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-600);
  padding: 0 0.15rem;
  transition: color 0.2s;
}

.wa-panel-close:hover { color: var(--gray-800); }

.wa-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: var(--wa-chat-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c8c0b8' fill-opacity='0.25'%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Ccircle cx='48' cy='28' r='1.5'/%3E%3Ccircle cx='28' cy='48' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.wa-form-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wa-field-error {
  font-size: 0.75rem;
  color: var(--wa-error);
  margin-bottom: 0.2rem;
  min-height: 0;
}

.wa-field-error[hidden] { display: none; }

.wa-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.wa-input:focus {
  outline: none;
  border-color: var(--wa-green-light);
}

.wa-input--error {
  border-color: var(--wa-error);
}

.wa-phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem;
}

.wa-country {
  padding-left: 0.5rem;
  padding-right: 0.25rem;
  font-size: 0.82rem;
}

.wa-form-footer {
  padding: 0.75rem 1rem 1rem;
  background: var(--white);
}

.wa-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
}

.wa-submit:hover { background: var(--wa-green-light); }

.wa-submit svg { width: 22px; height: 22px; }

body.wa-open { overflow: hidden; }

@media (max-width: 480px) {
  .wa-panel {
    padding: 0;
    align-items: stretch;
  }

  .wa-panel-card {
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    height: 100%;
  }

  #wa-widget { inset: auto 1rem 1rem auto; }

  .partners-nav {
    width: 38px;
    height: 38px;
  }

  .partner-logo {
    min-height: 88px;
    padding: 0.85rem;
  }

  .partner-logo img {
    max-height: 42px;
  }
}
