/* ==========================================================================
   ITC PERÚ SAC - UI Components & Modules (WordPress Theme)
   ========================================================================== */

/* Header - Permanent Deep Navy Authority */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: rgba(11, 37, 69, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

.site-header.is-scrolled {
  background-color: rgba(10, 27, 47, 0.98) !important;
  box-shadow: 0 8px 28px rgba(10, 27, 47, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  color: #FFFFFF !important;
  text-decoration: none;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #005A9C, #0284C7);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-weight: var(--fw-extrabold);
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 90, 156, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.35rem;
  line-height: 1;
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93C5FD !important;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF !important;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #93C5FD !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #38BDF8;
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: #FFFFFF !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.nav-phone:hover {
  background: var(--color-blue-action);
  border-color: var(--color-blue-action);
  color: #FFFFFF !important;
}

.site-header .lang-switcher {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header .lang-btn {
  color: #FFFFFF;
}

.site-header .lang-btn:hover {
  color: #93C5FD;
  background: rgba(255, 255, 255, 0.12);
}

.site-header .lang-btn.active {
  color: #FFFFFF;
  background: var(--color-blue-action);
  box-shadow: 0 1px 6px rgba(0, 90, 156, 0.4);
}

.site-header .lang-divider {
  color: rgba(255, 255, 255, 0.35);
}

.site-header .menu-toggle {
  color: #FFFFFF;
}

/* ── Language Switcher ─────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full, 999px);
  padding: 0.2rem 0.45rem;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  user-select: none;
  margin: 0 0.15rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full, 999px);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--color-white, #fff);
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn.active {
  color: var(--color-navy-dark, #071A2B);
  background: var(--color-cyan-accent, #00B4D8);
  box-shadow: 0 1px 6px rgba(0, 180, 216, 0.4);
}

.lang-flag {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* Mobile drawer language switcher */
.lang-switcher-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0 1rem 0;
}

.lang-switcher-mobile .lang-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-radius: var(--radius-sm, 4px);
  gap: 0.6rem;
}

.lang-switcher-mobile .lang-btn.active {
  color: var(--color-navy-dark, #071A2B);
  background: var(--color-cyan-accent, #00B4D8);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--color-navy-dark);
  z-index: 1050;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy-dark);
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.88) 0%, rgba(10, 27, 47, 0.78) 50%, rgba(11, 37, 69, 0.92) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text .eyebrow-dark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.hero-text .eyebrow-dark .eyebrow-dot {
  background-color: var(--color-blue-action);
}

.hero-headline {
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95);
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #FFFFFF;
  font-weight: 500;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #F1F5F9;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.hero-card-main {
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 24px 50px rgba(11, 37, 69, 0.28);
}

.hero-card-main .hero-card-header-title {
  color: var(--color-text-title) !important;
}

.hero-card-main .hero-card-header-hub {
  color: var(--color-blue-action) !important;
}

.hero-graphic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.graphic-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-normal);
}

.graphic-item:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  border-color: var(--color-blue-action);
  box-shadow: var(--shadow-md);
}

.graphic-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-blue-light);
  color: var(--color-blue-action);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.graphic-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-title);
  margin-bottom: 0.2rem;
}

.graphic-desc { font-size: 0.825rem; color: var(--color-text-body); }

.hero-floating-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-floating-badge .floating-badge-title {
  color: var(--color-text-title) !important;
}

.hero-floating-badge .floating-badge-desc {
  color: var(--color-text-body) !important;
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-emerald-success);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Trust Bar - Deep Navy Dynamic Transition */
.trust-bar {
  background-color: var(--color-navy-midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card:last-child { border-right: none; }

.metric-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.85rem;
  color: #CBD5E1;
  font-weight: var(--fw-medium);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.14);
  border: 1px solid var(--color-border-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.about-img-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(11, 37, 69, 0.18);
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-box:hover img {
  transform: scale(1.035);
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

/* Page Hero Banner for Inner Pages (Nosotros, Servicios, Cotización, etc.) */
.page-hero-banner {
  background: linear-gradient(135deg, #0B2545 0%, #08213E 100%);
  padding: calc(var(--header-height) + 3.25rem) 0 3.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.page-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 90, 156, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-banner .container {
  position: relative;
  z-index: 2;
}

.page-hero-banner .page-title,
.page-hero-banner h1,
.page-hero-banner h1.text-white,
.page-hero-banner .text-white {
  color: #FFFFFF !important;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero-banner p,
.page-hero-banner .breadcrumb,
.page-hero-banner .section-subtitle,
.page-hero-banner p.text-white-muted,
.page-hero-banner .text-white-muted {
  color: #E2E8F0 !important;
  font-size: 1.15rem;
}

.page-hero-banner .eyebrow {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #93C5FD !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.page-main-content {
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  min-height: 50vh;
}

.about-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--color-blue-action);
  flex-shrink: 0;
}

.about-feature-title {
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  color: var(--color-text-title);
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--color-text-body);
}

/* Services */
.services-grid-asym {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-blue-action);
}

.service-card-featured {
  background: #FFFFFF;
  border: 2px solid var(--color-blue-action);
  box-shadow: 0 10px 30px rgba(0, 90, 156, 0.12);
}

.service-card-featured * { color: inherit; }
.service-card-featured p { color: var(--color-text-body); }

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-blue-action);
}

