:root {
  --white: #ffffff;
  --off-white: #f7f5f2;
  --panel: #f1efea;
  --graphite-900: #1c1f24;
  --graphite-800: #2a2e35;
  --graphite-700: #454b54;
  --graphite-500: #5a6067;
  --line: #e4e1da;
  --line-strong: #d3cfc6;
  --orange: #f97316;
  --orange-deep: #b34d0a;
  --orange-hover: #8a3d08;
  --orange-tint: #fef1e6;
  --orange-tint-2: #fce3cc;
  --font: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  background: var(--white);
  color: var(--graphite-900);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--orange-deep); color: var(--white); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--graphite-900); color: var(--white); padding: 12px 18px;
  font-weight: 700; text-decoration: none; border-radius: 4px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media(max-width:768px){ .container{ padding: 0 24px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--orange-deep); text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

section { position: relative; }
section[id] { scroll-margin-top: 90px; }
@media(max-width:768px){ section[id] { scroll-margin-top: 78px; } }
.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.5px;
}
.section-title em { font-style: normal; color: var(--orange-deep); }
.section-body {
  font-size: 16.5px; color: var(--graphite-700); max-width: 560px;
  line-height: 1.75; margin-top: 18px;
}
.center .section-body { margin-left: auto; margin-right: auto; }

.btn {
  font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  padding: 15px 30px; border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.15s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange-deep); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(179,77,10,0.28); }
.btn-dark { background: var(--graphite-900); color: var(--white); }
.btn-dark:hover { background: var(--graphite-800); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(28,31,36,0.25); }
.btn-outline { background: transparent; color: var(--graphite-900); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--graphite-900); transform: translateY(-2px); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); background: rgba(255,255,255,0.04); }
.btn-outline.on-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 78px;
}
@media(max-width:768px){ .nav-inner { padding: 0 20px; height: 54px; } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; filter: drop-shadow(0 1px 6px rgba(0,0,0,0.35)); }
@media(max-width:768px){ .brand-logo { height: 24px; } }
.brand-mark {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--graphite-900);
  text-shadow: 0 1px 3px rgba(255,255,255,0.9), 0 0 14px rgba(255,255,255,0.6);
}
@media(max-width:768px){ .brand-mark { font-size: 18px; } }
.brand-mark span { color: var(--orange-deep); }
.brand-sub {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--graphite-500);
  text-transform: uppercase; text-shadow: 0 1px 3px rgba(255,255,255,0.9), 0 0 14px rgba(255,255,255,0.6);
}
@media(max-width:480px){ .brand-sub { display: none; } }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--graphite-700);
  text-decoration: none; transition: color 0.2s; position: relative;
  text-shadow: 0 1px 3px rgba(255,255,255,0.9), 0 0 14px rgba(255,255,255,0.6);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--graphite-900); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--graphite-900); color: var(--white) !important; padding: 11px 20px; border-radius: 6px;
  text-shadow: none; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.nav-cta:hover { background: var(--orange-deep); }
.nav-cta::after { display: none !important; }

