/* ══════════════════════════════════════════════════════
   JK CLICK CRAFT — NEUMORPHIC UI STYLESHEET
   ══════════════════════════════════════════════════════ */
.hero-watermark {
  position: absolute;
  top: 70%;
  left: 65%;
  transform: translate(-50%, -50%);
  z-index: 0; /* behind content */
  pointer-events: none;
}

.hero-watermark img {
  width: clamp(300px, 28vw, 380px); /* adjust size */
  opacity: 0.3; /* watermark effect */
  /* filter: grayscale(100%) blur(1px); */
  animation: floatLogo 8s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -55%); }
}
/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Neumorphic palette */
  --bg:         #e0e5ec;
  --bg-light:   #eaeff6;
  --bg-lighter: #f0f4fa;
  --shadow-light: #ffffff;
  --shadow-dark:  #a3b1c6;
  --shadow-sm:    4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
  --shadow-md:    8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
  --shadow-lg:    12px 12px 28px var(--shadow-dark), -12px -12px 28px var(--shadow-light);
  --inset:        inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  --inset-deep:   inset 6px 6px 14px var(--shadow-dark), inset -6px -6px 14px var(--shadow-light);

  /* Brand accent */
  --accent:       #5b8dee;
  --accent-dark:  #3a6cd4;
  --accent-light: #7aa3f4;
  --accent-glow:  rgba(91, 141, 238, 0.25);

  /* Text */
  --text-primary:   #2d3748;
  --text-secondary: #718096;
  --text-muted:     #a0aec0;
  --text-accent:    var(--accent);

  /* Typography */
  --font: 'Poppins', sans-serif;

  /* Spacing */
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  /* Transitions */
  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--shadow-dark); border-radius: 4px; }

/* ═══════════════════════════════════════════
   NEUMORPHIC COMPONENTS
   ═══════════════════════════════════════════ */

.neu-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--trans), transform var(--trans);
}
.neu-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.neu-inset {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--inset);
}

.neu-btn {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: box-shadow var(--trans), transform var(--trans);
}
.neu-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.neu-btn:active {
  box-shadow: var(--inset);
  transform: translateY(0);
}

.neu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.neu-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--inset-deep);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  resize: none;
  transition: box-shadow var(--trans);
  appearance: none;
}
.neu-input:focus {
  box-shadow: var(--inset-deep), 0 0 0 3px var(--accent-glow);
}
.neu-input::placeholder { color: var(--text-muted); }

.neu-input-wrap { position: relative; }

.neu-stat {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.neu-card-float {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--trans-bounce);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 6px 6px 14px rgba(91, 141, 238, 0.4), -3px -3px 10px var(--shadow-light);
}
.btn-primary:hover {
  box-shadow: 8px 8px 20px rgba(91, 141, 238, 0.5), -4px -4px 14px var(--shadow-light);
  transform: translateY(-3px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 3px 3px 8px rgba(91, 141, 238, 0.4);
}

.btn-ghost {
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--accent);
}
.btn-ghost:active {
  box-shadow: var(--inset);
  transform: translateY(0);
}

.btn.full-width { width: 100%; }

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════════ */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 6px 18px;
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(224, 229, 236, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(163, 177, 198, 0.3);
  transition: all var(--trans);
}
.navbar.scrolled {
  box-shadow: 0 6px 32px rgba(163, 177, 198, 0.45);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
}
.logo-jk {
  color: var(--accent);
  font-style: italic;
}
.logo-cc {
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--trans);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login button */
.nav-login-btn {
  padding: 9px 24px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  box-shadow: 4px 4px 12px rgba(91, 141, 238, 0.35), -2px -2px 8px var(--shadow-light);
  transition: all var(--trans-bounce);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 16px rgba(91, 141, 238, 0.45), -3px -3px 10px var(--shadow-light);
}
.nav-login-btn:active {
  transform: translateY(0);
}

