/* SERVISO — Design tokens, reset, layout primitives, section headers, buttons. */
/* ============================================================
   SERVISO — Premium Stylesheet v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --primary:          #1565c0;
  --primary-light:    #1e88e5;
  --primary-dark:     #0d47a1;
  --primary-gradient: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
  --hero-gradient:    linear-gradient(135deg, #0a2540 0%, #1565c0 50%, #1e88e5 100%);

  --gray-50:  #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --nav-height: 72px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
img  { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; transition: color .3s var(--ease-smooth); }
a:hover { color: var(--primary-dark); }
ul, ol  { list-style: none; }
button  { font-family: inherit; cursor: pointer; }
address { font-style: normal; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
section     { padding: 6rem 0; }
.bg-light   { background: var(--gray-50); }

/* ── Scroll animation ───────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── Section header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header__label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Global buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .3s var(--ease-smooth);
  white-space: nowrap;
  line-height: 1;
}
.btn.btn-primary, .btn--primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn.btn-primary:hover, .btn--primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  color: white;
}
.btn.btn-secondary, .btn--secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn.btn-secondary:hover, .btn--secondary:hover {
  background: var(--primary);
  color: white;
}
.btn--white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn--white:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.btn.btn-outline, .btn--outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}
.btn.btn-outline:hover, .btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────── */
/* Kept beside the component these rules modify, instead of in a single
 * block at the bottom of the stylesheet, separated from everything they
 * apply to. */

@media (max-width: 992px) {
  section { padding: 4.5rem 0; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
}
