/* ===================================================
   RevLab — Digital Marketing Agency
   Base + Hero Section Styles
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #111111;
  --bg-nav: #000000;
  --white: #ffffff;
  --white-muted: #b0b0c8;
  --gold: #ffd556;
  --coral: #ff6b6b;
  --lime: #a3e635;
  --lime-hover: #bef264;
  --badge-yellow: #facc15;
  --badge-orange: #f59e6b;
  --badge-purple: #c4a8ff;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 2rem;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  flex-shrink: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-muted);
  transition: color 0.25s;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-btn {
  position: relative;
  color: var(--white);
  transition: color 0.25s;
}

.cart-btn:hover {
  color: var(--lime);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--white);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: var(--lime);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition:
    background 0.25s,
    transform 0.2s;
}

.btn-contact:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 4rem;
  overflow: hidden;
}

/* Background glow */
.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(163, 230, 53, 0.06) 0%,
    rgba(163, 230, 53, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* Tagline */
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

/* Heading */
.hero-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
  position: relative;
}

.hero-line {
  display: block;
  position: relative;
}

.text-white {
  color: var(--white);
}
.text-gold {
  color: var(--gold);
}

/* ---------- 3D Badges (absolutely positioned) ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  position: absolute;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  will-change: transform;
  z-index: 2;
  pointer-events: none;
}

.badge-strategy {
  background: linear-gradient(135deg, var(--badge-yellow), #e9b308);
  color: #1a1a00;
  top: 5%;
  left: 5%;
  transform: rotate(-12deg) translateY(-8px);
  animation: floatBadge1 4s ease-in-out infinite;
}

.badge-success {
  background: linear-gradient(135deg, var(--badge-orange), #e57a4a);
  color: #2a1500;
  top: 0;
  right: 2%;
  transform: rotate(8deg) translateY(-10px);
  animation: floatBadge2 4.5s ease-in-out infinite;
  font-size: 0.72rem;
}

.badge-marketing {
  background: linear-gradient(135deg, var(--badge-purple), #a78bfa);
  color: #1a0a3a;
  bottom: 8%;
  right: 0;
  transform: rotate(10deg) translateY(-4px);
  animation: floatBadge3 5s ease-in-out infinite;
}

/* Decorative emoji */
.hero-deco-img {
  display: inline-block;
  font-size: 2.8rem;
  margin-right: 0.15em;
  vertical-align: middle;
  animation: floatDeco 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--white-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.btn-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.1);
}