/* User dropdown */
.nav-user {
  position: relative;
}
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--trans);
}
.nav-user-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.nav-user-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}
.nav-user-greeting {
  color: var(--text-secondary);
  font-weight: 400;
}
.nav-user-name {
  color: var(--accent);
}
.nav-chevron {
  width: 16px; height: 16px;
  transition: transform var(--trans);
  color: var(--text-muted);
}
.nav-user.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--trans);
  z-index: 100;
}
.nav-user.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a,
.nav-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--trans);
  text-align: left;
}
.nav-dropdown a:hover,
.nav-dropdown button:hover {
  background: var(--bg);
  box-shadow: var(--inset);
  color: var(--accent);
}
.nav-dropdown .logout-btn {
  color: #e53e3e;
  border-top: 1px solid rgba(163, 177, 198, 0.3);
  margin-top: 4px;
  padding-top: 14px;
}
.nav-dropdown .logout-btn:hover {
  color: #c53030;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  margin-left: auto;
  transition: box-shadow var(--trans);
}
.hamburger:active { box-shadow: var(--inset); }
.hamburger span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(91,141,238,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(91,141,238,0.05) 0%, transparent 45%);
  pointer-events: none;
}

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--bg);
}
.shape-1 { width: 300px; height: 300px; top: -80px; right: 8%; box-shadow: var(--shadow-lg); opacity: 0.5; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 160px; height: 160px; bottom: 15%; left: 5%; box-shadow: var(--shadow-md); opacity: 0.4; animation: float 6s ease-in-out infinite 1s; }
.shape-3 { width: 80px; height: 80px; top: 25%; left: 20%; box-shadow: var(--shadow-sm); opacity: 0.6; animation: float 5s ease-in-out infinite 0.5s; }
.shape-4 { width: 50px; height: 50px; bottom: 30%; right: 15%; box-shadow: var(--shadow-sm); opacity: 0.5; animation: float 7s ease-in-out infinite 2s; }
.shape-5 { width: 120px; height: 120px; top: 60%; right: 30%; box-shadow: var(--shadow-sm); opacity: 0.35; animation: float 9s ease-in-out infinite 1.5s; }

/* Hero layout */
.hero > .hero-content,
.hero > .hero-visual {
  position: relative; z-index: 1;
}
/* .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  gap: 60px;
} */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  padding: 120px 24px 60px;
  gap: 60px;
}

.hero-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-content { max-width: 560px; 
padding-left: 25px;}

.hero-badge { margin-bottom: 24px; }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.typed-wrapper {
  display: block;
  color: var(--accent);
  min-height: 1.2em;
}
.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-divider { width: 1px; height: 36px; background: var(--shadow-dark); opacity: 0.4; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.stat-label { display: block; font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-card-main {
  width: 320px;
  padding: 20px;
  position: relative;
  z-index: 2;
}
.hc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.3);
}
.hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hc-dot.red { background: #fc615d; }
.hc-dot.yellow { background: #fdbc40; }
.hc-dot.green { background: #34c748; }
.hc-title { margin-left: auto; font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.hc-body { display: flex; flex-direction: column; gap: 10px; }
.hc-bar { height: 10px; background: var(--shadow-dark); border-radius: 5px; opacity: 0.25; }
.hc-bar.w70 { width: 70%; }
.hc-bar.w50 { width: 50%; }
.hc-bar.w90 { width: 90%; }
.hc-bar.w75 { width: 75%; }
.hc-bar.w60 { width: 60%; }
.hc-row { display: flex; gap: 14px; align-items: flex-start; }
.hc-img-block { width: 70px; height: 70px; background: linear-gradient(135deg, var(--accent-light), var(--accent)); border-radius: 12px; flex-shrink: 0; opacity: 0.6; }
.hc-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.hc-btn-row { display: flex; gap: 10px; margin-top: 4px; }
.hc-btn-block { height: 28px; width: 90px; border-radius: 50px; background: var(--accent); opacity: 0.5; }
.hc-btn-block.ghost { background: transparent; border: 2px solid var(--shadow-dark); opacity: 0.25; }

.hero-card-sm {
  position: absolute;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  z-index: 3;
}
.hero-card-sm:first-of-type { bottom: 30px; left: -20px; }
.card-right { top: 20px; right: -20px; }
.hcs-icon { font-size: 1.4rem; }
.hcs-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */

.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  padding: 40px 30px;
  text-align: center;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.about-icon-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  font-size: 2rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-bounce);
}
.about-icon-grid span:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-md);
}
.about-img-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--trans);
}
.pillar:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.pillar-icon { font-size: 1.2rem; }

/* ═══════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--trans);
}
.service-card:hover::before { opacity: 1; }

.sc-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  transition: transform var(--trans-bounce);
}
.service-card:hover .sc-icon { transform: scale(1.2) rotate(-5deg); }

.sc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.sc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sc-tags span {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--inset);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════ */

.why-section {
  background: var(--bg-light);
  position: relative;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(91,141,238,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.why-card {
  padding: 36px 32px;
  position: relative;
}

.wc-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--shadow-dark);
  opacity: 0.3;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity var(--trans);
}
.why-card:hover .wc-num { opacity: 0.6; }

.wc-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════════ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-item {
  overflow: hidden;
  padding: 0;
}

