/* ==========================================================================
   Easton Refractories — Design System & Base Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #F0740D;
  --color-primary-dark: #C75A08;
  --color-gold: #FDB913;
  --color-ink: #111111;
  --color-body: #4B4F54;
  --color-accent-green: #2E7D32;
  --color-accent-mint: #4BBB8B;
  --color-bg: #FFFFFF;
  --color-bg-soft: #FBF6F0;
  --color-border: #E7E1D8;

  --font-heading: 'Instrument Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --container-max: 1520px;
  --header-height: 94.38px;
  --header-height-scrolled: 72px;

  --shadow-soft: 0 10px 30px rgba(28, 28, 28, 0.08);
  --shadow-card: 0 6px 20px rgba(28, 28, 28, 0.07);
  --radius: 14px;
  --transition: 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.25;
}

h1,
h2,
.section-title,
.cat-heading h2,
.cta-band h2,
.badge-experience .num {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition);
}

svg.lucide {
  width: 1em;
  height: 1em;
  stroke-width: 2px;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

a:hover {
  color: var(--color-primary-dark);
}

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

.container-xl {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  position: relative;
}

.section-pad {
  padding-block: 6.5rem;
}

.section-pad-sm {
  padding-block: 4rem;
}

.bg-soft {
  background: var(--color-bg-soft);
}

.section-glow {
  overflow: hidden;
}

.section-glow::before,
.section-glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: var(--color-accent-mint);
  opacity: 0.14;
  filter: blur(70px);
}

.section-glow::before {
  width: 360px;
  height: 360px;
  top: -140px;
  right: -100px;
}

.section-glow::after {
  width: 260px;
  height: 260px;
  bottom: -110px;
  left: -70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-accent-mint);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--color-body);
  max-width: 640px;
}

.section-head {
  margin-bottom: 3.25rem;
}

.section-head.text-center {
  margin-inline: auto;
}

.section-head.text-center .section-lead {
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.85rem 1.9rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-light-custom {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--color-ink);
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg-custom {
  padding: 1rem 2.3rem;
  font-size: 1rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), padding var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(28, 28, 28, 0.08);
  border-bottom-color: var(--color-border);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand-custom img {
  height: 72px;
  width: auto;
  transition: height var(--transition);
}

.site-header .navbar {
  padding-block: 0.70rem;
}

.main-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-ink);
  padding: 0.6rem 1.05rem !important;
  position: relative;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.header-phone i,
.header-phone svg {
  color: var(--color-primary);
}

.navbar-toggler-custom {
  border: none;
  background: transparent;
  padding: 0.4rem;
}

.navbar-toggler-custom:focus {
  box-shadow: none;
}

@media (min-width: 992px) {
  body {
    padding-top: var(--header-height);
  }

  .navbar-collapse {
    flex: 1 1 auto;
  }

  .main-nav {
    margin-inline: auto;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 82.38px;
  }
}

/* ==========================================================================
   Hero sections
   ========================================================================== */

.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(244 206 55 / 16%) 0%, rgba(20, 15, 10, 0.55) 45%, rgb(8 7 5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-home {
  min-height: 92vh;
}

.hero-home .hero-inner {
  padding-block: 5rem;
}

.hero-page {
  min-height: 46vh;
  padding-top: var(--header-height);
}

.hero-page .hero-inner {
  padding-block: 3rem;
  text-align: center;
}

.hero-page .breadcrumb-custom {
  justify-content: center;
}

.hero-page h1 {
  margin-inline: auto;
}

.hero-page .hero-sub {
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 920px;
}

.hero .hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 850px;
  margin-block: 1.25rem 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.1rem;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.4rem;
}

.breadcrumb-custom {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-custom a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-custom {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.icon-tile {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 116, 13, 0.1);
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}

.feature-card {
  padding: 2.2rem 1.8rem;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.feature-card p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* Product card */
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

a.product-card,
a.product-card:hover {
  color: inherit;
}

.product-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.4rem 1.4rem 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body .cat-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-mint);
  margin-bottom: 0.5rem;
}

.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-body);
  margin-bottom: 0;
}

/* Text-only product card (Castables & Mortar) */
.product-card-text .product-card-body {
  padding: 1.6rem 1.6rem 1.7rem;
}

.product-card-text .product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.product-card-text .product-card-body p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.section-anchor-tag {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Category pill nav on Products page */
.cat-pillbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.cat-pill {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  color: var(--color-ink);
  background: #fff;
  white-space: nowrap;
  transition: all var(--transition);
}

.cat-pill:hover,
.cat-pill:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cat-heading {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.cat-heading h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

.cat-heading span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   About page specifics
   ========================================================================== */

.about-media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media {
  max-width: 596px;
  margin-inline: auto;
}

.story-media .about-media-frame {
  aspect-ratio: 596 / 616;
}

.story-media .about-media-frame img {
  object-position: center top;
}

.badge-experience {
    position: absolute;
    bottom: -1.1rem;
    right: 0;
    width: fit-content;
    margin: auto;
    left: 0;
    background: var(--color-accent-mint);
    color: #111;
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.badge-experience .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}

.badge-experience .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  font-weight: 600;
}

.value-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.value-item:last-child {
  border-bottom: none;
}

.value-item .icon-tile {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.value-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.timeline-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.timeline-strip-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.timeline-item p,
.feature-card p,
.product-card-body p,
.contact-card p,
.value-item p {
  overflow-wrap: anywhere;
}

.timeline-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.timeline-item .icon-tile {
  margin-inline: auto;
}

.timeline-item h3 {
  font-size: 1.7rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-filterbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
  transition: all var(--transition);
}

.gallery-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gallery-filter-btn.active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 28, 0.35);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
}

