/* Core design tokens */
:root {
  --color-primary: #0b2c5f;
  --color-primary-dark: #071a39;
  --color-secondary: #f47b20;
  --color-secondary-soft: #ffb16d;
  --color-light: #f5f8fc;
  --color-white: #ffffff;
  --color-text: #13304e;
  --color-muted: #5f7288;
  --color-border: rgba(11, 44, 95, 0.12);
  --color-shadow: 0 18px 50px rgba(6, 24, 44, 0.12);
  --gradient-primary: linear-gradient(135deg, #071a39 0%, #0b2c5f 50%, #1e5ba8 100%);
  --gradient-accent: linear-gradient(135deg, rgba(244, 123, 32, 0.18), rgba(11, 44, 95, 0.08));
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container-width: 1180px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(244, 123, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #eef5fc 0%, #f8fbff 18%, #ffffff 100%);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.7);
}

.section-accent {
  background: linear-gradient(180deg, rgba(11, 44, 95, 0.04), rgba(244, 123, 32, 0.07));
}

.page-banner {
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.page-banner h1,
.hero h1 {
  margin: 0.35rem 0 0.9rem;
  line-height: 1.15;
}

.section-heading p,
.page-banner p,
.hero p {
  margin: 0;
  color: var(--color-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

/* Sticky navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 44, 95, 0.08);
}

.scroll-progress {
  position: fixed;
  top: 84px;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 999;
  background: rgba(11, 44, 95, 0.08);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), #ffb16d, #1e5ba8);
  box-shadow: 0 0 12px rgba(244, 123, 32, 0.35);
  transition: width 0.12s linear;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--color-white);
  font-weight: 700;
  background: var(--gradient-primary);
  box-shadow: var(--color-shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--color-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-link {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--color-muted);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(11, 44, 95, 0.07);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(11, 44, 95, 0.08);
  padding: 0.8rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-primary);
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: var(--transition);
}

.btn-sm {
  padding: 0.78rem 1.2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #ff9d4a);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(244, 123, 32, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(244, 123, 32, 0.34);
}

.btn-outline {
  border-color: rgba(11, 44, 95, 0.16);
  color: var(--color-primary);
  background: var(--color-white);
}

.btn-outline:hover {
  background: rgba(11, 44, 95, 0.06);
}

/* Hero and shared layout blocks */
.hero {
  padding-top: 8rem;
  overflow: hidden;
}

.hero-grid,
.split-layout,
.contact-grid,
.cta-flex,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-strip div,
.feature-card,
.service-card,
.video-card,
.promo-card,
.info-card,
.tip-card,
.content-card,
.metric-box,
.testimonial,
.faq-item,
.contact-panel,
.contact-info-panel,
.mission-card,
.check-panel,
.trust-card,
.tech-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
}

.trust-strip div {
  padding: 1rem 1.1rem;
}

.trust-strip strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.trust-strip span {
  display: block;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.panel-glow {
  position: absolute;
  inset: 12% 8%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(11, 44, 95, 0.14), rgba(244, 123, 32, 0.18));
  filter: blur(10px);
}

.card-stack {
  position: relative;
  width: min(100%, 430px);
  padding: 2rem;
  background: var(--gradient-primary);
  color: var(--color-white);
}

.card-stack::after {
  content: "";
  position: absolute;
  inset: auto -12px -16px auto;
  width: 120px;
  height: 120px;
  border-radius: 26px;
  background: rgba(244, 123, 32, 0.26);
  filter: blur(2px);
}

.card-stack h2,
.card-stack p {
  position: relative;
  z-index: 1;
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 0 rgba(244, 123, 32, 0.7);
  animation: pulse 2s infinite;
  margin-bottom: 1rem;
}

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

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.services-page-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid,
.info-grid,
.tutorial-grid,
.promo-grid,
.video-grid,
.tips-list,
.metric-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.video-card,
.promo-card,
.info-card,
.tip-card,
.content-card {
  padding: 1.6rem;
  transition: var(--transition);
}

.feature-card:hover,
.service-card:hover,
.video-card:hover,
.promo-card:hover,
.info-card:hover,
.tip-card:hover,
.content-card:hover {
  transform: translateY(-6px);
}

.icon-badge,
.service-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--gradient-accent);
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.icon-badge i,
.service-icon i {
  font-size: 1.6rem;
  line-height: 1;
}

.video-thumb,
.map-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(11, 44, 95, 0.9), rgba(30, 91, 168, 0.96));
  color: var(--color-white);
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.video-thumb::before,
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
}

.video-thumb {
  padding: 0;
  box-shadow: 0 18px 40px rgba(6, 24, 44, 0.4);
}

.video-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.video-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: radial-gradient(circle at 30% 30%, #ffffff, #ffb16d);
  color: var(--color-primary);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.video-play i {
  font-size: 1.6rem;
  margin-left: 0.08rem;
}

.video-card:hover .video-play {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.5);
}

.video-thumb--tv::after,
.video-thumb--no-display::after,
.video-thumb--ups::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 2px solid rgba(244, 123, 32, 0.6);
  mix-blend-mode: screen;
  pointer-events: none;
}

