/* ============================================
   K3 DESIGN LAB - MASTER STYLESHEET
   Brand: Dark Navy #1B2B3A + Teal #2BBCD4 + Gold #B8972A
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy:    #1B2B3A;
  --navy-deep: #111E29;
  --teal:    #2BBCD4;
  --teal-dark: #1E8FA0;
  --gold:    #B8972A;
  --gold-light: #D4AF4A;
  --cream:   #F5F0E8;
  --white:   #FFFFFF;
  --gray-100: #F8F8F6;
  --gray-200: #EBEBEB;
  --gray-500: #8A8A8A;
  --gray-700: #444444;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-ui:      'Space Grotesk', sans-serif;

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --radius: 4px;
  --shadow: 0 8px 40px rgba(27,43,58,0.12);
  --shadow-lg: 0 20px 60px rgba(27,43,58,0.2);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-ui); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  display: block;
  margin-bottom: 0.75rem;
}

/* ---- LAYOUT ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,188,212,0.35); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

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

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: rgba(17,30,41,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--teal);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(43,188,212,0.15);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo img { height: 100px; margin-bottom: 1rem; }
.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.social-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--teal); color: var(--teal); background: rgba(43,188,212,0.08); transform: translateY(-2px); }
.social-btn.wa:hover { border-color: #25D366; color: #25D366; background: rgba(37,211,102,0.08); }
.social-btn.fb:hover { border-color: #1877F2; color: #1877F2; }
.social-btn.ig:hover { border-color: #E4405F; color: #E4405F; }
.social-btn.yt:hover { border-color: #FF0000; color: #FF0000; }

.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-address {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.8;
}
.footer-address strong { color: var(--gold-light); font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.25rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ---- FLOATING SOCIAL BAR ---- */
.float-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}
.float-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(17,30,41,0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.float-social a:hover { transform: scale(1.12); }
.float-social .wa { background: #25D366; border-color: #25D366; color: #fff; }

/* ---- MOBILE NAV ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-deep);
  padding: 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid rgba(43,188,212,0.15);
}

.mobile-menu a {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.active {
  display: flex;
}
/* ---- SECTION DIVIDERS ---- */
.teal-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  margin: 1.5rem 0;
  border-radius: 2px;
}
.teal-line.center { margin: 1.5rem auto; }

/* ---- CARDS ---- */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(43,188,212,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ---- TAGS ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag-teal { background: rgba(43,188,212,0.15); color: var(--teal); }
.tag-gold { background: rgba(184,151,42,0.15); color: var(--gold-light); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.animate-up { animation: fadeUp 0.7s ease forwards; }
.animate-in { animation: fadeIn 0.7s ease forwards; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .float-social { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
}
.clients-logos {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 20px;
}

.clients-logos img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}