/* =========================================================
   LUMENS — social.css
   High-contrast white/black base. The blue→black noise-gradient
   banner is the single recurring color accent (hero, teaser,
   primary CTA, portfolio card headers). Geometric sans headings
   (Poppins) + Inter body — no serif, no script.
========================================================= */
:root{
  --soc-bg: #FFFFFF;
  --soc-bg-soft: #F5F5F3;
  --soc-ink: #121212;
  --soc-ink-soft: #57564F;
  --soc-ink-faint: #8B8A83;
  --soc-line: rgba(18,18,18,0.12);
  --soc-line-soft: rgba(18,18,18,0.08);
  --soc-footer-bg: #0A0A0A;
  --soc-line-dark: rgba(255,255,255,0.16);
  --soc-link: #2F6FED;

  --soc-grad-a: #04070C;
  --soc-grad-b: #0E2E63;
  --soc-grad-c: #1C6FEB;
  --soc-grad-d: #3D9BFF;
  --soc-glow: rgba(255,150,102,0.38);

  --soc-header-bg: rgba(255,255,255,0.86);
  --soc-invert-bg: #121212;
  --soc-invert-text: #FFFFFF;

  --font-heading: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --r-lg: clamp(28px, 5vw, 56px);
  --r-md: 22px;
}

body.soc{
  background: var(--soc-bg);
  color: var(--soc-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.soc ::selection{ background: var(--soc-invert-bg); color: var(--soc-invert-text); }
.soc :focus-visible{ outline: 2px solid var(--soc-grad-c); }

h1,h2,h3{ font-family: var(--font-heading); font-weight: 700; margin:0; letter-spacing: -0.01em; color: var(--soc-ink); }

/* gradient-text accent — replaces the old script-font emphasis */
.soc-accent{
  background: linear-gradient(100deg, var(--soc-grad-b), var(--soc-grad-c) 55%, var(--soc-grad-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* reusable film-grain texture, scoped to whatever banner it sits inside */
.soc-grain{
  position:absolute; inset:0; pointer-events:none; z-index:2;
  mix-blend-mode: overlay; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* the signature gradient background, reused at different scales */
.soc-gradient-bg{
  background:
    radial-gradient(55% 65% at 68% 32%, var(--soc-glow), transparent 62%),
    linear-gradient(115deg, var(--soc-grad-a) 0%, var(--soc-grad-b) 45%, var(--soc-grad-c) 78%, var(--soc-grad-d) 100%);
}

section{ padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 64px); }
.soc-head{ max-width: 620px; margin: 0 auto 50px; text-align:center; }
.soc-head h2{ font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-top: 16px; }

.soc-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soc-ink-soft);
  border: 1px solid var(--soc-line); border-radius: 999px; padding: 7px 16px;
}
.soc-pill--dark{ border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.9); }

/* line breaks that only apply on desktop, per content request */
.soc-lb-desktop{ display: none; }
@media (min-width: 901px){
  .soc-lb-desktop{ display: inline; }
}

/* =========================================================
   HEADER
========================================================= */
.soc-header{
  position: sticky; top:0; z-index: 200;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: var(--soc-header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--soc-line-soft);
}
.soc-brand{ display:flex; align-items:center; gap: 10px; }
.soc-logo-img{ height: 30px; width: auto; display:block; }
.soc-logo-img--sm{ height: 24px; }
.soc-logo-mark{ height: 30px; width: auto; display:block; }
.soc-logo-word{ height: 17px; width: auto; display:block; }

.soc-nav{ display:flex; align-items:center; gap: clamp(16px,2vw,30px); margin-left: auto; }
.soc-nav a{ font-size: 14px; color: var(--soc-ink-soft); font-weight: 500; transition: color .25s var(--ease); }
.soc-nav a:hover{ color: var(--soc-ink); }
.soc-nav-cta{
  font-family: var(--font-body) !important; font-size: 13.5px !important; font-weight: 600 !important;
  background: var(--soc-invert-bg); color: var(--soc-invert-text) !important;
  padding: 10px 20px; border-radius: 999px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.soc-nav-cta:hover{ transform: translateY(-1px); filter: brightness(1.15); }

.soc-switch{ font-family: var(--font-mono); font-size: 11px; color: var(--soc-ink-faint); white-space:nowrap; }
.soc-switch:hover{ color: var(--soc-ink); }

.soc-nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
.soc-nav-toggle span{ width:22px; height:1.6px; background: var(--soc-ink); }

/* =========================================================
   HERO — gradient/grain "banner" holding the video
========================================================= */
.soc-hero-section{ padding-top: clamp(20px,3vw,32px); padding-bottom: 0; }
.soc-hero-banner{
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 82vh;
  display:flex; align-items:center; justify-content:center; text-align:center;
  background: linear-gradient(115deg, var(--soc-grad-a) 0%, var(--soc-grad-b) 45%, var(--soc-grad-c) 78%, var(--soc-grad-d) 100%);
}
.soc-hero-banner::before{
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(55% 65% at 68% 32%, var(--soc-glow), transparent 62%);
}

.soc-hero-media{ position:absolute; inset:0; z-index:1; }
.soc-hero-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.soc-hero:not(.soc-hero--no-video) .soc-hero-video{ opacity: 0.9; }

.soc-hero-overlay{
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(4,7,12,0.25) 0%, rgba(4,7,12,0.1) 40%, rgba(4,7,12,0.55) 100%);
}

.soc-hero-content{ position: relative; z-index: 3; max-width: 760px; padding: 40px 24px; }
.soc-eyebrow{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 22px;
}
.soc-title{
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.05; color: #fff; font-weight: 700;
}
.soc-title .soc-accent{
  background: linear-gradient(100deg, #DCEBFF, #ffffff 60%, #DCEBFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soc-sub{
  margin: 26px auto 0; max-width: 480px; color: rgba(255,255,255,0.82); font-size: 16.5px;
}
.soc-actions{ margin-top: 34px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 15px 28px; font-size: 14.5px; font-weight: 600;
  border-radius: 999px;
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn--soc-grad{
  background: linear-gradient(100deg, var(--soc-grad-b), var(--soc-grad-c) 55%, var(--soc-grad-d));
  color: #fff; box-shadow: 0 8px 24px rgba(28,111,235,0.28);
}
.btn--soc-grad:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28,111,235,0.36); }
.btn--soc-ghost{ border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn--soc-ghost:hover{ border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn--soc-white{ background: #fff; color: var(--soc-grad-b); }
.btn--soc-white:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn--full{ width: 100%; }

/* =========================================================
   SERVICIOS
========================================================= */
.soc-services-grid{
  max-width: 1100px; margin: 0 auto;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.soc-service{
  background: var(--soc-bg-soft); border: 1px solid var(--soc-line-soft); border-radius: var(--r-md);
  padding: 30px 24px;
}
.soc-service-n{ font-family: var(--font-mono); font-size: 12px; color: var(--soc-ink-faint); }
.soc-service h3{ font-size: 19px; margin: 16px 0 10px; font-weight: 600; }
.soc-service p{ font-size: 14px; color: var(--soc-ink-soft); }
.soc-services-note{
  max-width: 1100px; margin: 24px auto 0; text-align:center;
  font-size: 12.5px; color: var(--soc-ink-faint); font-style: italic;
}

/* =========================================================
   PORTFOLIO GRID
========================================================= */
.soc-portafolio{ background: var(--soc-bg-soft); }
.soc-grid{
  max-width: 1200px; margin: 0 auto;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.soc-card{
  background: var(--soc-bg); border: 1px solid var(--soc-line-soft); border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.soc-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(18,18,18,0.1); }
.soc-card-ph{
  position:relative; aspect-ratio: 16/10; overflow:hidden;
  background: linear-gradient(115deg, var(--soc-grad-a) 0%, var(--soc-grad-b) 50%, var(--soc-grad-c) 100%);
}
.soc-card-ph::before{ content:""; position:absolute; inset:0; background: radial-gradient(60% 70% at 75% 20%, var(--soc-glow), transparent 65%); }
.soc-card-ph::after{
  content:""; position:absolute; inset:0; mix-blend-mode: overlay; opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.soc-card-meta{ padding: 18px 20px 20px; }
.soc-card-tag{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing:0.08em; color: var(--soc-ink-faint); text-transform: uppercase; }
.soc-card h4{ font-size: 16px; font-weight: 600; margin: 6px 0 0; }

/* =========================================================
   PROCESO
========================================================= */
.soc-steps{
  max-width: 980px; margin: 0 auto;
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.soc-step-n{
  font-family: var(--font-heading); font-size: 30px; font-weight: 800; display:block; margin-bottom: 14px;
  background: linear-gradient(100deg, var(--soc-grad-b), var(--soc-grad-c) 55%, var(--soc-grad-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soc-steps h3{ font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.soc-steps p{ font-size: 14px; color: var(--soc-ink-soft); }
.soc-steps li{ border-top: 1px solid var(--soc-line-soft); padding-top: 22px; }

/* =========================================================
   TEASER — full gradient/grain callout banner
========================================================= */
.soc-teaser-wrap{ padding-top: 0; padding-bottom: 0; }
.soc-teaser{
  position: relative; isolation: isolate; overflow:hidden;
  max-width: 1100px; margin: 0 auto;
  border-radius: var(--r-lg);
  padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 60px);
  text-align:center;
  background: linear-gradient(115deg, var(--soc-grad-a) 0%, var(--soc-grad-b) 45%, var(--soc-grad-c) 85%, var(--soc-grad-d) 100%);
}
.soc-teaser::before{
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(55% 70% at 30% 70%, var(--soc-glow), transparent 60%);
}
.soc-teaser > *{ position: relative; z-index: 2; }
.soc-teaser h2{ color:#fff; font-size: clamp(24px, 3.2vw, 38px); max-width: 640px; margin: 16px auto 14px; }
.soc-teaser-copy{ color: rgba(255,255,255,0.78); font-size: 15px; }
.soc-teaser-cta{ margin-top: 28px; }

/* =========================================================
   CONTACT
========================================================= */
.soc-contacto-grid{
  max-width: 1100px; margin:0 auto;
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.soc-contacto-copy h2{ font-size: clamp(28px,4vw,44px); margin: 16px 0 18px; }
.soc-contacto-copy p{ color: var(--soc-ink-soft); max-width: 380px; margin-bottom: 26px; }
.soc-mail{ font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--soc-link); border-bottom: 1px solid transparent; }
.soc-mail:hover{ border-color: var(--soc-link); }

.soc-form{ display:flex; flex-direction:column; gap:16px; }
.soc-field{ display:flex; flex-direction:column; gap:6px; }
.soc-field label{ font-family: var(--font-mono); font-size: 11px; letter-spacing:0.06em; color: var(--soc-ink-faint); }
.soc-field input, .soc-field select, .soc-field textarea{
  background: var(--soc-bg-soft); border: 1px solid var(--soc-line);
  color: var(--soc-ink); padding: 12px 16px; font-size: 14.5px; border-radius: 12px;
  font-family: var(--font-body);
  transition: border-color .2s var(--ease);
}
.soc-field input:focus, .soc-field select:focus, .soc-field textarea:focus{ border-color: var(--soc-grad-c); outline: none; }
.soc-form-note{ font-size: 11.5px; color: var(--soc-ink-faint); text-align:center; }
.soc-honeypot{
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* =========================================================
   FOOTER
========================================================= */
.soc-footer{ background: var(--soc-footer-bg); color: #fff; padding: 40px clamp(20px, 4vw, 64px) 30px; }
.soc-footer-top{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: 18px; max-width: 1200px; margin: 0 auto; }
.soc-footer-links{ display:flex; gap: 24px; flex-wrap: wrap; }
.soc-footer-links a{ font-size: 13.5px; color: rgba(255,255,255,0.7); }
.soc-footer-links a:hover{ color: #fff; }
.soc-footer-line{ height:1px; background: var(--soc-line-dark); max-width: 1200px; margin: 26px auto; }
.soc-footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap: wrap; gap: 12px;
  max-width: 1200px; margin: 0 auto;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.soc-footer-bottom a:hover{ color: #fff; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px){
  .soc-nav{ display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:flex-start; gap:16px; background: var(--soc-bg); padding: 22px clamp(20px,4vw,64px) 28px; border-bottom: 1px solid var(--soc-line-soft); }
  .soc-nav.is-open{ display:flex; }
  .soc-nav-toggle{ display:flex; }
  .soc-switch{ display:none; }
  .soc-services-grid{ grid-template-columns: repeat(2,1fr); }
  .soc-grid{ grid-template-columns: repeat(2,1fr); }
  .soc-steps{ grid-template-columns: repeat(2,1fr); }
  .soc-contacto-grid{ grid-template-columns: 1fr; }
  .soc-hero-banner{ min-height: 74vh; border-radius: 26px; }
}
@media (max-width: 560px){
  .soc-services-grid, .soc-grid, .soc-steps{ grid-template-columns: 1fr; }
}
