/* ============================================
   SINGHAL ENTERPRISES — Components
   components.css — Nav, Buttons, Cards, Footer
   ============================================ */

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition: all var(--duration-base) var(--ease-out);
  background: transparent;
}

.nav.scrolled {
  background: rgba(11, 27, 62, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-spring);
}
.nav.scrolled .nav-logo img { height: 64px; }

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-4);
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 16px;
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  z-index: calc(var(--z-nav) + 1);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: var(--z-nav);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.nav-mobile .nav-link {
  font-size: var(--text-2xl);
  padding: var(--space-3) var(--space-8);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }
}


/* ========== BUTTONS ========== */
.btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 22px -6px rgba(242, 106, 27, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-light);
  box-shadow: 0 14px 30px -8px rgba(242, 106, 27, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gray-300);
}

.btn-ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-steel {
  background: var(--grad-steel);
  color: var(--white);
  box-shadow: 0 8px 22px -6px rgba(44, 125, 176, 0.5);
}

.btn-steel:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(44, 125, 176, 0.55);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

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

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-icon {
  font-size: 1.1em;
  transition: transform var(--duration-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}


/* ========== CARDS ========== */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  border: 1px solid var(--gray-200);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

.card-glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-body {
  padding: var(--space-8);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


/* ========== SERVICE CARD (Bento) ========== */
.service-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.service-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(34, 114, 163, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-5);
  transition: all var(--duration-base) var(--ease-out);
}

.service-card:hover .service-icon {
  background: rgba(232, 149, 31, 0.2);
  transform: scale(1.08);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0;
}


/* ========== STAT CARD ========== */
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-number .highlight {
  color: var(--orange);
}

.stat-label {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ========== PROJECT CARD ========== */
.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.project-overlay .project-tag {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ========== TESTIMONIAL CARD ========== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--gray-200);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.2;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--grad-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--charcoal);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--gray-400);
}


/* ========== CLIENT LOGO STRIP ========== */
.client-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-10);
  padding: var(--space-8) 0;
}

.client-logo {
  height: 40px;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: all var(--duration-base) var(--ease-out);
}

.client-logo:hover {
  opacity: 0.8;
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}


/* ========== BADGE ========== */
.badge {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.badge-orange {
  background: rgba(232, 149, 31, 0.12);
  color: var(--orange);
}

.badge-steel {
  background: rgba(34, 114, 163, 0.12);
  color: var(--steel);
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}


/* ========== DIVIDER ========== */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
}

.divider-light {
  background: rgba(255, 255, 255, 0.08);
}


/* ========== PAGE HERO ========== */
.page-hero {
  min-height: 420px;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero.no-fade::after {
  display: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.6;
}


/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--space-4);
  max-width: 320px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-2);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-5);
}

.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-2) 0;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.footer-contact-icon {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all var(--duration-fast);
}

.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}


/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.7rem;
  z-index: var(--z-sticky);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}


/* ========== BACK TO TOP ========== */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 102px;                 /* stacked above the WhatsApp float */
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  background: rgba(11, 27, 62, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: var(--z-sticky);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-spring),
              background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px) scale(1.05);
}
.to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 560px) {
  .to-top { right: 20px; bottom: 90px; width: 44px; height: 44px; }
}


/* ============================================================
   SHARED PAGE PRIMITIVES (inner pages)
   ============================================================ */

/* --- Editorial page hero --- */
.phero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-24)) 0 var(--space-24);
}
.phero::before { /* facade grid */
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(255,255,255,0.032) 96px 97px),
    repeating-linear-gradient(0deg, transparent 0 96px, rgba(255,255,255,0.02) 96px 97px);
  mask-image: radial-gradient(130% 100% at 80% 0%, #000 30%, transparent 88%);
  -webkit-mask-image: radial-gradient(130% 100% at 80% 0%, #000 30%, transparent 88%);
  pointer-events: none;
}
.phero::after { /* the rope */
  content: '';
  position: absolute;
  top: -8%; right: 16%;
  width: 2px; height: 130%;
  transform: rotate(19deg);
  background: linear-gradient(to bottom, transparent, var(--orange) 30%, var(--orange-light) 70%, transparent);
  box-shadow: 0 0 18px rgba(242,106,27,0.5);
  opacity: 0.75;
  pointer-events: none;
}
.phero .container { position: relative; z-index: 2; }
.phero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-light);
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.phero-eyebrow::before { content:''; width: 26px; height: 1px; background: var(--orange); }
.phero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw + 1rem, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--space-6);
  max-width: 16ch;
}
.phero-title em { font-style: italic; font-weight: 400; color: var(--orange-light); }
.phero-lede {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: rgba(255,255,255,0.66);
  max-width: 52ch;
}
.phero-crumb {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-10);
}
.phero-crumb a { color: rgba(255,255,255,0.6); }
.phero-crumb a:hover { color: var(--orange-light); }

