/*
  Arrant Floors main stylesheet
*/

/* =========================================================
   Theme variables
   ========================================================= */
:root {
  --af-bg: #050505;
  --af-panel: #111111;
  --af-panel-2: #161616;
  --af-card: #0c0c0c;
  --af-text: #f5f1ea;
  --af-muted: #8a8580;
  --af-border: rgba(255, 255, 255, .09);
  --af-gold: #f0ae2c;
  --af-gold-2: #d99118;
  --af-black: #050505;
  --af-font-heading: "Anton", Impact, sans-serif;
  --af-font-body: "Inter", Arial, sans-serif;
}

/* =========================================================
   Base reset and global elements
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--af-bg);
  color: var(--af-text);
  font-family: var(--af-font-body);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--af-gold);
}

/* =========================================================
   Layout helpers
   ========================================================= */
.af-container {
  padding-left: clamp(22px, 5vw, 96px);
  padding-right: clamp(22px, 5vw, 96px);
}

.section-pad {
  padding-top: clamp(70px, 9vw, 128px);
  padding-bottom: clamp(70px, 9vw, 128px);
}

/* =========================================================
   Navigation
   ========================================================= */
.af-navbar {
  height: 80px;
  background: rgba(4, 4, 4, .94);
  border-bottom: 1px solid var(--af-border);
  backdrop-filter: blur(16px);
}

.af-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.af-navbar .nav-link {
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .82);
  font-weight: 800;
}

.af-navbar .nav-link:hover {
  color: var(--af-text);
}

.af-toggler {
  border: 0;
  padding: 8px;
}

.af-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--af-text);
  margin: 5px 0;
}

.navbar-collapse {
  background: rgba(4, 4, 4, .98);
  padding: 14px;
}

/* =========================================================
   Responsive overrides
   ========================================================= */
@media (min-width:992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.af-btn {
  border-radius: 0;
  border: 1px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  padding: 14px 24px;
  font-family: var(--af-font-body);
  line-height: 1.1;
}

.af-btn-primary {
  background: var(--af-gold);
  color: #070707;
}

.af-btn-primary:hover {
  background: var(--af-gold-2);
  color: #050505;
  transform: translateY(-2px);
}

.af-btn-outline {
  border-color: var(--af-border);
  color: var(--af-muted);
  background: transparent;
}

.af-btn-outline:hover {
  border-color: var(--af-gold);
  color: var(--af-gold);
}

.af-btn-dark {
  background: #050505;
  color: var(--af-text);
}

.af-btn-dark:hover {
  background: #161616;
  color: var(--af-gold);
}

/* =========================================================
   Hero section
   ========================================================= */
.af-hero {
  background: var(--af-bg);
  min-height: 100vh;
  padding-top: 80px;
}

.af-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  pointer-events: none;
}

.af-hero-bg-word {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--af-font-heading);
  font-size: clamp(120px, 27vw, 420px);
  line-height: .8;
  color: rgba(255, 255, 255, .035);
  letter-spacing: -.05em;
  user-select: none;
}

.af-hero-square {
  position: absolute;
  border: 1px solid rgba(240, 174, 44, .10);
  transform: rotate(45deg);
  pointer-events: none;
}

.af-hero-square-lg {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 8%;
}

.af-hero-square-sm {
  width: 180px;
  height: 180px;
  bottom: 15%;
  right: 15%;
  opacity: .45;
}

/* =========================================================
   Shared typography
   ========================================================= */
.af-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .27em;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.af-eyebrow span {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--af-gold);
}

.af-hero-title,
.af-section-title {
  font-family: var(--af-font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--af-text);
  margin: 0;
}

.af-hero-title {
  font-size: clamp(48px, 8.2vw, 90px);
  max-width: 980px;
}

.af-section-title {
  font-size: clamp(40px, 4vw, 60px);
}

.af-hero-title em,
.af-section-title em,
.af-spec-card em {
  font-style: normal;
  color: var(--af-gold);
}

.af-lead {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--af-muted);
  max-width: 620px;
}

.af-copy {
  color: var(--af-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   Hero stats strip
   ========================================================= */
.af-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--af-border);
  background: rgba(5, 5, 5, .72);
}

.af-stat {
  padding: 24px 32px;
  border-right: 1px solid var(--af-border);
  position: relative;
  min-height: 116px;
}

.af-stat.active:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--af-gold);
}

.af-stat small {
  display: block;
  color: var(--af-muted);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.af-stat strong {
  display: block;
  color: var(--af-text);
  font-size: 15px;
  margin-top: 8px;
}

.af-stat span {
  display: block;
  color: var(--af-muted);
  font-size: 12px;
  margin-top: 4px;
}

/* =========================================================
   Scrolling marquees
   ========================================================= */
.af-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  white-space: nowrap;
}

.af-marquee-track {
  display: inline-flex;
  align-items: center;
  animation: af-marquee 32s linear infinite;
}

.af-marquee-track span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
  padding: 0 28px;
  font-size: 14px;
}

.af-marquee-track b {
  font-size: 9px;
  opacity: .5;
}

