/* ============================================
   FL CONTAINER CHASSIS â€” V2 Design System
   Vibrant, bold, modern theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-navy: #1a1f3d;
  --color-navy-light: #232952;
  --color-navy-mid: #2d3566;
  --color-accent: #ff6b35;
  --color-accent-hover: #ff8555;
  --color-accent-dark: #e55a28;
  --color-blue: #2563eb;
  --color-blue-light: #3b82f6;
  --color-blue-dark: #1d4ed8;
  --color-white: #ffffff;
  --color-gray-100: #f0f4ff;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #b8c4d6;
  --color-gray-400: #7b8ba5;
  --color-gray-500: #475569;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-purple: #8b5cf6;
  --color-teal: #14b8a6;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --container: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .75rem;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-gray-500);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3352 50%, var(--color-navy-mid) 100%);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-white); }

.section--dark .section-subtitle { color: var(--color-gray-300); }

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

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a50 100%);
  color: var(--color-white);
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,.4);
}

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

.btn-white {
  background: var(--color-white);
  color: var(--color-navy);
}
.btn-white:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header--transparent { background: transparent; }
.header--solid {
  background: rgba(10,22,40,.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .82rem;
  flex: 0 0 auto;
}

.header__right > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: .08rem !important;
}

.header__right > div a {
  line-height: 1.2 !important;
}

.header__left a,
.header__right a {
  color: var(--color-gray-300);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.header__left a:hover,
.header__right a:hover {
  color: var(--color-accent);
}

.header__logo img {
  height: 45px;
  transition: var(--transition);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  flex: 1 1 auto;
  min-width: 0;
}

.header__nav a {
  color: var(--color-white);
  font-size: .8rem;
  font-weight: 500;
  position: relative;
  padding: .25rem 0;
  white-space: nowrap;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after { width: 100%; }

.header__nav a:hover { color: var(--color-accent); }

.header__cta {
  margin-left: .5rem;
  padding: .6rem 1.25rem;
  font-size: .82rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a50 100%) !important;
}

.header__cta .cta-text {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}

.header__hamburger span {
  width: 24px; height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

@media (max-width: 1360px) {
  .header__inner {
    gap: 1rem;
    padding: .75rem 1.1rem;
  }

  .header__nav {
    gap: 1.2rem;
  }

  .header__nav a {
    font-size: .8rem;
  }

  .header__right {
    gap: .55rem;
    font-size: .76rem;
  }

  .header__right > div {
    gap: .08rem !important;
  }

  .header__logo img {
    height: 40px;
  }

  .header__cta {
    padding: .5rem .82rem;
    font-size: .74rem;
  }
}

@media (max-width: 1220px) {
  .header__nav {
    gap: .85rem;
  }

  .header__nav a {
    font-size: .74rem;
  }

  .header__right {
    font-size: .72rem;
    gap: .4rem;
  }

  .header__right > a[href^="mailto:"] {
    display: none;
  }

  .header__logo img {
    height: 36px;
  }

  .header__cta {
    padding: .46rem .8rem;
    font-size: .7rem;
  }
}

@media (max-width: 1500px) {
  .header__nav {
    gap: .82rem;
  }

  .header__nav a {
    font-size: .77rem;
  }

  .header__right {
    font-size: .74rem;
    gap: .45rem;
  }

  .header__right > a[href^="mailto:"] {
    display: none;
  }

  .header__cta {
    padding: .5rem .78rem;
    font-size: .72rem;
  }
}

/* --- Top bar --- */
.topbar {
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  color: var(--color-gray-300);
  padding: .5rem 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar a {
  color: var(--color-gray-300);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.topbar a:hover { color: var(--color-accent); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a4d6e 70%, #1e5a4e 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .15;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.88) 0%, rgba(30,58,95,.75) 50%, rgba(30,90,78,.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 6rem 0 4rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(255,107,53,.15);
  border: 1px solid rgba(255,107,53,.35);
  padding: .65rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
  animation: pulse-badge 2s ease-in-out infinite;
  width: 100%;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero__text {
  font-size: 1.15rem;
  color: var(--color-gray-300);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stats > div {
  flex: 1 1 0;
  min-width: 120px;
}


.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-block;
  min-width: 6ch;
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-size: .82rem;
  color: var(--color-gray-400);
  margin-top: .25rem;
}

/* Hero logo showcase (right side) */
.hero__decoration {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(125%, -50%);
  width: 500px;
  height: 500px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(255,107,53,.25));
  animation: float-logo 4s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--color-gray-200);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(255,107,53,.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card__icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: .75rem;
}

.card__text {
  color: var(--color-gray-500);
  font-size: .95rem;
  line-height: 1.7;
}

/* Dark card */
.card--dark {
  background: var(--color-navy-light);
  border-color: rgba(255,255,255,.06);
  color: var(--color-gray-300);
}

.card--dark:hover {
  border-color: rgba(212,168,83,.3);
  background: var(--color-navy-mid);
}

.card--dark .card__title { color: var(--color-white); }
.card--dark .card__text { color: var(--color-gray-400); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

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

.product-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__badges {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex;
  gap: .5rem;
}

.badge {
  padding: .3rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge--new {
  background: var(--color-accent);
  color: var(--color-navy);
}

.badge--popular {
  background: var(--color-danger);
  color: var(--color-white);
}

.badge--sale {
  background: var(--color-success);
  color: var(--color-white);
}

.product-card__body {
  padding: 1.5rem;
  color: var(--color-navy);
}

.product-card__type {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-dark);
  margin-bottom: .5rem;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: .75rem;
  color: var(--color-navy);
}

.product-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: .25rem;
}

.product-card__price-note {
  font-size: .82rem;
  color: var(--color-gray-400);
  margin-bottom: 1.25rem;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.product-card__feature {
  font-size: .78rem;
  padding: .3rem .65rem;
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
  color: var(--color-gray-500);
}

.product-card__actions {
  display: flex;
  gap: .75rem;
}

.product-card__actions .btn {
  flex: 1;
  justify-content: center;
  padding: .7rem 1rem;
  font-size: .85rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-carousel::before,
.testimonial-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-gray-100), transparent);
}

.testimonial-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-gray-100), transparent);
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-testimonials 60s linear infinite;
  width: max-content;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-gray-200);
  position: relative;
  min-width: 360px;
  max-width: 360px;
  flex-shrink: 0;
}

