/* ============================================================
   HQS — High Quality Services | Main Stylesheet
   Theme: Clean White Professional IT — Teal/Green Accents
   Fonts: Plus Jakarta Sans (display) + Outfit (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  /* Backgrounds */
  --bg:            #ffffff;
  --bg-soft:       #f7f9fc;
  --bg-card:       #ffffff;
  --bg-muted:      #f0f4f8;
  --bg-dark:       #0d1421;
  --bg-footer:     #0d1421;

  /* Brand */
  --teal:          #00bfa5;
  --teal-dark:     #009688;
  --green:         #43e07d;
  --teal-light:    #e0f7f4;
  --grad:          linear-gradient(135deg, #00bfa5 0%, #43e07d 100%);
  --grad-soft:     linear-gradient(135deg, rgba(0,191,165,0.08) 0%, rgba(67,224,125,0.05) 100%);
  --grad-hero:     linear-gradient(135deg, #00bfa5 0%, #00897b 60%, #43e07d 100%);

  /* Text */
  --text-primary:  #0d1421;
  --text-secondary:#4a5568;
  --text-muted:    #8896ab;
  --text-white:    #ffffff;

  /* Borders */
  --border:        #e8edf4;
  --border-accent: rgba(0,191,165,0.25);

  /* Shadows */
  --shadow-sm:     0 1px 4px rgba(13,20,33,0.06);
  --shadow-md:     0 4px 20px rgba(13,20,33,0.08), 0 1px 4px rgba(13,20,33,0.04);
  --shadow-lg:     0 12px 48px rgba(13,20,33,0.12), 0 2px 8px rgba(13,20,33,0.06);
  --shadow-teal:   0 8px 32px rgba(0,191,165,0.25);

  /* Layout */
  --nav-height:    72px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  /* Typography */
  --font-display:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Outfit', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
section { position: relative; }

/* ── Utilities ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  font-weight: 400;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,191,165,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--teal-dark);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-dark); background: var(--teal-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.mobile-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, #f0fdf9 0%, #e8f5f2 30%, #f7f9fc 70%, #ffffff 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,191,165,0.12) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,224,125,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,165,0.1);
  border: 1px solid rgba(0,191,165,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 24px;
  width: fit-content;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.75); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat-item {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card-stack { position: relative; height: 520px; }

.tech-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatY 6s ease-in-out infinite;
}
.tech-card:nth-child(2) { animation-delay: -2s; }
.tech-card:nth-child(3) { animation-delay: -4s; }
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.tech-card-1 { top: 20px; left: 0; width: 230px; }
.tech-card-2 { top: 160px; right: 0; width: 215px; }
.tech-card-3 { bottom: 90px; left: 24px; width: 225px; }

.tc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.tc-label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.tc-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.hero-center-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  width: 200px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(0,191,165,0.05);
}
.hero-center-card img { width: 72px; margin: 0 auto 14px; border-radius: 10px; }
.hcc-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hcc-sub { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }

.connect-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.2; }

/* ── About ── */
#about { padding: 120px 0; background: var(--bg); }

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

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.about-img-frame svg { width: 100%; height: 100%; }

.about-badge {
  position: absolute;
  bottom: 24px; right: -20px;
  background: #fff;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.ab-icon { font-size: 1.6rem; }
.ab-num {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.ab-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.why-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.why-item:hover { border-color: var(--border-accent); box-shadow: var(--shadow-sm); }
.why-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.why-text strong { display: block; font-family: var(--font-display); font-size: 0.855rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.why-text span { font-size: 0.78rem; color: var(--text-muted); }

/* ── Services ── */
#services { padding: 120px 0; background: var(--bg-soft); }

.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-sub { margin: 0 auto; }

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

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.service-card:hover::after { transform: scaleX(1); }

.sc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.sc-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.sc-desc {
  font-size: 0.855rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  transition: gap 0.2s;
}
.sc-link:hover { gap: 10px; }
.sc-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s; }
.sc-link:hover svg { transform: translateX(3px); }

/* ── Portfolio ── */
#portfolio { padding: 120px 0; background: var(--bg); }

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.portfolio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.pc-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
}
.pc-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-icon-large { font-size: 3.5rem; position: relative; z-index: 1; }

.pc-body { padding: 26px; }
.pc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pc-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  border-radius: 50px;
  padding: 3px 10px;
  border: 1px solid var(--border-accent);
}
.pc-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.pc-desc { font-size: 0.855rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Team ── */
#team { padding: 120px 0; background: var(--bg-soft); }

.team-header { text-align: center; margin-bottom: 56px; }
.team-header .section-sub { margin: 0 auto; }

.team-expertise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.expertise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.expertise-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ec-icon { font-size: 2rem; margin-bottom: 14px; }
.ec-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 8px; }
.ec-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.team-culture {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.culture-points { display: flex; flex-direction: column; gap: 22px; }
.culture-point { display: flex; gap: 18px; }
.cp-num {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0; line-height: 1; margin-top: 2px;
}
.cp-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.cp-text { font-size: 0.845rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA Banner ── */
.cta-banner {
  padding: 100px 0;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Contact ── */
#contact { padding: 120px 0; background: var(--bg); }

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.cd-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--teal-light);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cd-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 4px; }
.cd-value { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.cd-value a { color: var(--teal-dark); }
.cd-value a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 10px; margin-top: 36px; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.25s;
}
.social-link:hover { border-color: var(--border-accent); background: var(--teal-light); transform: translateY(-3px); }

.contact-form-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; letter-spacing: 0.03em; font-family: var(--font-display); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: #fff;
}
.form-group select option { background: #fff; color: var(--text-primary); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,191,165,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; display: none;
}
.form-status.success { display: block; background: #e8f5e9; border: 1px solid #81c784; color: #2e7d32; }
.form-status.error   { display: block; background: #fce4e4; border: 1px solid #ef9a9a; color: #c62828; }

/* ── Footer ── */
footer {
  background: var(--bg-footer);
  color: var(--text-white);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 38px; border-radius: 7px; }
.footer-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; }
.footer-tagline { font-size: 0.855rem; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social .social-link { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
.footer-social .social-link:hover { background: rgba(0,191,165,0.2); border-color: rgba(0,191,165,0.4); }
.footer-col-title { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.845rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ── Dividers ── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Back to top ── */
#back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--grad);
  border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 900;
  box-shadow: var(--shadow-teal);
  transition: all 0.3s;
  opacity: 0; pointer-events: none; z-index: 900;
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { transform: translateY(-4px); }

/* ── Service Detail Page ── */
.service-page { padding-top: var(--nav-height); }

.service-hero {
  background: linear-gradient(160deg, #f0fdf9 0%, #e8f5f2 40%, #f7f9fc 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,165,0.1) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.service-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.service-hero-breadcrumb a { color: var(--teal-dark); font-weight: 600; }
.service-hero-breadcrumb a:hover { text-decoration: underline; }

.service-hero-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--teal-light);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
  max-width: 680px;
}

.service-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 32px;
}

.service-content { padding: 80px 0 120px; }

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.service-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em;
  color: var(--text-primary); margin-bottom: 16px; margin-top: 40px;
}
.service-main h2:first-child { margin-top: 0; }
.service-main p {
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px;
}
.service-main ul { margin-bottom: 24px; }
.service-main ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 10px;
}
.service-main ul li::before {
  content: '✓';
  color: var(--teal-dark); font-weight: 700; font-size: 0.85rem;
  margin-top: 2px; flex-shrink: 0;
}

.service-sidebar {}
.service-sidebar-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
}
.service-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: all 0.2s; text-decoration: none;
}
.sidebar-links a:hover { background: var(--teal-light); color: var(--teal-dark); }
.sidebar-links a.active { background: var(--teal-light); color: var(--teal-dark); font-weight: 600; }
.sidebar-links a .si { font-size: 1rem; }

.contact-cta-card {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
}
.contact-cta-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.contact-cta-card p { font-size: 0.855rem; opacity: 0.85; margin-bottom: 20px; line-height: 1.65; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.feature-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.feature-item .fi-icon { font-size: 1.5rem; margin-bottom: 10px; }
.feature-item h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.feature-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.process-steps { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.process-step { display: flex; gap: 18px; }
.ps-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; color: #fff;
}
.ps-body {}
.ps-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.ps-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-expertise { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-content-grid { grid-template-columns: 1fr; }
  .service-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links, #navbar .btn { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat-item { min-width: 100px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .team-expertise { grid-template-columns: 1fr 1fr; }
  .team-culture { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-sidebar { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .team-expertise { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-item { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 0; }
  .stat-item:last-child { border-bottom: none; }
}
