/* ============================================================
   SKG IT Consulting – Main Stylesheet
   ============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0b1f3a;
  --navy-mid: #0f2d54;
  --teal:     #0d9488;
  --teal-lt:  #14b8a6;
  --sky:      #38bdf8;
  --white:    #ffffff;
  --grey-50:  #f8fafc;
  --grey-100: #f1f5f9;
  --grey-300: #cbd5e1;
  --grey-500: #64748b;
  --grey-700: #334155;
  --grey-900: #0f172a;

  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.08);
  --transition: 200ms ease;
}

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

body {
  font-family: var(--font);
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ----- Typography ----- */
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 4rem; }
.section-header .section-title { margin-bottom: 1rem; }
.section-header .section-subtitle { color: var(--grey-500); font-size: 1.05rem; }
.section-header--light .section-title,
.section-header--light .section-eyebrow { color: var(--white); }
.section-header--light .section-subtitle { color: rgba(255,255,255,.75); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary  { background: var(--teal); color: var(--white); }
.btn--primary:hover  { background: var(--teal-lt); }
.btn--outline  { border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn--outline:hover  { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn--full     { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11,31,58,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--teal-lt) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0a3360 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13,148,136,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(56,189,248,.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 6rem 8rem;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 1rem;
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero__subtitle {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Wave graphic */
.hero__graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-wave-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(13,148,136,0.35));
  animation: wave-float 5s ease-in-out infinite;
}

@keyframes wave-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Wave dividers */
.hero__wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave-bottom svg { width: 100%; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 6rem 0;
  background: var(--grey-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--teal);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--grey-500);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
  margin-top: auto;
}
.service-card__link:hover { color: var(--teal-lt); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about__visual {
  position: relative;
  min-height: 360px;
}

.about__wave-decor {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: var(--radius);
  opacity: 0.1;
}
.about__wave-decor::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C100,0 300,100 400,50 L400,100 L0,100Z' fill='%230d9488' opacity='0.3'/%3E%3C/svg%3E") no-repeat bottom / cover;
  border-radius: 0 0 var(--radius) var(--radius);
}

.about__badge-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem;
}

.about__badge {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 140px;
}
.about__badge--sm { margin-left: 3rem; background: var(--teal); }

.about__badge-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about__badge-label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about__content p { color: var(--grey-500); margin-bottom: 1rem; }
.about__content .section-title { margin-bottom: 1.25rem; }

.about__list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--grey-700);
  font-weight: 500;
}
.about__list li svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(13,148,136,.25) 0%, transparent 60%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-lt);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p { color: rgba(255,255,255,.7); font-size: 0.9rem; }
.contact-item a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.contact-item a:hover { color: var(--teal-lt); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}
.form-group label span { color: var(--teal); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
  color: var(--grey-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form-group input.error,
.form-group select.error { border-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.3rem;
  min-height: 1rem;
}

/* Honeypot */
.form-group--honey { display: none !important; }

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-feedback.success { background: #dcfce7; color: #166534; display: block; }
.form-feedback.error   { background: #fee2e2; color: #991b1b; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--grey-900);
  color: rgba(255,255,255,.65);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.55;
}
.footer__location { font-size: 0.8rem; opacity: 0.6; margin-top: 0.3rem !important; }

.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__links ul,
.footer__contact ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a,
.footer__contact a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--teal-lt); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,.35); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner    { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual   { min-height: 260px; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(11,31,58,.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { font-size: 1rem; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 5rem 6rem;
    text-align: center;
  }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions  { justify-content: center; }
  .hero__graphic  { display: none; }

  .services { padding: 4rem 0; }
  .services__grid { grid-template-columns: 1fr; }

  .about { padding: 4rem 0; }
  .about__badge-wrap { flex-direction: row; flex-wrap: wrap; padding: 1.5rem; }
  .about__badge--sm { margin-left: 0; }

  .contact { padding: 4rem 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__info  { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 2rem; }

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

@media (max-width: 480px) {
  .contact-form { padding: 1.5rem; }
  .hero__title { font-size: 2rem; }
}

/* ----- Scroll reveal animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
