/* ============================================================
   GrobMedia — style.css
   Dark Theme · Typography · Glassmorphism · Buttons
   ============================================================ */

/* --- Font Face --- */
@font-face {
  font-family: 'Kastore';
  src: url('../assets/fonts/Kastore-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties --- */
:root {
  --color-primary: #008DD8;
  --color-primary-light: #33AAEE;
  --color-primary-dark: #006BA6;
  --color-accent-purple: #7B61FF;
  --color-whatsapp: #25D366;
  --bg-darkest: #0A0A0F;
  --bg-dark: #111118;
  --bg-medium: #161620;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --text-white: #FFFFFF;
  --text-light: #B0B0B0;
  --text-muted: #6B6B7B;
  --font-heading: 'Kastore', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-padding: 120px;
  --section-padding-mobile: 60px;
  --container-width: 1200px;
  --gradient-text: linear-gradient(135deg, #008DD8, #33AAEE, #7B61FF);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-darkest);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  line-height: 1.7;
}

/* --- Utility: Gradient Text --- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Utility: Eyebrow label --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

/* --- Ambient motion (hero background shapes) --- */
.ambient-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.ambient-shape--a {
  width: 520px;
  height: 520px;
  background: var(--color-primary);
  opacity: 0.18;
  top: -10%;
  left: -8%;
  animation: ambient-drift-a 32s ease-in-out infinite;
}

.ambient-shape--b {
  width: 440px;
  height: 440px;
  background: #00C8FF;
  opacity: 0.14;
  top: 30%;
  right: -12%;
  animation: ambient-drift-b 28s ease-in-out infinite;
}

.ambient-shape--c {
  width: 360px;
  height: 360px;
  background: var(--color-accent-purple);
  opacity: 0.12;
  bottom: -15%;
  left: 28%;
  animation: ambient-drift-c 36s ease-in-out infinite;
}

@keyframes ambient-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 60px) scale(1.08); }
}

@keyframes ambient-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 40px) scale(1.1); }
}

@keyframes ambient-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -40px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-shape,
  .ambient-shape--a,
  .ambient-shape--b,
  .ambient-shape--c {
    animation: none !important;
  }
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 141, 216, 0.35);
  background: var(--color-primary-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--text-white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

a.header__logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.lang-toggle.active {
  color: var(--text-white);
}

.lang-toggle:hover {
  color: var(--text-light);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

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

/* ============================================================
   HERO — typographic layout with ambient motion
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 40px;
  background: var(--bg-darkest);
  overflow: hidden;
  isolation: isolate;
}

.hero__split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 48px;
}

.hero__left { max-width: 640px; }

.hero__right { display: flex; align-items: center; }
.hero__right .video-frame {
  border: none;
  box-shadow: 0 0 30px rgba(0,141,216,0.15), 0 0 80px rgba(0,141,216,0.08);
  outline: 1px solid rgba(0,141,216,0.25);
  outline-offset: 2px;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-light);
  line-height: 1.65;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.hero__ctas .btn {
  white-space: nowrap;
  font-size: 0.95rem;
  padding: 14px 28px;
}

.hero__logos {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  padding: 40px 32px 32px;
  border: 1px solid rgba(0,141,216,0.15);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0,141,216,0.1), 0 0 80px rgba(0,141,216,0.05);
  background: rgba(255,255,255,0.06);
}

.hero__logos-label {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 0;
}

.hero__logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__logo {
  height: 70px;
  opacity: 1;
  filter: brightness(1.3) drop-shadow(0 0 12px rgba(0,141,216,0.4));
  transition: filter 0.3s ease;
}

.hero__logo:hover {
  filter: brightness(1.5) drop-shadow(0 0 20px rgba(0,141,216,0.6));
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .glass-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: var(--section-padding-mobile) 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .glass-card {
    padding: 20px;
    border-radius: 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .hero__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__left { max-width: 100%; }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }

  .hero__logos-row { gap: 24px; }
  .hero__logo { height: 50px; }

  .sticky-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .sticky-cta .btn {
    width: 100%;
  }
}

/* === PAIN POINTS === */
.pain-points { background: var(--bg-dark); }
.pain-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.pain-card { text-align: center; padding: 36px 20px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; border: 1px solid rgba(0,141,216,0.15); width: calc(33.333% - 14px); box-sizing: border-box; box-shadow: 0 0 20px rgba(0,141,216,0.08), 0 0 60px rgba(0,141,216,0.04); }
.pain-card:nth-child(n+4) { width: calc(33.333% - 14px); }
.pain-card:hover { transform: translateY(-4px); border-color: rgba(0,141,216,0.35); box-shadow: 0 0 25px rgba(0,141,216,0.15), 0 0 80px rgba(0,141,216,0.08); }
.pain-card__emoji { font-size: 2.8rem; display: block; margin-bottom: 16px; }
.pain-card__text { color: var(--text-light); font-size: 1.05rem; line-height: 1.5; max-width: none; }
.pain-card__text strong { color: var(--text-white); }
@media (max-width: 768px) { .pain-card, .pain-card:nth-child(n) { width: calc(50% - 10px); } }
@media (max-width: 480px) { .pain-card, .pain-card:nth-child(n) { width: 100%; } }

/* === SOCIAL SEO === */
.social-seo { background: var(--bg-medium); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-layout__text h2 { margin-bottom: 24px; }
.split-layout__text p { margin-bottom: 40px; }
.stat-row { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; }
.stat__number { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1; }
.stat__label { color: var(--text-muted); font-size: 0.875rem; margin-top: 8px; max-width: 200px; }
.placeholder-visual { background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: 16px; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--text-muted); font-size: 0.875rem; }
@media (max-width: 768px) { .split-layout { grid-template-columns: 1fr; gap: 40px; } .stat-row { flex-direction: column; gap: 24px; } }

/* --- Video Frame (reusable click-to-play) --- */
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,141,216,0.15);
  box-shadow: 0 0 25px rgba(0,141,216,0.1), 0 0 80px rgba(0,141,216,0.05);
  transition: box-shadow 0.3s ease;
}
.video-frame:hover {
  box-shadow: 0 0 30px rgba(0,141,216,0.18), 0 0 100px rgba(0,141,216,0.08);
}

