/* ==========================================================================
   COMPONENTS.CSS — Hero, CTA, Form, Trust Badges, Footer
   Classic Metals Landing Pages — Industrial B2B Style
   ========================================================================== */

/* ==========================================================================
   SITE HEADER — Sticky, Responsive
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 0;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 48px;
  width: auto;
  max-width: none;
  display: block;
}

/* Call button — hidden on mobile by default */
.site-header__call {
  display: none;
  flex-shrink: 0;
}

/* Desktop: logo left, call button right */
@media (min-width: 768px) {
  .site-header__inner {
    justify-content: space-between;
  }

  .site-header__logo img {
    height: 52px;
  }

  .site-header__call {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0F4979 !important;
    border: 2px solid #0F4979;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
  }

  .site-header__call:hover {
    background: #0F4979;
    color: #fff !important;
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .site-header__logo img {
    height: 58px;
  }
}

/* ==========================================================================
   TRUST SECTION — Stats Strip + Social Proof
   ========================================================================== */

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
}

@media (min-width: 640px) {
  .trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 900px) {
  .trust-proof {
    grid-template-columns: 1fr 1fr;
  }

  .trust-proof > div {
    text-align: left !important;
    margin: 0 !important;
  }

  .trust-proof > div .fbc-badge {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   TOP BAR (legacy)
   ========================================================================== */

.top-bar {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.top-bar__logo {
  flex: 0 0 auto;
}

.top-bar__text {
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: var(--font-size-lg);
}

.top-bar__cta {
  background-color: var(--secondary-blue);
  color: #ffffff;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all var(--transition-fast);
  flex: 0 0 auto;
}

.top-bar__cta:hover {
  background-color: var(--secondary-blue-dark);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .top-bar__content {
    justify-content: center;
    text-align: center;
  }
  
  .top-bar__logo {
    width: 100%;
    text-align: center;
  }
  
  .top-bar__text {
    width: 100%;
  }
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.logo {
  max-width: 160px;
  height: auto;
  display: block;
}

.top-bar__logo {
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .logo {
    max-width: 180px;
  }
}

@media (min-width: 1024px) {
  .logo {
    max-width: 200px;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  background-color: var(--primary-blue);
  color: #ffffff;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-size: 1.75rem;
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero__subheadline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-md);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__microcopy {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--space-md);
  font-weight: var(--font-weight-medium);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__bullets {
  list-style: none;
  margin: var(--space-md) 0;
  padding: 0;
}

.hero__bullet {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-sm);
}

.hero__bullet::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--secondary-blue);
  color: #ffffff;
  border-radius: 50%;
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

/* Hero Split Layout (Catalog + Copy) */
.hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__catalog {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__catalog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

@media (max-width: 1023px) {
  .hero__split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .hero__catalog {
    order: 2;
  }
  
  .hero__copy {
    order: 1;
  }
  
  .hero__catalog img {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero__bullet {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
  }

  .hero__catalog img {
    max-width: 200px;
  }

  /* Ajuste de botón para pantallas pequeñas */
  .hero__copy .btn {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 16px !important;
    min-width: unset !important;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
  
  .hero__headline {
    font-size: 2.75rem;
    margin-bottom: var(--space-md);
  }
  
  .hero__subheadline {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
  }
  
  .hero__bullets {
    margin: var(--space-lg) 0;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: 3.5rem;
  }
  
  .hero__subheadline {
    font-size: 1.375rem;
  }
  
  .hero__split {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  
  .hero__catalog {
    justify-content: flex-end;
    padding-right: var(--space-lg);
  }
  
  .hero__catalog img {
    max-width: 380px;
  }
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  min-width: 200px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #0a9fb5 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(12, 180, 206, 0.4);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #0a9fb5 0%, var(--secondary-blue) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(12, 180, 206, 0.6);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--gray-border);
}

.btn--secondary:hover {
  border-color: var(--primary-blue);
  background-color: var(--gray-light);
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-xl);
  min-width: 280px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.025em;
}

.btn--full {
  width: 100%;
  min-width: auto;
}

@media (min-width: 768px) {
  .btn {
    min-width: 220px;
  }
}

/* ==========================================================================
   TRUST INDICATORS
   ========================================================================== */

.trust {
  background-color: var(--color-bg-alt);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.trust__item {
  text-align: center;
  padding: var(--space-md);
}

.trust__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-sm);
  background-color: var(--secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust__icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.trust__label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.trust__value {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   PRODUCTS / CATEGORY GALLERY
   ========================================================================== */

/* Mobile: horizontal scroll snap */
.category-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  margin-top: var(--space-xl);
  padding-bottom: 0.75rem;
  /* Hide scrollbar but keep scroll functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-grid::-webkit-scrollbar {
  display: none;
}

/* Tablet: 2-column grid */
@media (min-width: 640px) {
  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 1.25rem;
  }
}

/* Desktop: 3-column grid */
@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  /* Mobile: fixed width so 1.5 cards are visible */
  flex: 0 0 78vw;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .category-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 73, 121, 0.12);
}

.category-card:active {
  transform: scale(0.98);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card__overlay {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 3px solid #26ABE3;
}

.category-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 0.25rem;
  text-transform: none;
}

.category-card__count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #737476;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-card__count::after {
  content: "→";
  color: #26ABE3;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__count::after {
  transform: translateX(5px);
}

/* Gallery Modal specific styles */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-md);
  max-height: 70vh;
  overflow-y: auto;
  padding: var(--space-xs);
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

/* Lightbox / Full Screen View */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 50, 0.98);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border: 4px solid #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox__image {
  transform: scale(1);
}

.lightbox__image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20100;
  backdrop-filter: blur(4px);
}

