/* ============================================
   HELPPIU — Global Styles
   Dark Premium Theme
   ============================================ */

/* === Google Font === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* === CSS Variables === */
:root {
  --bg-primary: #07090D;
  --bg-secondary: #0D1117;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --accent: #FFD60A;
  --accent-hover: #FFE45E;
  --accent-glow: #FFEA70;
  --text-primary: #F5F7FA;
  --text-secondary: #B8C0CC;
  --text-muted: #7E8794;

  --font-family: 'Nunito', sans-serif;
  --container-width: 1200px;
  --section-padding: 120px;
  --card-radius: 20px;
  --btn-radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Layout === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.125rem;
}

/* === Chip / Tag === */
.chip {
  display: inline-block;
  background: rgba(255, 214, 10, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--btn-radius);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(255, 214, 10, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 50px rgba(255, 214, 10, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  background: none;
  color: var(--accent);
  padding: 0;
  font-weight: 700;
}

.btn-text:hover {
  color: var(--accent-hover);
}

.btn-text .arrow {
  transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 9, 13, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--text-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-cta {
  padding: 10px 28px !important;
  font-size: 0.875rem !important;
  color: #000 !important;
}

/* Mobile nav toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  min-width: 260px;
}

.dropdown-inner {
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.has-dropdown:hover .dropdown-inner,
.has-dropdown:focus-within .dropdown-inner {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  background: var(--glass-bg);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.dropdown-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.dropdown-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 2rem 60px;
  overflow: hidden;
  text-align: center;
}

.hero-chip {
  margin-bottom: 24px;
  z-index: 2;
}

.hero-title-main {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  text-align: center;
  max-width: var(--container-width);
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.hero-title-main .char {
  display: inline-block;
}

.hero-title-main .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.15em;
}

.hero-reveal {
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container-width);
  opacity: 0;
}

.hero-title-second {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.7;
  text-align: center;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.08) 0%, transparent 70%);
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Grid pattern overlay */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* === Scroll Words — Pinned word cycling === */
.scroll-words {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.scroll-words-inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: 2rem;
}

.scroll-words-fixed {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scroll-words-slot {
  display: inline-grid;
  line-height: 1.2;
  overflow: visible;
}

.scroll-word {
  grid-area: 1 / 1;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.2;
  opacity: 0;
  will-change: opacity;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === Cards === */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 40px;
  transition: transform var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 214, 10, 0.3);
  box-shadow: 0 20px 60px rgba(255, 214, 10, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: rgba(255, 214, 10, 0.15);
  transform: scale(1.05);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 16px;
}

.card p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.card-list {
  margin-bottom: 24px;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === Grid Layouts === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* === Differentiators / Feature Grid === */
.feature-card {
  text-align: center;
  padding: 48px 32px;
}

.feature-card .card-icon {
  margin: 0 auto 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* === Video Section === */
.video-wrapper {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
  max-width: 960px;
  margin: 0 auto;
}

.video-wrapper::before {
  display: none;
}

.video-wrapper:hover::before {
  opacity: 0.7;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255, 214, 10, 0.4);
  transition: all 0.3s ease;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 60px rgba(255, 214, 10, 0.6);
}

.video-play svg {
  width: 24px;
  height: 24px;
  fill: var(--bg-primary);
  margin-left: 3px;
}

/* === Cases / Projects (legacy — overridden by new Case Card styles) === */

/* === Testimonials === */
.testimonials-section {
  overflow: hidden;
}

.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
}

.testimonials-track-infinite {
  display: flex;
  width: max-content;
  will-change: transform;
}

.testimonials-group {
  display: flex;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot:hover {
  transform: scale(1.2);
}

.testimonial-dot.active {
  background: var(--accent);
}

.testimonial-card {
  min-width: 400px;
  max-width: 400px;
  flex-shrink: 0;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.7;
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.testimonial-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* === Process / Steps === */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  flex: 0 1 200px;
  min-width: 180px;
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
}

/* === About Preview === */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-content h2 {
  margin-bottom: 24px;
}

.about-preview-content p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.about-preview-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about-preview-centered h2 {
  margin-bottom: 24px;
}

.about-preview-centered p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.about-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-stats-section {
  padding-top: 48px;
  padding-bottom: 0;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(255,214,10,0.03));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual .glow-orb {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,10,0.15), transparent 70%);
  position: absolute;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,10,0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === Contact Form === */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237E8794'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.contact-info {
  padding-top: 20px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info-item span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === Legal Content === */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 40px;
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Page Hero (Internal Pages) === */
.page-hero {
  padding: 180px 0 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-content {
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.page-hero h1 {
  margin-bottom: 24px;
  text-align: center;
}

.page-hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-hero .hero-ctas {
  justify-content: center;
}

/* === Services Grid (Internal) === */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 20px;
}

.service-use-case {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}

.service-use-case strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.service-use-case p {
  font-size: 0.9rem;
  margin: 0;
}

.service-visual {
  aspect-ratio: 1;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(255,214,10,0.03));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual .glow-orb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,10,0.1), transparent);
  position: absolute;
}

/* === Sub-services grid (compact) === */
.subservices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.subservice-card {
  padding: 32px;
}

.subservice-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.subservice-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* === Products Grid === */
.products-section {
  padding-top: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Product card — mirrors .case-card */
.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 214, 10, 0.3);
  box-shadow: 0 20px 60px rgba(255, 214, 10, 0.08);
}

.product-card.hidden {
  display: none;
}

/* Próximamente variant */
.product-card--soon {
  opacity: 0.7;
}

.product-card--soon:hover {
  opacity: 1;
}

.product-card--soon .product-card-body {
  flex: 1;
  justify-content: center;
}

.product-card--soon .product-card-subtitle {
  margin-bottom: 32px;
}

.product-card--soon .product-card-icon-wrap {
  margin-bottom: 20px;
}

/* Icon — inside body flow, shares same padding system */
.product-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 214, 10, 0.10);
  border: 1px solid rgba(255, 214, 10, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(255, 214, 10, 0.06);
}

