/* =====================================================
   APPICIUS — Styles v20260526
   ===================================================== */

/* ===========================
   FONT FACE
   =========================== */
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-LIGHT.TTF') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-REGULAR.TTF') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-ITALIC.TTF') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-MEDIUM.TTF') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-BOLD.TTF') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-BOLDITALIC.TTF') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('assets/fonts/ROBOTO-BLACK.TTF') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ===========================
   CUSTOM PROPERTIES
   =========================== */
:root {
  --orange:       #F47C20;
  --orange-2:     #D86910;
  --orange-3:     #FF9440;
  --orange-light: rgba(244,124,32,0.10);
  --navy:         #2B4490;
  --navy-2:       #1E3370;
  --navy-light:   rgba(43,68,144,0.10);
  --bg:           #FFFFFF;
  --bg-2:         #F8F9FC;
  --bg-dark:      #111827;
  --ink:          #1A1A2E;
  --ink-soft:     #374151;
  --ink-mute:     #6B7280;
  --line:         rgba(26,26,46,0.10);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --shadow-orange: 0 8px 28px rgba(244,124,32,0.30);
  --radius:       14px;
  --radius-lg:    28px;
  --radius-pill:  9999px;
  --nav-h:        76px;
  --ease-out:     cubic-bezier(0.16,1,0.3,1);
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: clip; min-height: 100svh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ===========================
   LAYOUT UTILS
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}
.container-narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}
section { padding-block: clamp(4rem, 8vw, 7rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===========================
   TYPOGRAPHY TOKENS
   =========================== */
.t-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
}
.t-h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.t-h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}
.t-body { font-size: 1rem; font-weight: 400; line-height: 1.75; color: var(--ink-soft); }
.t-body-lg { font-size: clamp(1rem,1.4vw,1.15rem); font-weight: 400; line-height: 1.75; color: var(--ink-soft); }
.t-accent { color: var(--orange); }
.t-navy { color: var(--navy); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn-secondary { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-secondary:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(43,68,144,0.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.nav-inner {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,3.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0; flex-shrink: 0;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--ink);
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { flex-shrink: 0; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.nav-mobile {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: #fff; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.75rem; z-index: 999; padding: 2rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { font-size: 1.4rem; font-weight: 700; color: var(--ink); transition: color 0.2s; }
.nav-mobile a:hover { color: var(--orange); }
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ===========================
   SECTION HEADER (reusable)
   =========================== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .t-eyebrow { margin-bottom: 0.6rem; }
.section-header .t-h2 { margin-bottom: 0.9rem; }
.section-header .t-body { max-width: 52ch; margin-inline: auto; }

/* ===========================
   HOME — HERO
   =========================== */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, #fff 60%, #F8F9FC 100%);
  position: relative; overflow: clip;
}
.hero-deco-bg {
  position: absolute; top: -8%; right: -6%;
  width: min(58vw, 680px); height: min(58vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(244,124,32,0.09) 0%, rgba(43,68,144,0.05) 55%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,5rem); align-items: center;
  width: 100%; padding-block: 3rem;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-title { margin-bottom: 1.25rem; font-size: clamp(2rem, 3.8vw, 3rem); text-wrap: initial; }
.hero-title em { color: var(--orange); font-style: normal; }
.hero-subtitle { margin-bottom: 2.25rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; }

/* Circle image in hero */
.hero-circle-wrap { position: relative; display: inline-block; }
.hero-img-circle {
  width: clamp(260px,38vw,500px); height: clamp(260px,38vw,500px);
  border-radius: 50%; overflow: clip;
  border: 6px solid var(--orange);
  box-shadow: 0 24px 80px rgba(244,124,32,0.20), 0 0 0 12px rgba(244,124,32,0.07);
}
.hero-img-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Floating geo shapes */
.geo { position: absolute; border-radius: 50%; pointer-events: none; }
.geo-a { width: 76px; height: 76px; background: var(--orange); top: -22px; right: -22px; animation: gFloat1 6s ease-in-out infinite; }
.geo-b { width: 46px; height: 46px; background: var(--navy); bottom: 56px; right: -38px; animation: gFloat2 8s ease-in-out infinite; }
.geo-c { width: 110px; height: 110px; border: 4px solid rgba(244,124,32,0.28); background: transparent; bottom: -28px; left: 16px; animation: gFloat3 10s ease-in-out infinite; }
.geo-d { width: 30px; height: 30px; background: rgba(43,68,144,0.25); top: 48px; left: -18px; animation: gFloat2 7s ease-in-out infinite reverse; }
.geo-e { width: 18px; height: 18px; background: var(--orange); top: 30%; right: -50px; animation: gFloat1 9s ease-in-out infinite 1s; }

@keyframes gFloat1 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.06); } }
@keyframes gFloat2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(180deg); } }
@keyframes gFloat3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(90deg); } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-visual { display: flex; margin-top: 2rem; }
  .hero-circle-wrap .hero-img-circle { width: 260px; height: 260px; }
}

