/* ─────────────────────────────────────────────────────────────────────────────
   CONSTRUCTORA DALMARIO SRL - DESIGN SYSTEM & UI STYLES
   Designed with Architectural Precision & Luxury Dark Aesthetics
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  /* Color Palette Tokens */
  --bg-dark: #07090b;
  --bg-surface: #0c0f13;
  --bg-card: rgba(16, 21, 27, 0.76);
  --bg-card-strong: rgba(20, 26, 33, 0.92);

  --accent: #e5a919;
  --accent-light: #ffc233;
  --accent-dark: #b88209;
  --accent-glow: rgba(229, 169, 25, 0.28);
  --accent-dim: rgba(229, 169, 25, 0.08);

  --text-main: #f5f7fa;
  --text-muted: #9ea8b6;
  --text-dim: #6c7885;

  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(229, 169, 25, 0.24);
  --border-accent-strong: rgba(229, 169, 25, 0.5);

  --shadow-main: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(229, 169, 25, 0.15);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --site-padding: clamp(1.2rem, 3vw, 2.5rem);
  /* 100% (not 100vw): iOS Safari's 100vw is wider than the visible viewport and clips edge content */
  --container: min(1340px, calc(100% - 2 * var(--site-padding)));
  --header-height: 80px;
}

/* ── CUSTOM LUXURY SCROLLBAR (ALL DEVICES & BROWSERS) ─────────────────────── */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 169, 25, 0.45) #07090b;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #07090b;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(229, 169, 25, 0.35) 0%, rgba(229, 169, 25, 0.65) 100%);
  border-radius: 9999px;
  border: 2px solid #07090b;
  background-clip: padding-box;
  transition: background 0.3s ease, border-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e5a919 0%, #ffc233 100%);
  border: 1.5px solid #07090b;
  box-shadow: 0 0 10px rgba(229, 169, 25, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: #ffc233;
  border: 1px solid #07090b;
}

::-webkit-scrollbar-corner {
  background: #07090b;
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  /* clip avoids creating a scroll container (hidden does) which breaks GSAP pin on desktop */
  overflow-x: clip;
  overscroll-behavior-x: none;
}

@supports not (overflow-x: clip) {
  html, body {
    overflow-x: hidden;
  }
}

/* Lenis Recommended CSS Rules */
html.lenis, html.lenis-smooth {
  height: auto;
}

html.lenis.lenis-smooth body {
  min-height: 100%;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

html.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(229, 169, 25, 0.14), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(255, 255, 255, 0.06), transparent 25%),
    linear-gradient(180deg, #07090b 0%, #0b0e12 40%, #0e1318 100%);
  color: var(--text-main);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* WCAG AA Accessible Keyboard Focus Rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  box-shadow: 0 0 15px var(--accent-glow);
}

/* ── Top Scroll Progress Bar ────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
  z-index: 1000;
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.1s ease-out;
}

/* ── Background Noise & Grid ────────────────────────────────────────────── */
.page-noise,
.page-grid,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-noise {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px);
  background-size: 12px 12px, 18px 18px;
  mix-blend-mode: overlay;
}

.page-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 98%);
}

.cursor-glow {
  width: 32rem;
  height: 32rem;
  margin-left: -16rem;
  margin-top: -16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 169, 25, 0.16), rgba(229, 169, 25, 0));
  filter: blur(25px);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.3s ease;
}

/* ── Header & Navigation ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--site-padding);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(7, 9, 11, 0.92), rgba(7, 9, 11, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header-scrolled {
  height: 68px;
  background: rgba(7, 9, 11, 0.96);
  border-bottom-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 169, 25, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(229, 169, 25, 0.25);
  transition: all 0.3s ease;
}

.brand:hover .brand-emblem {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 169, 25, 0.45);
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-highlight {
  color: var(--accent);
  background: linear-gradient(135deg, #ffc233 0%, var(--accent) 60%, #b88209 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 2px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  height: 100%;
}

.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  transition: color 0.25s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--text-main);
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.top-nav a:hover::after,
.top-nav a.active::after {
  transform: scaleX(1);
}

.top-nav .nav-cta {
  height: auto;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 25, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.top-nav .nav-cta::after {
  display: none;
}

.top-nav .nav-cta:hover {
  background: var(--accent);
  color: #0c0f13;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* Hamburger button */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  z-index: 102;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(229, 169, 25, 0.15);
  border-color: var(--border-accent);
}