.lightbox__arrow:hover {
  background: var(--primary-blue);
  box-shadow: 0 0 20px rgba(12, 180, 206, 0.4);
}

.lightbox__arrow--prev {
  left: 30px;
}

.lightbox__arrow--next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox__arrow {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .lightbox__arrow--prev { left: 10px; }
  .lightbox__arrow--next { right: 10px; }
  .lightbox__close { top: 20px; right: 20px; font-size: 40px; }
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: transform 0.3s ease;
}

.lightbox__close:hover {
  transform: scale(1.2) rotate(90deg);
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Base styles for previous components */
}

/* ==========================================================================
   ADVANTAGES SECTION — B2B Split Layout
   ========================================================================== */

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

@media (min-width: 900px) {
  .advantages-section {
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
  }
}

/* Left: Bold statement */
.advantages__statement {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.advantages__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #26ABE3;
  border: 1px solid rgba(38, 171, 227, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.advantages__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.advantages__headline em {
  font-style: normal;
  color: #26ABE3;
}

.advantages__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* Right: Benefit rows */
.advantages__items {
  display: flex;
  flex-direction: column;
}

.advantages__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.advantages__item:first-child {
  padding-top: 0;
}

.advantages__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.advantages__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(38, 171, 227, 0.12);
  border: 1px solid rgba(38, 171, 227, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantages__icon svg {
  width: 26px;
  height: 26px;
  fill: #26ABE3;
}

.advantages__item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.advantages__item-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   LEAD FORM
   ========================================================================== */

.form {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  text-align: center;
  color: var(--text-dark);
}

.form__subtitle {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.form__label--required::after {
  content: " *";
  color: var(--primary-blue);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-sm);
  font-size: var(--font-size-base);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
  background-color: var(--white);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--primary-blue);
  outline: none;
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}

.form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form__checkbox {
  margin-top: 4px;
}

.form__checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--text-dark);
  line-height: 1.4;
}

.form__submit {
  width: 100%;
}

.form__note {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-md);
  line-height: 1.4;
}

/* ==========================================================================
   COVERAGE / LOCATIONS
   ========================================================================== */

.coverage {
  background-color: var(--gray-light);
}

.coverage__title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.coverage__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.coverage__city {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  transition: all var(--transition-base);
}