.testimonial-card__stars {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-navy);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: .95rem;
}

.testimonial-card__role {
  font-size: .82rem;
  color: var(--color-gray-400);
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 30%, #f97316 60%, #ea580c 100%);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo h2 { color: var(--color-white); margin-bottom: .75rem; }
.promo p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.5rem; }

.promo__code {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-accent);
  padding: .6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 .5rem;
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--color-accent); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: .95rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--color-gray-500);
  line-height: 1.7;
  font-size: .95rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 300px;
}

/* ============================================
   PRODUCT CAROUSEL
   ============================================ */
.product-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: .75rem;
}

.product-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 1rem 0;
}
.product-carousel__track::-webkit-scrollbar { display: none; }

.product-carousel__track .product-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  max-width: calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.product-carousel__track .product-card__body {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.product-carousel__track .product-card__name {
  min-height: 2.8em;
}

.product-carousel__track .product-card__actions {
  margin-top: auto;
}

.carousel-arrow {
  position: static;
  transform: none;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
  transition: background .2s, transform .2s;
}
.carousel-arrow:not(:disabled):hover {
  background: #e55a2b;
  transform: scale(1.08);
}
.carousel-arrow:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}
.carousel-arrow.is-disabled {
  opacity: .45;
}
.carousel-arrow--left { justify-self: center; }
.carousel-arrow--right { justify-self: center; }

