:root {
  --navy: #1d3044;
  --navy-deep: #102131;
  --blue: #6fb0cd;
  --blue-soft: #dceef5;
  --red: #d84b4f;
  --red-dark: #b43f45;
  --ink: #17222d;
  --muted: #62707c;
  --line: #dce2e7;
  --surface: #f5f7f9;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(16, 33, 49, .13);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-kicker.light { color: #9ed0e5; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { max-width: 840px; margin-bottom: 24px; color: var(--white); font-size: clamp(2.65rem, 6.2vw, 5.75rem); letter-spacing: -.045em; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4.1vw, 3.7rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(29,48,68,.08);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 175px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 700; }
.main-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 12px 18px; color: var(--white) !important; background: var(--navy); border-radius: 999px; }
.nav-cta:hover { background: var(--red); }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--navy); transition: .25s; }

.hero { position: relative; min-height: calc(100vh - 96px); display: grid; align-items: center; overflow: hidden; background: var(--navy-deep); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background-image: url('assets/robot.webp'); background-position: 55% center; background-size: cover; transform: scale(1.03); }
.hero-overlay { background: linear-gradient(90deg, rgba(9,24,37,.96) 0%, rgba(13,31,46,.82) 42%, rgba(13,31,46,.35) 74%, rgba(13,31,46,.18) 100%); }
.hero::after { content: ""; position: absolute; inset: auto -10% -46% 42%; height: 70%; background: rgba(111,176,205,.16); transform: rotate(-10deg); border-radius: 40px; }
.hero-content { position: relative; z-index: 2; padding-block: 110px; }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(1.06rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-white { color: var(--navy); background: var(--white); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.hero-points span { padding: 9px 13px; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .88rem; }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.intro-copy { color: var(--muted); font-size: 1.08rem; }
.intro-copy p:last-child { margin-bottom: 0; }

.services { background: var(--surface); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { min-height: 285px; padding: 32px; background: var(--white); border: 1px solid rgba(29,48,68,.07); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,33,49,.045); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; color: var(--red); border-radius: 16px; background: #fbe8e9; }
.service-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 0; color: var(--muted); }

.plc-migration { position: relative; overflow: hidden; background: var(--white); }
.plc-migration::before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -260px; border-radius: 50%; background: rgba(111,176,205,.12); }
.plc-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.plc-copy > p:not(.section-kicker) { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.feature-list { display: grid; gap: 12px; margin: 30px 0 34px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; color: var(--navy); font-weight: 700; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; display: grid; place-items: center; color: var(--white); background: var(--red); border-radius: 50%; font-size: .78rem; }
.plc-media { position: relative; min-height: 470px; display: grid; place-items: center; padding: 44px; border: 1px solid rgba(29,48,68,.08); border-radius: 28px; background: linear-gradient(145deg, #ffffff, #eef4f7); box-shadow: var(--shadow); }
.plc-media img { width: 100%; max-width: 610px; max-height: 390px; object-fit: contain; mix-blend-mode: multiply; }
.plc-label { position: absolute; right: 24px; bottom: 22px; padding: 10px 14px; color: var(--white); background: var(--navy); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }

.brands { background: var(--surface); }
.brands-heading { max-width: 820px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card { min-height: 180px; display: grid; place-items: center; padding: 30px; overflow: hidden; border: 1px solid rgba(29,48,68,.08); border-radius: 20px; background: var(--white); box-shadow: 0 8px 24px rgba(16,33,49,.045); }
.brand-card img { width: 100%; max-width: 240px; max-height: 105px; object-fit: contain; }
.brands-note { margin: 24px 0 0; color: var(--muted); text-align: center; font-size: .9rem; }

.process { color: var(--white); background: var(--navy); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.process h2, .process h3 { color: var(--white); }
.process-title > p:last-child { color: rgba(255,255,255,.7); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process-list span { color: var(--blue); font-weight: 900; font-size: 1.25rem; }
.process-list h3 { margin-bottom: 6px; }
.process-list p { margin-bottom: 0; color: rgba(255,255,255,.67); }

.split-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { position: relative; grid-column: span 4; min-height: 340px; margin: 0; overflow: hidden; border-radius: 20px; background: var(--navy); }
.gallery-large { grid-column: span 7; min-height: 530px; }
.gallery-wide { grid-column: span 8; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,24,37,.88)); }
.gallery-item figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: var(--white); }
.gallery-item figcaption strong, .gallery-item figcaption span { display: block; }
.gallery-item figcaption strong { margin-bottom: 3px; font-size: 1.08rem; }
.gallery-item figcaption span { color: rgba(255,255,255,.72); font-size: .9rem; }

.cta-band { padding: 70px 0; color: var(--white); background: linear-gradient(120deg, var(--red-dark), var(--red)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 800px; margin-bottom: 0; color: var(--white); font-size: clamp(2rem, 4vw, 3.4rem); }

.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: start; }
.contact-info > p:not(.section-kicker) { color: var(--muted); }
.contact-items { display: grid; gap: 12px; margin: 34px 0 26px; }
.contact-items a { padding: 17px 18px; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-items span, .contact-items strong { display: block; }
.contact-items span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-items strong { margin-top: 3px; color: var(--navy); font-size: .98rem; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--red); font-weight: 800; }
.contact-form { padding: 34px; border: 1px solid rgba(29,48,68,.07); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--navy); font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); background: #fff; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(111,176,205,.18); }
.contact-form textarea { resize: vertical; }
.form-button { width: 100%; }
.form-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: .82rem; }

.site-footer { padding: 45px 0; color: rgba(255,255,255,.7); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr auto; gap: 34px; align-items: center; }
.footer-grid img { width: 210px; opacity: .92; }
.footer-grid p { margin: 0; }
.footer-grid p:last-child { white-space: nowrap; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; display: grid; place-items: center; color: var(--white); background: #25d366; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.floating-whatsapp svg { width: 30px; fill: currentColor; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 97px 0 auto; display: grid; gap: 0; padding: 16px 20px 24px; transform: translateY(-130%); opacity: 0; pointer-events: none; background: var(--white); border-bottom: 1px solid var(--line); transition: .25s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 12px; padding: 13px 18px; text-align: center; border-bottom: 0; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .intro-grid, .plc-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .plc-media { min-height: 420px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 0; }
  .gallery-item, .gallery-large, .gallery-wide { grid-column: span 6; min-height: 380px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 78px 0; }
  .nav-wrap { min-height: 82px; }
  .brand img { width: 145px; }
  .main-nav { inset: 83px 0 auto; }
  .hero { min-height: 760px; }
  .hero-media { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(9,24,37,.84), rgba(9,24,37,.94)); }
  .hero-content { padding-block: 92px 72px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .plc-media { min-height: 330px; padding: 24px; }
  .plc-label { position: static; margin-top: 12px; text-align: center; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-card { min-height: 125px; padding: 18px; }
  .brand-card img { max-height: 75px; }
  .gallery { display: grid; grid-template-columns: 1fr; }
  .gallery-item, .gallery-large, .gallery-wide { grid-column: auto; min-height: 390px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
