/* Wagner Miller — single stylesheet, no framework */
:root {
  --navy: #1f3350;
  --navy-2: #253a58;
  --teal: #1f9a96;
  --teal-2: #27b3ae;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --radius: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.accent { color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { width: 170px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.lang { display: flex; gap: 2px; padding: 3px; background: var(--bg-soft); border-radius: 999px; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,34,54,.94) 0%, rgba(20,34,54,.82) 45%, rgba(20,34,54,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(80px, 14vw, 150px); padding-bottom: clamp(80px, 12vw, 140px); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.8rem); max-width: 16ch; font-weight: 800; }
.hero h1 .accent { color: var(--teal-2); }
.hero p { max-width: 60ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.85); }
.hero .eyebrow { color: var(--teal-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Sections */
section { padding: clamp(64px, 9vw, 110px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.services li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: .97rem; }
.services li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Network band */
.band { position: relative; color: #fff; overflow: hidden; background: var(--navy); padding: clamp(80px, 11vw, 130px) 0; }
.band picture, .band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(20,34,54,.78); }
.band .wrap { position: relative; z-index: 1; text-align: center; }
.band h2 { color: #fff; }
.band h2 .accent { color: var(--teal-2); }
.band p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.88); font-size: 1.12rem; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tool { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s; }
.tool:hover { box-shadow: 0 12px 30px rgba(31,51,80,.08); transform: translateY(-2px); }
.tool img { width: 56px; height: 56px; margin-bottom: 14px; }
.tool h3 { font-size: 1.08rem; margin: 0; }
.tool span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.tech { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.tech img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* Projects + clients */
.countries { color: var(--muted); font-weight: 500; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 56px; }
.projects a, .projects div { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: box-shadow .2s; }
.projects a:hover { box-shadow: 0 10px 26px rgba(31,51,80,.1); }
.projects img { height: 90px; width: auto; }
.clients-title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.clients li { background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.clients img { width: 120px; height: auto; opacity: .8; transition: opacity .2s; }
.clients li:hover img { opacity: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info address { font-style: normal; font-size: 1.05rem; line-height: 1.9; margin-bottom: 24px; }
.contact-info a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-info a:hover { color: var(--teal); }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius); background: var(--bg-soft); }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
input, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd7e0; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.alert-ok { background: #e3f6f4; color: #126b67; }
.alert-err { background: #fdecea; color: #a12a1e; }
form button { border: 0; cursor: pointer; width: 100%; justify-content: center; font-size: 1rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 32px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .lang { margin-top: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Original texts layout */
.hero h1 { max-width: 22ch; }
.hero h1 b { display: block; font-size: .42em; letter-spacing: .18em; color: var(--teal-2); margin-bottom: .7em; }
.hero h1 em { font-style: normal; color: var(--teal-2); }
.intro p { max-width: 900px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.7; color: var(--muted); margin: 0; }
.intro p strong { color: var(--navy); }
.tools .tool h3 { font-size: 1.05rem; }
.contact-info h2, form h3 { margin-bottom: 20px; }
.thanks { min-height: calc(100vh - 68px - 90px); display: flex; align-items: center; }
.thanks img { width: 96px; margin-bottom: 24px; }
.thanks h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); max-width: 30ch; }
.thanks p { font-size: 1.15rem; color: var(--muted); }
.showcase { padding: clamp(40px, 6vw, 64px) 0; }
.showcase .projects { margin-bottom: 0; }
.showcase .tech { margin-top: 36px; }
.g-recaptcha { min-height: 78px; margin: 4px 0 18px; border-radius: 4px; }
.g-recaptcha.shake { animation: shake .4s; outline: 2px solid #d93025; outline-offset: 3px; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (max-width: 360px) { .g-recaptcha { transform: scale(.9); transform-origin: 0 0; } }