.product-card-icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: #FFD60A;
}

/* Body — single content flow */
.product-card-body {
  padding: 32px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.product-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.product-card-features li svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: #FFD60A;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
}

/* CTAs */
.product-card-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.product-card-ctas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.88rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.product-card-ctas .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.product-card-ctas .btn:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-card-body {
    padding: 24px 20px 28px;
  }
}

/* === Problems Grid === */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.problem-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* === Benefits Grid === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.benefit-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 214, 10, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-check svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.benefit-item p {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* === Values Grid (About) === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* === Page specific hero variants === */
.hero--center {
  text-align: center;
}

.hero--center .hero-content {
  margin: 0 auto;
}

.hero--center .hero-ctas {
  justify-content: center;
}

/* === Stats bar === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
  :root {
    --section-padding: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-preview,
  .contact-section,
  .service-detail {
    gap: 48px;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .service-visual {
    max-height: 300px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--glass-border);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-toggle {
    display: flex;
  }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    padding: 0 0 0 16px;
    min-width: unset;
  }

  .has-dropdown .dropdown-inner {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title-main {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-reveal {
    padding: 0 12px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .process-grid {
    justify-content: center;
  }

  .process-step {
    flex: 0 1 calc(50% - 12px);
  }

  .subservices-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .scroll-words-inner {
    padding-inline: 1.25rem;
  }

  .scroll-words-fixed,
  .scroll-word {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .card {
    padding: 28px;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex: 0 1 auto;
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .scroll-words-fixed,
  .scroll-word {
    font-size: clamp(1.2rem, 6.5vw, 1.6rem);
  }
}

/* === Cases — Shared Card Styles === */
.case-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 214, 10, 0.3);
  box-shadow: 0 20px 60px rgba(255, 214, 10, 0.08);
}

.case-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary), rgba(255, 214, 10, 0.04));
}

.case-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 40px -20px var(--bg-primary);
  pointer-events: none;
  z-index: 1;
}

.case-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-img-wrap img {
  transform: scale(1.05);
}

.case-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: rgba(255, 214, 10, 0.2);
}

.case-card-body {
  padding: 28px 32px 32px;
}

.case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.case-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
}