.service-card-featured .service-num { color: var(--color-blue-action); }

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-blue-light);
  color: var(--color-blue-action);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-featured .service-icon-box {
  background: var(--color-blue-light);
  color: var(--color-blue-action);
}

.service-body h3 { margin-bottom: 0.75rem; }
.service-body p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }

.service-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-subtle);
}

.service-card-featured .service-footer { border-color: var(--color-border-light); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  color: var(--color-blue-action);
}

.service-card-featured .service-link { color: var(--color-blue-action); }

/* Differentials */
.differential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #38BDF8;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.diff-card h4 { color: #FFFFFF; margin-bottom: 0.75rem; font-weight: 700; font-size: 1.1rem; }
.diff-card p { color: #CBD5E1; font-size: 0.9rem; line-height: 1.6; }

/* Timeline */
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-blue-action);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.step-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 3px solid var(--color-blue-action);
  color: var(--color-navy-dark);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--fw-extrabold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 6px 20px rgba(0, 90, 156, 0.15);
}

/* Map */
.map-container {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.map-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.map-route-line {
  stroke-dasharray: 6, 6;
  animation: dashAnimation 20s linear infinite;
}

@keyframes dashAnimation { to { stroke-dashoffset: -100; } }

.map-stats-overlay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
}

.map-stat-box { text-align: center; }
.map-stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-blue-action);
}
.map-stat-lbl { font-size: 0.85rem; color: var(--color-text-body); }

/* Stepper & Quote Card */
.quote-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
}

.quote-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.quote-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-border-light);
  z-index: 1;
}

.stepper-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-border-light);
  color: var(--color-text-muted);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-item.active .stepper-circle {
  background-color: var(--color-blue-action);
  border-color: var(--color-blue-action);
  color: var(--color-white);
}

.stepper-label {
  font-size: 0.825rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

.stepper-item.active .stepper-label { color: var(--color-blue-action); }

.quote-step-panel { display: none; }
.quote-step-panel.is-active { display: block; animation: fadeIn 0.4s ease; }

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.service-option-card {
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-option-card.is-selected {
  border-color: var(--color-blue-action);
  background-color: var(--color-blue-light);
}

.service-option-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-blue-action);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.service-option-title { font-weight: var(--fw-bold); font-size: 0.95rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 0.875rem; font-weight: var(--fw-semibold); color: var(--color-text-title); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  font-size: 0.95rem;
}

.form-textarea { resize: vertical; min-height: 110px; }
.honeypot-field { display: none !important; }

.quote-nav-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
}

.quote-summary-box {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.quote-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border-light);
  font-size: 0.9rem;
}

.quote-summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--color-text-body); }
.summary-value { color: var(--color-text-title); font-weight: var(--fw-bold); }

/* Floating WhatsApp */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  pointer-events: none; /* Never blocks clicks on page elements underneath */
}

.whatsapp-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--color-white);
  color: var(--color-text-title);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.825rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  border: 1px solid var(--color-border-light);
}

.whatsapp-popover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: var(--color-white);
  transform: rotate(45deg);
  border-bottom: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
}

.whatsapp-floating:hover .whatsapp-popover {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  pointer-events: auto; /* Only the circle receives clicks and hovers */
  transition: transform var(--transition-normal);
}

.whatsapp-btn-circle:hover { transform: scale(1.08); }

/* Footer */
.site-footer {
  background-color: var(--color-navy-dark);
  color: var(--color-text-white-muted);
  padding-top: 5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 { color: var(--color-white); margin-bottom: 1.5rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin: 1.25rem 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--color-text-white-muted); font-size: 0.9rem; transition: color var(--transition-fast), padding-left var(--transition-fast); }
.footer-link:hover { color: #93C5FD; padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.875rem; }
.footer-contact-icon { color: #93C5FD; flex-shrink: 0; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 6rem; /* Clearance to ensure floating WhatsApp button never overlaps legal links */
  position: relative;
  z-index: 20;
}
.footer-legal-links .footer-link {
  position: relative;
  z-index: 21;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Cookie & Privacy Consent Banner - Formal Corporate Design
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  z-index: 1060;
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.2);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.cookie-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-blue-light);
  color: var(--color-blue-action);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-title);
  margin: 0;
}

.cookie-desc {
  font-size: 0.835rem;
  color: var(--color-text-body);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.cookie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
  font-size: 0.785rem;
}

.cookie-link {
  color: var(--color-blue-action);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: var(--fw-semibold);
  transition: color var(--transition-fast);
}

.cookie-link:hover {
  color: var(--color-blue-action-hover);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.825rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-banner .btn-outline-white {
  background: var(--color-bg-alt);
  color: var(--color-text-title);
  border: 1px solid var(--color-border-light);
}

.cookie-banner .btn-outline-white:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border-dark);
  color: var(--color-text-title);
}