/* ─── NAV DROPDOWN (Serviços) ─── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown-trigger svg { width: 13px; height: 13px; stroke: currentColor; fill: none; transition: transform 0.25s var(--ease); filter: drop-shadow(0 1px 3px rgba(255,255,255,0.9)); }
.nav-dropdown:hover .nav-dropdown-trigger svg, .nav-dropdown:focus-within .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  margin-top: 14px; width: 250px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 20px 44px rgba(28,31,36,0.14); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600;
  color: var(--graphite-700); text-decoration: none; padding: 11px 14px; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover { background: var(--orange-tint); color: var(--orange-deep); }
.nav-dropdown-menu a::after { display: none; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nav-hamburger span {
  width: 24px; height: 2px; background: var(--graphite-900); border-radius: 2px; transition: 0.3s;
  filter: drop-shadow(0 1px 3px rgba(255,255,255,0.9)) drop-shadow(0 0 6px rgba(255,255,255,0.6));
}
@media(max-width:1024px){ .nav-links { display: none; } .nav-hamburger { display: flex; } }
@media(max-width:768px){ .nav-hamburger { gap: 4px; padding: 11px 8px; } .nav-hamburger span { width: 20px; } }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--graphite-900); overflow-y: auto;
  flex-direction: column; padding: 90px 32px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px; background: none; border: none;
  color: var(--white); font-size: 28px; cursor: pointer; line-height: 1; padding: 8px;
}
.mobile-menu a {
  font-size: 24px; font-weight: 700; color: var(--white);
  text-decoration: none; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a.mobile-cta { color: var(--orange); }
.mobile-menu details { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu summary {
  font-size: 24px; font-weight: 700; color: var(--white); padding: 16px 0;
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after {
  content: ''; width: 11px; height: 11px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform 0.25s var(--ease); flex-shrink: 0;
}
.mobile-menu details[open] summary::after { transform: rotate(-135deg); }
.mobile-menu details .sub-links { display: flex; flex-direction: column; padding-bottom: 12px; }
.mobile-menu details .sub-links a {
  font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.75); padding: 10px 0 10px 14px;
  border-bottom: none;
}

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 150px 0 110px; overflow: hidden; background: var(--graphite-900);
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(1.08); animation: heroKen 18s ease-in-out infinite alternate;
  filter: saturate(1.03);
}
@keyframes heroKen { 0% { transform: scale(1.08) translate3d(0,0,0); } 100% { transform: scale(1.15) translate3d(-1%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,11,13,0.97) 0%, rgba(10,11,13,0.9) 30%, rgba(10,11,13,0.68) 52%, rgba(10,11,13,0.4) 78%, rgba(10,11,13,0.55) 100%),
    linear-gradient(0deg, rgba(10,11,13,0.85) 0%, rgba(10,11,13,0.05) 40%);
}

.hero-grid { position: relative; z-index: 1; max-width: 640px; }
@media(min-width:769px){ #hero .container { padding-left: 24px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 26px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.hero-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

.hero-title {
  font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.04;
  letter-spacing: -1.5px; color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.4);
}
.hero-title em { font-style: normal; color: var(--orange); }
.hero-desc {
  font-size: 18.5px; color: rgba(255,255,255,0.9); max-width: 500px;
  line-height: 1.7; margin: 26px 0 40px; font-weight: 500;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-pillars { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-pillar { display: flex; align-items: center; gap: 10px; }
.hero-pillar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.hero-pillar-text { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.92); letter-spacing: 0.2px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }

@media(max-width:768px){
  #hero { display: block; min-height: auto; padding: 0 0 40px; }
  .hero-media { position: relative; inset: auto; height: 50vh; min-height: 300px; max-height: 440px; z-index: 0; }
  .hero-media img { object-position: 66% center; transform: none; animation: none; }
  .hero-media::after {
    background: linear-gradient(0deg, var(--graphite-900) 0%, rgba(8,9,11,0.65) 14%, rgba(8,9,11,0) 42%, rgba(8,9,11,0.45) 100%);
  }
  .hero-grid { position: relative; z-index: 1; max-width: none; padding-top: 30px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 10.5px; }
  .hero-title { font-size: clamp(30px, 8.5vw, 38px); }
  .hero-desc {
    margin: 12px 0 20px; font-size: 15px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-btns { margin-bottom: 18px; gap: 8px; }
  .hero-btns .btn { padding: 13px 22px; font-size: 13px; }
  .hero-pillars { display: none; }
}
@media(max-width:768px) and (max-height:720px){
  .hero-media { height: 42vh; min-height: 260px; }
  .hero-title { font-size: clamp(26px, 8vw, 34px); }
  .hero-desc { -webkit-line-clamp: 2; margin-bottom: 16px; }
  .hero-btns { margin-bottom: 14px; }
}

.hero-scroll {
  position: absolute; left: 40px; bottom: 40px; z-index: 1;
  display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.55);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--orange); animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }
@media(max-width:768px){ .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-line::after { animation: none; top: 0; } }

/* ─── TICKER ─── */
.ticker-wrap { background: var(--graphite-900); overflow: hidden; padding: 16px 0; }
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 34s linear infinite; width: max-content; }
.ticker-item {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); padding: 0 32px; display: flex; align-items: center; gap: 14px;
}
.ticker-item::after { content: '◆'; font-size: 7px; color: var(--orange); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── MOBILE SERVICES ─── */
.mobile-services { display: none; }
@media(max-width:768px){
  .mobile-services { display: block; padding: 28px 0 8px; background: var(--white); }
  .mobile-services-label {
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--graphite-500); margin-bottom: 14px;
  }
  .mobile-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-services-grid a {
    display: flex; align-items: center; gap: 8px; padding: 13px 12px;
    background: var(--off-white); border: 1px solid var(--line); border-radius: 10px;
    text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--graphite-800);
    transition: border-color 0.2s, background 0.2s;
  }
  .mobile-services-grid a:active { border-color: var(--orange-deep); background: var(--orange-tint); }
  .mobile-services-grid a svg { width: 18px; height: 18px; stroke: var(--orange-deep); fill: none; flex-shrink: 0; }
}