.video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.3);
  transition: background 0.3s ease;
}

.video-frame:hover::after {
  background: rgba(10, 10, 15, 0.1);
}

.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 72px;
  height: 72px;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.video-frame.is-playing::after,
.video-frame.is-playing .video-frame__play {
  display: none;
}

.video-frame.is-playing {
  cursor: default;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === SERVICES === */
.services { background: var(--bg-dark); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.service-card { text-align: center; padding: 48px 32px; }
.service-card__icon { margin-bottom: 24px; }
.service-card h3 { margin-bottom: 16px; }
.service-card p { margin: 0 auto; max-width: none; }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

/* === PROCESS === */
.process { background: var(--bg-medium); }
.process-steps { display: flex; align-items: flex-start; justify-content: center; }
.process-step { flex: 1; text-align: center; max-width: 300px; padding: 0 24px; }
.process-step__number { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; margin-bottom: 16px; }
.process-step h3 { margin-bottom: 12px; }
.process-step p { margin: 0 auto; max-width: none; }
.process-step__line { width: 80px; height: 2px; background: var(--color-primary); margin-top: 40px; flex-shrink: 0; opacity: 0.4; }
@media (max-width: 768px) { .process-steps { flex-direction: column; align-items: center; gap: 40px; } .process-step__line { width: 2px; height: 40px; margin-top: 0; } }

/* === PORTFOLIO === */
.portfolio { background: var(--bg-dark); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portfolio-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 1px solid rgba(0,141,216,0.15); box-shadow: 0 0 20px rgba(0,141,216,0.08), 0 0 60px rgba(0,141,216,0.04); transition: box-shadow 0.3s ease; }
.portfolio-item:hover { box-shadow: 0 0 25px rgba(0,141,216,0.15), 0 0 80px rgba(0,141,216,0.08); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__overlay { position: absolute; inset: 0; background: rgba(10,10,15,0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__category { color: var(--color-primary); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.portfolio-item__name { color: var(--text-white); font-family: var(--font-heading); font-size: 1.25rem; margin-top: 8px; }
.portfolio-note { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 0.875rem; }
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

/* === ABOUT === */
.about { background: #0D0D14; }
.split-layout--reverse .split-layout__visual { order: -1; }
.about-photo { border-radius: 16px; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.trust-badges { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 0.9375rem; font-weight: 500; }

/* === TESTIMONIALS === */
.testimonials { background: var(--bg-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.testimonial-card { display: flex; flex-direction: column; padding: 40px 32px; }
.testimonial-card__quote { margin-bottom: 20px; opacity: 0.6; }
.testimonial-card__text { color: var(--text-light); font-size: 1.0625rem; font-style: italic; line-height: 1.6; flex: 1; max-width: none; }
.testimonial-card__author { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.testimonial-card__stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-card__name { color: var(--text-white); font-weight: 600; text-decoration: none; }
a.testimonial-card__name:hover { text-decoration: underline; }
.testimonial-card__company { color: var(--text-muted); font-size: 0.875rem; }
.testimonial-card--video { padding: 0; overflow: hidden; }
.testimonial-video-placeholder { position: relative; width: 100%; height: 100%; min-height: 250px; }
.testimonial-video-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.play-button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); cursor: pointer; transition: background 0.3s ease; }
.play-button:hover { background: rgba(0,0,0,0.2); }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* === CONTACT === */
.contact { background: var(--bg-medium); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-top: -48px; margin-bottom: 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Chat widget */
.contact-chat {
  background: var(--bg-card);
  border: 1px solid rgba(0,141,216,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,141,216,0.08);
}
.contact-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bg-card-border);
}
.contact-chat__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.contact-chat__name {
  display: block;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-chat__status {
  color: #25D366;
  font-size: 0.8rem;
}
.contact-chat__bubbles {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.chat-bubble--incoming {
  background: var(--bg-dark);
  color: var(--text-light);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-bubble--outgoing {
  background: #005C4B;
  color: #E9EDEF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.contact-chat__bubbles {
  min-height: 280px;
  max-height: 340px;
  overflow-y: auto;
}
.chat-bubble--animate {
  animation: bubblePop 0.3s ease-out;
}
@keyframes bubblePop {
  0% { opacity: 0; transform: translateY(12px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-chat .btn-whatsapp {
  margin: 0 24px 24px;
  width: calc(100% - 48px);
}
.contact-form-wrap {}
.contact-form-alt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { color: var(--text-light); font-size: 0.875rem; font-weight: 500; }
.form-group input, .form-group textarea { background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: 8px; padding: 14px 16px; color: var(--text-white); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-primary); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-status { text-align: center; font-size: 0.875rem; min-height: 24px; }
.form-status.success { color: var(--color-whatsapp); }
.form-status.error { color: #FF4444; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-details { display: flex; flex-direction: row; gap: 24px; flex-wrap: wrap; }
.contact-detail { display: flex; align-items: center; gap: 12px; color: var(--text-light); }
.contact-detail a { color: var(--text-light); transition: color 0.3s ease; }
.contact-detail a:hover { color: var(--color-primary); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } .section-subtitle { margin-top: -32px; margin-bottom: 40px; } }

/* === FOOTER === */
.footer { background: var(--bg-darkest); padding: 32px 0; border-top: 1px solid var(--bg-card-border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer__left { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.875rem; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.3s ease; }
.footer__links a:hover { color: var(--text-light); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: var(--text-muted); transition: color 0.3s ease; }
.footer__social a:hover { color: var(--color-primary); }
@media (max-width: 768px) { .footer__inner { flex-direction: column; text-align: center; } }

/* === TYPEWRITER WORD === */
.rotating-word {
  display: inline-block;
  border-right: 3px solid var(--color-primary);
  padding-right: 4px;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--color-primary); }
  50% { border-color: transparent; }
}

/* === SCROLL ANIMATIONS === */
.animate-ready { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in { opacity: 1; transform: translateY(0); }
.hero.animate-ready { opacity: 1; transform: none; }

/* === LEGAL PAGES === */
.legal-page { padding-top: 120px; padding-bottom: 80px; max-width: 720px; }
.legal-page h1 { margin-bottom: 40px; }
.legal-page h2 { font-size: 1.25rem; margin-top: 32px; margin-bottom: 12px; }
.legal-page p { margin-bottom: 16px; }

/* === INTRO VIDEO SECTION === */
.intro-video { background: var(--bg-darkest); }
.intro-video .container { max-width: 960px; text-align: center; }
.intro-video .eyebrow { margin-bottom: 12px; }
.intro-video .section-title { margin-bottom: 16px; }
.intro-video__lead {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === EMPLOYER BRANDING SECTION === */
.employer-branding { background: var(--bg-dark); }
.employer-branding .split-layout__text .eyebrow { margin-bottom: 12px; }
.employer-branding .split-layout__text h2 { margin-bottom: 24px; }
.employer-branding .split-layout__text p { margin-bottom: 40px; }
.employer-branding .stat-row { margin-bottom: 40px; }

.glow-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0,141,216,0.25);
  box-shadow: 0 0 30px rgba(0,141,216,0.15), 0 0 80px rgba(0,141,216,0.08);
  transition: box-shadow 0.3s ease;
}
.glow-image:hover {
  box-shadow: 0 0 40px rgba(0,141,216,0.25), 0 0 100px rgba(0,141,216,0.12);
}

/* ============================================================
   SUBPAGES (SEO pillar pages)
   ============================================================ */
.subpage-hero {
  padding: 140px 0 80px;
  background: var(--bg-darkest);
}
.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subpage-hero .lead {
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
}
.subpage-section { padding: 80px 0; }
.subpage-section:nth-child(odd) { background: var(--bg-dark); }
.subpage-section:nth-child(even) { background: var(--bg-medium); }
.subpage-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
  color: var(--text-white);
}
.subpage-section p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 720px;
}
.subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.subpage-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,141,216,0.15);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 0 20px rgba(0,141,216,0.06);
}
.subpage-card h3 { margin-bottom: 12px; color: var(--text-white); }
.subpage-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* Subpage visual sections */
.subpage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.subpage-split--reverse { direction: rtl; }
.subpage-split--reverse > * { direction: ltr; }
.subpage-split img {
  width: 100%;
  border-radius: 16px;
}
.subpage-hero-visual {
  margin-top: 48px;
}
.subpage-hero-visual img {
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .subpage-split { grid-template-columns: 1fr; gap: 32px; }
  .subpage-split--reverse { direction: ltr; }
}

/* FAQ accordion */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--bg-card-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Subpage CTA */
.subpage-cta {
  background: var(--bg-darkest);
  text-align: center;
  padding: 80px 0;
}
.subpage-cta h2 { margin-bottom: 16px; }
.subpage-cta p {
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-primary); }

/* Blog graphics */
.blog-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.blog-stat-box {
  background: var(--bg-card);
  border: 1px solid rgba(0,141,216,0.15);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.blog-stat-box__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.blog-stat-box__label {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
  display: block;
}
.blog-bar-chart {
  margin: 32px 0;
}
.blog-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.blog-bar__label {
  color: var(--text-light);
  font-size: 0.85rem;
  min-width: 140px;
  text-align: right;
}
.blog-bar__track {
  flex: 1;
  height: 32px;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.blog-bar__fill {
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.blog-bar__fill--primary { background: var(--color-primary); }
.blog-bar__fill--muted { background: rgba(255,255,255,0.15); }
.blog-bar__fill--green { background: #25D366; }
.blog-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
.blog-comparison__col {
  background: var(--bg-card);
  border: 1px solid rgba(0,141,216,0.15);
  border-radius: 12px;
  padding: 28px 24px;
}
.blog-comparison__col--highlight {
  border-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(0,141,216,0.15);
}
.blog-comparison__title {
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.blog-comparison__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}
.blog-comparison__list {
  list-style: none;
  padding: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 2;
}
.blog-comparison__list li::before {
  content: '✓ ';
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .blog-comparison { grid-template-columns: 1fr; }
  .blog-bar__label { min-width: 100px; font-size: 0.75rem; }
}

@media (max-width: 768px) {
  .subpage-hero { padding: 110px 0 48px; }
  .subpage-section { padding: 48px 0; }
  .subpage-cta { padding: 48px 0; }
}

/* ============================================================
   MOBILE OPTIMIZATION
   ============================================================ */
@media (max-width: 768px) {

  /* --- Hero --- */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    text-align: center;
  }

  .hero__sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    margin-top: 16px;
  }

  .hero__right .video-frame {
    border-radius: 12px;
  }

  .hero__logos {
    margin-top: 40px;
    padding: 24px 16px 20px;
  }

  .hero__logos-label {
    font-size: 0.95rem;
    margin-top: 16px;
  }

  /* --- Intro Video --- */
  .intro-video__lead {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  /* --- Split layouts (Social SEO, EB, About) --- */
  .split-layout {
    gap: 32px;
  }

  .split-layout--reverse .split-layout__visual {
    order: 0;
  }

  .stat-row {
    gap: 24px;
  }

  .stat__label {
    max-width: 100%;
  }

  /* --- Employer Branding --- */
  .employer-branding .split-layout__text p {
    margin-bottom: 24px;
  }

  .employer-branding .stat-row {
    margin-bottom: 24px;
  }

  .glow-image {
    border-radius: 12px;
  }

  /* --- Services --- */
  .service-card {
    padding: 32px 20px;
  }

  /* --- About --- */
  .about-photo {
    aspect-ratio: 1/1;
    max-height: 400px;
  }

  .trust-badges {
    justify-content: center;
    gap: 20px;
  }

  /* --- Testimonials --- */
  .testimonial-card {
    padding: 28px 24px;
  }

  .testimonial-card__text {
    font-size: 1rem;
  }

  /* --- Contact --- */
  .section-subtitle {
    font-size: 0.95rem;
  }

  .btn-whatsapp {
    font-size: 1rem;
  }

  /* --- Footer --- */
  .footer__links {
    gap: 16px;
  }

  /* --- Legal --- */
  .legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  /* --- Video frame --- */
  .video-frame {
    border-radius: 12px;
  }

  .video-frame__play {
    width: 56px;
    height: 56px;
  }

  /* --- Eyebrow --- */
  .eyebrow {
    font-size: 0.7rem;
  }

  /* --- Section titles --- */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 32px;
  }
}

/* --- Small phones (375px and below) --- */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero__logos-row {
    gap: 16px;
  }

  .hero__logo {
    height: 36px;
  }

  .pain-card {
    padding: 24px 16px;
  }

  .pain-card__emoji {
    font-size: 2.2rem;
  }

  .stat__number {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .contact-details {
    gap: 12px;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}