.af-marquee-gold {
  background: var(--af-gold);
  color: #050505;
  padding: 14px 0;
}

.af-marquee-muted {
  background: #171717;
  color: var(--af-muted);
  border-top: 1px solid var(--af-border);
  border-bottom: 1px solid var(--af-border);
  padding: 18px 0;
}

.af-marquee-muted b {
  color: var(--af-gold);
  opacity: .8;
}

@keyframes af-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Section surfaces and image treatment
   ========================================================= */
.af-section {
  background: var(--af-bg);
  position: relative;
}

.af-panel {
  background: var(--af-panel);
}

.af-dark {
  background: #050505;
}

.af-muted-img {
  filter: saturate(.6) contrast(1.1);
}

/* =========================================================
   Exact data-center card animation
   ========================================================= */
.dc-scroll-card {
  position: relative;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111;
  isolation: isolate;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dc-scroll-card.dc-visible {
  opacity: 1;
  transform: translateY(0);
}

.dc-scroll-card .dc-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  transition: filter 1s ease, transform 1s ease;
  z-index: -3;
}

.dc-scroll-card .dc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));
  opacity: 1;
  transition: opacity 1s ease;
  z-index: -2;
}

.dc-scroll-card .dc-card-content {
  position: relative;
  z-index: 10;
  padding: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (min-width: 768px) {
  .dc-scroll-card .dc-card-content {
    padding: 32px;
  }
}

.dc-scroll-card.dc-visible .dc-card-img {
  filter: brightness(0.75);
  transform: scale(1.03);
}

.dc-scroll-card.dc-visible .dc-card-overlay {
  opacity: 0.5;
}

.dc-scroll-card.dc-visible .dc-card-content {
  opacity: 1;
  transform: translateY(0);
}

.dc-scroll-card:hover .dc-card-img,
.dc-scroll-card:focus-within .dc-card-img {
  filter: brightness(0.9);
  transform: scale(1.06);
}

.dc-scroll-card:hover .dc-card-overlay,
.dc-scroll-card:focus-within .dc-card-overlay {
  opacity: 0.25;
}

.dc-scroll-card:hover .dc-card-content,
.dc-scroll-card:focus-within .dc-card-content {
  opacity: 0;
  transform: translateY(30px);
}

.dc-card-content h3 {
  font-family: var(--af-font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .38));
}

.dc-card-content > p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.625;
  margin: 0 0 16px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}

.dc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.dc-card-tags span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--af-gold);
  border: 1px solid rgba(240, 174, 44, .2);
  padding: 4px 10px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
}

.dc-card-details summary {
  cursor: pointer;
  font-size: 15px;
  font-family: var(--af-font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--af-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  list-style: none;
  transition: color .15s ease;
}

.dc-card-details summary:hover {
  color: #f3bd58;
}

.dc-card-details summary::-webkit-details-marker {
  display: none;
}

.dc-card-arrow {
  width: 16px;
  height: 16px;
  transition: transform .15s ease;
}

.dc-card-details[open] .dc-card-arrow {
  transform: rotate(90deg);
}

.dc-card-specs {
  padding-top: 12px;
  border-top: 1px solid rgba(240, 174, 44, .2);
  margin-top: 8px;
}

.dc-card-specs p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.625;
  margin: 0;
}

/* =========================================================
   Reduced-motion accessibility overrides
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .dc-scroll-card,
  .dc-scroll-card .dc-card-img,
  .dc-scroll-card .dc-card-overlay,
  .dc-scroll-card .dc-card-content,
  .dc-card-arrow {
    transition: none !important;
  }

  .dc-scroll-card {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Industry tabs, service cards, and mini FAQ
   ========================================================= */
.af-tabs .nav-link {
  border-radius: 2px;
  background: #121212;
  color: var(--af-text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin-right: 10px;
  padding: 12px 18px;
}

.af-tabs .nav-link.active {
  background: var(--af-gold);
  color: #070707;
}

.af-service-card {
  height: 100%;
  padding: 28px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 3px;
  transition: .25s;
}

.af-service-card:hover {
  background: #161616;
  border-color: rgba(240, 174, 44, .28);
  transform: translateY(-3px);
}

.af-service-card div {
  font-size: 22px;
  margin-bottom: 18px;
}

.af-service-card h3 {
  font-size: 17px;
}

.af-quote {
  border-left: 2px solid rgba(240, 174, 44, .35);
  padding-left: 22px;
  color: var(--af-muted);
  font-style: italic;
  max-width: 650px;
}

.af-quote cite {
  display: block;
  color: var(--af-gold);
  font-style: normal;
  margin-top: 8px;
}

.af-mini-faq {
  border-top: 1px solid var(--af-border);
}

.af-mini-faq h3 {
  font-family: var(--af-font-heading);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.af-mini-faq details {
  border-bottom: 1px solid var(--af-border);
  padding: 16px 0;
}

.af-mini-faq summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}

.af-mini-faq p {
  color: var(--af-muted);
}

/* =========================================================
   Portfolio slider
   ========================================================= */
.af-portfolio-slider {
  position: relative;
}

.af-portfolio-wrap {
  position: relative;
  overflow: hidden;
  padding-left: clamp(22px, 5vw, 96px);
  padding-right: clamp(22px, 5vw, 96px);
}

.af-portfolio-wrap:before,
.af-portfolio-wrap:after,
.af-logo-marquee:before,
.af-logo-marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

.af-portfolio-wrap:before,
.af-logo-marquee:before {
  left: 0;
  background: linear-gradient(to right, var(--af-bg), transparent);
}

.af-portfolio-wrap:after,
.af-logo-marquee:after {
  right: 0;
  background: linear-gradient(to left, var(--af-bg), transparent);
}

.af-project-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.af-project-track {
  display: flex;
  gap: 22px;
  overflow: visible;
  padding: 0;
  /*transform: translate3d(0, 0, 0);*/
  /*transition: transform .55s cubic-bezier(.22, .61, .36, 1);*/
  will-change: transform;
  animation: af-marquee 38s linear infinite;
}

.af-project {
  flex: 0 0 400px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--af-border);
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.af-project:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 174, 44, .25);
  background: rgba(255, 255, 255, .045);
}