.hamburger-line-top,
.hamburger-line-mid,
.hamburger-line-bot {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line-top { transform: translateY(-6px); }
.hamburger-line-bot { transform: translateY(6px); }

.hamburger[aria-expanded="true"] .hamburger-line-top { transform: translateY(0) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-line-mid { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line-bot { transform: translateY(0) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 9, 11, 0.97);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  width: 85%;
  max-width: 400px;
}

.mobile-nav a {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav .mobile-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #0c0f13;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px var(--accent-glow);
}

/* ── Layout & Main Content ──────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

@supports not (overflow-x: clip) {
  main {
    overflow-x: hidden;
  }
}

.section {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

/* Contact form needs visible overflow so the card isn't clipped on iPhone */
.contact.section {
  overflow: visible;
  overflow-x: visible;
}

/* Eyebrows & Badges */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 25, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow-pill svg {
  color: var(--accent);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.button-primary {
  background: var(--accent);
  color: #0b0e12;
  box-shadow: 0 8px 25px var(--accent-glow);
}

.button-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px var(--accent-glow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.button-secondary:hover {
  background: rgba(229, 169, 25, 0.08);
  border-color: var(--border-accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.button-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease;
}

.button-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.button-block {
  width: 100%;
}

.button-sm {
  min-height: 2.8rem;
  padding: 0 1.2rem;
  font-size: 0.88rem;
}

/* Cards & Glassmorphism */
.bento-glow,
.hero-panel,
.service-card,
.method-step,
.value-card,
.sector-card,
.contact-form-container,
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-main);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.bento-glow:hover,
.service-card:hover,
.method-step:hover,
.value-card:hover,
.sector-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-main), 0 0 30px var(--accent-dim);
}

/* ── HERO SECTION ───────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(1.8rem, 3vw, 3.5rem);
  padding: clamp(2.5rem, 5vh, 4.5rem) 0;
  overflow-x: hidden;
}

.hero-copy {
  min-width: 0;
  width: 100%;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.orb-a {
  width: 35vw;
  height: 35vw;
  min-width: 280px;
  right: -5vw;
  top: 5vh;
  background: radial-gradient(circle, rgba(229, 169, 25, 0.22), transparent 70%);
}

.orb-b {
  width: 25vw;
  height: 25vw;
  min-width: 220px;
  left: 20vw;
  bottom: 5vh;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.orb-c {
  width: 20vw;
  height: 20vw;
  left: -8vw;
  top: 25vh;
  background: radial-gradient(circle, rgba(229, 169, 25, 0.12), transparent 70%);
}

.hero-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(229, 169, 25, 0.3), transparent);
}

.hero-line-a { left: 15%; top: 0; width: 1px; height: 60vh; }
.hero-line-b { right: 28%; top: 10vh; width: 1px; height: 50vh; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 25, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite;
}

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

.hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.5rem;
  overflow-wrap: normal;
  word-break: normal;
}

.title-line {
  display: block;
  padding-right: 0.5em;
  padding-bottom: 0.12em;
  white-space: nowrap;
}

.title-line.reveal-mask {
  overflow: hidden;
}

.title-accent {
  color: var(--accent);
  background: linear-gradient(135deg, #ffc233 0%, var(--accent) 60%, #b88209 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(229, 169, 25, 0.25));
}

.hero-text {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent);
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
}

/* Hero Aside Panel - Ultra Minimalist & Sleek */
.hero-panel {
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  background: linear-gradient(165deg, rgba(16, 21, 27, 0.8), rgba(9, 12, 16, 0.92));
  border: 1px solid rgba(229, 169, 25, 0.28);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 45px rgba(229, 169, 25, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-panel:hover {
  border-color: rgba(229, 169, 25, 0.5);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(229, 169, 25, 0.2);
  transform: translateY(-4px);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.panel-live-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--accent); }
  50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 18px var(--accent-light); }
}

.panel-badge-minimal {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.panel-loc-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.loc-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.panel-value {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.panel-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.stat-grid-minimal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.stat-box {
  padding: 1rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box:hover {
  background: rgba(229, 169, 25, 0.06);
  border-color: rgba(229, 169, 25, 0.35);
  transform: translateY(-2px);
}

.stat-box .stat-display {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.stat-number {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.stat-value-num {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 1ch;
  text-align: left;
}

.stat-value-suffix {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-left: 2px;
}

.stat-completed {
  filter: drop-shadow(0 0 10px rgba(229, 169, 25, 0.45));
}

.stat-lbl {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ── MANIFESTO / STORY SECTION ─────────────────────────────────────────── */
.story-pin {
  min-height: 180vh;
  position: relative;
  overflow: visible;
}

.story-stage {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.story-card-main {
  width: min(880px, 100%);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(20, 26, 33, 0.85), rgba(12, 16, 20, 0.95));
  border: 1px solid var(--border-accent);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.story-card-main h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.story-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.story-card-ghost {
  position: absolute;
  right: 0;
  bottom: 15vh;
  pointer-events: none;
}

.ghost-word {
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.88;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

/* ── ABOUT SECTION ──────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(5rem, 8vh, 8rem) 0;
}

.about-copy h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.about-copy p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about-copy strong {
  color: var(--text-main);
  font-weight: 600;
}

.about-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-title {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meta-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
  margin-top: 0.2rem;
}

.about-highlight {
  display: grid;
  gap: 1.2rem;
}

.about-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(229, 169, 25, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.6rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.about-card.accent-card {
  background: radial-gradient(circle at top right, rgba(229, 169, 25, 0.18), transparent 60%), var(--bg-card);
  border-color: var(--border-accent);
}

/* ── SERVICES PORTFOLIO SECTION ─────────────────────────────────────────── */
.services-shell.section {
  width: 100%;
  max-width: 100%;
  padding: clamp(5rem, 8vh, 8rem) var(--site-padding);
  overflow: visible;
  box-sizing: border-box;
}

.services-shell .section-heading {
  width: var(--container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 3rem;
  max-width: 44rem;
}

.section-heading h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

/* Strictly prevent horizontal page overflow while allowing track scroll */
.services-track-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding: 1rem 0;
}

.services-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.75rem 0;
  will-change: transform;
}

.service-card {
  flex: 0 0 auto;
  width: clamp(280px, 24vw, 380px);
  max-width: none;
  min-height: 22rem;
  padding: 1.65rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.service-num {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(229, 169, 25, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background: var(--accent);
  color: #0c0f13;
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-body h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--accent-light);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0;
  margin-top: 1.1rem;
  cursor: pointer;
  transition: color 0.3s ease, gap 0.3s ease;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--accent);
  gap: 0.8rem;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ── METHODOLOGY SECTION ────────────────────────────────────────────────── */
.method {
  padding: clamp(5rem, 8vh, 8rem) 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.method-step {
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.step-index {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.step-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.method-step h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.method-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── MISSION & VISION SECTION ───────────────────────────────────────────── */
.mission {
  padding: clamp(4rem, 7vh, 7rem) 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.mission-card {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 32px;
  position: relative;
}

.mission-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 25, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.mission-card h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.mission-card p {
  color: var(--text-muted);
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.mission-card.accent-mission {
  background: radial-gradient(circle at bottom right, rgba(229, 169, 25, 0.15), transparent 70%), var(--bg-card);
  border-color: var(--border-accent);
}

/* ── VALUES SECTION ─────────────────────────────────────────────────────── */
.value {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(5rem, 8vh, 8rem) 0;
}

.value-copy h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.value-copy p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

.value-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.value-card {
  padding: 1.6rem;
  border-radius: 24px;
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(229, 169, 25, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.value-card.accent {
  background: radial-gradient(circle at top right, rgba(229, 169, 25, 0.16), transparent 50%), var(--bg-card);
  border-color: var(--border-accent);
}

/* ── SECTORS SECTION ────────────────────────────────────────────────────── */
.sectors {
  padding: clamp(4rem, 7vh, 7rem) 0;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.sector-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
  background: var(--accent);
  color: #0c0f13;
  box-shadow: 0 0 20px var(--accent-glow);
}

.sector-title {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.sector-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── CONTACT & INTERACTIVE FORM SECTION ─────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(5rem, 8vh, 8rem) 0;
}

.contact-left h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.contact-left p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: grid;
  gap: 0.85rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(229, 169, 25, 0.04);
  border-color: var(--border-accent);
}

.info-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(229, 169, 25, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 18px;
  height: 18px;
}

.info-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-content span {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.info-content strong {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.info-content small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.phone-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.2rem;
}

.phone-link,
.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  word-break: break-word;
}

.phone-link .wa-icon {
  color: #25d366;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.phone-link:hover {
  color: #25d366;
  transform: translateX(4px);
}

.phone-link:hover .wa-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.6));
}

.mail-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Quote Form Styling - Ultra Crisp High Contrast & Fully Adaptive */
.contact-form-container {
  padding: clamp(1.2rem, 2.4vw, 2.1rem);
  background: linear-gradient(165deg, rgba(20, 26, 33, 0.95), rgba(11, 15, 19, 0.98));
  border: 1px solid rgba(229, 169, 25, 0.32);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(229, 169, 25, 0.08);
  width: 100%;
  max-width: min(100%, 480px);
  min-width: 0;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  /* clip only vertically-contained kids; avoid clipping border/shadow on iOS */
  overflow: visible;
  justify-self: end;
}

.form-header {
  margin-bottom: 1.15rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.form-header p {
  color: var(--text-muted);
  font-size: clamp(0.8rem, 2vw, 0.88rem);
  line-height: 1.45;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.quote-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.02em;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  text-overflow: ellipsis;
  overflow: hidden;
}

.quote-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e5a919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  background: rgba(229, 169, 25, 0.06);
}

.quote-form select option {
  background: #0e1318;
  color: var(--text-main);
  padding: 10px;
}

.quote-form textarea {
  resize: vertical;
  min-height: 90px;
  white-space: pre-wrap;
}

.quote-form button[type="submit"] {
  min-height: 3.1rem;
  padding: 0.7rem 1rem;
  font-size: clamp(0.84rem, 2.8vw, 0.94rem);
  line-height: 1.3;
  text-align: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: normal;
}

/* ── Screen Reader Only ────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Multi-Step Form & Wizard ───────────────────────────── */
.section,
section[id] {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.multi-step-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-wizard-bar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  background: rgba(7, 9, 11, 0.4);
  padding: 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wizard-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-light);
}

.wizard-step-percent {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(229, 169, 25, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(229, 169, 25, 0.2);
}

.wizard-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: visible;
  position: relative;
}

.wizard-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.wizard-progress-fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow);
  transition: opacity 0.3s ease;
}

.wizard-steps-indicators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  outline: none;
  position: relative;
  overflow: hidden;
}

.step-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 169, 25, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-pill:hover::before {
  opacity: 1;
}

.step-pill .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-pill.active {
  background: rgba(229, 169, 25, 0.18);
  border-color: var(--border-accent-strong);
  color: var(--text-main);
  box-shadow: 0 0 16px rgba(229, 169, 25, 0.25);
  transform: scale(1.02);
}

.step-pill.active .step-num {
  background: var(--accent);
  color: #07090b;
}

.step-pill.completed {
  background: rgba(229, 169, 25, 0.1);
  border-color: rgba(229, 169, 25, 0.35);
}

.step-pill.completed .step-num {
  background: var(--accent);
  color: #07090b;
}

/* ── Step Heading ──────────────────────────────────────── */
.step-heading {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(229, 169, 25, 0.15);
}

/* ── Form Validation States ────────────────────────────── */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #e54a4a;
  box-shadow: 0 0 0 3px rgba(229, 74, 74, 0.15);
  background: rgba(229, 74, 74, 0.04);
}

.form-group input.input-success,
.form-group select.input-success,
.form-group textarea.input-success {
  border-color: #4ae56a;
  box-shadow: 0 0 0 3px rgba(74, 229, 106, 0.12);
}

.form-error {
  display: block;
  min-height: 1.2em;
  font-size: 0.78rem;
  color: #e5a0a0;
  font-weight: 500;
  margin-top: 0.25rem;
  transition: opacity 0.25s ease;
}

.form-error:empty {
  opacity: 0;
}

.form-error:not(:empty) {
  opacity: 1;
}

/* ── Form Step Panel Transitions ────────────────────────── */
.form-step-panel {
  display: none !important;
  opacity: 0;
  transform: translateX(12px);
}

.form-step-panel.active {
  display: flex !important;
  flex-direction: column;
  gap: 1.2rem;
  animation: stepSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step-panel.exiting {
  animation: stepSlideOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes stepSlideIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes stepSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-16px);
  }
}

/* ── Step Actions ───────────────────────────────────────── */
.step-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.8rem;
}

.step-actions.dual-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.8rem;
}

/* ── Submit Button Loading State ───────────────────────── */
.quote-form button[type="submit"].loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
}

.quote-form button[type="submit"].loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

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

/* ── Responsive Form ────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-form-container {
    justify-self: stretch;
    max-width: min(100%, 440px);
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 1rem 0.85rem;
    max-width: min(100%, 400px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 18px rgba(229, 169, 25, 0.06);
  }

  .wizard-steps-indicators {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
  }

  .step-pill {
    padding: 0.3rem 0.15rem;
    font-size: 0.68rem;
    flex-direction: column;
    gap: 0.2rem;
  }

  .step-pill .step-name {
    display: none;
  }

  .step-heading {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .step-actions.dual-actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
    max-width: min(100%, 360px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48);
  }

  .wizard-header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .wizard-step-percent {
    align-self: flex-start;
  }

  .step-actions.dual-actions {
    grid-template-columns: 1fr;
  }

  .step-actions.dual-actions .button {
    width: 100%;
  }
}

/* ── MODALS ─────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 7, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-backdrop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(580px, 95vw);
  padding: 2.5rem;
  position: relative;
  border-color: var(--border-accent);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop[aria-hidden="false"] .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: #0c0f13;
}

.modal-badge {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.modal-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.modal-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.modal-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.modal-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.success-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(229, 169, 25, 0.15);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 30px var(--accent-glow);
}

.success-card h3 {
  margin-bottom: 0.8rem;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand strong {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 26rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal small {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ADAPTATIONS ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .top-nav { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-container { margin-top: 0.5rem; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --site-padding: 1rem;
  }
  .brand { width: min(160px, 48vw); }
  .hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  
  .hero-panel,
  .story-card-main,
  .modal-card {
    padding: 1.35rem 1.1rem;
    border-radius: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-form-container {
    padding: 1rem 0.85rem;
    border-radius: 16px;
    width: 100%;
    max-width: min(100%, 400px);
    box-sizing: border-box;
    margin-inline: auto;
  }

  .stat-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .stat-box {
    padding: 0.85rem 0.7rem;
  }

  .method-grid,
  .mission-grid,
  .value-stack,
  .sector-grid,
  .form-row,
  .about-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .info-card {
    padding: 0.75rem 0.85rem;
    gap: 0.7rem;
  }

  .info-content strong {
    font-size: 0.88rem;
    word-break: break-word;
  }

  .service-card {
    flex: 0 0 auto;
    width: min(280px, calc(100vw - 2.5rem));
    max-width: none;
    min-height: 17rem;
    padding: 1.2rem 1rem;
    border-radius: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-panel {
    padding: 1.1rem 0.85rem;
    border-radius: 18px;
  }

  .contact-form-container {
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
    max-width: min(100%, 360px);
  }

  .form-header {
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
  }

  .form-header h3 {
    font-size: 1.1rem;
  }

  .quote-form {
    gap: 0.8rem;
  }

  .quote-form label {
    font-size: 0.8rem;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    padding: 0.68rem 0.8rem;
    font-size: 16px;
    border-radius: 10px;
  }

  .quote-form button[type="submit"] {
    min-height: 3rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
  }

  .panel-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .panel-badge-minimal {
    align-self: flex-start;
  }

  .stat-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .stat-box .stat-display {
    font-size: 1.3rem;
  }

  .stat-lbl {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  :root {
    --site-padding: 0.75rem;
  }

  .contact-form-container {
    padding: 0.8rem 0.65rem;
    border-radius: 12px;
    max-width: min(100%, 340px);
  }

  .form-header h3 {
    font-size: 1.05rem;
  }

  .quote-form button[type="submit"] {
    font-size: 0.82rem;
  }
}

/* ── FLOATING WHATSAPP BUTTON ────────────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 2px 10px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.65), 0 4px 14px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.floating-wa-tooltip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: rgba(12, 16, 20, 0.96);
  color: #f5f7fa;
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .floating-wa-tooltip {
    display: none;
  }
}

/* ── PRINT STYLES ─────────────────────────────────────────────────────────── */
@media print {
  body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 12pt;
  }

  .floating-whatsapp,

  .site-header,
  .scroll-progress,
  .page-noise,
  .page-grid,
  .cursor-glow,
  .hero-backdrop,
  .hamburger,
  .mobile-menu,
  .modal-backdrop,
  .button,
  .service-link {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }

  .section {
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem 0 !important;
    page-break-inside: avoid;
  }

  .hero-title,
  .story-card-main h2,
  .about-copy h2,
  .section-heading h2 {
    color: #000000 !important;
    -webkit-text-fill-color: initial !important;
  }

  .title-accent {
    color: #b88209 !important;
    -webkit-text-fill-color: initial !important;
  }

  .bento-glow,
  .hero-panel,
  .service-card,
  .method-step,
  .value-card,
  .sector-card,
  .contact-form-container {
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    color: #222222 !important;
  }

  .services-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    transform: none !important;
  }

  .service-card {
    width: auto !important;
    min-height: auto !important;
  }

  .site-footer {
    border-top: 1px solid #ccc !important;
    color: #444 !important;
  }
}


