/* ============================
   SOCIAL LAB — Design System
   ============================ */

/* --- CSS Custom Properties --- */
:root {
  --celeste: #8Bccec;
  --carmesi: #ef97b4;
  --carmesi-claro: #fda5b8;
  --rosa-claro: #ffdae9;
  --fondo-azul: #e8f4fb;
  --dark: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --white: #ffffff;
  --gradient-brand: linear-gradient(135deg, var(--carmesi) 0%, var(--celeste) 100%);
  --gradient-brand-reverse: linear-gradient(135deg, var(--celeste) 0%, var(--carmesi) 100%);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 20px rgba(15,23,42,0.08);
  --shadow-lg: 0 10px 40px rgba(15,23,42,0.12);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 64px; }
}

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .section { padding: 72px 0; }
}

@media (min-width: 768px) {
  .section { padding: 140px 0; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--carmesi);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 3px;
  background: var(--carmesi);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.8;
}

/* --- Grid Pattern Background --- */
.bg-grid {
  background-image: radial-gradient(circle at 1px 1px, var(--gray-200) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ============================
   HEADER / NAVIGATION
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

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

.logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--carmesi);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.btn-primary:hover {
  background: var(--carmesi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: var(--radius-sm);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-carmesi {
  background: var(--carmesi);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.btn-carmesi:hover {
  background: var(--carmesi-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(239,151,180,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-sm);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

.header .btn {
  display: none;
  font-size: 0.68rem;
  padding: 12px 24px;
}

@media (min-width: 768px) {
  .header .btn { display: inline-flex; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--carmesi);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-content { padding: 80px 40px; }
}

@media (min-width: 1024px) {
  .hero-content { padding: 0 80px; }
}

/* Decorative blobs */
.hero-content::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,204,236,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.hero-content::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239,151,180,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(239,151,180,0.1);
  border-left: 4px solid var(--carmesi);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--carmesi);
  margin-bottom: 32px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--dark);
}

.hero-title .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 767px) {
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    padding: 14px 24px;
  }
}

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

.hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--dark);
}

@media (min-width: 1024px) {
  .hero-visual { min-height: 100vh; }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark) 0%, transparent 40%, transparent 100%);
}

.hero-visual-card {
  position: absolute;
  bottom: 40px;
  left: 32px;
  right: 32px;
  padding: 32px;
  border-left: 4px solid var(--celeste);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-visual-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.hero-visual-card p {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 300;
}

/* Decorative lines */
.hero-deco-h {
  position: absolute;
  top: 25%;
  right: 0;
  width: 80px;
  height: 3px;
  background: var(--carmesi);
}

.hero-deco-v {
  position: absolute;
  top: 25%;
  right: 0;
  width: 3px;
  height: 80px;
  background: var(--celeste);
}

/* ============================
   SCROLL ANIMATION HERO
   ============================ */
.scroll-animation-wrapper {
  height: 400vh; /* Extra height for scroll space — 68 frames */
  position: relative;
}

.scroll-animation-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.scroll-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.scroll-hero-overlay .container {
  pointer-events: auto;
}

.scroll-hero-content {
  max-width: 640px;
  padding: 80px 0;
}

@media (max-width: 767px) {
  .scroll-hero-content {
    padding: 100px 0 100px;
  }
  .scroll-hero-content .hero-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 1;
    margin-bottom: 20px;
  }
  .scroll-hero-content .hero-description {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .scroll-hero-content .hero-badge {
    font-size: 0.6rem;
    padding: 6px 12px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .scroll-hero-content {
    padding: 0;
  }
}

.scroll-hero-content .hero-badge {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.scroll-hero-content .hero-title {
  text-shadow: 0 2px 30px rgba(255,255,255,0.5);
}

.scroll-hero-content .hero-description {
  text-shadow: 0 1px 20px rgba(255,255,255,0.4);
  color: var(--dark-700);
  font-weight: 400;
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.4s ease;
}

.scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-shadow: 0 1px 8px rgba(255,255,255,0.6);
}

.scroll-indicator-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--carmesi), transparent);
  border-radius: 2px;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 12px;
  }
  .scroll-indicator span {
    display: none;
  }
  .scroll-indicator-line {
    height: 24px;
  }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================
   PROBLEM/SOLUTION SECTION
   ============================ */
