/* ============================================================
   The Tech Factory — style.css
   Global IT consultancy design system
   Mobile-first, Krub font family
   ============================================================ */

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

:root {
  --orange:        #F5A623;
  --orange-dark:   #D4901A;
  --orange-light:  #FFBE54;
  --orange-glow:   rgba(245,166,35,.15);
  --black:         #1a1a1a;
  --charcoal:      #0f1923;
  --charcoal-mid:  #162230;
  --charcoal-light:#1d2f40;
  --teal:          #00A78E;
  --teal-dark:     #008F7A;
  --teal-light:    #00C4A7;
  --white:         #ffffff;
  --grey-50:       #fafbfc;
  --grey-100:      #f7f8fa;
  --grey-200:      #e8ebef;
  --grey-300:      #cdd3db;
  --grey-500:      #8892a0;
  --grey-600:      #6b7685;
  --grey-700:      #4a5568;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow:        0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.14);
  --shadow-xl:     0 24px 64px rgba(0,0,0,.18);
  --transition:    .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
  --font-heading:  'Krub', sans-serif;
  --font-body:     'Krub', sans-serif;
  --max-width:     1200px;
  --accent:        var(--orange);
  --accent-dark:   var(--orange-dark);
  --accent-glow:   rgba(245,166,35,.15);
}

.page-alchemy {
  --accent:       var(--teal);
  --accent-dark:  var(--teal-dark);
  --accent-glow:  rgba(0,167,142,.15);
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

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

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .5s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: .55s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: .6s; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: .65s; }
.reveal-stagger > .reveal:nth-child(10) { transition-delay: .7s; }
.reveal-stagger > .reveal:nth-child(11) { transition-delay: .75s; }
.reveal-stagger > .reveal:nth-child(12) { transition-delay: .8s; }
.reveal-stagger > .reveal:nth-child(13) { transition-delay: .85s; }
.reveal-stagger > .reveal:nth-child(14) { transition-delay: .9s; }
.reveal-stagger > .reveal:nth-child(15) { transition-delay: .95s; }
.reveal-stagger > .reveal:nth-child(16) { transition-delay: 1s; }
.reveal-stagger > .reveal:nth-child(17) { transition-delay: 1.05s; }
.reveal-stagger > .reveal:nth-child(18) { transition-delay: 1.1s; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 25, 35, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,166,35,.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled { background: rgba(15, 25, 35, .98); box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo svg { height: 32px; width: auto; flex-shrink: 0; }
.nav-logo-text { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: .02em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--grey-300); font-size: .88rem; font-weight: 500; letter-spacing: .03em; position: relative; padding: .25rem 0; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--accent) !important; color: var(--charcoal) !important; padding: .6rem 1.6rem !important; border-radius: var(--radius) !important; font-weight: 600 !important; font-size: .85rem !important; letter-spacing: .02em; transition: all var(--transition) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1100; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-logo-text { font-size: 1rem; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; height: 100dvh; flex-direction: column; align-items: flex-start; background: var(--charcoal); padding: 100px 2rem 2rem; gap: 0; transition: right var(--transition); box-shadow: -8px 0 48px rgba(0,0,0,.5); border-left: 1px solid rgba(245,166,35,.08); }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-cta { margin-top: 1rem; text-align: center !important; display: block !important; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 1.5rem 80px; background: var(--charcoal); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(245,166,35,.08) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 80% 60%, rgba(245,166,35,.05) 0%, transparent 50%), radial-gradient(ellipse 40% 40% at 50% 80%, rgba(245,166,35,.03) 0%, transparent 50%); animation: heroGradientShift 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes heroGradientShift { 0% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
.hero-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,166,35,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(245,166,35,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%); pointer-events: none; }
.hero-svg-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .3; }
.hero-svg-bg svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; }
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-content .section-label { opacity: 0; transform: translateY(20px); animation: heroFadeIn .8s ease forwards; animation-delay: .2s; }
.hero-content h1 { opacity: 0; transform: translateY(30px); animation: heroFadeIn .8s ease forwards; animation-delay: .4s; }
.hero-content .lead { opacity: 0; transform: translateY(20px); animation: heroFadeIn .8s ease forwards; animation-delay: .6s; }
.hero-content .hero-btns { opacity: 0; transform: translateY(20px); animation: heroFadeIn .8s ease forwards; animation-delay: .8s; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; font-weight: 700; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero h1 .hero-line2 { display: block; }
.hero .lead { color: var(--grey-300); font-size: clamp(1.05rem, 2.5vw, 1.3rem); max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .5rem; opacity: 0; animation: heroFadeIn .8s ease forwards; animation-delay: 1.2s; }
.scroll-indicator span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--grey-500); }
.scroll-indicator-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