.btn-cta svg {
  transition: transform 0.3s;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

/* =============================================
   LOGOS MARQUEE SECTION
   ============================================= */
.logos-section {
  padding: 4rem 0 3.5rem;
  background: var(--white);
  text-align: center;
  overflow: hidden;
}

.logos-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.logos-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-item svg {
  height: 28px;
  width: auto;
  color: #0e0e2c;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.logo-item:hover svg {
  opacity: 1;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  padding: 5rem 2rem 6rem;
  background: var(--white);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.services-header-left {
  flex: 1;
}

.services-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  text-transform: capitalize;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.services-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  color: #0e0e2c;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.services-description {
  flex: 0 1 320px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.service-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #0e0e2c;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card-text {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: 6rem 2rem 5rem;
  background: #f5f5f0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Top: brand name left + heading right */
.about-top {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.about-brand {
  flex: 0 0 200px;
  padding-top: 0.5rem;
}

.about-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #0e0e2c;
  letter-spacing: -0.03em;
}

.about-brand-name sup {
  font-size: 0.5em;
  color: var(--coral);
  vertical-align: super;
}

.about-heading-wrap {
  flex: 1;
}

.about-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.15;
  color: #0e0e2c;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
}

.about-heading .text-coral {
  color: var(--coral);
}

/* Inline badges for About heading */
.badge-strategy-ab,
.badge-success-ab,
.badge-marketing-ab {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  vertical-align: middle;
  margin: 0 0.15em;
  will-change: transform;
}

.badge-strategy-ab {
  background: linear-gradient(135deg, var(--badge-yellow), #e9b308);
  color: #1a1a00;
  transform: rotate(-8deg);
  animation: floatBadge1 4s ease-in-out infinite;
}

.badge-success-ab {
  background: linear-gradient(135deg, var(--badge-orange), #e57a4a);
  color: #2a1500;
  transform: rotate(6deg);
  animation: floatBadge2 4.5s ease-in-out infinite;
  font-size: 0.65rem;
}

.badge-marketing-ab {
  background: linear-gradient(135deg, var(--badge-purple), #a78bfa);
  color: #1a0a3a;
  transform: rotate(8deg);
  animation: floatBadge3 5s ease-in-out infinite;
}

.about-img-inline {
  display: inline-block;
  font-size: 1.6rem;
  vertical-align: middle;
  margin: 0 0.1em;
  filter: grayscale(0.5);
}

/* Bottom: stat left + two text columns right */
.about-bottom {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.about-stat {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
}

.about-stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  color: #0e0e2c;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-stat-label {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}

.about-texts {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* CTA */
.about-cta-wrap {
  padding-left: 200px;
  margin-left: 3rem;
}

.btn-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0e0e2c;
  background: var(--lime);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-about-cta:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163, 230, 53, 0.3);
}

.btn-about-cta svg {
  transition: transform 0.3s;
}

.btn-about-cta:hover svg {
  transform: translateX(4px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBadge1 {
  0%,
  100% {
    transform: rotate(-12deg) translateY(-8px);
  }
  50% {
    transform: rotate(-10deg) translateY(-20px);
  }
}

@keyframes floatBadge2 {
  0%,
  100% {
    transform: rotate(8deg) translateY(-10px);
  }
  50% {
    transform: rotate(6deg) translateY(-24px);
  }
}

@keyframes floatBadge3 {
  0%,
  100% {
    transform: rotate(10deg) translateY(-4px);
  }
  50% {
    transform: rotate(12deg) translateY(-18px);
  }
}

@keyframes floatDeco {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   THINK WITH REVLAB SECTION
   ============================================= */
.think-section {
  background: #f2efe9;
  padding: 5rem 0 6rem;
}

.think-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.think-header {
  margin-bottom: 3.5rem;
}

.think-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--coral);
  display: block;
  margin-bottom: 1rem;
}

.think-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #0e0e2c;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.think-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  line-height: 1.6;
}

.think-marquee {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.think-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.think-track-1 {
  animation: thinkScroll1 80s linear infinite;
}

.think-track-2 {
  animation: thinkScroll2 90s linear infinite;
}

@keyframes thinkScroll1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes thinkScroll2 {
  0% {
    transform: translateX(-33.333%);
  }
  100% {
    transform: translateX(0);
  }
}

.think-card {
  flex: 0 0 auto;
  width: 380px;
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.think-card:hover {
  border-color: #0e0e2c;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.think-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  width: fit-content;
}

.think-tag-ads {
  background: #fdf6e3;
  color: #92400e;
}

.think-tag-analytics {
  background: #d9f99d;
  color: #365314;
}

.think-tag-web {
  background: #ddd6fe;
  color: #4c1d95;
}

.think-tag-cro {
  background: #bfdbfe;
  color: #1e3a5f;
}

.think-tag-seo {
  background: #bfdbfe;
  color: #1e3a5f;
}

.think-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #0e0e2c;
  line-height: 1.35;
}

.think-card-preview {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  flex-grow: 1;
}

.think-card-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0e0e2c;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.think-card:hover .think-card-link {
  color: var(--coral);
}

@media (max-width: 600px) {
  .think-card {
    width: 300px;
  }
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq {
  background: #f2efe9;
  padding: 5rem 2rem 6rem;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.faq-left {
  flex: 0 0 320px;
  position: sticky;
  top: 100px;
}

.faq-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--coral);
  display: block;
  margin-bottom: 1rem;
}

.faq-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #0e0e2c;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.faq-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.3s;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.7);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  color: #0e0e2c;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid #0e0e2c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  transition:
    transform 0.3s,
    background 0.3s;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #0e0e2c;
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.5rem;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* =============================================
   PROJECT MODAL
   ============================================= */
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.project-modal.active {
  display: flex;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.project-modal-content {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 880px;
  width: 90%;
  max-height: 85vh;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.35s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  line-height: 1;
}

.project-modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

.project-modal-img {
  display: none;
}

.project-modal-body {
  flex: 1;
  padding: 4rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
}

.project-modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #0e0e2c;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.project-modal-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.project-modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
}

.project-modal-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #333;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.project-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

.project-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0e0e2c;
  background: var(--lime);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  margin-top: 0.5rem;
  width: fit-content;
  transition:
    background 0.25s,
    transform 0.15s;
}

.project-modal-cta:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .project-modal-content {
    flex-direction: column;
    max-height: 90vh;
  }

  .project-modal-body {
    padding: 3.5rem 1.5rem 1.5rem;
  }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
  background: var(--bg-dark);
  padding: 5rem 2rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Left column */
.contact-left {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.5rem;
  align-self: stretch;
}

.contact-img {
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  position: relative;
}

.contact-img-team {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-info-card {
  position: relative;
  background: linear-gradient(135deg, #f9a8d4 0%, #f0abfc 50%, #fde68a 100%);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
}

.contact-info-deco {
  position: absolute;
  bottom: -20px;
  right: 40px;
  width: 80px;
  height: 120px;
  border: 4px solid #fde68a;
  border-radius: 50% 50% 0 0;
  transform: rotate(-15deg);
  opacity: 0.6;
}

.contact-info-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #0e0e2c;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-info-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #2a2a2a;
  line-height: 1.7;
}

/* Right column — form */
.contact-right {
  background: transparent;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--coral);
  display: block;
  margin-bottom: 0.75rem;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-form-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #333;
  background: #f2efe9;
  border: none;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  outline: none;
  transition: box-shadow 0.2s;
}

.contact-form-input::placeholder {
  color: #999;
}

.contact-form-input:focus {
  box-shadow: 0 0 0 2px var(--lime);
}

.contact-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.contact-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #0e0e2c;
  background: #fde68a;
  border: none;
  border-radius: 12px;
  padding: 1.1rem;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.15s;
}

.contact-form-btn:hover {
  background: #fcd34d;
  transform: translateY(-1px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #f2efe9;
  padding: 0 2rem 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-divider {
  border: none;
  border-top: 2px dotted rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

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

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #333;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #0e0e2c;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #0e0e2c;
}

.footer-social a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #555;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #0e0e2c;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }

  .nav-links.open {
    display: flex;
  }
  .nav-link.active::before {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 90px 1.5rem 2.5rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
  }

  .badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
  }

  .badge-success {
    font-size: 0.55rem;
  }
  .hero-deco-img {
    font-size: 2rem;
  }

  .services-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .services-description {
    flex: none;
  }

  .services-grid,
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 280px;
  }

  .about-top {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .about-brand {
    flex: 0 0 auto;
  }

  .about-bottom {
    flex-direction: column;
    gap: 2rem;
  }

  .about-stat {
    flex: 0 0 auto;
  }

  .about-texts {
    grid-template-columns: 1fr;
  }

  .about-cta-wrap {
    padding-left: 0;
    margin-left: 0;
  }

  .faq-container {
    flex-direction: column;
    gap: 2rem;
  }

  .faq-left {
    flex: 0 0 auto;
    position: static;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
  }

  .hero {
    margin-top: 120px;
    min-height: auto;
    padding: 90px 1.25rem 2.5rem;
  }

  .hero-heading {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .hero-cert-img {
    margin: 1rem auto;
  }

  .btn-contact {
    display: none;
  }
  .badge {
    display: none;
  }

  .services {
    padding: 2.5rem 1rem 3.5rem;
  }
}

/* ================================================
   CONVERSATIONAL FORM  — light theme, colores corporativos
   ================================================ */
.cform {
  background: #ffffff;
  border: 1px solid #e8e4df;
  border-radius: 24px;
  padding: 2rem 2rem 1.75rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
}

.cform-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cform-progress-wrap {
  height: 3px;
  background: #ede9e4;
  border-radius: 2px;
  overflow: hidden;
}

.cform-progress-bar {
  height: 100%;
  background: #ff845e;
  border-radius: 2px;
  width: 0%;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cform-step-label {
  font-size: 0.72rem;
  color: #aaa49d;
  text-align: right;
  letter-spacing: 0.04em;
}

/* Body / step area */
.cform-body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.cform-step {
  animation: cformIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cform-step.going-back {
  animation: cformInBack 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cformIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes cformOutBack {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}

/* Question text */
.cform-question {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.cform-subtitle {
  font-size: 0.8rem;
  color: #8a857e;
  margin-bottom: 1.1rem;
}

/* === Card grid === */
.cform-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.cform-cards.layout-col {
  grid-template-columns: 1fr;
}

.cform-cards.layout-auto {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.cform-card {
  background: #f7f5f2;
  border: 1.5px solid #e4e0da;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    transform 0.14s;
  user-select: none;
  position: relative;
}

.cform-card:hover {
  border-color: #d4cfc8;
  background: #f0ede8;
  transform: translateY(-2px);
}

.cform-card.selected {
  border-color: #ff845e;
  background: rgba(255, 132, 94, 0.07);
}

.cform-card-check {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d4cfc8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  transition: all 0.15s;
}

.cform-card.selected .cform-card-check {
  background: #ff845e;
  border-color: #ff845e;
  color: #ffffff;
}

.cform-card-icon {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  display: block;
  line-height: 1;
}

.cform-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  display: block;
}

.cform-card.selected .cform-card-label {
  color: #d45f3a;
}

.cform-card-desc {
  font-size: 0.72rem;
  color: #9e998f;
  margin-top: 0.2rem;
  line-height: 1.4;
  display: block;
}

/* === Text input === */
.cform-input-wrap {
  margin-top: 1rem;
}

.cform-text-input {
  width: 100%;
  background: #f7f5f2;
  border: 1.5px solid #e4e0da;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 1.05rem;
  color: #111111;
  font-family: var(--font-body);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.cform-text-input:focus {
  border-color: #ff845e;
  box-shadow: 0 0 0 3px rgba(255, 132, 94, 0.12);
}

.cform-text-input::placeholder {
  color: #bdb8b0;
}

/* === Contact step === */
.cform-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cform-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cform-field.full {
  grid-column: 1 / -1;
}

.cform-field-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9e998f;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cform-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-body);
}

/* === Navigation === */
.cform-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid #ede9e4;
}

.cform-back {
  background: none;
  border: none;
  color: #bdb8b0;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  transition: color 0.2s;
  display: none;
}

.cform-back:hover {
  color: #555;
}

.cform-next {
  background: #ff845e;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition:
    transform 0.15s,
    opacity 0.15s,
    background 0.15s;
}

.cform-next:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #ff9a7a;
}

.cform-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* === Summary chips === */
.cform-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
}

.cform-chip {
  background: rgba(255, 132, 94, 0.1);
  border: 1px solid rgba(255, 132, 94, 0.25);
  color: #d45f3a;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* Responsive */
@media (max-width: 640px) {
  .cform {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .cform-cards {
    grid-template-columns: 1fr;
  }
  .cform-contact-grid {
    grid-template-columns: 1fr;
  }
}