.af-project img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.af-project div {
  padding: 22px;
}

.af-project span {
  display: block;
  color: var(--af-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}

.af-project h3 {
  font-family: var(--af-font-heading);
  font-size: 18px;
  margin-top: 7px;
  margin-bottom: 0;
  color: var(--af-text);
}

/*.af-slider-dots {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  gap: 8px;*/
/*  margin-top: 22px;*/
/*}*/

.af-slider-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  padding: 0;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.af-slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--af-gold);
}

/* =========================================================
   Client logo marquee
   ========================================================= */
.af-client-heading {
  text-align: center;
  color: var(--af-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 16px;
  padding: 50px 0 50px 0;
}

.af-logo-marquee {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 26px 0;
}

.af-logo-track {
  display: flex;
  align-items: center;
  animation: af-marquee 38s linear infinite;
}

.af-logo-track img {
  height: 86px;
  width: auto;
  object-fit: contain;
  opacity: .86;
  padding: 0 34px;
  flex-shrink: 0;
}

/* =========================================================
   Why section number list
   ========================================================= */
.af-number-list > div {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--af-border);
  padding: 24px 0;
  transition: padding-left .25s ease, border-color .25s ease;
}

.af-number-list > div:hover,
.af-number-list > div:focus-within {
  padding-left: 10px;
  border-bottom-color: rgba(240, 174, 44, .35);
}

.af-number-list b {
  font-family: var(--af-font-heading);
  font-size: 42px;
  color: rgba(255, 255, 255, .10);
  min-width: 54px;
  line-height: 1;
  transition: color .25s ease, transform .25s ease;
}

.af-number-list > div:hover b,
.af-number-list > div:focus-within b {
  color: var(--af-gold);
  transform: translateX(2px);
}

.af-number-list h3 {
  font-family: var(--af-font-heading);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.af-number-list p {
  color: var(--af-muted);
  font-size: 15px;
}

/* =========================================================
   Why section specification card
   ========================================================= */
.af-spec-card {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .05);
  padding: clamp(30px, 4vw, 52px);
  border-radius: 6px;
}

.af-spec-card h2 {
  font-family: var(--af-font-heading);
  font-size: clamp(32px, 4.4vw, 54px);
  text-transform: uppercase;
  line-height: .95;
}

.af-spec-card p,
.af-spec-card blockquote {
  color: var(--af-muted);
  line-height: 1.8;
}

.af-spec-card summary {
  cursor: pointer;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 13px;
}

.af-spec-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.af-spec-card li {
  border: 1px solid rgba(240, 174, 44, .14);
  background: rgba(240, 174, 44, .08);
  color: var(--af-gold);
  padding: 12px 16px;
  margin-bottom: 9px;
  font-size: 14px;
}

/* =========================================================
   Certification strip
   ========================================================= */
.af-cert-strip {
  background: #050505;
  padding: 34px 0;
  overflow: hidden;
  position: relative;
}

.af-cert-strip::before,
.af-cert-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 3;
  pointer-events: none;
}

.af-cert-strip::before {
  left: 0;
  background: linear-gradient(to right, #050505, rgba(5, 5, 5, 0));
}

.af-cert-strip::after {
  right: 0;
  background: linear-gradient(to left, #050505, rgba(5, 5, 5, 0));
}

.af-cert-marquee {
  position: relative;
  overflow: visible;
  width: 100%;
}

.af-cert-track {
  display: flex;
  align-items: center;
  width: max-content;
  overflow: visible;
  animation: af-marquee 30s linear infinite;
}

.af-cert-logo-slot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 42px;
  overflow: visible;
}

.af-cert-logo-slot img {
  height: 128px;
  width: 200px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* =========================================================
   Process section
   ========================================================= */
.af-process-row {
  position: relative;
}

.af-process {
  position: relative;
  text-align: center;
}

.af-process b {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #141414;
  border: 1px solid var(--af-border);
  color: var(--af-gold);
  font-size: 12px;
  letter-spacing: .1em;
  margin-bottom: 22px;
}

.af-process h3 {
  font-size: 17px;
}

.af-process p {
  font-size: 14px;
  color: var(--af-muted);
}

/* =========================================================
   Markets and accordions
   ========================================================= */
.af-bg-letters {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--af-font-heading);
  font-size: 280px;
  color: rgba(255, 255, 255, .04);
  line-height: 1;
}

.af-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--af-border);
  border-radius: 0;
}