.coverage__city:hover {
  background-color: var(--secondary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .coverage__cities {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   TRUST / AUTHORITY SECTION
   ========================================================================== */

.trust-section {
  background-color: var(--white);
  text-align: center;
}

.trust-section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.trust-section__text {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   CMI / CERTIFICATIONS SECTION
   ========================================================================== */

.cmi-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.cmi-section__badge {
  display: inline-block;
  background-color: var(--gold-accent);
  color: var(--primary-blue-dark);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmi-section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.cmi-section__description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   GUARANTEE SECTION
   ========================================================================== */

.guarantee-section {
  background-color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guarantee-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-blue), var(--gold-accent));
}

.guarantee-section__badge {
  display: inline-block;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold-accent) 0%, #B8923E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.guarantee-section__badge::after {
  content: "★";
  font-size: 48px;
  color: var(--primary-blue-dark);
}

.guarantee-section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.guarantee-section__text {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   LOGISTICS SECTION (Updated)
   ========================================================================== */

.logistics-section {
  background-color: var(--gray-light);
}

.logistics-section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.logistics-section__subtitle {
  font-size: var(--font-size-xl);
  text-align: center;
  color: var(--primary-blue);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2xl);
}

.logistics-section__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.logistics-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.logistics-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.logistics-feature__icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logistics-feature__icon::before {
  content: "✓";
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
}

.logistics-feature__text {
  flex: 1;
  font-size: var(--font-size-lg);
  color: var(--text-dark);
  font-weight: var(--font-weight-medium);
}

@media (min-width: 768px) {
  .logistics-section__features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Legacy footer (keep for any remaining references) */
.footer {
  background-color: var(--primary-blue);
  color: rgba(255,255,255,.8);
  padding: var(--space-xl) 0;
  text-align: center;
}
.footer__content { font-size: var(--font-size-sm); }
.footer__brand { font-weight: var(--font-weight-bold); color: #fff; margin-bottom: var(--space-sm); }
.footer__legal { font-size: var(--font-size-xs); color: rgba(255,255,255,.6); margin-top: var(--space-sm); }
.footer__links { display: flex; justify-content: center; gap: var(--space-lg); margin-top: var(--space-md); }
.footer__link { color: rgba(255,255,255,.8); text-decoration: none; font-size: var(--font-size-sm); transition: color var(--transition-fast); }
.footer__link:hover { color: #fff; }

/* ============================================================
   NEW FOOTER
   ============================================================ */
.cms-footer {
  background: #04172a;
  color: rgba(255,255,255,.65);
  padding: 0;
  border-top: 1px solid rgba(38,171,227,.12);
}

.cms-footer p,
.cms-footer a,
.cms-footer h4,
.cms-footer span {
  color: inherit;
}

/* Top bar */
.cms-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}

.cms-footer-top img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 8px;
  /* Makes white logo bg invisible on dark background */
  mix-blend-mode: screen;
}

.cms-footer-tagline {
  flex: 1;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.55;
  margin: 0;
  min-width: 160px;
}

.cms-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0F4979, #26ABE3);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s;
  letter-spacing: .3px;
}

.cms-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(38,171,227,.28);
}

/* Mid columns */
.cms-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.cms-footer-col-title {
  font-size: .7rem;
  font-weight: 800;
  color: #26ABE3;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin: 0 0 .85rem;
}

.cms-footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: .55rem;
  transition: color .15s;
}

.cms-footer-link:hover { color: #fff; }
.cms-footer-link svg { flex-shrink: 0; color: #26ABE3; }

.cms-footer-coverage {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: .83rem;
  color: rgba(255,255,255,.48);
  line-height: 1.65;
  margin: 0;
}

/* Bottom */
.cms-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 1rem 0;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
}

.cms-footer-bottom p {
  color: rgba(255,255,255,.55) !important;
  margin: 0;
}

@media (max-width: 640px) {
  .cms-footer {
    padding-bottom: 6rem;
  }
  .cms-footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem 0;
  }
  .cms-footer-top img {
    height: 44px;
    margin: 0 auto;
  }
  .cms-footer-tagline {
    font-size: .82rem;
    min-width: unset;
    max-width: 100%;
    text-align: center;
  }
  .cms-footer-cta {
    width: 100%;
    justify-content: center;
    font-size: .88rem;
    padding: 13px 20px;
  }
  .cms-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .cms-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .25rem;
    padding: .85rem 0;
  }
}

/* ==========================================================================
   INTERACTIVE MULTI-STEP FORM (Typeform style)
   ========================================================================== */

