/* =========================================================
   SUNRAYSX — home.css
   Home page styles only.
   Requires: navbar.css loaded FIRST
   ========================================================= */

/* === PAGE BODY BACKGROUND === */
body {
  background: var(--light-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

/* === ANIMATED BG CANVAS === */
.hero-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  /* Own compositing layer — keeps orb repaints off the main layer */
  transform: translateZ(0);
  will-change: transform;
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  /* will-change tells GPU to pre-composite this element */
  will-change: transform;
  /* Use translate3d in keyframes for GPU path */
  animation: orbFloat 8s ease-in-out infinite;
}

/* Blur lives on a wrapper, NOT the animated element —
   avoids per-frame filter recalc triggering full repaint */
.orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(80px);
  background: inherit;
}

.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #C8751A, transparent 70%);
  top: -120px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #e8a030, transparent 70%);
  top: 60px; right: -80px;
  animation-delay: 3s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #1a3a58, transparent 70%);
  bottom: 0; left: 30%;
  animation-delay: 6s;
}

@keyframes orbFloat {
  /* translate3d forces GPU compositing — no layout/paint triggered */
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%       { transform: translate3d(0, -30px, 0) scale(1.04); }
}

/* === HERO WAVE DIVIDER === */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-wave svg {
  width: 100%;
  height: 72px;
  display: block;
}

/* === WHY-ICON SVG wrapper === */
.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200,117,26,0.10), rgba(232,160,48,0.06));
  border: 1px solid rgba(200,117,26,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background var(--ease), border-color var(--ease);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, rgba(200,117,26,0.18), rgba(232,160,48,0.12));
  border-color: rgba(200,117,26,0.4);
}

/* === SERVICE ICON SVG centering === */
.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === COUNT-UP — highlight during animation === */
.stat-number.counting { color: var(--teal); }

/* === HERO SECTION — reserve space above wave === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 28px 80px;
  background:
    linear-gradient(160deg, #071423 0%, #0d1f35 45%, #0e2540 100%);
  /* clip-path instead of overflow:hidden — avoids triggering paint on scroll */
  clip-path: inset(0);
  text-align: center;
  /* Own layer so hero background never repaints on scroll */
  transform: translateZ(0);
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--light-bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(200,117,26,0.12);
  border: 1px solid rgba(200,117,26,0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,184,204,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(37,184,204,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  animation: fadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* === STATS BAR === */
.stats-bar {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  box-shadow: var(--shadow-md);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background var(--ease);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #f7fafd; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--teal);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === SECTION SHARED === */
.section {
  padding: 90px 0;
}

.section-alt { background: var(--white); }

.section-header {
  margin-bottom: 56px;
}

.section-header.centered { text-align: center; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.7;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-text strong { color: var(--navy); }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--slate);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* Stats panel */
.stats-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.stats-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  border-radius: 50%;
}

.stats-panel::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  border-radius: 50%;
}

.stat-block {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 10px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--ease);
}

.stat-block:hover { background: rgba(255,255,255,0.09); }

.stat-block .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-block .num .accent { color: var(--gold-light); }

.stat-block .lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  /* GPU layer prevents repaint during scroll near hover state */
  transform: translateZ(0);
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,117,26,0.2);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.icon-bg-blue  { background: linear-gradient(135deg, #dbeeff, #b8d8f8); }
.icon-bg-teal  { background: linear-gradient(135deg, #fdf0e0, #f5d5a0); }
.icon-bg-purple { background: linear-gradient(135deg, #e8dfff, #d0c0f8); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(200,117,26,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 22px;
  transition: gap var(--ease), color var(--ease);
}

.service-card:hover .service-link { gap: 10px; color: var(--teal-light); }

/* === WHY US === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  transform: translateZ(0);
  will-change: transform;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.68;
}

/* === CONTACT STRIP === */
.contact-strip {
  padding: 90px 0;
  background: linear-gradient(160deg, var(--navy) 0%, #163050 100%);
  position: relative;
  overflow: hidden;
}

.contact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 10% 50%, var(--teal-glow), transparent),
    radial-gradient(ellipse 45% 50% at 90% 50%, var(--gold-glow), transparent);
}

.contact-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.contact-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-strip p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
}

.contact-info-grid {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: background var(--ease);
}

.contact-item:hover { background: rgba(255,255,255,0.1); }

.contact-emoji { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 0.9rem;
  color: var(--white);
  transition: color var(--ease);
}

.contact-item-text a:hover { color: var(--gold-light); }

.contact-strip-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* === HOME CONTACT SECTION === */
.home-contact {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  clip-path: inset(0);
  transform: translateZ(0);
  isolation: isolate;
}

.home-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, var(--teal-glow), transparent),
    radial-gradient(ellipse 45% 60% at 100% 50%, var(--gold-glow), transparent);
  pointer-events: none;
}

.hc-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}

/* Left column */
.hc-left .section-label { color: var(--teal-light); }

.hc-left .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.hc-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hc-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hc-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hc-info-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hc-info-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}

