/* =========================================================
   Extrategik — Dark Theme
   ========================================================= */

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

:root {
  /* Orange system (replaces the old red) */
  --orange:      #ff7a18;
  --orange-soft: #ffae52;
  --orange-deep: #ff4d10;
  --orange-glow: rgba(255,122,24,.45);

  /* Backwards-compat: the whole codebase references --red. Map it to orange. */
  --red:       var(--orange);
  --red-dim:   #d65a0e;

  --bg:        #06070a;
  --bg-panel:  #0e121a;
  --bg-card:   #131720;
  --bg-glass:  rgba(255,255,255,.04);
  --border:    rgba(255,255,255,.08);
  --text:      #e8ecf2;
  --muted:     #9fa9b7;
  --white:     #ffffff;
  --font:      'Manrope', system-ui, sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.5);
  --container: 1160px;
  --gap:       clamp(1.5rem, 4vw, 2.5rem);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Global orange "destellos" atmosphere — appears on every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../img/bg-destellos.svg") center / cover no-repeat fixed,
    radial-gradient(circle at 12% 8%, rgba(255,122,24,.10), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(255,174,82,.08), transparent 42%),
    radial-gradient(circle at 78% 92%, rgba(255,77,16,.09), transparent 45%);
  opacity: .9;
}
/* keep content above the atmosphere */
.page-shell { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --------------------------------------------- */
.page-shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* --- Topbar --------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,7,10,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.brand-logo-image {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-copy strong { font-size: .95rem; font-weight: 700; color: var(--white); }
.brand-copy span   { font-size: .7rem;  color: var(--muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--white); background: var(--bg-glass); }
.main-nav a.active { color: var(--white); background: var(--bg-card); }

/* --- Buttons -------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.button:hover   { opacity: .88; transform: translateY(-1px); }
.button:active  { transform: translateY(0); }

.button-primary  { background: var(--red);  color: #fff; }
.button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.button-secondary:hover { border-color: rgba(255,255,255,.5); }

/* --- Typography helpers --------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .25rem .75rem;
  margin-bottom: .75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.02em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.7;
}

.highlight {
  color: var(--red);
  position: relative;
}

/* --- Hero section --------------------------------------- */
.hero {
  padding-block: clamp(4rem, 10vw, 7rem);
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(255,122,24,.07) 0%, transparent 70%),
              var(--bg);
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
@media (max-width: 768px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-side  { display: none; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-side { display: flex; flex-direction: column; gap: 1rem; }

.hero-visual {
  aspect-ratio: 16/9;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(135deg, rgba(255,122,24,.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.03) 39px, rgba(255,255,255,.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.03) 39px, rgba(255,255,255,.03) 40px);
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* --- Mini cards ----------------------------------------- */
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.mini-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: .25rem;
}
.mini-card p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* --- Sections ------------------------------------------- */
.section,
.page-section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
@media (max-width: 640px) { .section-header { flex-direction: column; } }

.section-intro {
  font-size: .95rem;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.6;
  padding-top: .25rem;
}

/* --- Stats ribbon --------------------------------------- */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric-card {
  background: var(--bg-panel);
  padding: 2rem;
  transition: background .2s;
}
.metric-card:hover { background: var(--bg-card); }
.metric-card strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.metric-card p { font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* --- Service grid --------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.service-card:hover {
  border-color: rgba(255,122,24,.3);
  transform: translateY(-3px);
}

.service-image {
  aspect-ratio: 16/9;
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-copy { padding: 1.5rem; }
.service-copy h3 { margin-bottom: .5rem; }
.service-copy p  { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.service-copy ul { margin-top: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.service-copy ul li {
  font-size: .8rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.service-copy ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* --- Story grid ----------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; } }

.story-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.story-panel h2,
.story-panel h3 { margin-bottom: .75rem; }
.story-panel p  { font-size: .925rem; color: var(--muted); line-height: 1.7; }

.story-panel.media {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(255,122,24,.06) 0%, transparent 60%),
    var(--bg-panel);
  background-image:
    linear-gradient(135deg, rgba(255,122,24,.06) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.03) 39px, rgba(255,255,255,.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.03) 39px, rgba(255,255,255,.03) 40px);
}

/* --- Quote card ----------------------------------------- */
.quote-card {
  background: var(--red);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: -1rem; right: 1.5rem;
  font-size: 12rem;
  font-weight: 800;
  color: rgba(0,0,0,.15);
  line-height: 1;
}
.quote-card strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}
.quote-card h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.quote-card p { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.65; }

/* --- Timeline ------------------------------------------- */
.timeline {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.timeline li {
  font-size: .9rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* --- Pillars -------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillars {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pillars li {
  font-size: .875rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.pillars li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* --- Page hero ------------------------------------------ */
.page-hero {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}

.page-hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.page-hero-stage.media-about,
.page-hero-stage.media-services,
.page-hero-stage.media-clients {
  background-image:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(255,122,24,.06) 0%, transparent 60%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.page-hero-content .eyebrow { margin-bottom: .5rem; }
.page-hero-content h1 { margin-top: .5rem; }

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}
.page-hero-meta .mini-card { flex: 1 1 160px; }

/* --- Client grid --------------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.client-card {
  background: var(--bg-panel);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  transition: background .2s;
}
.client-card:hover { background: var(--bg-card); }
.client-card strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: .25rem; }
.client-card p { font-size: .75rem; color: var(--muted); }

/* --- Clients banner ------------------------------------- */
.clients-banner {
  margin-top: 2rem;
  background: var(--bg-panel);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.clients-banner strong { display: block; color: var(--white); margin-bottom: .5rem; }
.clients-banner p { font-size: .875rem; color: var(--muted); }

/* --- Capability grid ------------------------------------ */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.capability-grid .metric-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* --- CTA section --------------------------------------- */
.cta {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
}

.cta-box {
  background: linear-gradient(135deg, #1a0706 0%, var(--bg-panel) 60%);
  border: 1px solid rgba(255,122,24,.2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}
.cta-box h2 { margin-block: .75rem 1rem; }
.cta-box p  { color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; }
.cta-box .hero-actions { justify-content: center; }

/* --- Footer -------------------------------------------- */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding-block: 1.75rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner > div:first-child {
  font-size: .8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

/* --- Mobile nav ---------------------------------------- */
@media (max-width: 520px) {
  .main-nav a span { display: none; }
  .brand-copy span  { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}


/* --- Extrategik update: logos y clientes ----------------- */
.brand-logo-image {
  height: clamp(28px, 4vw, 40px);
  width: auto;
  max-width: clamp(145px, 24vw, 220px);
  object-fit: contain;
}
.brand-copy { display: none; }

.clients-showcase-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(255,122,24,.08), transparent 32%),
    var(--bg);
}

.client-logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.logo-card {
  position: relative;
  min-height: 180px;
  aspect-ratio: 16 / 10;
  background: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  overflow: hidden;
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.1rem 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.14), transparent);
}

.logo-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.38);
}

.logo-card img {
  width: 100%;
  max-width: 230px;
  max-height: 108px;
  object-fit: contain;
  margin-inline: auto;
}

.logo-card span {
  color: #222936;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
  opacity: .82;
}

.clients-banner-filled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: left;
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(255,122,24,.16), rgba(255,255,255,.035)),
    var(--bg-panel);
}

.clients-banner-filled img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .topbar-inner { height: auto; padding-block: .75rem; align-items: flex-start; }
  .brand-logo-image { max-width: 165px; }
  .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .logo-card { min-height: 145px; padding: 1rem; }
  .logo-card img { max-height: 78px; }
  .logo-card span { font-size: .66rem; }
  .clients-banner-filled { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .client-logo-grid { grid-template-columns: 1fr; }
}
/* --- End Extrategik update --- */


/* =========================================================
   Extrategik — Orange Glow Refresh (2026)
   Eye-catching, elegant orange highlights + real imagery
   ========================================================= */

/* Topbar gets a subtle warm underline glow */
.topbar {
  background: rgba(6,7,10,.82);
  border-bottom: 1px solid rgba(255,122,24,.16);
  box-shadow: 0 1px 0 rgba(255,122,24,.06), 0 8px 30px rgba(0,0,0,.35);
}
.main-nav a.active {
  color: var(--white);
  background: linear-gradient(180deg, rgba(255,122,24,.18), rgba(255,122,24,.06));
  box-shadow: inset 0 0 0 1px rgba(255,122,24,.28);
}
.main-nav a:hover { color: #fff; background: rgba(255,122,24,.1); }

/* Eyebrow + tags glow orange */
.eyebrow {
  color: var(--orange-soft);
  text-shadow: 0 0 18px rgba(255,122,24,.45);
}
.section-tag {
  color: var(--orange-soft);
  border-color: rgba(255,122,24,.35);
  background: rgba(255,122,24,.06);
}

/* Gradient highlight text */
.highlight {
  background: linear-gradient(100deg, var(--orange-soft), var(--orange) 45%, var(--orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 30px rgba(255,122,24,.25);
}

/* Primary button: vivid orange with glow */
.button-primary {
  background: linear-gradient(135deg, var(--orange-soft), var(--orange) 55%, var(--orange-deep));
  color: #1b0c02;
  font-weight: 700;
  box-shadow: 0 10px 30px -8px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.button-primary:hover {
  opacity: 1;
  box-shadow: 0 16px 42px -8px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.45);
}
.button-secondary:hover { border-color: var(--orange-soft); color: #fff; box-shadow: 0 0 0 1px rgba(255,122,24,.25); }

/* Hero ambient warmth */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 62% 28%, rgba(255,122,24,.14) 0%, transparent 68%),
    var(--bg);
}

/* ----- HERO PHOTO (replaces the placeholder grid box) ----- */
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,122,24,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,122,24,.18), rgba(255,77,16,.05)),
    var(--bg-panel);
  background-image: none;
  box-shadow: 0 26px 60px -22px rgba(255,77,16,.5), inset 0 0 0 1px rgba(255,255,255,.04);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,10,0) 35%, rgba(6,7,10,.55) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(255,122,24,.28), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.mini-card {
  background: linear-gradient(180deg, rgba(255,122,24,.05), transparent), var(--bg-card);
  border-color: rgba(255,122,24,.14);
}
.mini-card strong {
  background: linear-gradient(120deg, var(--orange-soft), var(--orange-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Stats ribbon hover warmth */
.metric-card { position: relative; }
.metric-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--orange-soft), var(--orange-deep));
  opacity: 0; transition: opacity .25s;
}
.metric-card:hover::before { opacity: 1; }
.metric-card:hover { background: var(--bg-card); }
.metric-card strong {
  color: var(--orange-soft);
}

/* ----- SERVICE CARDS now hold real photos ----- */
.service-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,.07);
}
.service-card:hover {
  border-color: rgba(255,122,24,.45);
  box-shadow: 0 22px 50px -24px rgba(255,77,16,.55);
  transform: translateY(-4px);
}
.service-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-card);
}
.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform .5s ease;
}
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,122,24,.12) 0%, transparent 30%, rgba(14,18,26,.85) 100%);
  pointer-events: none;
}
.service-copy h3 {
  position: relative; display: inline-block;
}