.page-alchemy .hero::before { background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,167,142,.1) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 80% 60%, rgba(0,167,142,.07) 0%, transparent 50%), radial-gradient(ellipse 40% 40% at 50% 80%, rgba(0,167,142,.04) 0%, transparent 50%); }
.page-alchemy .hero-grid-pattern { background-image: linear-gradient(rgba(0,167,142,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,167,142,.05) 1px, transparent 1px); }

.page-hero { min-height: 56vh; padding: 140px 1.5rem 80px; }
.page-hero h1 { margin-bottom: .75rem; }

/* ---------- Section Dividers ---------- */
.section-divider { height: 3px; background: linear-gradient(90deg, transparent, var(--orange), transparent); border: none; opacity: 0.3; margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .85rem 2.2rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; position: relative; overflow: hidden; font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: var(--charcoal); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-outline { border-color: var(--grey-500); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-secondary { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--charcoal); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; }
@media (max-width: 600px) { .hero-btns .btn { width: 100%; text-align: center; } }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
@media (max-width: 768px) { section { padding: 70px 0; } }
.section-label { display: inline-block; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .18em; margin-bottom: .75rem; font-family: var(--font-body); }
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--grey-600); font-size: 1.1rem; max-width: 640px; margin: 0 auto 3.5rem; line-height: 1.8; }
.bg-light { background: var(--grey-100); }
.bg-dark { background: var(--charcoal); color: var(--grey-200); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .section-subtitle { color: var(--grey-500); }
.bg-dark .section-label { color: var(--accent); }

.dot-pattern { position: absolute; width: 120px; height: 120px; background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px); background-size: 12px 12px; opacity: .08; pointer-events: none; }

/* ---------- Sector Strip ---------- */
.sectors { background: var(--charcoal-mid); padding: 44px 0; border-top: 1px solid rgba(245,166,35,.06); border-bottom: 1px solid rgba(245,166,35,.06); position: relative; overflow: hidden; }
.sectors::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(245,166,35,.03) 50%, transparent); pointer-events: none; }
.sectors-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; position: relative; }
.sector-item { color: var(--grey-500); font-size: .82rem; font-weight: 500; letter-spacing: .1em; display: flex; align-items: center; gap: .5rem; transition: color var(--transition); }
.sector-item:hover { color: var(--grey-300); }
.sector-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ---------- Service Cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--white); border: 1px solid var(--grey-200); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 2.5rem 2.25rem; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; border-top-color: var(--accent); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: .75rem; }
.service-card p { color: var(--grey-700); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.75; }
.card-link { font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.card-link .arrow { transition: transform var(--transition); display: inline-block; }
.card-link:hover .arrow { transform: translateX(6px); }
.bg-dark .service-card { background: var(--charcoal-mid); border-color: rgba(255,255,255,.06); border-top-color: var(--accent); }
.bg-dark .service-card:hover { border-color: transparent; border-top-color: var(--accent); box-shadow: 0 12px 48px rgba(0,0,0,.3); }
.bg-dark .service-card p { color: var(--grey-500); }

/* ---------- Trust / Pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; gap: 2rem; } }
.pillar { text-align: center; padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); transition: all var(--transition); }
.pillar:hover { background: var(--white); box-shadow: var(--shadow); }
.bg-light .pillar:hover { background: var(--white); }
.pillar-number { font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: var(--accent); opacity: .2; line-height: 1; margin-bottom: 1rem; }
.pillar h3 { margin-bottom: .75rem; }
.pillar p { color: var(--grey-700); font-size: .95rem; line-height: 1.75; }

/* ---------- Proof Points ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
@media (max-width: 768px) { .proof-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.proof-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 2.25rem 2rem; transition: all var(--transition); }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof-card .proof-stat { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: .5rem; }
.proof-card p { color: var(--grey-700); font-size: .92rem; line-height: 1.7; }

/* ---------- Stats Bar ---------- */
.stats-bar { background: var(--charcoal); padding: 70px 0; border-top: 1px solid rgba(245,166,35,.08); position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(245,166,35,.04) 50%, transparent); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; position: relative; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item { position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.06); }
@media (max-width: 600px) { .stat-item:nth-child(2)::after { display: none; } }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-label { color: var(--grey-500); font-size: .8rem; margin-top: .4rem; letter-spacing: .08em; }
.stat-number[data-raw="true"] { font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------- CTA Section ---------- */
.cta-section { background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%); text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; bottom: -150px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: var(--grey-500); font-size: 1.15rem; max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.8; }