.step-form {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.step-item {
  display: none;
  animation: slideIn 0.4s ease forwards;
}

.step-item.active {
  display: block;
}

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

.step-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.step-option {
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.step-option:hover {
  border-color: var(--primary-blue);
  background: rgba(12, 180, 206, 0.05);
}

.step-option.selected {
  border-color: var(--primary-blue);
  background: rgba(12, 180, 206, 0.1);
  box-shadow: 0 0 15px rgba(12, 180, 206, 0.2);
}

.step-option i, .step-option span {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

.step-footer {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-progress {
  height: 6px;
  background: var(--gray-border);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.step-progress-bar {
  height: 100%;
  background: var(--primary-blue);
  width: 33%;
  transition: width 0.4s ease;
}

/* ==========================================================================
   MODAL / POPUP (Interactive Multi-Step Typeform Style)
   ========================================================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 15px;
}

.modal__content {
  background-color: #ffffff;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal.active .modal__content {
  transform: scale(1);
}

/* Hormozi Progress Bar */
.modal__progress-container {
  height: 6px;
  background: #e2e8f0;
  width: 100%;
}

.modal__progress-bar {
  height: 100%;
  background: #0076df; /* Hormozi Blue */
  width: 25%; /* Initial */
  transition: width 0.4s ease;
}

.modal__close {
  position: absolute;
  top: -45px;
  right: -5px;
  background: none;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10;
}

@media (max-width: 767px) {
  .modal__close {
    top: 10px;
    right: 10px;
    color: #64748b;
    border-color: #e2e8f0;
    background: #f8fafc;
  }
}

.modal__body {
  padding: 50px 60px;
  flex-grow: 1;
  overflow-y: auto;
}

.modal__question {
  color: #ff6b6b; /* Hormozi Red/Coral */
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.4;
}

/* Hormozi Option Cards */
.modal__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__option {
  padding: 18px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 18px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  text-align: left;
}

.modal__option:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
}

.modal__option.selected {
  border-color: #0076df;
  background: #eff6ff;
  color: #1e40af;
}

/* Navigation Footer */
.modal__footer {
  background: #0076df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 60px;
}

.modal__nav-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal__nav-btn:hover {
  background: rgba(0,0,0,0.1);
}

.modal__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal__nav-btn--next {
  background: rgba(0,0,0,0.05);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.modal__step-indicator {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Multi-step animations */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeInStep 0.4s ease;
}

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

@media (max-width: 640px) {
  .modal__body {
    padding: 40px 30px;
  }
  .modal__question {
    font-size: 19px;
  }
}

/* Hormozi Style Input */
.hormozi-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e2e8f0;
  padding: 12px 0;
  font-size: 20px;
  color: #1e293b;
  background: transparent;
  transition: border-color 0.2s ease;
}

.hormozi-input:focus {
  outline: none;
  border-color: #0076df;
}

.hormozi-input::placeholder {
  color: #94a3b8;
  font-size: 18px;
}

/* ============================================================
   COVERAGE SECTION (new)
   ============================================================ */
.cms-coverage {
  background: linear-gradient(145deg, #04172a 0%, #0c3156 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cms-coverage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cms-coverage::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(38,171,227,.12) 0%, transparent 65%);
  pointer-events: none;
}

.cms-coverage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cms-coverage-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: #26ABE3;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .75rem;
}

.cms-coverage-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.cms-coverage-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 360px;
}

.cms-coverage-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0F4979, #26ABE3);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  letter-spacing: .3px;
}

.cms-coverage-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(38,171,227,.35);
}

.cms-coverage-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

.cms-coverage-city {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  transition: background .18s, border-color .18s;
}

.cms-coverage-city svg {
  color: #26ABE3;
  flex-shrink: 0;
}

.cms-coverage-city:hover {
  background: rgba(38,171,227,.12);
  border-color: rgba(38,171,227,.35);
}

.cms-coverage-note {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin: .85rem 0 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .cms-coverage-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cms-coverage-sub { max-width: 100%; }
  .cms-coverage { padding: 3.5rem 0; }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.cms-testimonials {
  background: #ffffff;
  padding: 5rem 0;
}

.cms-testi-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 800;
  color: #26ABE3;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .65rem;
}

.cms-testi-title {
  text-align: center;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #05192d;
  margin: 0 0 2.75rem;
  line-height: 1.2;
}

.cms-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cms-testi-card {
  background: #f8fafc;
  border: 1px solid #e8edf4;
  border-left: 4px solid #26ABE3;
  border-radius: 0 16px 16px 0;
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow .2s ease, transform .2s ease;
}

.cms-testi-card:hover {
  box-shadow: 0 12px 40px rgba(15,73,121,.1);
  transform: translateY(-3px);
}

.cms-testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-testi-stars-inline {
  display: flex;
  gap: 3px;
}

.cms-testi-open-q {
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: #26ABE3;
  opacity: .3;
  font-weight: 900;
}

.cms-testi-quote {
  font-size: .95rem;
  color: #334155;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  flex: 1;
}

.cms-testi-author {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e8edf4;
  gap: 0;
}

.cms-testi-avatar {
  display: none;
}

.cms-testi-author-info {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  flex-wrap: wrap;
}

.cms-testi-author-info::before {
  content: '—';
  color: #26ABE3;
  font-weight: 700;
  font-size: .9rem;
  margin-right: .35rem;
  flex-shrink: 0;
}

.cms-testi-author-info strong {
  font-size: .88rem;
  font-weight: 800;
  color: #05192d;
  line-height: 1.2;
}

.cms-testi-author-info span {
  font-size: .76rem;
  color: #94a3b8;
  font-weight: 500;
}

.cms-testi-author-info span::before {
  content: '·';
  margin-right: .35rem;
  color: #cbd5e1;
}

@media (max-width: 680px) {
  .cms-testi-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .cms-testi-card:hover {
    transform: none;
  }
  .cms-testimonials {
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   PREMIUM UX ENHANCEMENTS
   ========================================================================== */

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="100"] { transition-delay: .1s; }
[data-reveal][data-delay="200"] { transition-delay: .2s; }
[data-reveal][data-delay="300"] { transition-delay: .3s; }
[data-reveal][data-delay="400"] { transition-delay: .4s; }
[data-reveal][data-delay="500"] { transition-delay: .5s; }

/* ---- Section Label (reusable) ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #0F4979;
  background: #eef5fd;
  border: 1px solid rgba(15,73,121,.15);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-label--light {
  color: #26ABE3;
  background: rgba(38,171,227,.08);
  border-color: rgba(38,171,227,.25);
}

/* ---- Section divider accent line ---- */
.section-accent {
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #26ABE3, transparent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.section-accent--center {
  margin-left: auto;
  margin-right: auto;
  width: 60px;
}

/* ---- Hero CTA pulse ring ---- */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(38,171,227,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(38,171,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(38,171,227,0); }
}
.btn--hero {
  animation: ctaPulse 2.4s ease-out infinite;
}
.btn--hero:hover {
  animation: none;
}

/* ---- Category cards — premium hover ---- */
.category-card {
  position: relative;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color .25s;
  pointer-events: none;
}
.category-card:hover::after {
  border-color: #26ABE3;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,73,121,.14);
}

/* Image shimmer on hover */
.category-card img {
  position: relative;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-15deg);
  transition: left .55s ease;
  z-index: 2;
  pointer-events: none;
}
.category-card:hover::before {
  left: 125%;
}

/* ---- Benefits / Why CMS cards — hover glow ---- */
.cms-benefit-card {
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cms-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(38,171,227,.4), 0 12px 32px rgba(38,171,227,.12);
  border-color: rgba(38,171,227,.3) !important;
}

/* ---- Trust stat items — subtle scale on hover ---- */
.trust-stat-item {
  transition: transform .18s;
  cursor: default;
}
.trust-stat-item:hover {
  transform: scale(1.04);
}

/* ---- Testimonial cards — left border glow on hover ---- */
.cms-testi-card {
  border-left: 3px solid rgba(38,171,227,.25);
  transition: transform .22s, box-shadow .22s, border-left-color .22s;
}
.cms-testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(15,73,121,.1);
  border-left-color: #26ABE3;
}

/* ---- Focus ring for accessibility ---- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #26ABE3;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Smooth image loading ---- */
img {
  transition: opacity .3s;
}
img[loading="lazy"] {
  opacity: 0;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ---- Selection color ---- */
::selection {
  background: #26ABE3;
  color: #fff;
}

/* ---- Scrollbar styling (Chrome/Edge) ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #26ABE3;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0F4979;
}
