/* =========================================================
   AIRBEAR GLOBAL.CSS (CANONICAL)
   Fonts:
   - Inter = everything
   - Sora = hero headline only
   IMPORTANT:
   - Do NOT use @import in this file (cPanel flags it unless it is line 1).
   - Load Google Fonts in your HTML <head> instead.
   ========================================================= */

/* =========================
   DESIGN TOKENS
   ========================= */

:root{
  /* Fonts */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-headline: "Sora", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* AirBear-ish colors */
  --airbear-blue-1: #2f6fed;
  --airbear-blue-2: #1f58d6;
  --airbear-orange-1: #ff9a2f;
  --airbear-orange-2: #f07f16;

  /* Buttons */
  --btn-radius: 12px;
  --btn-shadow: 0 10px 18px rgba(15, 35, 75, 0.18), 0 2px 0 rgba(255,255,255,0.35) inset;
  --btn-shadow-hover: 0 14px 24px rgba(15, 35, 75, 0.22), 0 2px 0 rgba(255,255,255,0.40) inset;
  --btn-shadow-pressed: 0 6px 14px rgba(15, 35, 75, 0.18), 0 1px 0 rgba(255,255,255,0.25) inset;
}

/* =========================
   BASE TYPOGRAPHY
   ========================= */

html, body{
  font-family: var(--font-body);
}