/* ----- STORY MEDIA panel: real photo instead of grid box ----- */
.story-panel.media {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,122,24,.22);
  background-image: none;
  background: var(--bg-card);
}
.story-panel.media img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}
.story-panel.media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(255,122,24,.22), transparent 45%),
    linear-gradient(0deg, rgba(6,7,10,.5), transparent 55%);
  pointer-events: none;
}

/* Timeline / pillar bullets glow */
.timeline li::before,
.pillars li::before,
.service-copy ul li::before {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255,122,24,.7);
}

/* ----- PAGE HERO with photo backdrop ----- */
.page-hero {
  position: relative;
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(255,122,24,.16);
  overflow: hidden;
}
.page-hero-stage.media-about,
.page-hero-stage.media-services,
.page-hero-stage.media-clients {
  position: relative;
  border: 1px solid rgba(255,122,24,.2);
  background:
    radial-gradient(ellipse 70% 90% at 100% 30%, rgba(255,122,24,.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,122,24,.04), transparent),
    var(--bg-card);
  overflow: hidden;
}
/* photo on the right side of page heroes */
.page-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  min-width: 280px;
  border-left: 1px solid rgba(255,122,24,.18);
}
.page-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.page-hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-card) 0%, rgba(19,23,32,.55) 30%, rgba(255,122,24,.1) 100%);
  pointer-events: none;
}
.page-hero-content,
.page-hero-meta { position: relative; z-index: 2; max-width: 58%; }
@media (max-width: 860px) {
  .page-hero-photo { display: none; }
  .page-hero-content, .page-hero-meta { max-width: 100%; }
}