.af-accordion .accordion-button {
  background: transparent;
  color: var(--af-text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 13px;
  padding: 18px 0;
  box-shadow: none;
}

.af-accordion .accordion-button:after {
  filter: invert(75%) sepia(72%) saturate(628%) hue-rotate(348deg);
}

.af-accordion .accordion-body {
  color: var(--af-muted);
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
}

.af-market-card {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .04);
  padding: clamp(34px, 5vw, 60px);
  max-width: 520px;
  margin-left: auto;
}

.af-market-card strong {
  display: block;
  font-family: var(--af-font-heading);
  font-size: clamp(46px, 6vw, 72px);
  color: var(--af-gold);
  line-height: .95;
}

.af-market-card span {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--af-muted);
  font-size: 12px;
  font-weight: 900;
}

.af-market-card p {
  color: var(--af-muted);
  line-height: 1.8;
}

.af-market-card hr {
  border-color: var(--af-border);
  opacity: 1;
  margin: 28px 0;
}

/* =========================================================
   Call-to-action section
   ========================================================= */
.af-cta {
  background: var(--af-gold);
  color: #050505;
  padding: clamp(60px, 7vw, 92px) 0;
  position: relative;
  overflow: hidden;
}

.af-cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(0, 0, 0, .06) 24px, rgba(0, 0, 0, .06) 25px);
}

.af-cta .container-fluid {
  position: relative;
  z-index: 2;
}

.af-cta h2 {
  font-family: var(--af-font-heading);
  font-size: clamp(46px, 6vw, 76px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
}

.af-cta p {
  color: rgba(0, 0, 0, .68);
  font-size: 18px;
  font-weight: 600;
  max-width: 380px;
}

/* =========================================================
   Contact section and form controls
   ========================================================= */
.af-contact-line {
  border-bottom: 1px solid var(--af-border);
  padding: 20px 0;
}

.af-contact-line small {
  display: block;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 900;
}

.af-contact-line a,
.af-contact-line b {
  display: block;
  color: var(--af-text);
  font-weight: 800;
  font-size: 20px;
  margin-top: 8px;
}

.af-contact-line span {
  display: block;
  color: white;
  font-size: 13px;
  margin-top: 4px;
}

.af-form label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 7px;
}

.af-form .form-control,
.af-form .form-select {
  border-radius: 0;
  background: #060606;
  border: 1px solid var(--af-border);
  color: white;
  padding: 14px 16px;
}

.af-form .form-control:focus,
.af-form .form-select:focus {
  box-shadow: 0 0 0 .2rem rgba(240, 174, 44, .15);
  border-color: var(--af-gold);
  background: #070707;
  color: var(--af-text);
}

.af-form .form-control::placeholder {
  color: #6f6a64;
}

/* =========================================================
   Footer and floating chat button
   ========================================================= */
.af-footer {
  background: #050505;
  border-top: 1px solid var(--af-border);
  padding: 64px 0 42px;
  color: var(--af-muted);
}

.af-footer-logo {
  height: 56px;
  margin-bottom: 18px;
}

.af-footer h4 {
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.af-footer a {
  display: block;
  color: var(--af-muted);
  font-size: 14px;
  margin-bottom: 9px;
}

.af-footer p {
  max-width: 310px;
  font-size: 14px;
  line-height: 1.7;
}

.af-socials {
  display: flex;
  gap: 10px;
}

.af-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--af-border);
  margin: 0;
}

.af-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--af-gold);
  color: #050505;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
  font-size: 24px;
}

/* =========================================================
   Responsive overrides: tablets and below
   ========================================================= */
@media (max-width:991.98px) {
  .af-hero-title {
    font-size: clamp(35px, 10vw, 76px);
  }

  .af-section-title {
    font-size: clamp(40px, 12vw, 64px);
  }

  .af-project {
    flex-basis: 320px;
  }

  .af-project img {
    height: 210px;
  }

  .af-logo-track img {
    height: 72px;
  }

  .af-market-card {
    margin-left: 0;
  }

  .af-stats .af-stat:nth-child(even) {
    border-right: 0;
  }
}

/* =========================================================
   Responsive overrides: mobile
   ========================================================= */
@media (max-width:575.98px) {
  .af-btn {
    width: 100%;
    text-align: center;
  }

  .af-stat {
    padding: 18px 20px;
  }

  .af-project {
    flex-basis: 265px;
  }

  .af-project img {
    height: 178px;
  }

  .af-number-list > div {
    gap: 16px;
  }

  .af-number-list b {
    font-size: 34px;
    min-width: 40px;
  }

  .af-logo img {
    height: 54px;
  }

  .af-navbar {
    height: 72px;
  }

  .af-hero {
    padding-top: 72px;
  }

  .af-eyebrow {
    letter-spacing: .18em;
    font-size: 10px;
  }

  .af-hero-bg-word {
    display: none;
  }
}