/* ===========================
   HOME — LOGOS STRIP
   =========================== */
.logos-strip { padding-block: 2.5rem; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-strip-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.logos-strip-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.logos-grid { display: flex; align-items: center; gap: clamp(1rem,2.5vw,2.25rem); flex-wrap: wrap; justify-content: center; }
.logo-client { display: flex; align-items: center; justify-content: center; opacity: 0.5; transition: opacity 0.25s; }
.logo-client:hover { opacity: 0.8; }
.logo-client img { height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(100%); display: block; }
@media (max-width: 860px) { .logo-client img { height: 30px; max-width: 80px; } }

/* ===========================
   HOME — PROMISE (dark)
   =========================== */
.promise {
  background: var(--bg-dark); color: #fff;
  position: relative; overflow: clip;
  padding-block: 0;
}
.promise-geo-bg {
  position: absolute; top: 50%; right: -5%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,124,32,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.promise-geo-bg2 {
  position: absolute; bottom: -15%; left: -5%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,68,144,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.promise-layout { display: flex; align-items: stretch; }
.promise-left {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-left: max(1.5rem, calc(50vw - 600px + 2rem));
  padding-right: clamp(2rem, 5vw, 5rem);
}
.promise-content { max-width: 520px; }
.promise-eyebrow { margin-bottom: 1.25rem; }
.promise-title { color: #fff; margin-bottom: 1.25rem; }
.promise-title em { color: var(--orange); font-style: normal; }
.promise-text { color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 1.25rem; }
.promise-sub { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.promise-visual { flex: 0 0 auto; display: flex; align-items: flex-end; }
.promise-visual img { height: 750px; width: auto; display: block; }
@media (max-width: 860px) {
  .promise-layout { flex-direction: column; }
  .promise-visual { display: none; }
  .promise-left { padding-block: 2rem; padding-inline: 1.5rem; }
}

/* ===========================
   HOME — ABOUT PREVIEW
   =========================== */
.about-preview { background: var(--bg); }
.about-preview-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-circle {
  width: clamp(240px,33vw,400px); height: clamp(240px,33vw,400px);
  border-radius: 50%; overflow: clip;
  border: 5px solid var(--orange);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(244,124,32,0.07);
  margin: 0 auto;
}
.about-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-badge {
  position: absolute; bottom: 10px; right: 0;
  background: #fff; border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-md);
  text-align: center; min-width: 110px;
}
.about-badge-num { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.about-badge-label { font-size: 0.72rem; color: var(--ink-mute); font-weight: 500; margin-top: 0.2rem; line-height: 1.3; }
.about-content .t-eyebrow { margin-bottom: 0.6rem; }
.about-title { margin-block: 0.75rem 1rem; }
.about-text { margin-bottom: 2rem; }
.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.stat-item { }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--ink-mute); font-weight: 500; margin-top: 0.2rem; }
@media (max-width: 860px) {
  .about-preview-inner { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
}

/* ===========================
   SERVICES CARDS
   =========================== */
.services-section { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px,1fr)); gap: 1.25rem; }
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative; overflow: clip;
  border-top: 3px solid transparent;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.service-card-text { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.65; margin-bottom: 1rem; }
.service-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--navy); background: var(--navy-light); padding: 0.22rem 0.7rem; border-radius: var(--radius-pill); }
.services-cta { text-align: center; margin-top: 2.5rem; }

/* ===========================
   TESTIMONIALS (HOME — 2x2)
   =========================== */
.testimonials-home { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.testi-card {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 1.75rem; border-left: 4px solid var(--orange);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.testi-quote { font-size: 2.8rem; color: var(--orange); line-height: 0.7; margin-bottom: 0.75rem; font-family: Georgia, serif; }
.testi-text { font-size: 0.925rem; font-style: italic; line-height: 1.72; color: var(--ink-soft); margin-bottom: 1.1rem; }
.testi-author { font-weight: 700; font-size: 0.875rem; color: var(--ink); }
.testi-role { font-size: 0.775rem; color: var(--ink-mute); margin-top: 0.2rem; }
@media (max-width: 620px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ===========================
   CTA SECTION (dark navy)
   =========================== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; position: relative; overflow: clip;
  padding-block: clamp(4rem,8vw,6rem);
}
.cta-band-geo { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band-geo-1 { width: 320px; height: 320px; background: rgba(244,124,32,0.14); top: -100px; left: -80px; }
.cta-band-geo-2 { width: 220px; height: 220px; background: rgba(255,255,255,0.05); bottom: -60px; right: 8%; }
.cta-band-geo-3 { width: 60px; height: 60px; border: 3px solid rgba(244,124,32,0.3); top: 40px; right: 20%; }
.cta-band-content { position: relative; z-index: 2; }
.cta-band .t-h2 { color: #fff; margin-bottom: 0.9rem; }
.cta-band .t-body-lg { color: rgba(255,255,255,0.78); margin-bottom: 2.25rem; max-width: 48ch; margin-inline: auto; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Contact form inside CTA */
.contact-form-wrap { margin-top: 2.5rem; max-width: 560px; margin-inline: auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.form-input, .form-textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08);
  color: #fff; font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { text-align: center; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--bg-dark); color: #fff; padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-text { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 1rem; max-width: 28ch; }
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 0.6rem; }
.footer-contact-line svg { width: 15px; height: 15px; stroke: var(--orange); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.775rem; color: rgba(255,255,255,0.35); }
.footer-credits { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-credits a { color: rgba(255,255,255,0.4); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 4rem;
  background: var(--bg-2); position: relative; overflow: clip;
}
.page-hero-deco {
  position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, rgba(244,124,32,0.06) 0%, rgba(43,68,144,0.09) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.page-hero-circles { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 1rem; }
.page-hero-c { border-radius: 50%; }
.page-hero-c1 { width: 120px; height: 120px; background: rgba(244,124,32,0.15); }
.page-hero-c2 { width: 80px; height: 80px; border: 4px solid rgba(43,68,144,0.25); }
.page-hero-c3 { width: 50px; height: 50px; background: rgba(43,68,144,0.12); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-eyebrow { margin-bottom: 0.75rem; }
.page-hero-title { margin-bottom: 1.25rem; }
.page-hero-sub { max-width: 52ch; }
@media (max-width: 640px) { .page-hero-circles { display: none; } }

/* Page hero with video (servicios) */
.page-hero--with-video { padding-bottom: 0; }
.page-hero--with-video .page-hero-deco { display: none; }
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.page-hero--with-video .page-hero-inner { padding-bottom: 4rem; }
.page-hero-video { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; align-self: end; }
.page-hero-video video { width: 100%; height: 420px; object-fit: cover; display: block; }
@media (max-width: 860px) { .page-hero-split { grid-template-columns: 1fr; } .page-hero-video { display: none; } }

/* ===========================
   NOSOTROS — BIO
   =========================== */
.bio-section { background: var(--bg); }
.bio-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.bio-photo { position: relative; }
.bio-circle {
  width: 100%; max-width: 360px; aspect-ratio: 1;
  border-radius: 50%; overflow: clip;
  border: 6px solid var(--orange); box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.bio-circle img { width: 100%; height: 100%; object-fit: cover; }
.bio-geo1 { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); bottom: 20px; right: 0; opacity: 0.25; }
.bio-geo2 { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--navy); top: 20px; left: 0; opacity: 0.25; }
.bio-content .t-eyebrow { margin-bottom: 0.75rem; }
.bio-title { margin-block: 0.6rem 1rem; }
.bio-text { margin-bottom: 1.25rem; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.bio-tag { font-size: 0.78rem; font-weight: 600; color: var(--orange); background: var(--orange-light); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); }
@media (max-width: 860px) {
  .bio-inner { grid-template-columns: 1fr; }
  .bio-photo { order: -1; }
}

/* Formation cards */
.formation-section { background: var(--bg-2); }
.formation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 560px) { .formation-grid { grid-template-columns: 1fr; } }
.form-card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--orange);
  transition: transform 0.3s var(--ease-out);
}
.form-card:hover { transform: translateY(-4px); }
.form-card-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--orange-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.form-card-icon svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.form-card-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-card-text { font-size: 0.85rem; color: var(--ink-mute); line-height: 1.6; }

/* ADN section */
.adn-section { background: var(--bg); }
.adn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 1.25rem; }
.adn-card {
  text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius);
  border: 1.5px solid var(--line); transition: all 0.3s var(--ease-out);
  position: relative;
}
.adn-card:hover { border-color: var(--orange); box-shadow: 0 8px 30px rgba(244,124,32,0.11); transform: translateY(-4px); }
.adn-num { font-size: 2.8rem; font-weight: 900; color: var(--orange); opacity: 0.18; line-height: 1; margin-bottom: 0.5rem; }
.adn-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.adn-text { font-size: 0.83rem; color: var(--ink-mute); line-height: 1.6; }

/* MVP (Mission/Vision/Purpose) */
.mvp-section { background: var(--bg-2); }
.mvp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.mvp-card { background: #fff; border-radius: var(--radius); padding: 2.25rem 2rem; box-shadow: var(--shadow-sm); position: relative; overflow: clip; }
.mvp-card::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.mvp-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.mvp-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.65rem; }
.mvp-text { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.7; }
@media (max-width: 720px) { .mvp-grid { grid-template-columns: 1fr; } }

/* Policy section */
.policy-section { background: var(--navy); color: #fff; position: relative; overflow: clip; }
.policy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.policy-pre-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; }
.policy-title { color: #fff; margin-bottom: 0.75rem; }
.policy-subtitle { color: rgba(255,255,255,0.78); margin-bottom: 1.25rem; line-height: 1.75; }
.policy-text { color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 1rem; }
.policy-text:last-child { margin-bottom: 0; }
.policy-highlight { color: rgba(255,255,255,0.9); border-left: 3px solid var(--orange); padding-left: 1rem; }
.policy-img-wrap { border-radius: var(--radius); overflow: hidden; }
.policy-img { width: 100%; height: 520px; object-fit: cover; display: block; }
@media (max-width: 760px) { .policy-inner { grid-template-columns: 1fr; gap: 2.5rem; } .policy-img { height: 280px; } }

/* ===========================
   SERVICIOS PAGE
   =========================== */
.why-us-section { background: var(--bg); }
.why-us-intro { max-width: 56ch; margin-bottom: 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem; background: var(--bg-2); border-radius: var(--radius); border-left: 3px solid var(--orange); }
.why-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; }
.why-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--ink); }
.why-text { font-size: 0.83rem; color: var(--ink-mute); line-height: 1.55; }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* Service detail blocks */
.service-detail { padding-block: clamp(3rem,6vw,5rem); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.service-detail:nth-child(even) .service-detail-inner { direction: rtl; }
.service-detail:nth-child(even) .service-detail-content { direction: ltr; }
.sd-img { border-radius: var(--radius-lg); overflow: clip; box-shadow: var(--shadow-md); position: relative; }
.sd-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.sd-img-overlay { position: absolute; inset: 0; border-radius: var(--radius-lg); border: 2px solid rgba(244,124,32,0.25); pointer-events: none; }
.sd-num { font-size: 4.5rem; font-weight: 900; color: var(--orange); opacity: 0.10; line-height: 1; margin-bottom: -1.25rem; }
.sd-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--navy-light); padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 0.65rem; }
.sd-title { font-size: clamp(1.3rem,2.5vw,1.8rem); font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.sd-subtitle { font-size: 1rem; color: var(--orange); font-style: italic; margin-bottom: 0.9rem; }
.sd-text { margin-bottom: 1.25rem; }
.sd-target { font-size: 0.83rem; color: var(--ink-mute); background: var(--bg-2); padding: 0.5rem 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; border-left: 3px solid var(--navy); }
.sd-target strong { color: var(--navy); }
@media (max-width: 860px) {
  .service-detail-inner, .service-detail:nth-child(even) .service-detail-inner { grid-template-columns: 1fr; direction: ltr; }
}

/* ===========================
   CLIENTES PAGE — CASE STUDY CARDS
   =========================== */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.cs-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease-out); }