.gallery-item .gallery-zoom-icon {
  color: #fff;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryLightbox .modal-content {
  background: transparent;
  border: none;
}

#galleryLightbox .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryLightbox img {
  max-height: 84vh;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-inline: auto;
}

#galleryLightbox .btn-close {
  filter: invert(1);
  opacity: 1;
  position: absolute;
  top: -3rem;
  right: 0;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.cta-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 9, 7, 0.94) 0%, rgba(12, 9, 7, 0.88) 45%, rgba(199, 90, 8, 0.82) 100%);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 4rem;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin-bottom: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  gap: 1.1rem;
  height: 100%;
}

.contact-card .icon-tile {
  margin-bottom: 0;
}

.contact-card h3 {
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--color-body);
}

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-card .form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-ink);
}

.form-card .form-control {
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.form-card .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(240, 116, 13, 0.15);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 100%;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.form-alert {
  display: none;
}

.form-alert.is-visible {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 5rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.footer-brand img {
  height: fit-content;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  max-width: 340px;
  font-size: calc(0.92rem + 2px);
}

.footer-col h4 {
  font-size: calc(1rem + 2px);
  font-weight: 500;
  margin-bottom: 1.3rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.72);
  font-size: calc(0.93rem + 2px);
}

.footer-col ul a:hover {
  color: var(--color-gold);
}

.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: calc(0.93rem + 2px);
}

.footer-contact-item i,
.footer-contact-item svg {
  color: var(--color-primary);
  margin-top: 0.2rem;
  width: calc(0.93rem + 4px);
  height: calc(0.93rem + 4px);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: calc(1rem + 4px);
  transition: all var(--transition);
}

.social-row a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  font-size: calc(0.85rem + 2px);
}

/* Floating action buttons: WhatsApp stacked above the brochure button */
:root {
  --fab-size: 48px;
  --fab-offset: 1.75rem;
  --fab-gap: 0.75rem;
}

.whatsapp-float {
  position: fixed;
  bottom: calc(var(--fab-offset) + var(--fab-size) + var(--fab-gap));
  right: var(--fab-offset);
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  z-index: 900;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1DA851;
  color: #fff;
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: var(--fab-offset);
  right: var(--fab-offset);
  min-width: var(--fab-size);
  height: var(--fab-size);
  padding-inline: 15px;
  border-radius: 100px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  z-index: 900;
  border: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease, margin-left 0.35s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--color-primary-dark);
  color: #fff;
  padding-inline: 15px 20px;
}

.back-to-top:hover .back-to-top-label,
.back-to-top:focus-visible .back-to-top-label {
  max-width: 180px;
  opacity: 1;
  margin-left: 0.5rem;
}

/* Utility */
.text-primary-custom {
  color: var(--color-primary) !important;
}

.text-success-custom {
  color: var(--color-accent-mint) !important;
}

.divider-dot {
  color: var(--color-primary);
  margin-inline: 0.5rem;
}

/* ==========================================================================
   Why Choose / Stats band
   ========================================================================== */

.stats-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.stats-band-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.stats-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 9, 7, 0.94) 0%, rgba(12, 9, 7, 0.88) 55%, rgba(199, 90, 8, 0.7) 100%);
}

.stats-band .section-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.stats-band-lead {
  color: rgba(255, 255, 255, 0.95);
  max-width: 760px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.stats-box {
  height: 100%;
  padding: clamp(1.1rem, 0.5rem + 1.5vw, 2rem) clamp(0.6rem, 0.3rem + 1vw, 1.25rem);
  text-align: center;
  background: rgba(12, 9, 7, 0.55);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
}

.stats-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 0.9rem + 1.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  overflow-wrap: anywhere;
}

.stats-label {
  margin-top: 0.4rem;
  font-size: clamp(0.72rem, 0.6rem + 0.45vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.stats-bars {
  padding: clamp(1.1rem, 0.7rem + 1.2vw, 1.75rem) clamp(1rem, 0.5rem + 1.5vw, 2rem);
  background: rgba(12, 9, 7, 0.55);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
}

.stats-bar + .stats-bar {
  margin-top: clamp(0.9rem, 0.6rem + 0.7vw, 1.4rem);
}

.stats-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.8rem, 0.65rem + 0.45vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.stats-bar-track {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  width: 0;
  background: var(--color-gold);
  border-radius: 6px;
  transition: width 1.4s ease;
}

.stats-band-content {
  max-width: min(100%, 640px);
  margin-right: auto;
  text-align: left;
}

/* Footer: keep long emails/addresses inside their column at all widths */
.footer-contact-item > span,
.footer-contact-item > a {
  min-width: 0;
  overflow-wrap: anywhere;
}