.problems {
  background: var(--gray-100);
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (min-width: 768px) {
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  padding: 48px 36px;
  background: var(--white);
  transition: all var(--transition-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .problem-card {
    padding: 32px 24px;
  }
  .problem-number {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  .problem-card h3 {
    font-size: 1.25rem;
  }
}

.problem-card:not(:last-child) {
  border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .problem-card:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid var(--gray-200);
  }
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-card:hover {
  background: var(--dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.problem-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--carmesi);
  opacity: 0.3;
  margin-bottom: 24px;
  display: block;
}

.problem-card:hover .problem-number {
  opacity: 0.5;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.problem-card:hover h3 {
  color: var(--celeste);
}

.problem-text {
  margin-bottom: 20px;
}

.problem-text .bad {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-style: italic;
  transition: color var(--transition);
}

.problem-text .good {
  color: var(--carmesi);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.problem-card:hover .bad {
  color: var(--gray-400);
}

.problem-card:hover .problem-text p {
  color: var(--gray-300);
}

.problem-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--celeste);
}

/* ============================
   SERVICES / PRICING
   ============================ */
.services {
  background: var(--white);
  position: relative;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 767px) {
  .services-header {
    margin-bottom: 32px;
  }
}

@media (min-width: 768px) {
  .services-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); gap: 0; }
}

.service-card {
  padding: 36px 28px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

@media (min-width: 1200px) {
  .service-card {
    border-radius: 0;
    border-right: none;
  }
  .service-card:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .service-card:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-right: 1px solid var(--gray-200);
  }
}

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  z-index: 2;
  border-radius: var(--radius-md);
}

/* Featured card */
.service-card.featured {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: scaleY(1.02);
  z-index: 3;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.service-card.featured:hover {
  transform: translateY(-6px) scaleY(1.02);
  background: var(--dark-800);
}

.service-card.featured .service-phase {
  color: var(--celeste);
}

.service-card.featured .service-price {
  color: var(--white);
}

.service-card.featured .service-desc {
  color: var(--gray-400);
}

.service-card.featured .service-feature {
  color: var(--gray-300);
}

.service-card.featured .service-feature::before {
  background: var(--carmesi);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--carmesi);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.service-phase {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.service-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.service-price-period {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-400);
  margin-bottom: 24px;
  display: block;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.6;
}

.service-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--celeste);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card .btn {
  width: 100%;
  font-size: 0.68rem;
  padding: 14px 20px;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

.services-cta p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.services-cta a {
  color: var(--carmesi);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--carmesi);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.services-cta a:hover {
  color: var(--dark);
  border-color: var(--dark);
}

/* ============================
   ADDITIONAL SERVICES
   ============================ */
.addons {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.addons .section-label {
  color: var(--celeste);
}

.addons .section-label::before {
  background: var(--celeste);
}

.addons .section-title {
  color: var(--white);
}

.addons .section-subtitle {
  color: var(--gray-400);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .addons-grid { grid-template-columns: repeat(4, 1fr); }
}

.addon-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.addon-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--celeste);
  transform: translateY(-3px);
}

.addon-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.addon-card h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--white);
}

.addon-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--carmesi);
}

/* ============================
   PORTFOLIO
   ============================ */
.portfolio {
  background: var(--gray-100);
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--gray-200);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-slow);
}

.portfolio-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.1) 40%, transparent 100%);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  transform: translateY(8px);
  transition: all var(--transition);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 8px;
}

.portfolio-info h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.portfolio-info p {
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-info p {
  opacity: 1;
}

/* ============================
   ABOUT / TEAM
   ============================ */
.about {
  background: var(--white);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-layout {
    flex-direction: row;
    gap: 80px;
  }
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text .highlight {
  color: var(--carmesi);
}

.about-description {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 48px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.about-values {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.value-tag {
  padding: 8px 20px;
  background: var(--gray-100);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--dark);
  transition: all var(--transition);
}

.value-tag:hover {
  background: var(--carmesi);
  color: var(--white);
}

/* Team */
.team-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 500px;
}

@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.team-member {
  text-align: center;
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  background: var(--gray-100);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-slow);
}

.team-member:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.team-role.role-carmesi { color: var(--carmesi); }
.team-role.role-celeste { color: var(--celeste); }

/* ============================
   CONTACT / CTA
   ============================ */
.contact {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.contact .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 6rem);
  line-height: 0.95;
  margin-bottom: 28px;
}

.contact .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-desc {
  font-size: 1.15rem;
  color: var(--gray-400);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 500px;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .contact-ctas { flex-direction: row; }
}

.contact-ctas .btn {
  font-size: 0.72rem;
  padding: 18px 36px;
}

/* Decorative blobs */
.contact-blob-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,204,236,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.contact-blob-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(239,151,180,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #000;
  color: var(--gray-500);
  padding: 64px 0 100px;
}

@media (min-width: 768px) {
  .footer {
    padding: 64px 0;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 140px;
  width: auto;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 250px;
  }
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-socials a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
}

.whatsapp-btn {
  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 var(--transition);
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }
  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Pulse animation */
.whatsapp-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Fade-in on scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Services banner strip */
.services-strip {
  background: var(--dark);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
}

@media (min-width: 768px) {
  .strip-inner {
    justify-content: space-between;
  }
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.strip-item span {
  font-size: 1rem;
}

/* ============================
   UTILITIES
   ============================ */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