/* ---------- Sticky CTA Bar ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: rgba(15,25,35,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(245,166,35,.15); padding: .75rem 0; transform: translateY(100%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-cta-text { color: var(--grey-300); font-size: .88rem; font-weight: 500; }
.sticky-cta .btn { padding: .55rem 1.5rem; font-size: .85rem; }
@media (max-width: 600px) { .sticky-cta-text { display: none; } .sticky-cta .btn { width: 100%; } body { padding-bottom: 70px; } .sticky-cta { padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Trust Signals ---------- */
.trust-signals { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.trust-signal { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--grey-600); }
.trust-signal svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ---------- About page ---------- */
.story-section .story-content { max-width: 760px; margin: 0 auto; }
.story-content p { color: var(--grey-700); font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.85; }
.story-content p:first-of-type { font-size: 1.2rem; color: var(--black); font-weight: 400; }
.timeline { position: relative; padding: 2rem 0; max-width: 700px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: var(--grey-200); }
.timeline-item { position: relative; padding-left: 72px; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 18px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); z-index: 1; }
.timeline-year { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: .25rem; }
.timeline-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: .25rem; color: var(--charcoal); }
.timeline-item p { color: var(--grey-700); font-size: .92rem; line-height: 1.7; }
.company-details-card { background: var(--grey-50); border: 1px solid var(--grey-200); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 2.5rem 3rem; max-width: 700px; margin: 3rem auto 0; }
.company-details-card h3 { margin-bottom: 1.5rem; color: var(--charcoal); }
.detail-row { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--grey-200); font-size: .95rem; }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: var(--charcoal); min-width: 160px; flex-shrink: 0; }
.detail-value { color: var(--grey-700); }
@media (max-width: 600px) { .company-details-card { padding: 2rem 1.5rem; } .detail-row { flex-direction: column; gap: .25rem; } .detail-label { min-width: auto; } }

/* ---------- Services page ---------- */
.service-detail { padding: 100px 0; position: relative; }
.service-detail:nth-child(even) { background: var(--grey-100); }
.service-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.service-detail:nth-child(even) .service-detail-inner { direction: rtl; }
.service-detail:nth-child(even) .service-detail-inner > * { direction: ltr; }
.service-detail-text .section-label { margin-bottom: .5rem; }
.service-detail-text h2 { margin-bottom: 1.25rem; }
.service-detail-text p { color: var(--grey-700); margin-bottom: 1.5rem; font-size: 1.02rem; line-height: 1.8; }
.service-detail-text ul { list-style: none; margin-bottom: 2rem; }
.service-detail-text li { padding: .6rem 0; padding-left: 1.75rem; position: relative; color: var(--grey-700); font-size: .95rem; }
.service-detail-text li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.service-visual { background: var(--grey-100); border-radius: var(--radius-xl); padding: 3rem; display: flex; align-items: center; justify-content: center; min-height: 360px; position: relative; overflow: hidden; }
.service-detail:nth-child(even) .service-visual { background: var(--white); }
.service-visual svg.service-illustration { width: 100%; max-width: 280px; height: auto; }
@media (max-width: 768px) { .service-detail { padding: 70px 0; } .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; } .service-detail:nth-child(even) .service-detail-inner { direction: ltr; } .service-visual { min-height: 240px; } }

/* ---------- Alchemy SIM page ---------- */
.alchemy-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .alchemy-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .alchemy-features { grid-template-columns: 1fr; } }
.alchemy-feature { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 2.25rem 2rem; transition: all var(--transition); position: relative; }
.alchemy-feature::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; opacity: 0; transition: opacity var(--transition); }
.alchemy-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.alchemy-feature:hover::before { opacity: 1; }
.alchemy-feature-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.alchemy-feature-icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alchemy-feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.alchemy-feature p { color: var(--grey-700); font-size: .92rem; line-height: 1.7; }
.sim-illustration { display: flex; align-items: center; justify-content: center; padding: 3rem; }
.sim-illustration svg { max-width: 300px; width: 100%; height: auto; }