@media (max-width:991.98px) {
  .af-cert-logo-slot {
    padding: 0 32px;
  }

  .af-cert-logo-slot img {
    height: 112px;
    width: 180px;
    max-width: 180px;
  }
}

@media (max-width:575.98px) {
  .af-cert-strip {
    padding: 26px 0;
  }

  .af-cert-strip::before,
  .af-cert-strip::after {
    width: 70px;
  }

  .af-cert-logo-slot {
    padding: 0 24px;
  }

  .af-cert-logo-slot img {
    height: 76px;
    width: 140px;
    max-width: 140px;
  }
}

/* =========================================================
   Services-needed multi-select dropdown
   ========================================================= */
.af-service-select {
  position: relative;
  width: 100%;
}

.af-service-select-toggle {
  width: 100%;
  background: #060606;
  border: 1px solid var(--af-border);
  color: var(--af-text);
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  font-family: var(--af-font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.af-service-select-toggle span:first-child {
  color: #6f6a64;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-service-select.is-selected .af-service-select-toggle span:first-child {
  color: var(--af-text);
}

.af-service-select.is-open .af-service-select-toggle {
  border-color: var(--af-gold);
  background: #070707;
  box-shadow: 0 0 0 .2rem rgba(240, 174, 44, .15);
}

.af-service-select-icon {
  width: 16px;
  height: 16px;
  color: var(--af-muted);
  flex: 0 0 auto;
  transition: transform .2s ease, color .2s ease;
}

.af-service-select.is-open .af-service-select-icon {
  color: var(--af-gold);
  transform: rotate(180deg);
}

.af-service-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #060606;
  border: 1px solid var(--af-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  display: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 174, 44, .45) #060606;
}

.af-service-select-menu::-webkit-scrollbar {
  width: 7px;
}

.af-service-select-menu::-webkit-scrollbar-track {
  background: #060606;
}

.af-service-select-menu::-webkit-scrollbar-thumb {
  background: rgba(240, 174, 44, .45);
}

.af-service-select.is-open .af-service-select-menu {
  display: block;
}

.af-service-select-group-title {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 9px 16px;
  background: #121212;
  border-bottom: 1px solid var(--af-border);
  color: var(--af-gold);
  font-family: var(--af-font-heading);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.af-service-select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: background .2s ease;
  margin: 0;
}

.af-service-select-option:hover {
  background: rgba(255, 255, 255, .045);
}

.af-service-select-option input {
  display: none;
}

.af-service-select-box {
  width: 16px;
  height: 16px;
  border: 1px solid rgb(255 255 255);
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background .2s ease, border-color .2s ease;
}

.af-service-select-option input:checked + .af-service-select-box {
  background: var(--af-gold);
  border-color: var(--af-gold);
}

.af-service-select-option input:checked + .af-service-select-box::after {
  content: "✓";
  color: #050505;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.af-service-select-option b {
  color: var(--af-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width:575.98px) {
  .af-service-select-menu {
    max-height: 280px;
  }

  .af-service-select-option b {
    font-size: 13px;
  }
}

/* =========================================================
   Services page: Lovable services layout converted to Bootstrap 5
   ========================================================= */
.af-navbar .nav-link.active {
  color: var(--af-gold);
}

.af-inner-page {
  padding-top: 80px;
}

.af-services-hero {
  background: var(--af-bg);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 32px;
}

.af-services-page-title {
  max-width: 1000px;
  font-family: var(--af-font-heading);
  font-size: clamp(42px, 7vw, 86px);
  line-height: .92;
  text-transform: uppercase;
  color: var(--af-text);
  margin: 0;
}

.af-services-page-title em {
  font-style: normal;
  color: var(--af-gold);
}

.af-services-page-section {
  background: var(--af-panel);
}

.af-service-intro {
  max-width: 540px;
  color: var(--af-muted);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

.af-service-system-shell {
  margin-left: calc(clamp(22px, 5vw, 96px) * -1);
  margin-right: calc(clamp(22px, 5vw, 96px) * -1);
}

.af-service-system-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px clamp(22px, 5vw, 96px) 20px;
  -webkit-overflow-scrolling: touch;
}

.af-service-system-grid::-webkit-scrollbar {
  height: 8px;
}

.af-service-system-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
}

.af-service-system-grid::-webkit-scrollbar-thumb {
  background: rgba(240, 174, 44, .48);
  border-radius: 999px;
}

.af-service-system-card {
  min-width: min(78vw, 340px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.af-service-system-card:hover,
.af-service-system-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(240, 174, 44, .60);
  background: rgba(255, 255, 255, .05);
}

.af-service-system-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #181818;
}

.af-service-system-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .52s ease;
}

