/* ==========================================================================
   Header & Navigation
   ========================================================================== */
site-header {
  display: block;
  min-height: 101px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--silver);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.78;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  opacity: 1;
  border-color: var(--thread-ui);
}

nav.main-nav a.priority,
nav.main-nav a.active {
  opacity: 1;
  border-color: var(--thread-ui);
  color: var(--thread-ui);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn {
  white-space: nowrap;
  line-height: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 77px;
  left: 0;
  right: 0;
  background: var(--silver);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  z-index: 49;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer a.active {
  color: var(--thread-ui);
}

@media (max-width: 1040px) {
  nav.main-nav {
    gap: 16px;
  }
}

@media (max-width: 920px) {
  nav.main-nav {
    display: none;
  }
  .header-actions .btn-outline-ink {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero & Visuals
   ========================================================================== */
.hero {
  padding-top: 64px;
  background:
    radial-gradient(ellipse at top right, rgba(238,115,2,0.06), transparent 55%),
    var(--canvas);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  color: var(--ink);
  margin: 14px 0 20px;
}

.hero .eyebrow {
  margin-bottom: 6px;
}

.hero .sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.cta-center {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.trust-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trust-bullets li {
  font-size: 0.9rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.trust-bullets li::before {
  content: "—";
  color: var(--thread-ui);
  font-weight: 700;
}

/* Hang Tag Visual */
.tag-wrap {
  display: flex;
  justify-content: center;
}

.hang-tag {
  position: relative;
  width: min(360px, 100%);
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: 14px 14px 8px 8px;
  padding: 34px 26px 30px;
  transform: rotate(2.5deg);
  box-shadow: 0 18px 40px -18px rgba(21,33,58,0.35);
}

.hang-tag::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--canvas);
}

.hang-tag::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  width: 2px;
  height: 34px;
  background: var(--ink);
  opacity: 0.5;
}

.hang-tag .tag-eyebrow {
  color: var(--thread-ui);
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

.tag-techniques {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tag-tech {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.tag-tech:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tag-tech .ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-tech .ico svg {
  width: 19px;
  height: 19px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
}

.tag-tech strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  display: block;
}

.tag-tech span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Gallery Swatches
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.swatch {
  aspect-ratio: 4/5;
  border: 1.5px dashed var(--line);
  border-radius: 6px;
  background: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.swatch svg,
.swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.swatch {
  cursor: pointer;
}

.swatch:hover img {
  transform: scale(1.04);
}

.swatch::after {
  content: '🔍';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 43, 67, 0.7);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  pointer-events: none;
}

.swatch:hover::after {
  opacity: 1;
  transform: scale(1);
}

.swatch span {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--canvas);
  padding: 4px 8px;
  border-radius: 3px;
}

/* Lightbox Modal */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 40, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: transparent;
}

.image-lightbox-caption {
  margin-top: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  max-width: 640px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.image-lightbox-close {
  position: absolute;
  top: -46px;
  right: -4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.9;
  transition: opacity 0.15s, background 0.15s, transform 0.15s;
}

.image-lightbox-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.gallery-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   Pains Section (Ink)
   ========================================================================== */
.pains {
  background: var(--ink);
  color: var(--text-on-ink);
}

.pains .section-head .eyebrow {
  color: var(--gold);
}

.pains .section-head h2 {
  color: var(--text-on-ink);
}

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

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.pain-card {
  background: var(--ink-soft);
  border: 1px solid #38436a;
  border-radius: 8px;
  padding: 28px;
}

.pain-card .quote-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--thread);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.pain-card q {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 16px;
  quotes: none;
}

.pain-card p {
  font-size: 0.88rem;
  color: #C7CEE3;
}

/* ==========================================================================
   Services & Tech Cards
   ========================================================================== */
.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.cat-head h3 {
  font-size: 1.3rem;
  color: var(--ink);
}

.cat-head .eyebrow {
  color: var(--thread-ui);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

@media (max-width: 760px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--thread);
}

.tech-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 6px 0 10px;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tech-card a.link {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--thread-ui);
  border-bottom: 1px solid var(--thread-ui);
  padding-bottom: 2px;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process {
  background: var(--ink);
  color: var(--text-on-ink);
}

.process .section-head .eyebrow {
  color: var(--gold);
}

.process .section-head h2 {
  color: var(--text-on-ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.step {
  position: relative;
  padding: 0 18px 0 0;
}

.step .step-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.step h4,
.step h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: #C7CEE3;
}

@media (min-width: 861px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 18px;
    height: 1px;
    background-image: repeating-linear-gradient(90deg, #4d5a86 0 6px, transparent 6px 12px);
  }
}

/* ==========================================================================
   Trust & Ops
   ========================================================================== */
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 820px) {
  .ops-grid {
    grid-template-columns: 1fr;
  }
}

.ops-grid h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}

.ops-grid p.lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 48ch;
}

.stat-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-tag {
  font-family: 'Inter', sans-serif;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  min-width: 120px;
}

.stat-tag .val {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--thread-ui);
}