.case-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.case-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card-metrics {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.case-card-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-card-metric strong {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.case-card-metric span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.case-card-btn:hover {
  gap: 12px;
}

.case-card-btn .arrow {
  transition: transform 0.3s ease;
}

.case-card-btn:hover .arrow {
  transform: translateX(4px);
}

/* === Cases — Home Carousel === */
.cases-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 max(24px, calc((100vw - var(--container-width)) / 2 + 24px)) 20px;
  scrollbar-width: none;
  cursor: grab;
}

.cases-carousel::-webkit-scrollbar {
  display: none;
}

.cases-carousel .case-card {
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
}

/* === Cases — Carousel Dots === */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 214, 10, 0.25);
  border-color: rgba(255, 214, 10, 0.4);
}

.carousel-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* === Cases — Page Grid === */
.cases-filters-section {
  padding-top: 40px;
}

.filters-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 180px;
}

.filter-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 40px 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  width: 100%;
}

.filter-select:hover {
  border-color: rgba(255, 214, 10, 0.35);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

.filter-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.cases-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

/* === Case Modal === */
.case-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}

.case-modal-overlay.active {
  display: flex;
}

.case-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  margin: 20px auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 214, 10, 0.04);
}

.case-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
}

.case-modal-close:hover {
  background: rgba(255, 214, 10, 0.15);
  border-color: var(--accent);
}

.case-modal-close:hover svg {
  stroke: var(--accent);
}

.case-modal-scroll {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 214, 10, 0.2) transparent;
}

.case-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.case-modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.case-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 214, 10, 0.2);
  border-radius: 3px;
}

.case-modal-content {
  padding: 0;
}

/* Modal Hero Image */
.modal-hero-img {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.modal-hero-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
  pointer-events: none;
}

.modal-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-placeholder {
  background: linear-gradient(135deg, var(--bg-primary), rgba(255, 214, 10, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-placeholder-icon svg {
  width: 80px;
  height: 80px;
  stroke: rgba(255, 214, 10, 0.15);
}

/* Modal Header */
.modal-header {
  padding: 0 48px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  padding: 5px 14px;
  border-radius: 8px;
}

.modal-header h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  line-height: 1.15;
}

.modal-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.modal-client {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-client strong {
  color: var(--text-secondary);
}

/* Modal Metrics */
.modal-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 48px;
  padding: 28px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.modal-metric {
  text-align: center;
}

.modal-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.modal-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modal Body */
.modal-body {
  padding: 0 48px 48px;
}

.modal-section {
  margin-bottom: 36px;
}

.modal-section h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}

.modal-section p {
  line-height: 1.8;
  color: var(--text-secondary);
}

.modal-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

/* Modal Features */
.modal-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color 0.3s ease;
}

.modal-feature:hover {
  border-color: rgba(255, 214, 10, 0.2);
}

.modal-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 214, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.modal-feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

.modal-feature strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.modal-feature p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Modal Gallery */
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.modal-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-gallery-item::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(255, 214, 10, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-gallery-item:hover::after {
  opacity: 1;
}

.modal-gallery-item:hover {
  border-color: rgba(255, 214, 10, 0.25);
  box-shadow: 0 8px 32px rgba(255, 214, 10, 0.06);
}

.modal-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.modal-gallery-item:hover img {
  transform: scale(1.03);
}

.modal-gallery-caption {
  display: block;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
}

/* Modal Results */
.modal-results {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-results li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--glass-bg);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.modal-results li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Modal Impact */
.modal-impact {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.7;
}

/* Modal Footer */
.modal-footer {
  text-align: center;
  padding: 32px;
  margin-top: 16px;
  background: rgba(255, 214, 10, 0.03);
  border: 1px solid rgba(255, 214, 10, 0.1);
  border-radius: 16px;
}

.modal-footer p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* === Cases Responsive === */
@media (max-width: 768px) {
  .cases-carousel .case-card {
    min-width: 300px;
    max-width: 300px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    padding: 20px;
    flex-direction: column;
  }

  .filter-group {
    min-width: unset;
  }

  .case-modal {
    border-radius: 16px;
    margin: 10px;
  }

  .case-modal-overlay {
    padding: 10px;
  }

  .modal-header {
    padding: 0 24px;
  }

  .modal-header h2 {
    font-size: 1.6rem;
  }

  .modal-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 24px;
    gap: 20px;
  }

  .modal-body {
    padding: 0 24px 32px;
  }

  .modal-hero-img {
    height: 240px;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