/* Hero headline only (your hero title is an H2 in your screenshot) */
.hero h2{
  font-family: var(--font-headline);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Keep other headings on Inter */
h1, h2:not(.hero h2), h3, h4, h5, h6{
  font-family: var(--font-body);
}

/* =========================
   FULL PAGE BACKGROUND FADE + TOPO OVERLAY
   ========================= */

body{
  background: linear-gradient(
    180deg,
    #b7cffb 0%,
    #dbe8ff 45%,
    #edf3ff 100%
  ) !important;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/bg/topo-subtle.webp");
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.40;
  pointer-events: none;
  z-index: -1;
}

/* Let the body background show through */
.hero{
  background: transparent !important;
}

/* =========================
   HERO TYPE + SPACING (Premium)
   ========================= */

.hero{
  padding-top: clamp(20px, 3.5vh, 44px);
  padding-bottom: clamp(10px, 2vh, 24px);
}

.hero h2{
  font-family: var(--font-headline);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px;
}

.hero p{
  margin: 0 0 12px;
}

/* Subheadline (assumes it is the first paragraph after the headline) */
.hero h2 + p{
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.35;
  opacity: 0.95;
}

/* Micro-line (add class="hero-micro" to the line in HTML) */
.hero-micro{
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
  margin: 0 0 14px;
}

/* Make the separators look intentional */
.hero-micro .sep{
  opacity: 0.55;
  padding: 0 6px;
}

/* Small screens */
@media (max-width: 480px){
  .hero h2{
    line-height: 1.08;
    margin-bottom: 8px;
  }
  .hero-micro{
    font-size: 13px;
    margin-bottom: 12px;
  }
}

/* =========================
   HEADER EDGE PADDING
   ========================= */

header .wrap{
  padding-left: 16px;
  padding-right: 16px;
}

/* =========================
   BUTTONS (rounded + depth)
   Targets your real classes: .btn, .btn-primary, .btn-accent
   ========================= */

.btn{
  border-radius: var(--btn-radius);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.08s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: var(--btn-shadow);
  border: 1px solid rgba(0,0,0,0.10);
}

/* Blue */
.btn-primary,
a.btn-primary{
  background: linear-gradient(180deg, var(--airbear-blue-1), var(--airbear-blue-2));
  color: #fff;
}

/* Orange */
.btn-accent,
a.btn-accent{
  background: linear-gradient(180deg, var(--airbear-orange-1), var(--airbear-orange-2));
  color: #1b1b1b;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
  filter: saturate(1.03);
}

.btn:active{
  transform: translateY(1px);
  box-shadow: var(--btn-shadow-pressed);
  filter: saturate(0.98);
}

.btn:focus-visible{
  outline: 3px solid rgba(47, 111, 237, 0.30);
  outline-offset: 2px;
}

/* Ghost button: rounded + subtle glass */
.btn-ghost,
a.btn-ghost{
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(30, 60, 120, 0.18);
  box-shadow: 0 6px 14px rgba(15, 35, 75, 0.10);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover,
a.btn-ghost:hover{
  background: rgba(255,255,255,0.50);
  box-shadow: 0 10px 18px rgba(15, 35, 75, 0.14);
}

/* =========================
   REVIEWS WIDGET EXTRA LINK BUTTON
   ========================= */

.reviews-more-wrap{
  display:flex;
  justify-content:center;
  margin: 6px 0 0;
}

.reviews-more-btn{
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  background: #ffffff;
  color: rgba(0,0,0,0.55);
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

.reviews-more-btn:hover{
  color: rgba(0,0,0,0.70);
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.reviews-more-btn:active{
  transform: translateY(0px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

.reviews-block{
  text-align:center;
  margin-top:20px;
}

/* =========================
   TRUST PHOTO
   ========================= */

.trust-photo{
  margin: 14px 0 18px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.trust-photo img{
  width: 100%;
  height: clamp(200px, 28vh, 360px);
  object-fit: cover;
  object-position: 60% 40%;
  display: block;
  border-radius: 14px;
  border: 1px solid #ececec;
}

.trust-caption{
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.8;
}

/* =========================
   SPECIALTIES BEAR
   ========================= */

.specialties-mark{
  height: 40px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
  opacity: 0.70;
}

.specialties-card{
  position: relative;
  overflow: hidden;
}

.specialties-bear{
  position: absolute;
  bottom: -8px;
  right: -48px;
  height: 170px;
  opacity: 0.50;
  pointer-events: none;
  z-index: 0;
}

.specialties-card h3,
.specialties-card .spec{
  position: relative;
  z-index: 1;
}

/* =========================
   BULLET POINT CARDS
   ========================= */

.card ul{
  padding-left: 18px;
  margin-left: 0;
}

/* =========================
   GLOBAL FOOTER
   ========================= */

.site-footer{
  margin-top: 40px;
  padding: 30px 0 40px;
  background: transparent;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #dde6f7;
}

.site-footer,
.site-footer a,
.site-footer span{
  color: #777;
}

.site-footer .footer-wrap{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-left img{
  max-height: 52px;
  width: auto;
  display: block;
}

.footer-right{
  text-align: center;
}

.footer-main{
  margin-bottom: 4px;
}

.footer-main span{
  font-size: 14px;
}

.footer-legal{
  font-size: 13px;
}

.footer-legal a{
  text-decoration: none;
  margin: 0 4px;
}

.footer-legal a:hover{
  text-decoration: underline;
}

.footer-separator{
  margin: 0 4px;
  color: #aaa;
}

@media (max-width: 640px){
  .site-footer .footer-wrap{
    flex-direction: column;
    text-align: center;
  }
  .footer-right{
    text-align: center;
  }
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */

@media (max-width: 480px){

  main > *{
    margin-top: 14px;
  }

  main > *:first-child{
    margin-top: 0;
  }

  .trust-photo{
    margin: 10px 0 12px;
  }

  .trust-photo img{
    height: clamp(160px, 22vh, 240px);
  }

  .trust-caption{
    font-size: 13px;
    margin-top: 6px;
  }

  header .wrap{
    padding-left: 12px;
    padding-right: 12px;
  }

  body::before{
    background-size: 720px auto;
    opacity: 0.18;
  }
}

/* =========================
   TINY SCREENS (iPhone SE)
   ========================= */

@media (max-width: 380px){

  .cta-bar a.btn-ghost{
    display: none;
  }

  .btn{
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
  }

  .brand img{
    height: 34px;
  }

  .brand h1{
    font-size: 16px;
  }
}