.stat-tag .lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.ops-photo {
  aspect-ratio: 1/1;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ops-photo svg,
.ops-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ops-photo span {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--canvas);
  padding: 4px 10px;
  border-radius: 3px;
}

/* ==========================================================================
   Contact Section & Forms
   ========================================================================== */
.contact {
  background: var(--ink);
  color: var(--text-on-ink);
}

.contact .section-head .eyebrow {
  color: var(--gold);
}

.contact .section-head h2 {
  color: var(--text-on-ink);
}

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

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ink-soft);
  border: 1px solid #38436a;
  border-radius: 8px;
  padding: 16px 20px;
}

.channel .who {
  font-size: 0.78rem;
  color: #9aa6c9;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.channel .val {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
}

.channel > div {
  display: flex;
  flex-direction: column;
}

.address-block {
  margin-top: 22px;
  font-size: 0.9rem;
  color: #C7CEE3;
}

.address-block strong {
  display: block;
  color: var(--text-on-ink);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

form.quick-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form.quick-form input,
form.quick-form textarea {
  background: var(--ink-soft);
  border: 1px solid #445070;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text-on-ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}

form.quick-form input::placeholder,
form.quick-form textarea::placeholder {
  color: #8a94b8;
}

form.quick-form input:focus-visible,
form.quick-form textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

form.quick-form .alt {
  font-size: 0.82rem;
  color: #9aa6c9;
}

form.quick-form .alt a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.quick-form-status {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  line-height: 1.4;
  display: none;
}

.quick-form-status.is-visible {
  display: block;
}

.quick-form-status.is-success {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid var(--whatsapp);
  color: #d1fae5;
}

.quick-form-status.is-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid #ef4444;
  color: #fecaca;
}

form.quick-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #0F1830;
  color: #8a94b8;
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h5,
.footer-grid h3,
.foot-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C7CEE3;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid a {
  font-size: 0.86rem;
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--text-on-ink);
}

.foot-logo {
  font-family: 'Inter', sans-serif;
  color: var(--text-on-ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.foot-tag {
  font-size: 0.85rem;
  max-width: 34ch;
}

.foot-bottom {
  font-size: 0.76rem;
  border-top: 1px solid #263254;
  padding-top: 20px;
}

/* ==========================================================================
   Fixed Contact Bar & Floating WhatsApp
   ========================================================================== */
.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  background: var(--ink);
  border-top: 1px solid #2b3c56;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-bar a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.contact-bar a svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.contact-bar .cb-outline {
  background: transparent;
  border: 1px solid #445070;
  color: var(--text-on-ink);
}

.contact-bar .cb-outline:hover {
  border-color: var(--thread);
  color: var(--thread);
}

.contact-bar .cb-outline.icon-only {
  padding: 10px;
}

.contact-bar .cb-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  flex: none;
}

.contact-bar .cb-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.contact-bar .cb-phone-num {
  display: inline;
}

@media (max-width: 480px) {
  .contact-bar .cb-phone-num {
    display: none;
  }
  .contact-bar .cb-outline:not(.icon-only) {
    padding: 10px;
  }
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.05);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* Additional helper classes replacing inline styles */
.branch-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #9aa6c9;
}

.quick-form .btn {
  align-self: flex-start;
}

.breadcrumb {
  display: block;
  margin-bottom: 10px;
  color: var(--thread-ui);
}

.breadcrumb a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.hero-grid-narrow {
  grid-template-columns: 1fr !important;
  max-width: 760px !important;
}

.faq-title-top {
  margin-top: 0 !important;
}

.blog-footer-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Additional utility and layout classes */
.wrap-narrow {
  max-width: 760px;
}

.wrap-medium {
  max-width: 900px;
}

.hero-grid-wide {
  grid-template-columns: 1fr !important;
  max-width: 800px !important;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-item h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pains-compact {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.section-pt0 {
  padding-top: 0 !important;
}

.section-footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 14px;
}

.sub-color-title {
  margin-top: 14px !important;
}

.text-muted {
  color: var(--text-muted);
}

.text-lead-list {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 20px;
}

.btn-drawer-quote {
  margin-top: 8px;
  justify-content: center;
}

.brand-logo-dark {
  background: #111 !important;
}

.section-py56 {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.tech-grid-mb8 {
  margin-bottom: 8px !important;
}