/* ─── CLIENTS MARQUEE ─── */
.clients { padding: 72px 0; background: var(--off-white); border-bottom: 1px solid var(--line); }
.clients-head { text-align: center; margin-bottom: 40px; }
.clients-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--graphite-500); }
.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-track { display: flex; align-items: center; width: max-content; gap: 28px; animation: clientsScroll 30s linear infinite; }
.client-card {
  display: flex; align-items: center; justify-content: center;
  width: 220px; height: 118px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.client-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(28,31,36,0.08); border-color: var(--line-strong); }
.client-card img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
@keyframes clientsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; } }

/* ─── ABOUT ─── */
#about { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media(max-width:900px){ .about-grid { grid-template-columns: 1fr; gap: 44px; } }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border-radius: 16px; overflow: hidden; }
.capability-tile { background: var(--off-white); padding: 34px 28px; transition: background 0.25s; }
.capability-tile:hover { background: var(--orange-tint); }
.capability-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--graphite-900);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.capability-icon svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; }
.capability-title { font-size: 15.5px; font-weight: 700; color: var(--graphite-900); margin-bottom: 6px; }
.capability-text { font-size: 13.5px; color: var(--graphite-500); line-height: 1.55; }

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.about-highlight { padding: 18px 20px; background: var(--off-white); border-left: 3px solid var(--orange); border-radius: 4px; }
.about-highlight-title { font-size: 14px; font-weight: 700; color: var(--graphite-900); margin-bottom: 4px; }
.about-highlight-text { font-size: 13px; color: var(--graphite-500); line-height: 1.5; }