.af-service-system-card:hover .af-service-system-media img,
.af-service-system-card:focus-within .af-service-system-media img {
  transform: scale(1.055);
}

.af-service-system-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .24), transparent);
}

.af-service-system-number {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--af-gold);
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .20em;
  padding: 7px 12px;
}

.af-service-system-media h3 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  color: var(--af-text);
  font-family: var(--af-font-heading);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.af-service-system-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.af-service-system-body > p {
  color: var(--af-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.af-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.af-service-tags span {
  color: var(--af-gold);
  background: rgba(240, 174, 44, .05);
  border: 1px solid rgba(240, 174, 44, .30);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  line-height: 1;
  padding: 7px 10px;
}

.af-service-details {
  margin-top: 18px;
}

.af-service-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: 14px;
  padding: 8px 0;
  transition: color .18s ease;
}

.af-service-details summary::-webkit-details-marker {
  display: none;
}

.af-service-details summary:hover {
  color: #f3bd58;
}

.af-service-details summary::before {
  content: '›';
  font-size: 22px;
  line-height: 1;
  transition: transform .18s ease;
}

.af-service-details[open] summary::before {
  transform: rotate(90deg);
}

.af-service-details p {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(240, 174, 44, .20);
  font-size: 15px;
  color: var(--af-muted);
  line-height: 1.65;
}

.af-mobile-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 5;
  pointer-events: none;
}

.af-mobile-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--af-panel), transparent);
}

.af-mobile-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--af-panel), transparent);
}

.af-reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .62s cubic-bezier(.22, 1, .36, 1), transform .62s cubic-bezier(.22, 1, .36, 1);
}

.af-reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .af-service-system-shell {
    margin-left: 0;
    margin-right: 0;
  }

  .af-service-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    padding: 0;
  }

  .af-service-system-card {
    min-width: 0;
  }

  .af-mobile-fade {
    display: none;
  }
}

@media (min-width: 1200px) {
  .af-service-system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .af-service-system-body {
    padding: 28px;
  }
}

@media (max-width: 575.98px) {
  .af-inner-page {
    padding-top: 72px;
  }

  .af-services-hero {
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-reveal-up,
  .af-service-system-card,
  .af-service-system-media img,
  .af-service-details summary::before {
    transition: none !important;
  }

  .af-reveal-up {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   Lovable-style footer refinement
   ========================================================= */
.af-footer-lovable {
  background: #050505;
  border-top: 1px solid var(--af-border);
  padding: 56px 0 96px;
  color: var(--af-muted);
}

.af-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--af-border);
}

.af-footer-brand {
  flex: 1 1 280px;
  max-width: 330px;
}

.af-footer-logo-link {
  display: inline-flex !important;
  margin-bottom: 14px !important;
}

.af-footer-lovable .af-footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 0;
}

.af-footer-brand p {
  max-width: 280px;
  margin: 8px 0 0;
  color: rgba(138, 133, 128, .72);
  font-size: 14px;
  line-height: 1.7;
}

.af-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.af-footer-socials a {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 999px;
  border: 1px solid var(--af-border);
  color: var(--af-muted);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.af-footer-socials a:hover {
  color: var(--af-gold);
  border-color: var(--af-gold);
  transform: translateY(-2px);
}

.af-footer-socials svg {
  width: 16px;
  height: 16px;
}

.af-footer-col {
  flex: 0 1 170px;
}

.af-footer-col h4 {
  margin: 0 0 14px;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 900;
}

.af-footer-col a {
  display: block;
  color: var(--af-muted);
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 9px;
  transition: color .2s ease;
}

.af-footer-col a:hover {
  color: var(--af-text);
}

.af-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: rgba(138, 133, 128, .58);
  font-size: 14px;
}

.af-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.af-footer-legal a {
  display: inline-flex !important;
  margin: 0 !important;
  color: rgba(138, 133, 128, .58);
  font-size: 14px;
  transition: color .2s ease;
}

.af-footer-legal a:hover {
  color: var(--af-muted);
}

@media (max-width: 991.98px) {
  .af-footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .af-footer-brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 575.98px) {
  .af-footer-lovable {
    padding-bottom: 88px;
  }

  .af-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .af-footer-col a {
    font-size: 14px;
  }

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

  .af-footer-legal {
    gap: 18px;
  }
}

/* =========================================================
   Arrant Floors chatbot
   ========================================================= */
.af-chat.afc-bubble,
.afc-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: var(--af-gold);
  color: #060606;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  animation: afc-pulse 2.6s ease-out infinite;
}

.af-chat.afc-bubble:hover,
.afc-bubble:hover {
  background: #f5b13a;
  transform: translateY(-2px);
}

.af-chat.afc-bubble svg,
.afc-bubble svg {
  width: 26px;
  height: 26px;
}

.af-chat.afc-bubble.is-hidden,
.afc-bubble.is-hidden {
  opacity: 0;
  transform: scale(.9);
  pointer-events: none;
}

.afc-window {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 560px;
  max-height: calc(100vh - 40px);
  background: #0e0e0e;
  border: 1px solid rgba(240, 174, 44, .25);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--af-text);
  font-family: var(--af-font-body);
  animation: afc-slide-in 280ms cubic-bezier(.22, 1, .36, 1) both;
}