.use-cases { list-style: none; }
.use-cases li { padding: 1.25rem 0; border-bottom: 1px solid var(--grey-200); display: flex; gap: 1.25rem; align-items: flex-start; }
.bg-dark .use-cases li { border-color: rgba(255,255,255,.08); }
.use-cases li:last-child { border-bottom: none; }
.use-case-icon { width: 36px; height: 36px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem; }
.use-case-icon svg { width: 16px; height: 16px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.use-case-text h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.bg-dark .use-case-text h4 { color: var(--white); }
.use-case-text p { font-size: .92rem; color: var(--grey-700); line-height: 1.7; }
.bg-dark .use-case-text p { color: var(--grey-500); }

.alchemy-stats-card { background: rgba(0,167,142,.06); border: 1px solid rgba(0,167,142,.12); border-radius: var(--radius-xl); padding: 3rem; }
.alchemy-stats-card h3 { color: var(--teal-light); margin-bottom: 2rem; font-size: 1.5rem; }
.alchemy-stat { margin-bottom: 1.75rem; }
.alchemy-stat:last-child { margin-bottom: 0; }
.alchemy-stat .stat-number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--teal-light); line-height: 1.1; }
.alchemy-stat .stat-label { color: var(--grey-500); font-size: .8rem; letter-spacing: .08em; margin-top: .2rem; }

.coverage-map { position: relative; background: var(--charcoal); border-radius: var(--radius-xl); padding: 4rem 2rem; overflow: hidden; margin-top: 3rem; }
.coverage-map::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,167,142,.15) 1px, transparent 1px); background-size: 20px 20px; opacity: .3; pointer-events: none; }
.coverage-map-content { position: relative; z-index: 1; }
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 600px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
.coverage-item { background: rgba(255,255,255,.05); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 2rem 1.5rem; border: 1px solid rgba(0,167,142,.15); transition: all var(--transition); }
.coverage-item:hover { background: rgba(0,167,142,.1); transform: translateY(-2px); }
.coverage-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.coverage-item p { font-size: .85rem; color: var(--grey-500); }