/* ─── FACILITIES (dark feature band) ─── */
#facilities {
  padding: 130px 0; background: var(--graphite-900); color: var(--white);
  background-image: linear-gradient(120deg, rgba(28,31,36,0.94) 0%, rgba(28,31,36,0.8) 55%, rgba(28,31,36,0.94) 100%), url('industria.jpg');
  background-size: cover; background-position: center;
}
.facilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media(max-width:900px){ .facilities-grid { grid-template-columns: 1fr; gap: 40px; } }
#facilities .eyebrow { color: var(--orange); }
#facilities .section-title { color: var(--white); }
#facilities .section-title em { color: var(--orange); }
#facilities .section-body { color: rgba(255,255,255,0.7); }
.facilities-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.facilities-list li {
  display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600;
  padding: 16px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
.facilities-check { width: 22px; height: 22px; border-radius: 50%; background: var(--orange-deep); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.facilities-check svg { width: 12px; height: 12px; stroke: var(--white); fill: none; }
.facilities-note {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 32px; margin-top: 8px;
}
.facilities-note-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.facilities-note-text { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }

/* ─── VIDEO ─── */
#video { padding: 130px 0; background: var(--off-white); }
.video-frame {
  position: relative; max-width: 900px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(28,31,36,0.2); background: var(--graphite-900); aspect-ratio: 16/9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── SOLUTIONS FOR COMPANIES ─── */
#solutions { padding: 120px 0; background: var(--white); }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media(max-width:980px){ .solutions-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .solutions-grid { grid-template-columns: 1fr; } }
.solution-card { padding: 30px 26px; border-radius: 14px; background: var(--off-white); }
.solution-num {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--orange);
  color: var(--orange-deep); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.solution-title { font-size: 16px; font-weight: 700; color: var(--graphite-900); margin-bottom: 8px; }
.solution-text { font-size: 13.5px; color: var(--graphite-500); line-height: 1.6; }

/* ─── DIFFERENTIALS ─── */
#differentials { padding: 120px 0; background: var(--off-white); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: 16px; overflow: hidden; }
@media(max-width:900px){ .diff-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .diff-grid { grid-template-columns: 1fr; } }
.diff-item { background: var(--white); padding: 34px 28px; transition: background 0.25s; }
.diff-item:hover { background: var(--orange-tint); }
.diff-icon { width: 42px; height: 42px; border-radius: 9px; background: var(--graphite-900); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.diff-icon svg { width: 19px; height: 19px; stroke: var(--orange); fill: none; }
.diff-title { font-size: 15.5px; font-weight: 700; color: var(--graphite-900); margin-bottom: 8px; }
.diff-text { font-size: 13.5px; color: var(--graphite-500); line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
#how { padding: 130px 0; background: var(--white); }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line-strong);
}
@media(min-width:760px){ .timeline::before { left: 50%; transform: translateX(-50%); } }
.timeline-step { position: relative; display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
@media(min-width:760px){
  .timeline-step { align-items: center; }
  .timeline-step:nth-child(even) { flex-direction: row-reverse; }
  .timeline-step:nth-child(even) .timeline-content { text-align: right; }
}
.timeline-dot {
  width: 54px; height: 54px; border-radius: 50%; background: var(--graphite-900);
  color: var(--orange); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1;
}
.timeline-content { flex: 1; padding-top: 4px; }
@media(min-width:760px){ .timeline-content { width: calc(50% - 27px); flex: none; } }
.timeline-title { font-size: 19px; font-weight: 700; color: var(--graphite-900); margin-bottom: 6px; }
.timeline-text { font-size: 14px; color: var(--graphite-500); line-height: 1.6; max-width: 340px; }
@media(min-width:760px){ .timeline-step:nth-child(even) .timeline-text { margin-left: auto; } }

/* ─── SEGMENTS ─── */
#segments { padding: 120px 0; background: var(--off-white); }
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media(max-width:900px){ .segments-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .segments-grid { grid-template-columns: 1fr; } }
.segment-card {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4/3.1; background: var(--graphite-800);
}
.segment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.segment-card:hover img { transform: scale(1.08); }
.segment-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,22,26,0.92) 0%, rgba(20,22,26,0.35) 55%, rgba(20,22,26,0.05) 100%);
}
.segment-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.segment-title { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.2px; }
.segment-text { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 6px; line-height: 1.5; }

/* ─── VISION ─── */
#vision { padding: 130px 0; text-align: center; background: var(--white); }
.vision-quote {
  font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; line-height: 1.3;
  letter-spacing: -0.5px; max-width: 820px; margin: 0 auto 28px; color: var(--graphite-900);
}
.vision-quote em { font-style: normal; color: var(--orange-deep); }
.vision-divider { width: 56px; height: 3px; background: var(--orange); margin: 0 auto 26px; border-radius: 2px; }
.vision-sub { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--graphite-500); text-transform: uppercase; }

/* ─── CONTACT ─── */
#contact { padding: 130px 0; background: var(--off-white); }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
@media(max-width:900px){ .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.contact-info-text { font-size: 15.5px; color: var(--graphite-700); line-height: 1.75; margin: 20px 0 36px; max-width: 460px; }
.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--orange-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--orange-deep); fill: none; }
.contact-detail-text { font-size: 14px; font-weight: 600; color: var(--graphite-800); }

.contact-cta-card {
  background: var(--graphite-900); border-radius: 20px; padding: 44px 40px;
  position: relative; overflow: hidden;
}
.contact-cta-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(249,115,22,0.28), transparent 70%);
}
.contact-cta-icon {
  width: 56px; height: 56px; border-radius: 14px; background: #25d366;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px; position: relative;
}
.contact-cta-icon svg { width: 26px; height: 26px; fill: white; }
.contact-cta-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.3px; position: relative; }
.contact-cta-text { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.7; margin: 12px 0 30px; max-width: 380px; position: relative; }
.contact-cta-card .btn { position: relative; width: 100%; justify-content: center; }