.pi-preview {
  background: var(--bg var(--bg));
  background: var(--bg);
  padding: 24px 24px 0;
  position: relative;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: flex-end;
}
.pi-browser {
  background: var(--bg-lighter);
  border-radius: 10px 10px 0 0;
  width: 100%;
  box-shadow: 4px 4px 16px rgba(163,177,198,0.5);
  overflow: hidden;
  transition: transform var(--trans);
}
.portfolio-item:hover .pi-browser { transform: translateY(-6px); }

.pi-browser-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border-bottom: 1px solid rgba(163,177,198,0.3);
}
.pi-browser-bar span { width: 8px; height: 8px; border-radius: 50%; }
.pi-browser-bar span:nth-child(1) { background: #fc615d; }
.pi-browser-bar span:nth-child(2) { background: #fdbc40; }
.pi-browser-bar span:nth-child(3) { background: #34c748; }

.pi-content { padding: 16px; }
.pi-line {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  opacity: 0.3;
}
.pi-line.dark { background: var(--text-primary); }
.pi-line.w80 { width: 80%; }
.pi-line.w60 { width: 60%; }
.pi-line.w90 { width: 90%; }
.pi-line.w75 { width: 75%; }
.pi-line.w70 { width: 70%; }
.pi-line.w50 { width: 50%; }

.pi-grid-preview { display: flex; gap: 8px; margin-top: 10px; }
.pi-block { flex: 1; height: 32px; background: var(--accent); border-radius: 6px; opacity: 0.25; }

.pi-profile-preview { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.pi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); opacity: 0.35; flex-shrink: 0; }
.pi-lines-wrap { flex: 1; }

.pi-job-cards { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pi-job-card { height: 28px; background: var(--accent); border-radius: 6px; opacity: 0.2; }

.pi-info {
  padding: 20px 24px 24px;
}
.pi-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pi-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pi-tags { display: flex; gap: 6px; }
.pi-tags span {
  padding: 3px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg);
  border-radius: 50px;
  box-shadow: var(--inset);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */

.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 40px;
}
.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-success {
  margin-top: 16px;
  padding: 12px 18px;
  background: var(--bg);
  box-shadow: var(--inset);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #38a169;
  font-weight: 500;
  text-align: center;
}
.hidden { display: none; }

.contact-info-card {
  padding: 32px;
  margin-bottom: 24px;
}
.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.ci-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.ci-val {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--trans);
}
a.ci-val:hover { color: var(--accent); }

.contact-social-card {
  padding: 24px 32px;
}
.contact-social-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn.instagram { color: #e1306c; }
.social-btn.linkedin { color: #0077b5; }
.social-btn.whatsapp { color: #25d366; }
.social-btn.email { color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: var(--bg-light);
  padding: 70px 0 0;
  border-top: 1px solid rgba(163, 177, 198, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  transition: all var(--trans-bounce);
}
.footer-socials a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--accent);
}
.footer-socials a svg { width: 18px; height: 18px; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links ul a::before {
  content: '›';
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--trans), transform var(--trans);
  transform: translateX(-4px);
}
.footer-links ul a:hover {
  color: var(--accent);
}
.footer-links ul a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.footer-cta {
  margin-top: 20px;
  font-size: 0.85rem;
  padding: 11px 22px;
}

.footer-bottom {
  border-top: 1px solid rgba(163, 177, 198, 0.3);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════ */

.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
  transition: all var(--trans-bounce);
  animation: waPulse 3s ease-in-out infinite 2s;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}
.wa-float svg { width: 28px; height: 28px; }

.wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text-primary);
}
.wa-float:hover .wa-tooltip { opacity: 1; right: 72px; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.slide-in-left,
.slide-in-right,
.slide-up {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left { transform: translateX(-40px); }
.slide-in-right { transform: translateX(40px); }
.slide-up { transform: translateY(36px); }

.slide-in-left.visible,
.slide-in-right.visible,
.slide-up.visible {
  opacity: 1;
  transform: translate(0);
}

.delay1 { transition-delay: 0.12s; }
.delay2 { transition-delay: 0.24s; }

/* ═══════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════ */

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0.08); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-badge, .hero-cta, .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-left { display: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(224, 229, 236, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 32px;
    gap: 4px;
    box-shadow: 0 12px 40px rgba(163, 177, 198, 0.4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--trans);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }
  .hamburger { display: flex; }
  .nav-menu { margin-left: 0; }
  .nav-container { gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .contact-card { padding: 24px; }
  .wa-float { bottom: 20px; right: 20px; }
}



