/* =========================================================
   R2 Tech Design — Custom Styles
   ========================================================= */

:root{
  --navy: #10263f;
  --navy-light: #16304f;
  --teal: #12a79d;        /* brand accent: fills, icons, on dark */
  --teal-ink: #0b7f77;    /* accent text on light backgrounds */
  --teal-soft: rgba(18,167,157,.12);
  --header: #176b87;
  --orange: #bd6a44;
  --black: #141414;
  --cream: #faf8f5;
  --text-muted: #5c6470;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font-sans);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-sans);
  color: var(--black);
  padding-top: 76px;
  overflow-x: hidden;
}

.py-lg-6{ padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }

/* ===== NAVBAR ===== */
.r2-navbar{
  --teal: #6fe0d5;          /* brighter teal so accents read on the header colour */
  padding: 1rem 0;
  background: var(--header);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: padding .25s ease, box-shadow .25s ease;
}
.r2-navbar.scrolled{ padding: .55rem 0; box-shadow: 0 4px 16px rgba(0,0,0,.3); }

.r2-logo{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff !important;
  padding: 0;
}
.r2-logo-mark{ width: 34px; height: 34px; flex-shrink: 0; color: #fff; }
.r2-logo-text{ display: flex; flex-direction: column; line-height: 1; }
.r2-logo-name{
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.r2-logo-name b{ font-weight: 800; color: var(--teal); }
.r2-logo-sub{
  margin-top: .3rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.r2-navbar .nav-link{
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
}
.r2-navbar .nav-link:hover{ color: #fff; }
.r2-navbar .nav-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .25s ease;
}
.r2-navbar .nav-link:hover::after,
.r2-navbar .nav-link.active::after{ width: 100%; }

.r2-btn-cta{
  background: var(--teal);
  border: 1px solid var(--teal);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.2rem;
}
.r2-btn-cta:hover{ background: #0e9389; border-color: #0e9389; color: #fff; }
.r2-navbar .r2-btn-cta{ background: #fff; border-color: #fff; color: var(--header); }
.r2-navbar .r2-btn-cta:hover{ background: var(--navy); border-color: var(--navy); color: #fff; }
.r2-btn-outline{
  border-color: rgba(255,255,255,.6);
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  padding: .5rem 1.1rem;
}
.r2-btn-outline:hover{
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ===== HERO ===== */
.r2-hero{
  position: relative;
  min-height: 100vh;
  margin-top: -76px;
  padding-top: 76px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9,24,40,.92) 0%, rgba(9,24,40,.78) 38%, rgba(9,24,40,.25) 72%, rgba(9,24,40,.1) 100%),
    linear-gradient(180deg, rgba(9,24,40,.35) 0%, rgba(9,24,40,0) 30%, rgba(9,24,40,.6) 100%),
    url('../images/hero-banner.png') center top/cover no-repeat;
}
/* soft teal glow to break up the blue */
.r2-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 0% 100%, rgba(18,167,157,.22) 0%, rgba(18,167,157,0) 70%);
  pointer-events: none;
}
.r2-hero-inner{ padding-top: 3.5rem; padding-bottom: 4rem; }
.r2-hero-content{ max-width: 640px; }
.r2-hero-tag{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(18,167,157,.45);
  background: rgba(18,167,157,.1);
  border-radius: 999px;
  color: #5fd6cc;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.r2-hero-tag::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(18,167,157,.25);
}
.r2-hero-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.r2-accent{ color: var(--teal); }
.r2-hero-text{
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin-bottom: 2.25rem;
}
.r2-btn-primary{
  background: var(--teal);
  border: 1px solid var(--teal);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: .8rem 1.6rem;
  box-shadow: 0 10px 24px rgba(18,167,157,.28);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.r2-btn-primary:hover{
  background: #0e9389; border-color: #0e9389; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18,167,157,.35);
}
.r2-btn-ghost{
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  padding: .8rem 1.6rem;
  backdrop-filter: blur(4px);
}
.r2-btn-ghost:hover{ background: #fff; color: var(--navy); border-color: #fff; }

.r2-hero-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin-top: 4.5rem;
}
.r2-hero-stat{
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.r2-hero-stat strong{
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
}
.r2-hero-stat strong span{ color: var(--teal); margin-left: .15rem; }
.r2-hero-stat small{
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}

/* ===== SECTION SHARED ===== */
.r2-section{ background: #fff; padding-top: 8rem; }
#about.r2-section{ padding-top: 8rem; }

.r2-badge{
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .4rem 1rem;
}
.r2-kicker{
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.r2-heading{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--black);
}
.r2-heading--lg{ font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; }
.r2-heading--light{ color: #fff; }
.r2-body-text{
  font-size: 1.20rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.r2-body-text--light{ color: rgba(255,255,255,.75); }

.r2-photo{
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}
.r2-photo img{ display:block; object-fit: cover; }
.r2-photo--about{ aspect-ratio: 4/3; }
.r2-photo--tall{ aspect-ratio: 4/5; }

/* ===== SERVICES ===== */
.r2-services{
  background: radial-gradient(55% 60% at 100% 0%, rgba(18,167,157,.18) 0%, rgba(18,167,157,0) 70%), var(--navy);
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.r2-service-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.r2-service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0,0,0,.38);
}
.r2-service-card img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 22px 22px 0 0;
  transition: transform .6s ease;
}
.r2-service-card:hover img{ transform: scale(1.04); }

/* Last two cards: wider and visually stronger */
.r2-service-card--wide img{
  aspect-ratio: 16/8;
  filter: contrast(1.25) saturate(1.35) brightness(.94);
}
.r2-service-card--wide::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 16/8;
  background: linear-gradient(180deg, rgba(16,38,63,0) 55%, rgba(16,38,63,.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.r2-service-caption{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex: 1;
  z-index: 2;
  background: #fff;
  padding: 1.1rem 1.4rem 1.1rem 1.6rem;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--black);
  text-transform: uppercase;
  text-align: left;
}
.r2-service-caption::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 1.4rem;
  transform: translateY(-50%);
  border-radius: 0 4px 4px 0;
  background: var(--teal);
}
.r2-service-caption::after{
  content: "\2192";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 1rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.r2-service-card:hover .r2-service-caption::after{
  background: var(--teal);
  color: #fff;
  transform: translateX(3px);
}

/* ===== WHY US / FEATURES ===== */
.r2-feature{
  height: 100%;
  padding: 1.75rem;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.r2-feature:hover{
  border-color: #cfcfcf;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}
.r2-feature-icon{
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.r2-feature-title{
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.42rem;
  margin-bottom: .5rem;
}
.r2-feature-text{
  font-size: 1.27rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== IMAGE BANNER ===== */
.r2-banner{
  line-height: 0;
}
.r2-banner img{
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  display: block;
}

/* ===== FOOTER ===== */
.r2-footer{
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.r2-footer-heading{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}
.r2-footer-text{
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}
.r2-footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}
.r2-footer-links li{ margin-bottom: .6rem; }
.r2-footer-links a{
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.r2-footer-links a:hover{ color: #fff; text-decoration: underline; }

.r2-footer-divider{
  border-color: rgba(255,255,255,.15);
  margin: 1rem 0 1.5rem;
}
.r2-footer-copy{
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.r2-footer-wordmark span{ color: var(--teal); }
.r2-footer-wordmark{
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-top: 2rem;
  white-space: nowrap;
  opacity: .95;
}

/* ===== INNER PAGE HERO (About / Our DNA, etc.) ===== */
.r2-page-hero{
  position: relative;
  min-height: 58vh;
  margin-top: -76px;
  padding-top: 76px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(10,22,38,.78) 0%, rgba(9,19,33,.7) 45%, rgba(8,17,30,.92) 100%),
              url('../images/hero-banner.png') center 30%/cover no-repeat;
}
.r2-page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 80% at 0% 100%, rgba(18,167,157,.2) 0%, rgba(18,167,157,0) 70%);
  pointer-events: none;
}
.r2-page-hero-inner{
  position: relative;
  padding: 7rem 0 4.5rem;
}
.r2-eyebrow{
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.r2-eyebrow::before{
  content: "";
  width: 32px;
  height: 1px;
  background: var(--teal);
}
.r2-page-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 1.25rem;
}
.r2-page-subtitle{
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-bottom: 0;
}

/* ===== VALUES ===== */
.r2-value{
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 10px 35px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.r2-value:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.r2-value-icon{
  font-size: 2.4rem;
  color: var(--teal-ink);
  margin-bottom: 1.75rem;
}
.r2-value-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.r2-value-text{
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== INTRO STATEMENT ===== */
.r2-intro-label{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--black);
}
.r2-intro-label::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: .5rem;
  flex-shrink: 0;
}
.r2-intro-text{
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 0;
}

/* ===== STATS ===== */
.r2-stat{
  padding-left: 1.5rem;
  border-left: 1px solid #e5e2db;
  height: 100%;
}
.r2-stat-number{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--black);
  margin-bottom: .5rem;
  line-height: 1;
}
.r2-stat-label{
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
}

/* ===== MISSION BAND ===== */
.r2-mission{
  background: var(--navy);
  padding: 3.5rem 0;
}
.r2-mission-label{
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.r2-mission-text{
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 900px;
  margin: 0;
}

/* ===== SERVICE DISCIPLINES ===== */
.r2-section--tint{ background: var(--cream); }

.r2-discipline-icon{
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.r2-check-list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.r2-check-list li{
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .75rem;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.r2-check-list li:last-child{ margin-bottom: 0; }
.r2-check-list li i{
  color: var(--teal-ink);
  font-size: 1.05rem;
  margin-top: .15rem;
  flex-shrink: 0;
}
.r2-check-label{
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
}

/* Services page: align heading/paragraph with the deliverables list */
.r2-discipline-row .r2-body-text{ margin-bottom: 0; }
@media (min-width: 992px){
  .r2-discipline-row{ align-items: flex-start; }
  /* skip past the round icon (56px + 1.25rem gap) so the label sits on the heading line */
  .r2-discipline-row > .col-lg-7{ padding-top: calc(56px + 1.25rem); }
  /* label box = heading line box, text centred on it */
  .r2-discipline-row .r2-check-label{
    height: calc(clamp(1.6rem, 2.4vw, 2.1rem) * 1.3);
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem; /* heading .5rem + paragraph mt-3 1rem → list starts with paragraph */
  }
}

/* ===== INDUSTRIES ===== */
.r2-industry{
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--black);
  height: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.r2-industry:hover{
  border-color: #cfcfcf;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}
.r2-industry i{
  color: var(--teal-ink);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===== BREADCRUMB ===== */
.r2-breadcrumb{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.r2-breadcrumb a{ color: rgba(255,255,255,.85); text-decoration: none; }
.r2-breadcrumb a:hover{ color: #fff; }
.r2-breadcrumb .sep{ color: rgba(255,255,255,.4); }

/* ===== CONTACT ===== */
.r2-contact-block{
  padding-top: 1rem;
  border-top: 2px solid var(--black);
  height: 100%;
}
.r2-contact-label{
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.r2-contact-value{
  font-size: .98rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}
.r2-contact-socials{
  display: flex;
  gap: .75rem;
}
.r2-contact-socials a{
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  color: var(--black);
  font-size: 1rem;
  transition: all .25s ease;
}
.r2-contact-socials a:hover{
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.r2-contact-card{
  background: #fff;
  padding: 2.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  border: 1px solid #f0f0f0;
}
.r2-contact-card h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.r2-contact-card > p{
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.r2-form-group{
  margin-bottom: 1.5rem;
}
.r2-form-control{
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: .6rem 0;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--black);
  background: transparent;
  resize: none;
}
.r2-form-control:focus{
  outline: none;
  border-bottom-color: var(--teal);
}
.r2-form-control::placeholder{ color: #9a9a9a; }

/* ===== CTA BAND ===== */
.r2-cta{
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}
.r2-cta-heading{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.r2-cta-text{
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ===== TYPE: Inter display tracking ===== */
.r2-heading, .r2-page-title, .r2-cta-heading, .r2-stat-number,
.r2-feature-title, .r2-value-title, .r2-contact-card h3, .r2-footer-wordmark{
  letter-spacing: -.025em;
}
.r2-heading, .r2-cta-heading{ font-weight: 700; }

/* ===== SCROLL REVEAL ===== */
.reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; }
}

/* ===== BACK TO TOP ===== */
.r2-back-to-top{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
}
.r2-back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.r2-back-to-top:hover{ background: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px){
  body{ padding-top: 68px; }
  .r2-hero{ margin-top: -68px; padding-top: 68px; min-height: auto; background-position: 65% top; }
  .r2-hero-inner{ padding-top: 4rem; padding-bottom: 3.5rem; }
  .r2-hero-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 3rem; }
  .r2-page-hero{ margin-top: -68px; padding-top: 68px; min-height: auto; }
  .r2-page-hero-inner{ padding: 5rem 0 3.5rem; }
  .r2-section{ padding-top: 6rem; }
  #about.r2-section{ padding-top: 6rem; }
  .navbar-nav{ text-align: center; }
  .navbar-nav .nav-item{ margin-bottom: .5rem; }
}

@media (max-width: 575.98px){
  .r2-hero-stat{ padding: 1rem; }
  .r2-hero-stat strong{ font-size: 1.45rem; }
  .r2-hero-title{ font-size: 2.1rem; }
  .r2-logo-mark{ width: 30px; height: 30px; }
  .r2-footer-wordmark{ font-size: 3.2rem; white-space: normal; }
}