/* ─── WHATSAPP ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 850;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

.scroll-top {
  position: fixed; bottom: 28px; right: 96px; z-index: 850;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--white); box-shadow: 0 6px 20px rgba(28,31,36,0.15);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, box-shadow 0.2s, border-color 0.2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: var(--orange-deep); box-shadow: 0 10px 26px rgba(28,31,36,0.2); }
.scroll-top svg { width: 18px; height: 18px; stroke: var(--graphite-800); fill: none; }
@media(max-width:768px){ .scroll-top { width: 40px; height: 40px; right: 78px; bottom: 24px; } .scroll-top svg { width: 16px; height: 16px; } }

/* ─── FOOTER ─── */
footer { background: var(--graphite-900); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-brand span { color: var(--orange); }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 260px; }
.footer-col-title { font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  font-size: 13.5px; font-weight: 700; color: var(--white); text-decoration: none;
  padding: 9px 18px 9px 12px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social-link:hover { border-color: var(--orange); background: rgba(249,115,22,0.1); transform: translateY(-2px); }
.footer-social-link svg { width: 18px; height: 18px; stroke: var(--white); fill: none; flex-shrink: 0; }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── SERVICE DETAIL PAGES ─── */
.svc-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  padding: 150px 0 70px; overflow: hidden; background: var(--graphite-900); isolation: isolate;
}
.svc-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.svc-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(1.03);
  transform: scale(1.22); transform-origin: var(--focal, 55%) 50%;
}
.svc-hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,11,13,0.96) 0%, rgba(10,11,13,0.4) 58%, rgba(10,11,13,0.55) 100%);
}
@media(max-width:768px){ .svc-hero { min-height: 50vh; padding: 90px 0 48px; } }
.svc-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55); transition: color 0.2s;
}
.svc-breadcrumb:hover { color: var(--orange); }
.svc-num {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); text-shadow: 0 2px 12px rgba(0,0,0,0.6); margin-bottom: 14px;
}
.svc-title {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -1px;
  color: var(--white); text-shadow: 0 4px 26px rgba(0,0,0,0.5); max-width: 760px;
}
.svc-lead {
  font-size: 17.5px; color: rgba(255,255,255,0.88); max-width: 600px; line-height: 1.7;
  margin-top: 20px; text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.svc-body { padding: 100px 0 40px; background: var(--white); }
.svc-body-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: start; }
@media(max-width:900px){ .svc-body-grid { grid-template-columns: 1fr; gap: 44px; } }
.svc-included { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.svc-included li {
  display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--graphite-700);
  line-height: 1.6; padding: 16px 18px; background: var(--off-white); border-radius: 10px;
}
.svc-included-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange-deep); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.svc-included-check svg { width: 12px; height: 12px; stroke: var(--white); fill: none; }

.svc-cta-wrap { max-width: 640px; margin: 0 auto; }
.svc-related { padding: 20px 0 120px; background: var(--white); }
.svc-related-label { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--graphite-500); margin-bottom: 20px; }
.svc-related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-related-links a {
  font-size: 13.5px; font-weight: 700; color: var(--graphite-800); text-decoration: none;
  padding: 11px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.svc-related-links a:hover { border-color: var(--orange-deep); color: var(--orange-deep); background: var(--orange-tint); }

/* ─── MOBILE: LEAN & CONVERSION-FOCUSED ─── */
@media(max-width:768px){
  #solutions { display: none; }
  #about, #differentials, #segments { padding: 64px 0; }
  #facilities, #how, #vision, #contact, #video { padding: 68px 0; }
  .clients { padding: 40px 0; }
  .svc-body { padding: 52px 0 20px; }
  .svc-related { padding: 8px 0 56px; }

  .section-header { margin-bottom: 36px; }
  .hero-btns { margin-bottom: 32px; gap: 10px; }
  .hero-btns .btn { flex: 1 1 auto; justify-content: center; }
  .hero-pillars { gap: 16px 22px; }

  .about-grid, .facilities-grid, .contact-layout { gap: 32px; }
  .about-highlights { gap: 10px; margin-top: 24px; }
  .capability-tile { padding: 24px 20px; }

  .timeline-step { margin-bottom: 28px; }
  #how { padding-top: 56px; }

  .vision-quote { margin-bottom: 20px; }

  .contact-cta-card { padding: 32px 26px; }
  .contact-cta-title { font-size: 21px; }

  .facilities-note { padding: 24px; }
  .facilities-list li { padding: 13px 16px; font-size: 14px; }

  footer { padding-top: 52px; }
  .footer-grid { gap: 32px; padding-bottom: 32px; }
}