.afc-window[hidden] {
  display: none !important;
}

.afc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #060606;
  border-bottom: 1px solid rgba(240, 174, 44, .25);
}

.afc-icon-btn {
  background: transparent;
  border: 0;
  color: #9a9a9a;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .16s ease;
}

.afc-icon-btn:hover,
.afc-icon-btn:focus-visible {
  color: var(--af-gold);
}

.afc-icon-btn svg {
  width: 20px;
  height: 20px;
}

.afc-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.afc-title {
  font-family: var(--af-font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--af-text);
  line-height: 1.1;
}

.afc-status {
  font-size: 11px;
  color: #9a9a9a;
  margin-top: 3px;
}

.afc-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #34d399;
  margin-right: 6px;
  vertical-align: middle;
}

.afc-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(rgba(240, 174, 44, .04) 0%, transparent 40%);
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 174, 44, .45) #0e0e0e;
}

.afc-messages::-webkit-scrollbar {
  width: 7px;
}

.afc-messages::-webkit-scrollbar-track {
  background: #0e0e0e;
}

.afc-messages::-webkit-scrollbar-thumb {
  background: rgba(240, 174, 44, .45);
  border-radius: 999px;
}

.afc-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.afc-msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, .04);
  color: var(--af-text);
  border: 1px solid rgba(240, 174, 44, .25);
  font-weight: 400;
}

.afc-msg-user {
  align-self: flex-end;
  background: var(--af-gold);
  color: #060606;
  border: 0;
  font-weight: 700;
}

.afc-msg a {
  color: var(--af-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.afc-quick-wrap {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: #060606;
  border-top: 1px solid rgba(240, 174, 44, .25);
}

.afc-step-form {
  border-top: 1px solid rgba(240, 174, 44, .25);
}

.afc-quick-wrap[hidden] {
  display: none !important;
}

.afc-quick {
  border: 1px solid rgba(240, 174, 44, .25);
  background: rgba(255, 255, 255, .035);
  color: var(--af-text);
  border-radius: 10px;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.afc-quick:hover,
.afc-quick:focus-visible {
  border-color: var(--af-gold);
  color: var(--af-text);
  background: rgba(240, 174, 44, .08);
}

.afc-form {
  padding: 12px;
  border-top: 1px solid rgba(240, 174, 44, .25);
  background: #060606;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.afc-form[hidden] {
  display: none !important;
}

.afc-form-intro {
  color: #b7b1aa;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 2px;
}

.afc-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--af-text);
  border: 1px solid rgba(240, 174, 44, .25);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.afc-input::placeholder {
  color: #85807a;
}

.afc-input:focus {
  outline: none;
  border-color: var(--af-gold);
  box-shadow: 0 0 0 3px rgba(240, 174, 44, .18);
  background: rgba(255, 255, 255, .06);
}

.afc-select {
  color-scheme: dark;
}

.afc-textarea {
  min-height: 70px;
  resize: vertical;
}

.afc-btn-primary {
  margin-top: 2px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--af-gold);
  color: #060606;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .16s ease, opacity .16s ease;
}

.afc-btn-primary:hover {
  background: #f5b13a;
}

.afc-btn-primary:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.afc-btn-primary svg {
  width: 15px;
  height: 15px;
}

.afc-feedback {
  min-height: 18px;
  font-size: 12px;
  line-height: 1.35;
}

.afc-feedback.is-error {
  color: #fb7185;
}

.afc-feedback.is-success {
  color: #34d399;
}

.afc-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes afc-slide-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes afc-pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 0 rgba(240, 174, 44, .55);
  }

  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 12px rgba(240, 174, 44, 0);
  }
}

@media (max-width: 480px) {
  .afc-window {
    inset: auto 12px 88px 12px;
    width: auto;
    height: auto;
    max-height: 75vh;
  }

}

@media (prefers-reduced-motion: reduce) {
  .af-chat.afc-bubble,
  .afc-bubble,
  .afc-window {
    animation: none !important;
  }
}



/*LOCATION PAGE CSS*/

.af-service-areas {
  --af-primary: #8b5a2b;
  --af-primary-dark: #6f421d;
  --af-primary-rgb: 139, 90, 43;
  --af-bg: #ffffff;
  --af-card: #ffffff;
  --af-secondary: #f7f3ee;
  --af-text: #171717;
  --af-muted: #6f6b66;
  --af-border: #e8dfd5;

  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--af-bg);
  padding: 96px 0;
  color: var(--af-text);
  font-family: inherit;
}

.af-service-areas::before,
.af-service-areas::after {
  content: "";
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: 999px;
  background: rgba(var(--af-primary-rgb), 0.10);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.af-service-areas::before {
  top: -130px;
  left: -130px;
}

.af-service-areas::after {
  right: -130px;
  bottom: -130px;
  background: rgba(var(--af-primary-rgb), 0.05);
}

.af-service-areas .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}

