/* =========================
   Base & Brand Tokens
========================= */
:root {
  --blue: #0a1a44;
  --red: #e63950;
  --green: #2aae6c;
  --yellow: #f4c20d;

  --bg-light: #f7f8fc;
  --bg-white: #ffffff;

  --text-main: #1f2430;
  --text-muted: #5b6275;

  --radius-card: 14px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
  }
  50% {
    box-shadow: 0 14px 40px rgba(230, 57, 80, 0.45);
  }
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
}

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

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

.container {
  width: min(1120px, 100% - 2.6rem);
  margin-inline: auto;
}

/* =========================
   Header / Navigation
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
}

.brand-logo {
  height: 90px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.main-nav a {
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  font-size: 0.95rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  border-color: var(--red);
}

/* Mobile nav button */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================
   Hero (Video Background)
========================= */
.hero-video-wrapper {
  position: relative;
  min-height: 75vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 68, 0.90),
    rgba(27, 72, 255, 0.80),
    rgba(230, 57, 80, 0.85),
    rgba(244, 194, 13, 0.75)
  );
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-block: 4.5rem 4rem;
  color: #ffffff;
}

.hero-text {
  max-width: 640px;
}

.hero-kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-family: "Montserrat", sans-serif;
  opacity: 0.85;
  animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 {
  margin: 0 0 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  font-size: 0.98rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.5);
}

.contact-form .btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(42, 174, 108, 0.35);
}

.contact-form .btn-primary:hover {
  box-shadow: 0 20px 50px rgba(42, 174, 108, 0.5);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

/* =========================
   Sections / Layout
========================= */
.section {
  padding-block: 4rem;
}

.section-alt {
  padding-block: 4rem;
  background: #ffffff;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.9rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out;
}

.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0.5rem auto 2.4rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.5rem;
}

/* =========================
   About Card
========================= */
.about-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.6s ease-out 0.2s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.about-card h3 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
}

.about-card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
}

.about-card li {
  margin-bottom: 0.45rem;
  font-size: 0.94rem;
}

/* =========================
   Product Cards
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 5rem;
  padding: 0 2rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  color: #ffffff;
  position: relative;
  overflow: visible;
  animation: fadeInUp 0.6s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 0.5rem;
}

.card:nth-child(1) {
  animation-delay: 0s;
}

.card:nth-child(2) {
  animation-delay: 0.15s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

/* CLICKABLE CARD */
.card-link {
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card-link:hover {
  transform: translateY(-8px);
}

.card:hover {
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.2);
}

.card h3 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: #f7f9ff;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #edf1ff;
}

.card-list li::before {
  content: "• ";
}

/* Card color variants */
.card-blue {
  background: linear-gradient(145deg, #1b48ff, #4c9cff);
}

.card-red {
  background: linear-gradient(145deg, #e63950, #ff7a6f);
}

.card-green {
  background: linear-gradient(145deg, #2aae6c, #44d69a);
}

.card-tag {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 0.78rem;
  font-family: "Montserrat", sans-serif;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

/* =========================
   Contact
========================= */
.contact-info p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.contact-form {
  background: linear-gradient(145deg, #1b48ff, #4c9cff);
  border-radius: var(--radius-card);
  padding: 1.7rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.6s ease-out both;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

#whatsappForm {
  background: linear-gradient(145deg, #e63950, #ff7a6f) !important;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font: inherit;
  resize: vertical;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2430;
  transition: all 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.field input::placeholder {
  color: rgba(31, 36, 48, 0.5);
}

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--blue);
  color: #e5e7f5;
  padding-block: 1.3rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.84rem;
}

.footer-small {
  opacity: 0.8;
  margin-top: 0.2rem;
}

/* =========================
   Floating WhatsApp Button
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
}

.whatsapp-float {
  animation: pulse 2s ease-in-out infinite;
}

.wa-icon {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-content {
    padding-block: 4rem 3.2rem;
  }
}

/* =========================
   Featured Blog Preview (Homepage)
========================= */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.blog-preview-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.blog-preview-image {
  display: block !important;
  height: 180px !important;
  width: 100% !important;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  min-height: 180px;
}

.blog-preview-card:hover .blog-preview-image {
  transform: scale(1.05);
}

.blog-preview-content {
  padding: 1.5rem;
}

.blog-preview-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.blog-preview-date {
  color: #5b6275;
  font-weight: 600;
}

.blog-preview-category {
  display: inline-block;
  background-color: #e0e7ff;
  color: #1b48ff;
  padding: 0.2rem 0.6rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.7rem;
}

.blog-preview-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2430;
  line-height: 1.4;
}

.blog-preview-card p {
  color: #5b6275;
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-preview-cta {
  text-align: center;
}

.blog-preview-cta .btn {
  display: inline-block;
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .hero-video-wrapper {
    min-height: 70vh;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}