/* --- Spec checklist (mono) --- */
.spec-list { display: grid; gap: var(--space-3); margin: var(--space-6) 0; }
.spec-item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3);
  align-items: baseline;
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.5;
}
.spec-item .tick {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 0.85rem;
}
.spec-list.on-dark .spec-item { color: rgba(255,255,255,0.7); }

/* --- Section intro (shared) --- */
.sec-intro { max-width: 720px; margin-bottom: var(--space-16); }
.sec-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-intro p { margin: 0; }

/* --- Mono ghost tag / pill --- */
.tag-mono {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  padding: 5px 10px;
}
.tag-mono.on-dark { color: var(--orange-light); border-color: rgba(255,255,255,0.16); }

@media (max-width: 640px){
  .phero { padding-top: calc(var(--nav-height) + var(--space-12)); }
}


/* ============================================================
   POLISH — entrance animations, icon tiles, hover micro
   ============================================================ */

/* Page-hero staged entrance (all inner pages) */
.phero-eyebrow { animation: fadeDown 0.7s var(--ease-out) both; }
.phero-title   { animation: fadeUp 0.9s var(--ease-out) 0.08s both; }
.phero-lede    { animation: fadeUp 0.9s var(--ease-out) 0.20s both; }
.phero-crumb   { animation: fadeUp 0.9s var(--ease-out) 0.32s both; }
/* the rope draws itself downward on load */
.phero::after { transform-origin: top center; animation: ropeDraw 1.3s var(--ease-out) 0.15s both; }
@keyframes ropeDraw {
  0%   { transform: rotate(19deg) scaleY(0); opacity: 0; }
  60%  { opacity: 0.75; }
  100% { transform: rotate(19deg) scaleY(1); opacity: 0.75; }
}

/* Icon tiles — turns line icons into intentional, coloured chips */
.svcblock-ic, .equip-ic, .srow-ic, .cmethod-ic, .svc-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.svcblock-ic { width: 54px; height: 54px; padding: 13px; background: rgba(242,106,27,0.10); color: var(--orange); }
.equip-ic    { width: 52px; height: 52px; padding: 13px; background: var(--gray-100); color: var(--navy); transition: background var(--duration-base), color var(--duration-base), transform var(--duration-base) var(--ease-spring); }
.equip-card:hover .equip-ic { background: rgba(242,106,27,0.12); color: var(--orange); transform: translateY(-2px); }
.srow-ic     { width: 52px; height: 52px; padding: 13px; background: rgba(255,255,255,0.06); color: var(--orange); }
.cmethod-ic  { width: 44px; height: 44px; padding: 10px; background: rgba(255,255,255,0.06); color: var(--orange); border-radius: 10px; }

/* Button press feedback */
.btn:active { transform: translateY(0) scale(0.98); }

/* Card hover lift where useful */
.svcblock-media, .pspot-media, .svc-preview { transition: box-shadow var(--duration-base) var(--ease-out); }
.mv-card, .cert, .equip-card, .ins-card { will-change: transform; }

/* Reduced motion: kill the added entrances too (text stays upright; rope keeps its angle) */
@media (prefers-reduced-motion: reduce) {
  .phero-eyebrow, .phero-title, .phero-lede, .phero-crumb { animation: none !important; opacity: 1 !important; }
  .phero::after { animation: none !important; opacity: 0.75 !important; transform: rotate(19deg) !important; }
}


/* --- Mobile safety: no overflow, comfortable CTAs --- */
h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 560px) {
  .hero-actions, .cta-actions, .svc-cta-actions, .acta-actions,
  .scta-actions, .pcta .btn, .cta-flow { width: 100%; }
  .hero-actions, .cta-actions, .svc-cta-actions,
  .acta-actions, .scta-actions {
    flex-direction: column; align-items: stretch;
  }
  .hero-actions .btn, .cta-actions .btn, .svc-cta-actions .btn,
  .acta-actions .btn, .scta-actions .btn, .pcta .btn {
    width: 100%; white-space: normal; text-align: center;
  }
  .section, .section-lg, .svc-dossier, .procrail, .equip, .svc-safety,
  .svc-cta, .pf, .pspot, .pstats, .pcta, .story, .tl, .mv, .vals,
  .certs, .acta, .zero, .sdoss, .ins, .scta, .contact, .cmap, .faq,
  .metrics, .svc, .method, .work, .values, .quote, .cta {
    padding-top: var(--space-20); padding-bottom: var(--space-20);
  }
}


/* --- Mobile type scale --- */
@media (max-width: 560px) {
  .section-title { font-size: var(--text-4xl); }
  .phero-title { font-size: clamp(2.15rem, 8.5vw, 2.9rem); }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .zero-num { font-size: clamp(7rem, 34vw, 11rem); }
  .svcblock-num { font-size: 5rem; top: -6px; }
}


/* --- Footer logo bigger + social icon glyphs --- */
.footer-brand .nav-logo img { height: 60px; }
.footer-social svg { width: 19px; height: 19px; display: block; }
.footer-social { color: rgba(255,255,255,0.55); }
.footer-social:hover { color: #fff; }
@media (max-width: 640px){ .footer-brand .nav-logo img { height: 52px; } }