.af-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--af-primary-rgb), 0.20);
  background: rgba(var(--af-primary-rgb), 0.05);
  color: var(--af-primary);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.af-section-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--af-primary);
  animation: afSoftPulse 1.6s ease-in-out infinite;
}

.af-section-title {
  margin: 20px 0 0;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--af-text);
}

.af-section-title span {
  color: #D99118;
}

.af-section-subtitle {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--af-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Cards */
.af-area-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.af-area-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--af-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--af-text);
  text-align: left;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.af-area-card:hover {
  border-color: rgba(var(--af-primary-rgb), 0.45);
  transform: translateY(-2px);
}

.af-area-card.is-active {
  border-color: #f0ae2c;
  background: var(--af-card);
  box-shadow: 0 22px 50px rgba(var(--af-primary-rgb), 0.13);
  transform: scale(1.01);
}

.af-area-card-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #f0ae2c;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.af-area-card.is-active .af-area-card-bar {
  opacity: 1;
}

.af-area-card-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
}

.af-area-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  background: rgba(var(--af-primary-rgb), 0.10);
  color: #f0ae2c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.af-area-card.is-active .af-area-icon {
  background: #f0ae2c;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(var(--af-primary-rgb), 0.32);
}

.af-area-icon svg {
  width: 25px;
  height: 25px;
}

.af-area-content {
  flex: 1;
  min-width: 0;
}

.af-area-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.af-area-name {
  margin: 0;
  color: var(--af-text);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.af-area-count {
  color: #f0ae2c;
  font-size: 12px;
  font-weight: 800;
}

.af-area-region {
  margin: 4px 0 0;
  color: var(--af-muted);
  font-size: 14px;
  font-weight: 700;
}

.af-area-desc {
  margin: 9px 0 0;
  color: var(--af-muted);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.af-area-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.af-area-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--af-text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.af-area-phone svg {
  width: 15px;
  height: 15px;
  color: #f0ae2c;
}

.af-area-arrow {
  width: 17px;
  height: 17px;
  color: #f0ae2c;
  transition: transform 0.3s ease;
}

.af-area-card.is-active .af-area-arrow {
  transform: translateX(5px);
}

/* Map */
.af-map-wrap {
  position: relative;
}

.af-map-box {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--af-border);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--af-card), var(--af-card), var(--af-secondary));
  box-shadow: 0 30px 70px rgba(var(--af-primary-rgb), 0.07);
  padding: 24px;
}

.af-map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image:
    linear-gradient(var(--af-text) 1px, transparent 1px),
    linear-gradient(90deg, var(--af-text) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.af-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.af-map-pin {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.af-map-pin-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #f0ae2c;
  transition: all 0.3s ease;
}

.af-map-pin-core::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.af-map-pin-label {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 9px;
  transform: translateX(-50%);
  white-space: nowrap;
  border: 1px solid var(--af-border);
  background: var(--af-card);
  color: var(--af-text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.70;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.af-map-pin.is-active .af-map-pin-core {
  width: 24px;
  height: 24px;
  background: #f0ae2c;
  box-shadow: 0 12px 28px rgba(var(--af-primary-rgb), 0.48);
  transform: scale(1.25);
}

.af-map-pin.is-active .af-map-pin-core::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 999px;
  background: rgba(var(--af-primary-rgb), 0.20);
  animation: afPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.af-map-pin.is-active .af-map-pin-core span {
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: rgba(var(--af-primary-rgb), 0.30);
  z-index: -1;
}

.af-map-pin.is-active .af-map-pin-label {
  border-color: #f0ae2c;
  background: #f0ae2c;
  color: #ffffff;
  opacity: 1;
}

.af-floating-stat {
  position: absolute;
  z-index: 5;
  border: 1px solid var(--af-border);
  background: var(--af-card);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.af-floating-stat.bottom-left {
  left: -24px;
  bottom: -24px;
}

.af-floating-stat.top-right {
  right: -24px;
  top: -24px;
}

.af-stat-number {
  color: var(--af-text);
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.af-stat-number.primary {
  color: #f0ae2c;
}

.af-stat-label {
  margin-top: 5px;
  color: var(--af-muted);
  font-size: 12px;
  line-height: 1;
}

/* Animations */
@keyframes afSoftPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.35);
  }
}

@keyframes afPing {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }
  75%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .af-service-areas {
    padding: 80px 0;
  }

  .af-map-wrap {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .af-service-areas {
    padding: 70px 0;
  }

  .af-section-title {
    font-size: 38px;
  }

  .af-section-subtitle {
    font-size: 16px;
  }

  .af-area-card-inner {
    padding: 20px;
    gap: 16px;
  }

  .af-area-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .af-area-name {
    font-size: 19px;
  }

  .af-area-side {
    display: none;
  }

  .af-area-desc {
    white-space: normal;
  }

  .af-floating-stat {
    display: none;
  }
}

@media (max-width: 480px) {
  .af-map-box {
    padding: 18px;
    border-radius: 22px;
  }

  .af-map-pin-label {
    font-size: 10px;
    padding: 3px 8px;
  }
}