.hc-info-item a,
.hc-info-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  transition: color var(--ease);
}

.hc-info-item a:hover { color: var(--gold-light); }

/* Right column — form */
.hc-right {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-xl);
}

.hc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hc-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hc-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.req { color: var(--teal); }

.hc-field input,
.hc-field select,
.hc-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light-bg);
  border: 1.5px solid #d6dde8;
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.hc-field input:focus,
.hc-field select:focus,
.hc-field textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,117,26,0.13);
}

.hc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  padding-right: 38px;
  cursor: pointer;
}

.hc-field textarea { resize: vertical; min-height: 120px; }

.hc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(13,31,53,0.28);
  transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
  align-self: flex-start;
}

.hc-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(13,31,53,0.38);
}

.hc-submit:active { transform: translateY(0); }

/* --- Loading state --- */
.hc-submit.loading { opacity: 0.75; pointer-events: none; cursor: not-allowed; }
.hc-submit.loading .btn-label { opacity: 0; width: 0; overflow: hidden; }
.hc-submit.loading .btn-icon  { display: none; }
.hc-submit.loading .btn-spinner { display: inline-block; }

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Character counter --- */
.hc-char-count {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: var(--mid-gray);
  margin-top: 4px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

/* --- Inline validation errors list --- */
.hc-form-errors {
  font-size: 0.82rem;
  color: #c0392b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hc-form-errors p { margin: 0; }

/* --- hCaptcha widget spacing --- */
.h-captcha {
  margin-top: 4px;
}

/* --- Success & error banners --- */
.hc-success {
  display: none;
  background: rgba(40,160,106,0.1);
  border: 1px solid rgba(40,160,106,0.3);
  color: #1e7a52;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
}

.hc-error-msg {
  display: none;
  background: rgba(217,79,79,0.08);
  border: 1px solid rgba(217,79,79,0.3);
  color: #a83232;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
}

/* --- Input invalid highlight on attempted submit --- */
.hc-field input:invalid:not(:placeholder-shown),
.hc-field select:invalid:not(:placeholder-shown),
.hc-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(217,79,79,0.5);
}


/* === TECH STACK SECTION === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-category {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  transform: translateZ(0);
  will-change: transform;
}

.tech-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tech-cat-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(200,117,26,0.12), rgba(232,160,48,0.07));
  border: 1px solid rgba(200,117,26,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-cat-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--slate);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.tech-pill:hover {
  background: linear-gradient(135deg, var(--sun-amber), var(--sun-gold));
  color: var(--white);
  border-color: transparent;
}

.tech-pill.industry {
  background: linear-gradient(135deg, rgba(200,117,26,0.1), rgba(232,160,48,0.07));
  color: var(--sun-amber);
  border-color: rgba(200,117,26,0.25);
}

.tech-pill.industry:hover {
  background: linear-gradient(135deg, var(--sun-amber), var(--sun-gold));
  color: var(--white);
  border-color: transparent;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .tech-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .contact-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .hc-layout { grid-template-columns: 1fr; gap: 40px; }
  .hc-right  { padding: 36px 28px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .tech-grid     { grid-template-columns: 1fr; }
  .stats-inner   { flex-wrap: wrap; }
  .stat-item     { flex: 1 0 calc(50% - 1px); border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd)  { border-right: 1px solid var(--border); }
  .stat-item:last-child      { border-bottom: none; }
  .hero { padding: 110px 16px 60px; }
  .hero-content { max-width: 100%; }
  .hero-description { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .section { padding: 60px 0; }
  .hc-row.two-col { grid-template-columns: 1fr; }
  .hc-left { min-width: 0; }
  .hc-left .section-title {
    font-size: clamp(1.9rem, 8vw, 2.3rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .hc-intro {
    font-size: 0.96rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .hc-submit { align-self: stretch; }
  .hc-right  { padding: 28px 16px; }
}

/* Mobile portrait — iPhone SE / small Android (≤ 480px) */
@media (max-width: 480px) {
  .hero { padding: 90px 12px 48px; }
  .hero-eyebrow {
    font-size: 0.62rem;
    padding: 5px 10px;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .hero-description { font-size: 0.95rem; }
  .hero-actions a {
    justify-content: center;
    text-align: center;
  }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .stats-panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 16px;
  }
  .stat-item {
    flex: 1 0 100%;
    border-right: none;
  }
  .stat-item:nth-child(odd) { border-right: none; }
  .about-grid { gap: 28px; }
  .service-card { padding: 28px 20px; }
  .why-card { padding: 22px 18px; }
  .tech-category { padding: 22px 18px; }
  .home-contact { padding: 64px 0; }
  .hc-left .section-title {
    font-size: 1.75rem;
    line-height: 1.22;
  }
  .hc-intro {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .hc-right { padding: 20px 14px; }
  .hc-layout { gap: 28px; }
  .contact-strip { padding: 60px 0; }
  .contact-strip-actions { flex-direction: column; }
  .contact-strip-actions a { width: 100%; text-align: center; }
}