/* Quote card now uses an orange gradient */
.quote-card {
  background: linear-gradient(140deg, var(--orange-deep) 0%, var(--orange) 55%, var(--orange-soft) 100%);
  box-shadow: 0 26px 60px -24px var(--orange-glow);
}
.quote-card strong { color: rgba(27,12,2,.7); }

/* CTA box warm gradient + glow */
.cta { border-top: 1px solid rgba(255,122,24,.16); }
.cta-box {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,122,24,.22), transparent 60%),
    linear-gradient(135deg, #2a1003 0%, var(--bg-panel) 65%);
  border: 1px solid rgba(255,122,24,.32);
  box-shadow: 0 30px 80px -40px var(--orange-glow);
}

/* Footer warm edge */
.footer { border-top: 1px solid rgba(255,122,24,.14); }
.footer-links a:hover { color: var(--orange-soft); }

/* ===== Clientes page: ONLY add background destellos, keep structure ===== */
.clients-showcase-section {
  position: relative;
  background:
    radial-gradient(circle at 8% -5%, rgba(255,122,24,.12), transparent 34%),
    radial-gradient(circle at 96% 12%, rgba(255,174,82,.10), transparent 36%),
    radial-gradient(circle at 50% 108%, rgba(255,77,16,.10), transparent 42%),
    var(--bg);
}
.clients-showcase-section::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: url("../img/bg-destellos.svg") center / cover no-repeat;
  opacity: .5;
  pointer-events: none;
}
.clients-showcase-section .container { position: relative; z-index: 1; }
/* logo cards keep their clean white look, just a warm hover */
.logo-card:hover { box-shadow: 0 24px 60px -16px rgba(255,122,24,.45); }
.clients-banner-filled {
  border-color: rgba(255,122,24,.3);
  background:
    linear-gradient(135deg, rgba(255,122,24,.22), rgba(255,255,255,.03)),
    var(--bg-panel);
}

/* Sparkle drift animation for a touch of life (respects reduced motion) */
@keyframes destelloDrift {
  0%   { transform: translateY(0) scale(1); opacity: .9; }
  50%  { transform: translateY(-14px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: .9; }
}
body::before { animation: destelloDrift 18s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .service-card:hover .service-image img { transform: none; }
}

/* Section headings get a subtle warm accent bar */
.section-header h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin-top: .9rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-soft), var(--orange-deep));
  box-shadow: 0 0 14px rgba(255,122,24,.5);
}
