/* Turilingua — Version B (static) */
:root {
  --radius: 0.75rem;
  --brand-blue: #1a9fd9;
  --brand-green: #22a83d;
  --brand-teal: #1ab8b3;

  --background: #fbfdfe;
  --foreground: #1c2235;
  --card: #ffffff;
  --muted: #eef3f6;
  --muted-foreground: #5a6478;
  --secondary: var(--brand-green);
  --border: #dfe6ec;

  --gradient-brand: linear-gradient(115deg, var(--brand-blue), var(--brand-green));
  --gradient-brand-soft: linear-gradient(135deg, rgba(26,159,217,0.12), rgba(34,168,61,0.12));
  --shadow-brand: 0 20px 50px -20px rgba(26,184,179,0.45);
  --shadow-soft: 0 10px 30px -15px rgba(28,34,53,0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body {
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--muted-foreground); }
.eyebrow {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--secondary);
}
.text-gradient {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.75rem;
  border-radius: 9999px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background-image: var(--gradient-brand);
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.8); color: var(--foreground);
  border-color: var(--border); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,253,254,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223,230,236,0.7);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 36px; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted-foreground);
  transition: color .15s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--foreground); }
.nav-desktop .btn { padding: 0.55rem 1.25rem; }
.menu-toggle {
  background: none; border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 0.5rem 0.85rem; font-size: 0.9rem;
  cursor: pointer; color: var(--foreground);
}
.nav-mobile {
  display: none; border-top: 1px solid var(--border);
}
.nav-mobile.open { display: block; }
.nav-mobile nav {
  display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 0;
}
.nav-mobile a {
  padding: 0.6rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.9rem; font-weight: 500; color: var(--muted-foreground);
}
.nav-mobile a:hover { background: var(--muted); color: var(--foreground); }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(251,253,254,0.96) 0%, rgba(251,253,254,0.82) 45%, rgba(251,253,254,0.4) 100%);
}
.hero-inner {
  display: grid; gap: 3rem; padding: 6rem 0;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding: 8rem 0; }
}
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); background: rgba(255,255,255,0.7);
  padding: 0.35rem 0.85rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground);
  backdrop-filter: blur(6px);
}
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--secondary);
}
.hero h1 { margin-top: 1.5rem; }
.hero p.lead {
  margin-top: 1.5rem; max-width: 32rem;
  font-size: 1.125rem; color: var(--muted-foreground);
}
.hero .cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Languages strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; font-size: 0.9rem; color: var(--muted-foreground);
}
.strip-inner strong { color: var(--foreground); font-weight: 600; }

/* Sections */
section.padded { padding: 6rem 0; }
.section-head {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.section-head h2 { margin-top: 0.5rem; }
.link-arrow { font-size: 0.9rem; font-weight: 600; color: var(--brand-blue); }
.link-arrow:hover { text-decoration: underline; }

.grid-3, .grid-2, .grid-4 {
  display: grid; gap: 1.5rem; margin-top: 3rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.75rem;
  box-shadow: var(--shadow-soft); transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 0.75rem;
  background-image: var(--gradient-brand); color: #fff;
  box-shadow: var(--shadow-brand); margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted-foreground); font-size: 0.95rem; }

/* Soft gradient band */
.band-soft { background-image: var(--gradient-brand-soft); }
.stats {
  display: grid; gap: 2rem; padding: 4rem 0;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats .k { font-family: var(--font-display); font-size: 2.5rem; }
.stats .v { font-size: 0.9rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* CTA centered */
.cta-center { max-width: 720px; margin: 0 auto; padding: 6rem 1.5rem; text-align: center; }
.cta-center p { margin: 1rem auto 0; max-width: 36rem; color: var(--muted-foreground); }
.cta-center .btn { margin-top: 2rem; }

/* Service list */
.service-list { margin-top: 1.25rem; padding: 0; list-style: none; }
.service-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; padding: 0.25rem 0;
}
.service-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background-image: var(--gradient-brand);
}

/* Big article card (services page) */
.card-lg { padding: 2rem; }
.card-lg h2 { font-size: 1.5rem; }
.card-lg p { margin-top: 0.75rem; color: var(--muted-foreground); }

/* Page intro band */
.page-intro {
  border-bottom: 1px solid var(--border);
  background-image: var(--gradient-brand-soft);
}
.page-intro .inner { padding: 5rem 0; }
.page-intro p.lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; color: var(--muted-foreground); }

/* Contact card */
.contact-card {
  margin-top: 3rem; border-radius: 1.5rem; padding: 2.5rem;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-soft); text-align: center;
}
.contact-card .label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--muted-foreground);
}
.contact-card .email {
  display: block; margin-top: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500; color: var(--foreground);
}
.contact-card .email:hover { color: var(--brand-blue); }

/* Legal pages */
.legal h1 { margin-top: 0.75rem; }
.legal .blocks { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.legal .blocks h2 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; color: var(--foreground); }
.legal .blocks p { margin-top: 0.75rem; color: var(--muted-foreground); }
.legal a { color: var(--brand-blue); }
.legal a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: rgba(238,243,246,0.4);
}
.footer-grid {
  display: grid; gap: 2.5rem; padding: 3.5rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid img { height: 40px; width: auto; }
.footer-grid p.about { margin-top: 1rem; max-width: 22rem; font-size: 0.9rem; color: var(--muted-foreground); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.9rem; color: var(--muted-foreground); }
.footer-col a:hover { color: var(--foreground); }
.copyright {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0; text-align: center;
  font-size: 0.75rem; color: var(--muted-foreground);
}

/* Narrow text page */
.narrow { max-width: 768px; margin: 0 auto; }
