/**
 * Digital Agency CMS - Frontend Styles
 * Navy / White / Blue — Apple-clean corporate
 */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family, 'DM Sans', system-ui, sans-serif);
  color: var(--color-navy, #0A1628);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent, #2563EB);
  text-decoration: none;
  transition: color var(--transition, 0.3s ease);
}

a:hover {
  color: var(--color-primary, #0A1628);
}

.container {
  max-width: var(--container-max, 1200px);
}

/* ---------- Preloader ---------- */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-navy, #0A1628);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-ring {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-accent, #2563EB);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.preloader-brand {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Announcement ---------- */
.announcement-bar .announcement-item {
  padding: 0.55rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  transition: box-shadow var(--transition, 0.3s ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  padding: 0.85rem 0;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy, #0A1628);
}

.navbar-nav .nav-link {
  color: var(--color-navy, #0A1628);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem !important;
  opacity: 0.85;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  opacity: 1;
  color: var(--color-accent, #2563EB);
}

.navbar-toggler {
  border: 0;
  padding: 0.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.toggler-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-navy, #0A1628);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dropdown-menu {
  border: 0;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  min-width: 200px;
}

.dropdown-item {
  border-radius: calc(var(--radius, 12px) - 4px);
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent, #2563EB);
}

.mega-menu {
  width: 100%;
  left: 0 !important;
  right: 0;
  padding: 1.5rem;
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.btn-accent {
  background: var(--color-accent, #2563EB);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease), background var(--transition, 0.3s ease);
}

.btn-accent:hover {
  background: #1d4ed8;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline-navy {
  border: 1.5px solid rgba(10, 22, 40, 0.2);
  color: var(--color-navy, #0A1628);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  background: transparent;
  transition: border-color var(--transition, 0.3s ease), background var(--transition, 0.3s ease);
}

.btn-outline-navy:hover {
  border-color: var(--color-navy, #0A1628);
  background: rgba(10, 22, 40, 0.04);
  color: var(--color-navy, #0A1628);
}

.btn-white {
  background: #fff;
  color: var(--color-navy, #0A1628) !important;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border: 0;
}

.btn-white:hover {
  background: #f1f5f9;
  color: var(--color-navy, #0A1628) !important;
}

.btn-ghost-light {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(145deg, var(--color-navy, #0A1628) 0%, var(--color-secondary, #1E3A5F) 55%, #153056 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.25), transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.8;
  max-width: 36rem;
  margin-bottom: 0;
}

.breadcrumb-nav {
  margin-top: 1.25rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
  content: "/";
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.06), transparent 45%),
    linear-gradient(180deg, #F7F9FC 0%, #EEF3F9 100%);
}

.section-dark {
  background: linear-gradient(160deg, var(--color-navy, #0A1628) 0%, #12233d 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent, #2563EB);
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: inherit;
}

.section-header p {
  color: var(--color-muted, #64748B);
  margin: 0;
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Hero Slider (full-bleed) ---------- */
.hero-slider {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-navy, #0A1628);
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy, #0A1628);
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.55) 50%, rgba(10, 22, 40, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 6rem 0 4rem;
}

.hero-content .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-content .lead {
  font-size: 1.125rem;
  opacity: 0;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
  transform: translateY(16px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
}

.carousel-item.active .hero-content .eyebrow,
.carousel-item.active .hero-content h1,
.carousel-item.active .hero-content .lead,
.carousel-item.active .hero-content .hero-actions {
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.carousel-item.active .hero-content h1 { animation-delay: 0.1s; }
.carousel-item.active .hero-content .lead { animation-delay: 0.2s; }
.carousel-item.active .hero-content .hero-actions { animation-delay: 0.3s; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 3rem;
  opacity: 0.7;
}

.hero-slider .carousel-indicators {
  margin-bottom: 2rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
}

.hero-slider .carousel-indicators .active {
  background: #fff;
}

.hero-fallback {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy, #0A1628);
  color: #fff;
  position: relative;
}

.hero-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.55) 55%, rgba(10, 22, 40, 0.35) 100%);
}

.hero-fallback .container {
  position: relative;
  z-index: 2;
}

/* ---------- Cards ---------- */
.card-premium {
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.06);
  border-radius: var(--radius, 12px);
  padding: 1.75rem;
  height: 100%;
  transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease), border-color var(--transition, 0.3s ease);
  box-shadow: var(--shadow-sm);
}

.card-premium.card-premium-media {
  padding: 0;
  overflow: hidden;
}

.card-premium-media .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 150px;
  overflow: hidden;
  background: #E2E8F0;
}

.card-premium-media .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-premium-media:hover .card-media img {
  transform: scale(1.06);
}

.card-media-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--color-accent, #2563EB);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.18);
  z-index: 2;
}

.card-premium-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.18);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  color: var(--color-accent, #2563EB);
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
}

.card-premium h3,
.card-premium h4 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.card-premium p {
  color: var(--color-muted, #64748B);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent, #2563EB);
}

.card-link i {
  transition: transform 0.25s ease;
}

.card-premium:hover .card-link i {
  transform: translateX(3px);
}

.about-image-framed {
  position: relative;
}

.about-image-framed img {
  border-radius: calc(var(--radius, 12px) + 4px);
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
}

.about-float-card {
  position: absolute;
  right: 1rem;
  bottom: 1.25rem;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.18);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.about-float-card strong {
  font-size: 1.5rem;
  color: var(--color-accent, #2563EB);
}

.about-float-card span {
  font-size: 0.8rem;
  color: var(--color-muted, #64748B);
}


.media-card-img img {
  transition: transform 0.55s ease;
}

.media-card:hover .media-card-img img {
  transform: scale(1.05);
}


/* Media cards */
.media-card {
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.06);
  height: 100%;
  transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease);
  box-shadow: var(--shadow-sm);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.media-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E2E8F0;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-card:hover .media-card-img img {
  transform: scale(1.04);
}

.media-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.media-card-meta {
  font-size: 0.8rem;
  color: var(--color-muted, #64748B);
  margin-bottom: 0.4rem;
}

.media-card-body h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.media-card-body h3 a {
  color: inherit;
}

.media-card-body h3 a:hover {
  color: var(--color-accent, #2563EB);
}

/* ---------- About ---------- */
.about-image {
  border-radius: calc(var(--radius, 12px) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

/* ---------- Stats ---------- */
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent, #2563EB);
  line-height: 1.1;
}

.section-dark .stat-value {
  color: #fff;
}

.stat-label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  opacity: 0.75;
}

.stat-icon {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent, #2563EB);
}

.section-dark .stat-icon {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius, 12px);
  padding: 1.75rem;
  border: 1px solid rgba(10, 22, 40, 0.06);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.testimonial-text {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #E2E8F0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-muted, #64748B);
}

/* ---------- Partners / Referanslar ---------- */
.section-partners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(13, 148, 136, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(219, 39, 119, 0.06), transparent 55%),
    linear-gradient(180deg, #F4F7FC 0%, #EEF4FB 45%, #F8FAFC 100%);
}

.section-partners .partners-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.partners-header {
  position: relative;
  z-index: 1;
}

.partners-lead {
  color: var(--color-muted, #64748B) !important;
  max-width: 420px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.partners-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--color-accent, #2563EB);
}

.partners-count-num {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.partners-count-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  opacity: 0.9;
}

.partners-marquee {
  position: relative;
  z-index: 1;
  margin: 0 auto 2rem;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-track {
  display: flex;
  width: max-content;
  animation: partners-marquee 42s linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
  animation-play-state: paused;
}

.partners-marquee-group {
  display: flex;
  gap: 0.65rem;
  padding-right: 0.65rem;
}

.partners-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 22, 40, 0.07);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.04);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--color-navy, #0A1628);
  white-space: nowrap;
}

.partners-marquee-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chip-accent, #2563EB);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.partner-tile {
  --partner-accent: #2563EB;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  min-height: 88px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 22, 40, 0.07);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

a.partner-tile:hover,
a.partner-tile:focus-visible {
  color: inherit;
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 16px 36px rgba(10, 22, 40, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.partner-tile-glow {
  position: absolute;
  inset: auto -20% -55% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 70%);
  opacity: 0.55;
  transition: opacity 0.35s ease, transform 0.45s ease;
  pointer-events: none;
}

a.partner-tile:hover .partner-tile-glow {
  opacity: 1;
  transform: translate(-12px, -10px) scale(1.15);
}

.partner-tile-mono {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #fff;
  background: var(--partner-accent, #2563EB);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

a.partner-tile:hover .partner-tile-mono {
  transform: rotate(-6deg) scale(1.06);
}

.partner-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.partner-tile-body strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-navy, #0A1628);
}

.partner-tile-body small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-muted, #64748B);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-tile-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--partner-accent);
  background: rgba(37, 99, 235, 0.12);
  opacity: 0;
  transform: translate(4px, 4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

a.partner-tile:hover .partner-tile-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.has-anim .section-partners .partner-tile.reveal {
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track {
    animation: none;
  }

  a.partner-tile:hover,
  a.partner-tile:focus-visible {
    transform: none;
  }
}

/* ---------- Video ---------- */
.video-wrap {
  position: relative;
  border-radius: calc(var(--radius, 12px) + 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-navy, #0A1628);
  box-shadow: var(--shadow-lg);
}

.video-wrap iframe,
.video-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-accent, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.video-poster:hover .video-play {
  transform: scale(1.06);
}

/* ---------- FAQ ---------- */
.accordion-premium .accordion-item {
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius, 12px) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.accordion-premium .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-navy, #0A1628);
  background: #fff;
  box-shadow: none !important;
  padding: 1.1rem 1.25rem;
}

.accordion-premium .accordion-button:not(.collapsed) {
  color: var(--color-accent, #2563EB);
  background: rgba(37, 99, 235, 0.04);
}

.accordion-premium .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563EB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-premium .accordion-body {
  color: var(--color-muted, #64748B);
  padding: 0 1.25rem 1.25rem;
}

.faq-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* ---------- Forms ---------- */
.form-premium .form-control,
.form-premium .form-select {
  border-radius: calc(var(--radius, 12px) - 2px);
  border: 1.5px solid rgba(10, 22, 40, 0.12);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-premium .form-control:focus,
.form-premium .form-select:focus {
  border-color: var(--color-accent, #2563EB);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-premium label {
  font-weight: 550;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.alert-soft {
  border: 0;
  border-radius: var(--radius, 12px);
  padding: 1rem 1.15rem;
}

/* ---------- Product / Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-chip {
  border: 1.5px solid rgba(10, 22, 40, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--color-navy, #0A1628);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--color-navy, #0A1628);
  border-color: var(--color-navy, #0A1628);
  color: #fff;
}

.price-tag {
  font-weight: 700;
  color: var(--color-accent, #2563EB);
}

.price-old {
  text-decoration: line-through;
  color: var(--color-muted, #64748B);
  font-weight: 400;
  font-size: 0.9em;
  margin-left: 0.35rem;
}

/* ---------- Product catalog ---------- */
.catalog-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 3.75rem 0 2.75rem;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(37, 99, 235, 0.35), transparent 42%),
    radial-gradient(ellipse at 88% 10%, rgba(14, 165, 233, 0.22), transparent 40%),
    linear-gradient(145deg, #07111f 0%, #0A1628 42%, #153056 100%);
}

.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.catalog-hero .container {
  position: relative;
  z-index: 1;
}

.catalog-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: end;
}

@media (min-width: 992px) {
  .catalog-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.catalog-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(147, 197, 253, 0.95);
}

.catalog-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.catalog-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.05rem;
}

.catalog-hero .breadcrumb-nav {
  margin-top: 1.15rem;
}

.catalog-search {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.55rem;
  backdrop-filter: blur(10px);
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.65rem 0.85rem;
  outline: none;
}

.catalog-search input::placeholder {
  color: rgba(226, 232, 240, 0.55);
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.catalog-stats strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.catalog-stats span {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.65);
}

.catalog-section {
  background:
    linear-gradient(180deg, #F8FAFC 0%, #fff 28%, #fff 100%);
}

.catalog-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .catalog-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.catalog-sidebar {
  display: grid;
  gap: 1.25rem;
}

.catalog-side-block,
.catalog-side-cta {
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.07);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.04);
}

.catalog-side-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #64748B);
  font-weight: 700;
}

.catalog-cat-nav {
  display: grid;
  gap: 0.2rem;
}

.catalog-cat-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: var(--color-navy, #0A1628);
  font-weight: 550;
  font-size: 0.92rem;
}

.catalog-cat-nav a em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--color-muted, #64748B);
  background: #F1F5F9;
  border-radius: 999px;
  min-width: 1.75rem;
  text-align: center;
  padding: 0.15rem 0.45rem;
}

.catalog-cat-nav a:hover,
.catalog-cat-nav a.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent, #2563EB);
}

.catalog-cat-nav a.is-active em {
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-accent, #2563EB);
}

.catalog-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.catalog-side-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--color-muted, #64748B);
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-result-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.catalog-result-meta {
  margin: 0.25rem 0 0;
  color: var(--color-muted, #64748B);
  font-size: 0.92rem;
}

.catalog-mobile-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (min-width: 992px) {
  .catalog-mobile-filters {
    display: none;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (min-width: 576px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.045);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(10, 22, 40, 0.1);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E2E8F0;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-media img {
  transform: scale(1.045);
}

.product-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  background: rgba(10, 22, 40, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.product-card-badge.is-sale {
  background: #DC2626;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.product-card-meta {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent, #2563EB);
}

.product-card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-card-body h3 a {
  color: inherit;
}

.product-card-body h3 a:hover {
  color: var(--color-accent, #2563EB);
}

.product-card-body > p {
  margin: 0;
  flex: 1;
  color: var(--color-muted, #64748B);
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(10, 22, 40, 0.06);
}

.product-card-cta {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--color-accent, #2563EB);
  text-decoration: none;
}

a.product-card-cta:hover {
  color: var(--color-navy, #0A1628);
}

.product-card-link {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--color-navy, #0A1628);
  white-space: nowrap;
}

.product-card-link::after {
  content: ' →';
}

.product-card-link:hover {
  color: var(--color-accent, #2563EB);
}

.catalog-empty {
  background: #fff;
  border: 1px dashed rgba(10, 22, 40, 0.12);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
}

@media (max-width: 575.98px) {
  .catalog-stats {
    grid-template-columns: 1fr;
  }

  .catalog-search {
    flex-direction: column;
  }
}

/* ---------- Detail ---------- */
.detail-cover {
  border-radius: calc(var(--radius, 12px) + 4px);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.detail-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.content-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.content-body h2,
.content-body h3 {
  color: var(--color-navy, #0A1628);
  margin-top: 1.75rem;
  letter-spacing: -0.02em;
}

.sidebar-box {
  background: var(--color-surface, #F8FAFC);
  border-radius: var(--radius, 12px);
  padding: 1.5rem;
  border: 1px solid rgba(10, 22, 40, 0.06);
}

.sidebar-box h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  font-size: 0.9rem;
}

.meta-list li:last-child {
  border-bottom: 0;
}

.meta-list .label {
  color: var(--color-muted, #64748B);
}

/* ---------- Comments ---------- */
.comment-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.comment-item:last-child {
  border-bottom: 0;
}

.comment-author {
  font-weight: 650;
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--color-muted, #64748B);
}

/* ---------- Contact map ---------- */
.map-embed {
  border-radius: var(--radius, 12px);
  overflow: hidden;
  min-height: 280px;
  background: #E2E8F0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--color-navy, #0A1628), var(--color-secondary, #1E3A5F));
  color: #fff;
  border-radius: var(--radius, 12px);
  padding: 2rem;
  height: 100%;
}

.contact-info-card a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info-card li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  align-items: flex-start;
}

.contact-info-card i {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy, #0A1628);
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

.footer-top {
  padding: 4rem 0 3rem;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.7;
  max-width: 320px;
}

.footer-title {
  color: #fff;
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
  align-items: flex-start;
}

.footer-contact i {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.4);
  width: 1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  transition: background 0.25s ease, transform 0.25s ease;
}

.social-link:hover {
  background: var(--color-accent, #2563EB);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* ---------- Floaters ---------- */
.whatsapp-float {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 2147483000 !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  animation: waPulse 2.4s ease-in-out infinite;
}

.whatsapp-float svg {
  display: block;
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.65) !important;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.75), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ---------- AI Assistant (sol alt) ---------- */
.ai-assistant {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147482900;
  font-family: var(--font-family, 'DM Sans', system-ui, sans-serif);
}

.ai-assistant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-assistant-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(10, 22, 40, 0.35);
}

.ai-assistant-toggle-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  display: grid;
  place-items: center;
  color: #93C5FD;
}

.ai-assistant-toggle-label {
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding-right: 0.15rem;
}

.ai-assistant-panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(380px, calc(100vw - 28px));
  height: min(72vh, 580px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(10, 22, 40, 0.18);
  overflow: hidden;
}

.ai-assistant-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #0A1628 0%, #153056 100%);
  color: #fff;
}

.ai-assistant-head strong {
  display: block;
  font-size: 0.98rem;
}

.ai-assistant-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.ai-assistant-close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.ai-assistant-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.06), transparent 45%),
    #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ai-msg {
  display: flex;
  animation: aiMsgIn 0.25s ease;
}

@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-bubble {
  max-width: 90%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.04);
}

.ai-msg-bot .ai-msg-bubble {
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.06);
  color: #0A1628;
  border-bottom-left-radius: 4px;
}

.ai-msg-user .ai-msg-bubble {
  background: #2563EB;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-assistant-compose {
  flex: 0 0 auto;
  border-top: 1px solid rgba(10, 22, 40, 0.07);
  background: #fff;
}

.ai-suggest-bar {
  padding: 0.55rem 0.75rem 0;
}

.ai-suggest-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px dashed rgba(10, 22, 40, 0.16);
  background: #F8FAFC;
  color: #0A1628;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ai-suggest-toggle:hover,
.ai-suggest-bar.is-open .ai-suggest-toggle {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.06);
  color: #1D4ED8;
}

.ai-suggest-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.ai-suggest-bar.is-open .ai-suggest-toggle i {
  transform: rotate(180deg);
}

.ai-suggest-list {
  margin-top: 0.45rem;
  max-height: 160px;
  overflow-y: auto;
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.25rem;
}

.ai-suggest-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(10, 22, 40, 0.08);
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  color: #0A1628;
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.ai-suggest-item i {
  margin-top: 0.15rem;
  color: #2563EB;
  flex: 0 0 auto;
}

.ai-suggest-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #F8FBFF;
  transform: translateY(-1px);
}

.ai-assistant-actions {
  padding: 0.55rem 0.75rem 0.8rem;
}

.ai-assistant-actions .btn {
  width: 100%;
}

.ai-assistant-form {
  flex: 0 0 auto;
  padding: 0.85rem 0.9rem 0.95rem;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid rgba(10, 22, 40, 0.06);
  background: #fff;
}

.ai-assistant-form-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0A1628;
}

.ai-assistant-form label {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.ai-assistant-form label span {
  font-size: 0.75rem;
  font-weight: 650;
  color: #64748B;
}

.ai-assistant-form input,
.ai-assistant-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
}

.ai-assistant-form input:focus,
.ai-assistant-form textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ai-assistant-form-actions {
  display: flex;
  gap: 0.45rem;
}

.ai-assistant-form-actions .btn {
  flex: 1;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.btn-payment {
  background: #0A1628;
  border-color: #0A1628;
  color: #fff;
}

.btn-payment:hover {
  background: #153056;
  border-color: #153056;
  color: #fff;
}

@media (max-width: 575.98px) {
  .ai-assistant {
    left: 12px;
    bottom: 16px;
  }

  .ai-assistant-toggle-label {
    display: none;
  }

  .ai-assistant-toggle {
    padding: 0.65rem;
    border-radius: 50%;
  }

  .ai-assistant-panel {
    bottom: 68px;
    height: min(78vh, 620px);
  }
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 1040;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--color-navy, #0A1628);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: rgba(10, 22, 40, 0.96);
  color: #fff;
  padding: 1rem 0;
  backdrop-filter: blur(8px);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.cookie-inner a {
  color: #93C5FD;
  text-decoration: underline;
}

/* ---------- Status pages ---------- */
.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--color-navy, #0A1628) 0%, #12233d 60%, #0d1b2e 100%);
  color: #fff;
}

.status-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.status-page h2 {
  font-size: 1.5rem;
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.status-page p {
  opacity: 0.75;
  max-width: 420px;
  margin: 0 auto 1.75rem;
}

/* ---------- Pagination ---------- */
.pagination .page-link {
  border: 0;
  color: var(--color-navy, #0A1628);
  border-radius: 8px !important;
  margin: 0 0.15rem;
  font-weight: 550;
}

.pagination .page-item.active .page-link {
  background: var(--color-accent, #2563EB);
}

/* ---------- Reveal animation (subtle) ---------- */
.has-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.has-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted, #64748B);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-content {
    padding: 5rem 0 5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  #mainNav {
    background: #fff;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(10, 22, 40, 0.06);
    margin-top: 0.5rem;
  }

  .mega-menu {
    position: static !important;
    box-shadow: none;
    padding: 0.5rem 0;
  }

  .whatsapp-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
  }

  .back-to-top {
    right: 1rem;
    bottom: 5.25rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