/* ---------- Contact Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-group label { position: absolute; top: .85rem; left: 1rem; font-size: .92rem; color: var(--grey-500); pointer-events: none; transition: all .2s ease; background: var(--white); padding: 0 .25rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem 1rem .6rem; border: 1.5px solid var(--grey-300); border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem; background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); color: var(--black); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group select:focus + label, .form-group select:not([value=""]) + label, .form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label, .form-group .has-value + label { top: -.55rem; font-size: .75rem; color: var(--accent); font-weight: 600; }
.form-group select + label { top: -.55rem; font-size: .75rem; color: var(--grey-500); font-weight: 600; }
.form-group select:focus + label { color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .9rem; display: none; line-height: 1.6; }
.form-status.success { display: block; background: rgba(0,167,142,.08); color: var(--teal-dark); border: 1px solid rgba(0,167,142,.2); }
.form-status.error { display: block; background: rgba(220,38,38,.06); color: #b91c1c; border: 1px solid rgba(220,38,38,.15); }
.contact-info h3 { margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-info-icon { width: 48px; height: 48px; background: var(--grey-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
.contact-info-item:hover .contact-info-icon { background: var(--accent-glow); }
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-info-text h4 { font-family: var(--font-body); font-size: .9rem; font-weight: 600; margin-bottom: .2rem; color: var(--charcoal); }
.contact-info-text p, .contact-info-text a { font-size: .92rem; color: var(--grey-700); }
.map-placeholder { background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 3rem; text-align: center; margin-top: 2rem; position: relative; overflow: hidden; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.map-placeholder::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--grey-300) 1px, transparent 1px); background-size: 16px 16px; opacity: .2; pointer-events: none; }
.map-placeholder p { position: relative; color: var(--grey-500); font-size: .9rem; }

/* ---------- Legal Pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 40px 0 100px; }
.legal-content h1 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-content .last-updated { color: var(--grey-500); font-size: .9rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--grey-200); }
.legal-toc { background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 2rem 2.5rem; margin-bottom: 3rem; }
.legal-toc h3 { font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .08em; color: var(--grey-500); margin-bottom: 1rem; }
.legal-toc ol { margin: 0; padding-left: 1.25rem; }
.legal-toc li { margin-bottom: .35rem; }
.legal-toc a { color: var(--grey-700); font-size: .92rem; transition: color var(--transition); }
.legal-toc a:hover { color: var(--accent); }
.legal-content h2 { font-size: 1.5rem; margin: 3rem 0 .75rem; padding-top: 1rem; scroll-margin-top: 90px; }
.legal-content h2 .section-anchor { color: var(--grey-300); font-size: .8em; margin-left: .5rem; opacity: 0; transition: opacity var(--transition); text-decoration: none; }
.legal-content h2:hover .section-anchor { opacity: 1; }
.legal-content h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.legal-content p { color: var(--grey-700); margin-bottom: 1rem; font-size: .95rem; line-height: 1.8; }
.legal-content ul, .legal-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--grey-700); font-size: .95rem; line-height: 1.8; }
.legal-content li { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--grey-500); padding: 80px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245,166,35,.15), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.05); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand .footer-logo-text { margin-bottom: 1rem; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: .75rem; }
.footer-logo-text .accent-bar { display: inline-block; width: 4px; height: 28px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a { color: var(--grey-500); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-cta { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.05); text-align: center; }
.footer-cta p { color: var(--grey-300); font-size: 1rem; margin-bottom: 1rem; font-weight: 500; }
.footer-cta .btn { padding: .6rem 1.8rem; font-size: .88rem; }
.footer-legal { padding: 2rem 0; font-size: .78rem; line-height: 1.9; text-align: center; color: var(--grey-600); }
.footer-legal p { margin-bottom: .25rem; }
.footer-legal .company-reg { margin-bottom: .75rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.footer-legal a { color: var(--grey-500); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Geometric background patterns ---------- */
.pattern-bg { position: relative; }
.pattern-bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(245,166,35,.06) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; pointer-events: none; }
.about-geo-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .15; }
.about-geo-bg svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140%; height: 140%; }

@media (max-width: 768px) { .alchemy-intro-grid { grid-template-columns: 1fr !important; } .alchemy-use-grid { grid-template-columns: 1fr !important; } }

@media print { .site-nav, .nav-toggle, .cta-section, .site-footer, .scroll-indicator, .sticky-cta { display: none; } body { color: #000; } .hero { min-height: auto; padding: 2rem 0; background: #fff; } .hero h1 { color: #000; } .hero .lead { color: #333; } section { padding: 2rem 0; } .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Sector Badge Grid (pill/chip design) ---------- */
.sectors-badge-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 3rem; }
.sector-badge { text-align: center; padding: 1rem 1.5rem; border-radius: 50px; border: 1px solid var(--grey-200); background: var(--white); transition: all var(--transition); display: flex; align-items: center; gap: .75rem; min-width: 0; }
.sector-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.sector-badge-icon { width: 40px; height: 40px; background: var(--accent-glow); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sector-badge-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sector-badge h4 { font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--charcoal); white-space: nowrap; margin: 0; }
.sector-badge p { display: none; }
@media (max-width: 600px) { .sector-badge { padding: .75rem 1rem; border-radius: 40px; } .sector-badge-icon { width: 34px; height: 34px; } .sector-badge h4 { font-size: .8rem; } }

/* ---------- Phone prominent ---------- */
.phone-prominent { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--accent); }
.phone-prominent svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ---------- AI Capabilities Grid ---------- */
.ai-capabilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ai-capabilities-grid .ai-capability-card:last-child { grid-column: 1 / -1; max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) { .ai-capabilities-grid { grid-template-columns: 1fr; } .ai-capabilities-grid .ai-capability-card:last-child { max-width: none; } }
.ai-capability-card { background: var(--white); border: 1px solid var(--grey-200); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 2.5rem 2.25rem; transition: all var(--transition); position: relative; overflow: hidden; text-align: left; }
.ai-capability-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; border-top-color: var(--accent); }
.ai-capability-card h3 { margin-bottom: .75rem; }
.ai-capability-card p { color: var(--grey-700); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.75; }
.ai-capability-card p:last-child { margin-bottom: 0; }