@media (max-width: 900px) {
  .product-carousel {
    grid-template-columns: 40px 1fr 40px;
    gap: .5rem;
  }
  .product-carousel__track .product-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 600px) {
  .product-carousel {
    grid-template-columns: 34px 1fr 34px;
    gap: .35rem;
  }
  .product-carousel__track {
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .product-carousel__track .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .product-carousel__track .product-card__img { height: 200px; }
  .product-carousel__track .product-card__body { padding: .85rem; }
  .product-carousel__track .product-card__type { font-size: .72rem; margin-bottom: .25rem; }
  .product-carousel__track .product-card__name { font-size: .9rem; margin-bottom: .4rem; }
  .product-carousel__track .product-card__price { font-size: 1.1rem; margin-bottom: .15rem; }
  .product-carousel__track .product-card__price-note { font-size: .72rem; margin-bottom: .5rem; }
  .product-carousel__track .product-card__actions .btn { padding: .5rem .75rem; font-size: .78rem; }
  .carousel-arrow { width: 34px; height: 34px; font-size: .95rem; }
  .carousel-arrow--left { left: 4px; }
  .carousel-arrow--right { right: 4px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy);
  color: var(--color-gray-300);
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand {
  text-align: center;
}

.footer__brand img {
  display: block;
  margin: 0 auto;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--color-gray-400);
}

.footer__social {
  justify-content: center;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer__links a {
  display: block;
  padding: .35rem 0;
  font-size: .9rem;
  color: var(--color-gray-400);
}
.footer__links a:hover { color: var(--color-accent); padding-left: .5rem; }

.footer__contact p {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  margin-bottom: .75rem;
  color: var(--color-gray-400);
}

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  transition: transform .2s, filter .2s;
}
.footer__social a[aria-label="Facebook"] { background: #1877F2; }
.footer__social a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer__social a[aria-label="WhatsApp"] { background: #25D366; }
.footer__social a:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--color-gray-500);
}

/* ============================================
   WHATSAPP WIDGET
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-float__btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: var(--transition);
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

.whatsapp-float__btn svg {
  width: 30px; height: 30px;
  fill: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-navy);
  color: var(--color-white);
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: .4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: var(--transition);
  background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212,168,83,.15);
}

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

/* ============================================
   PAGE HERO (Interior pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a4d6e 70%, #1e5a4e 100%);
  padding: 7rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.page-hero p { color: var(--color-gray-300); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.page-hero__decoration {
  position: absolute;
  width: 300px; height: 300px;
  border: 2px solid rgba(212,168,83,.08);
  border-radius: 50%;
  top: -100px; right: -100px;
}

/* ============================================
   GALLERY / PORTFOLIO
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay span {
  color: var(--color-white);
  font-weight: 600;
  font-size: .9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }

  /* Header mobile layout â€” two rows */
  .header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: .5rem 1rem .35rem;
    gap: .3rem .75rem;
  }
  .header__hamburger { display: flex; order: 1; }
  .header__logo { order: 2; }
  .header__left { order: 3; }
  .header__left a { font-size: .75rem; }
  .header__cta.header__cta {
    display: inline-flex;
    order: 4;
    padding: .35rem .7rem;
    font-size: .68rem;
    border-radius: 5px;
    white-space: nowrap;
  }
  .header__nav { display: none; order: 6; }

  /* Phone & email â€” visible on second row */
  .header__right {
    display: flex;
    order: 5;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    font-size: .7rem;
    padding-top: .35rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,22,40,.98);
    -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
  }

  .header__nav.open::after {
    content: '';
    display: block;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1rem;
  }

  /* Hero mobile â€” push content below fixed header */
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 6rem;
  }
  .hero__content { padding: 1rem 0 2rem; text-align: center; }
  .hero__content .hero__badge { margin: 0 auto 1.75rem; }
  .hero__text { margin: 0 auto 2rem; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }

  .hero__decoration {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 200px;
    height: 200px;
    margin: 1rem auto 1rem;
    z-index: 2;
  }

  .topbar { display: none; }

  .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Product card buttons stacked */
  .product-card__actions { flex-direction: column; }

  /* Why us section - stack on mobile */
  #por-que-elegirnos > .container > div,
  #why-choose-us > .container > div {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.8rem; }

  .header__inner { padding: .4rem .75rem .3rem; gap: .2rem .5rem; }
  .header__logo img { height: 35px; }
  .header__left a { font-size: .7rem; }
  .header__right { font-size: .62rem; gap: .5rem; }

  .hero__decoration {
    width: 150px;
    height: 150px;
  }

  .hero__badge { font-size: .75rem; padding: .4rem 1rem; }


}

/* Carousel hover stability */
.product-carousel__track .product-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.product-carousel__track .product-card:hover {
  transform: translateZ(0);
}
.product-carousel__track .product-card:hover .product-card__img img {
  transform: none;
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