.cs-card:hover { box-shadow: var(--shadow-md); }
.cs-card-header { background: linear-gradient(90deg, var(--orange) 0%, #d96a10 100%); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cs-card-co { font-weight: 800; font-size: 1.05rem; color: #fff; }
.cs-card-sector { font-size: 0.8rem; color: rgba(255,255,255,0.88); white-space: nowrap; }
.cs-card-body { padding: 1.5rem; }
.cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.cs-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; color: var(--orange); text-transform: uppercase; margin-bottom: 0.35rem; }
.cs-value { font-size: 0.875rem; color: var(--ink); line-height: 1.6; }
.cs-quote-box { background: #faf7f3; border-radius: calc(var(--radius) - 2px); padding: 1.25rem 1.5rem; }
.cs-quote-mark { font-size: 2.6rem; color: var(--orange); line-height: 0.8; margin-bottom: 0.6rem; font-family: Georgia, serif; }
.cs-quote-text { font-size: 0.875rem; font-style: italic; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1rem; }
.cs-quote-author { font-weight: 700; font-size: 0.875rem; color: var(--ink); }
.cs-quote-role { font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.15rem; }
@media (max-width: 860px) { .cs-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cs-row { grid-template-columns: 1fr; gap: 1rem; } .cs-card-header { flex-direction: column; align-items: flex-start; gap: 0.2rem; } }

/* ===========================
   BLOG PLACEHOLDER
   =========================== */
/* ---- BLOG GRID (noticias.html) ---- */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-empty { text-align: center; color: var(--ink-mute); padding: 3rem 0; font-size: 1rem; grid-column: 1/-1; }
.blog-card-link { text-decoration: none; color: inherit; display: block; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out); height: 100%; }
.blog-card-link:hover .blog-card { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.5rem; }
.blog-card-category { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem; display: block; }
.blog-card-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.45; }
.blog-card-link:hover .blog-card-title { color: var(--orange); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-card-meta { font-size: 0.76rem; color: var(--ink-mute); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- ARTICLE PAGE ---- */

/* Hero: full-width image with dark gradient overlay */
.art-hero { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.art-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.art-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(26,26,46,0.25) 0%, rgba(26,26,46,0.82) 100%); z-index: 1; }
.art-hero-content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3.5rem; }
.art-breadcrumb { font-size: 0.8rem; margin-bottom: 1.5rem; }
.art-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.art-breadcrumb a:hover { color: #fff; }
.art-category-badge { display: inline-block; background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 4px; margin-bottom: 1.1rem; }
.art-title { font-size: clamp(1.85rem, 4.5vw, 3.25rem); font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 1.5rem; max-width: 860px; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.art-meta { font-size: 0.82rem; color: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.art-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.45); display: inline-block; }

/* Body layout */
.art-body-wrap { background: #fff; }
.art-body { max-width: 720px; margin: 0 auto; padding-block: clamp(3rem, 6vw, 5rem); padding-inline: 1.5rem; }

/* Lead paragraph */
.art-body > p:first-child { font-size: 1.2rem; color: var(--ink); font-weight: 400; line-height: 1.85; margin-bottom: 2rem; border-left: 4px solid var(--orange); padding-left: 1.25rem; }

/* Paragraphs */
.art-body p { font-size: 1rem; line-height: 1.95; color: var(--ink-soft); margin-bottom: 1.35rem; }

/* Headings */
.art-body h2 {
  font-size: 1.45rem; font-weight: 800; color: var(--ink);
  margin-top: 3rem; margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--orange-light);
  position: relative;
}
.art-body h2::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 48px; height: 2px; background: var(--orange); }
.art-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: 2.25rem; margin-bottom: 0.75rem; }

/* Custom bullet list */
.art-body ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.art-body ul li { padding-left: 1.5rem; position: relative; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 0.6rem; }
.art-body ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* Custom ordered list */
.art-body ol { list-style: none; padding-left: 0; margin-bottom: 1.5rem; counter-reset: art-counter; }
.art-body ol li { counter-increment: art-counter; padding-left: 3rem; position: relative; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 0.75rem; }
.art-body ol li::before {
  content: counter(art-counter);
  position: absolute; left: 0; top: 0.05em;
  width: 1.85rem; height: 1.85rem;
  background: var(--orange); color: #fff;
  border-radius: 50%; font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Back link */
.art-back-wrap { background: #fff; padding-bottom: 3rem; }
.art-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-mute); text-decoration: none; transition: color 0.2s; }
.art-back:hover { color: var(--orange); }
.art-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) { .art-hero { min-height: 420px; } .art-title { font-size: 1.65rem; } }

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensive */
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-right.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
