/* Link It Info — site.css (shared by all pages, PT + EN)
   Zero external requests: fonts and images are local. No JavaScript anywhere. */

@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/source-sans-pro-300.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-pro-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-pro-700.woff2") format("woff2");
}

:root {
  --bg: #f5f8fb;
  --bg-alt: #ffffff;
  --bg-deep: #0b1e33;
  --text: #16283d;
  --text-soft: #48607a;
  --text-on-deep: #dce8f5;
  --text-soft-on-deep: #8fa9c4;
  --accent: #0e9db3;
  --accent-strong: #0b7f91;
  --accent-soft: rgba(14, 157, 179, 0.12);
  --line: #dbe5ef;
  --card: #ffffff;
  --card-shadow: 0 6px 24px rgba(11, 30, 51, 0.08);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1624;
    --bg-alt: #0e1c2e;
    --bg-deep: #081120;
    --text: #dce8f5;
    --text-soft: #9db4cc;
    --accent: #2fc4da;
    --accent-strong: #5cd6e8;
    --accent-soft: rgba(47, 196, 218, 0.14);
    --line: #1d3350;
    --card: #10233a;
    --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg-deep) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 2rem; width: auto; }
.brand span { color: #ffffff; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }

/* CSS-only mobile nav (checkbox hack — the site ships no JavaScript) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--text-on-deep); position: relative; content: "";
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--text-on-deep);
  font-weight: 400;
  font-size: 0.97rem;
}
.site-nav a:hover { color: #ffffff; text-decoration: none; }

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent-strong); }

@media (max-width: 43rem) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(14, 157, 179, 0.25), transparent 60%),
    var(--bg-deep);
  color: var(--text-on-deep);
  padding: 4.5rem 0 4rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #2fc4da, #6ee7f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-soft-on-deep);
  max-width: 34rem;
}

.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 700;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: #06222a; }
.btn-primary:hover { background: #3ed4e9; }

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: var(--text-on-deep); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.hero-art { justify-self: center; width: 100%; max-width: 24rem; }

@media (max-width: 50rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 18rem; order: -1; }
  .hero { padding: 3rem 0; }
}

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 0.4rem; letter-spacing: -0.01em; }

.section-intro { margin-top: 0.8rem; color: var(--text-soft); max-width: 42rem; }

/* Services */

.cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.7rem 1.5rem;
}

.card img { width: 3.2rem; height: 3.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.13rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-soft); font-size: 0.97rem; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}
.about-grid p + p { margin-top: 1rem; }
.about-art { justify-self: center; width: 100%; max-width: 20rem; }

@media (max-width: 50rem) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 15rem; }
}

/* Contact */

.contact-box {
  margin-top: 2rem;
  background: var(--bg-deep);
  color: var(--text-on-deep);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}
.contact-box p { color: var(--text-soft-on-deep); max-width: 32rem; margin: 0.6rem auto 0; }
.contact-box .btn { margin-top: 1.6rem; }
.contact-email { margin-top: 1rem; font-size: 0.95rem; }
.contact-email a { color: var(--accent-strong); }

/* Blog */

.post-list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.post-placeholder {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--text-soft-on-deep);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  align-items: center; justify-content: space-between;
}
.site-footer a { color: var(--text-on-deep); }

/* ---------- Utility pages (404) ---------- */

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.center-page h1 { font-size: 3rem; }
.center-page p { color: var(--text-soft); margin-top: 0.8rem; }
.center-page .btn { margin-top: 1.8rem; background: var(--accent); color: #06222a; }
