/* ============================================================
   SSIK IT Consulting & Solutions — Shared Stylesheet
   Professional Light Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --white: #ffffff;
  --off-white: #f7f8fc;
  --surface: #eef1f7;
  --border: #dce1ec;
  --border-dark: #b8c2d6;

  --navy: #0f1e3d;
  --navy-mid: #1a3260;
  --navy-light: #2a4a8c;

  --slate: #4a5568;
  --slate-light: #718096;
  --text: #1a202c;

  --gold: #b07d2e;
  --gold-light: #d4992a;
  --gold-pale: rgba(176,125,46,0.08);
  --gold-border: rgba(176,125,46,0.25);

  --accent: #1a3260;
  --accent-pale: rgba(26,50,96,0.06);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w: 1180px;
  --section-pad: 6rem 2rem;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--navy-light);
}

::selection {
  background: var(--navy);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 3px;
}

/* ============================================================
   Layout Utilities
============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--slate);
  max-width: 580px;
  line-height: 1.85;
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 2.25rem;
}

/* ============================================================
   Buttons
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border-radius: 2px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary.active {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,30,61,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--accent-pale);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(176,125,46,0.25);
}

/* ============================================================
   Animation
============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 {
  transition-delay: 0.1s;
}

.fade-in.delay-2 {
  transition-delay: 0.2s;
}

.fade-in.delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   Navigation
============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(15,30,61,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.nav-logo-mark span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}

.nav-logo-text {
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--slate-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
}

/* ============================================================
   Mobile Menu
============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   Forms
============================================================ */

.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 14px 38px rgba(15,30,61,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15,30,61,0.11);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.45rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.85rem 0.95rem;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,30,61,0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--slate-light);
}

select {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 0.3rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin-top: 1rem;
}

.form-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.5em;
  margin-top: 0.75rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ============================================================
   Footer
============================================================ */

footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 3rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 980px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links,
  nav > .btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 720px) {
  :root {
    --section-pad: 4.5rem 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: var(--section-pad);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 1.6rem;
  }

  footer {
    padding: 2rem 1.25rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    height: 68px;
  }

  .nav-logo-sub {
    display: none;
  }

  .nav-logo-mark {
    width: 34px;
    height: 34px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