.map-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
}

.map-content i {
  font-size: 2rem;
}

.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.info-list,
.contact-info {
  display: grid;
  gap: 1rem;
}

.trust-card,
.mission-card,
.check-panel,
.contact-panel,
.contact-info-panel {
  padding: 2rem;
}

.metric-grid {
  margin-top: 1.25rem;
}

.metric-box {
  padding: 1rem;
}

.metric-box strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-primary);
}

.text-link {
  color: var(--color-primary);
  font-weight: 600;
}

/* Interactive sections */
.testimonial-slider {
  position: relative;
  padding: 0 4rem;
}

.testimonial-track {
  position: relative;
  min-height: 240px;
}

.testimonial {
  display: none;
  padding: 2rem;
  text-align: left;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial p {
  margin: 0;
  font-size: 1.05rem;
}

.testimonial h3 {
  margin: 0;
}

.testimonial span {
  color: var(--color-muted);
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #2f6fc1);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
}

.review-stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
  color: #f4b400;
}

.review-stars i {
  font-size: 1rem;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--color-shadow);
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
}

.cta-strip {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.cta-flex {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--color-shadow);
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.mini-review-panel {
  margin-top: 1.2rem;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
}

.mini-review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--color-primary);
}

.mini-review-head i {
  font-size: 1.2rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 44, 95, 0.15);
  background: #fbfdff;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(244, 123, 32, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.12);
}

.error-message {
  color: #c0392b;
  min-height: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 500;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 44, 95, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.check-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.8rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* Footer and utility actions */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  color: var(--color-white);
}

.footer-links li + li {
  margin-top: 0.65rem;
}

.footer-links a:hover {
  color: var(--color-secondary-soft);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a,
.whatsapp-float,
.scroll-top {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}

.social-links i,
.whatsapp-float i,
.scroll-top i {
  font-size: 1.2rem;
  line-height: 1;
}

.social-links a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.footer-bottom {
  padding: 1.2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 1000;
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.3);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  border: 0;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--color-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 123, 32, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(244, 123, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 123, 32, 0);
  }
}

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

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .cta-flex {
    grid-template-columns: 1fr;
  }

  .services-page-grid,
  .article-grid,
  .audience-grid,
  .info-grid,
  .tutorial-grid,
  .promo-grid,
  .video-grid,
  .tips-list,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--color-shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .navbar {
    position: relative;
  }

  .hero {
    padding-top: 7rem;
  }

  .scroll-progress {
    top: 84px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    padding: 0;
  }

  .slider-btn {
    top: auto;
    bottom: -64px;
    transform: none;
  }

  .slider-btn.prev {
    left: calc(50% - 56px);
  }

  .slider-btn.next {
    right: calc(50% - 56px);
  }

  .cta-strip {
    padding-bottom: 7rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-copy h1,
  .page-banner h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .services-page-grid,
  .article-grid,
  .service-grid,
  .audience-grid,
  .info-grid,
  .tutorial-grid,
  .promo-grid,
  .video-grid,
  .tips-list,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 1.2rem, var(--container-width));
  }

  .whatsapp-float,
  .scroll-top {
    width: 44px;
    height: 44px;
    right: 16px;
  }

  .whatsapp-float {
    bottom: 76px;
  }

  .scroll-top {
    bottom: 18px;
  }
}
