/* ============================================================
   BOTRYS CUSTOM CSS
   Rooted to Last — Built to Be Seen.
   ============================================================ */

:root {
  --botrys-navy-fallback: #0b1324;
  --botrys-orange-fallback: #e87a00;
  --botrys-ease-fallback: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET (Only when logged in)
   ============================================================ */
body.admin-bar .botrys-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .botrys-header {
    top: 46px;
  }
}

/* Optional: if your admin bar is scrolled off-screen on mobile */
@media screen and (max-width: 600px) {
  body.admin-bar.wp-admin-bar-scrolled .botrys-header,
  body.admin-bar .botrys-header.scrolled {
    top: 0;
  }
}
/* ============================================================
   HEADER — Bright Glass -> 0.5 Sanded Glass on Scroll
   ============================================================ */
.botrys-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.32s var(--ease-out, var(--botrys-ease-fallback)),
    backdrop-filter 0.32s var(--ease-out, var(--botrys-ease-fallback)),
    border-color 0.32s var(--ease-out, var(--botrys-ease-fallback)),
    box-shadow 0.32s var(--ease-out, var(--botrys-ease-fallback));
}

.botrys-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.32s var(--ease-out, var(--botrys-ease-fallback));
}

/* Scrolled State: 0.5 opacity sanded glass + compact height + bottom border */
.botrys-header.scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(125%) contrast(104%);
  -webkit-backdrop-filter: blur(20px) saturate(125%) contrast(104%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.botrys-header.scrolled::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 122, 0, 0.55) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.botrys-header.scrolled .navbar {
  padding-top: 0.52rem;
  padding-bottom: 0.52rem;
}

/* Clean, pill-free logo on light glass */
.botrys-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.3s var(--ease-out, var(--botrys-ease-fallback));
}

.botrys-header .navbar-brand:hover {
  transform: translateY(-1px);
}

.botrys-header .navbar-brand img,
.botrys-header .logo-default {
  width: auto;
  max-width: 185px;
  height: 38px;
  object-fit: contain;
  display: block;
  transition: height 0.3s var(--ease-out, var(--botrys-ease-fallback));
}

.botrys-header.scrolled .navbar-brand img,
.botrys-header.scrolled .logo-default {
  height: 31px;
}

/* Navigation Links */
.botrys-header .nav-link,
.botrys-header .navbar-nav > li > a {
  color: rgba(15, 23, 42, 0.82) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 0.45rem 0.95rem !important;
  position: relative;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
  transition: color 0.25s ease;
}

.botrys-header .nav-link::after,
.botrys-header .navbar-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 0.05rem;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--botrys-orange, var(--botrys-orange-fallback));
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out, var(--botrys-ease-fallback));
}

.botrys-header .nav-link:hover,
.botrys-header .nav-link.active,
.botrys-header .navbar-nav > li > a:hover,
.botrys-header .navbar-nav > .current-menu-item > a {
  color: #090d16 !important;
}

.botrys-header .nav-link:hover::after,
.botrys-header .nav-link.active::after,
.botrys-header .navbar-nav > li > a:hover::after,
.botrys-header .navbar-nav > .current-menu-item > a::after {
  width: 62%;
}

/* Header CTA Button */
.botrys-header .btn-botrys-cta,
.botrys-header .btn-warning {
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.85);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.52rem 1.15rem;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-out, var(--botrys-ease-fallback)),
    box-shadow 0.25s var(--ease-out, var(--botrys-ease-fallback));
}

.botrys-header .btn-botrys-cta:hover,
.botrys-header .btn-warning:hover {
  background: var(--botrys-orange, var(--botrys-orange-fallback));
  border-color: var(--botrys-orange, var(--botrys-orange-fallback));
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 122, 0, 0.28);
}

.botrys-header.scrolled .btn-botrys-cta,
.botrys-header.scrolled .btn-warning {
  padding: 0.42rem 1rem;
}

/* Mobile Toggler */
.botrys-header .navbar-toggler {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.6);
}

.botrys-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(232, 122, 0, 0.25);
}

@media (max-width: 991.98px) {
  .botrys-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .botrys-header .nav-link::after,
  .botrys-header .navbar-nav > li > a::after {
    left: 0.95rem;
    transform: none;
  }

  .botrys-header .nav-link:hover::after,
  .botrys-header .nav-link.active::after,
  .botrys-header .navbar-nav > li > a:hover::after,
  .botrys-header .navbar-nav > .current-menu-item > a::after {
    width: 34px;
  }
}

/* ============================================================
   FUTURISTIC DOMAIN TICKER (Kept Dark Telemetry)
   ============================================================ */
.domain-ticker {
  position: relative;
  background: linear-gradient(
    90deg,
    #090d16 0%,
    #141b2d 50%,
    #090d16 100%
  );
  padding: 0.95rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(232, 122, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-glow {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 122, 0, 0.1),
    transparent
  );
  animation: ticker-sweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes ticker-sweep {
  0% {
    left: -60%;
  }
  100% {
    left: 160%;
  }
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.ticker-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--botrys-orange, var(--botrys-orange-fallback));
  box-shadow: 0 0 8px rgba(232, 122, 0, 0.75);
}

.ticker-number {
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.ticker-highlight {
  color: #ff9424;
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  user-select: none;
}

/* ============================================================
   FOOTER — White Glass-Glare Body + Dark/Orange Bottom Line
   ============================================================ */
.botrys-footer {
  position: relative;
  color: #334155;
  font-size: 0.9rem;
}

.footer-main {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(248, 250, 252, 0.92) 48%,
      rgba(255, 248, 240, 0.88) 100%
    );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Diagonal glass reflection / glare across the white footer body */
.footer-main::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -15%;
  width: 68%;
  height: 170%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.75) 46%,
    rgba(232, 122, 0, 0.06) 54%,
    rgba(255, 255, 255, 0) 75%
  );
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.footer-main > .container {
  position: relative;
  z-index: 1;
}

/* Logo sits directly on white surface — no box/pill needed */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.95rem;
  transition: transform 0.25s var(--ease-out, var(--botrys-ease-fallback));
}

.footer-logo-wrap:hover {
  transform: translateY(-1px);
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 156px;
  height: 30px;
  object-fit: contain;
}

.tagline {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--botrys-orange, var(--botrys-orange-fallback));
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.footer-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #475569;
  max-width: 34ch;
}

.footer-heading {
  position: relative;
  display: inline-block;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.45rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--botrys-orange, var(--botrys-orange-fallback));
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  transition:
    color 0.2s ease,
    transform 0.2s var(--ease-out, var(--botrys-ease-fallback));
}

.footer-links a:hover {
  color: var(--botrys-orange, var(--botrys-orange-fallback));
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s var(--ease-out, var(--botrys-ease-fallback));
}

.footer-contact li:hover {
  background: #ffffff;
  border-color: rgba(232, 122, 0, 0.4);
  transform: translateY(-1px);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--botrys-orange, var(--botrys-orange-fallback));
}

.footer-contact a {
  color: #0f172a;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--botrys-orange, var(--botrys-orange-fallback));
}

/* Bottom Line: Dark background, white text, orange accents (no navy) */
.footer-bottom {
  background: #09090b;
  border-top: 2px solid var(--botrys-orange, var(--botrys-orange-fallback));
  padding: 1.05rem 0;
  font-size: 0.76rem;
  color: #ffffff;
}

.footer-bottom a {
  color: var(--botrys-orange, var(--botrys-orange-fallback));
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #ff9d36;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ticker-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .ticker-divider {
    display: none;
  }

  .ticker-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .ticker-number {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .domain-ticker {
    padding: 0.8rem 0;
  }

  .ticker-label {
    font-size: 0.6rem;
  }

  .ticker-number {
    font-size: 0.85rem;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ticker-glow,
  .botrys-header,
  .botrys-header .navbar,
  .botrys-header .navbar-brand,
  .botrys-header .logo-default,
  .botrys-header .nav-link,
  .botrys-header .nav-link::after,
  .footer-links a,
  .footer-contact li {
    animation: none !important;
    transition: none !important;
  }
}

/*Home page special and additional classes*/
/* ============================================================
   HOME PAGE — SERVICES & FAQ SECTIONS
   ============================================================ */
.botrys-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--botrys-orange, #e87a00);
}

.botrys-section-title {
  color: var(--botrys-navy, #1a2744);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.botrys-section-lead {
  color: var(--botrys-slate, #6b7b8d);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 62ch;
}

/* Services Section */
.botrys-services-section {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--botrys-white, #ffffff) 0%,
    var(--botrys-light, #f4f6f8) 100%
  );
  border-top: 1px solid rgba(26, 39, 68, 0.08);
}

.botrys-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 39, 68, 0.1);
  box-shadow: 0 6px 24px rgba(26, 39, 68, 0.04);
  transition:
    transform 0.28s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.botrys-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 122, 0, 0.45);
  box-shadow: 0 14px 34px rgba(26, 39, 68, 0.09);
}

.botrys-card-featured {
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    rgba(244, 246, 248, 0.92) 100%
  );
  border-top: 3px solid var(--botrys-navy, #1a2744);
}

.botrys-card-featured:hover {
  border-top-color: var(--botrys-orange, #e87a00);
}

.botrys-card-compact {
  padding: 1.4rem;
}

.botrys-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.botrys-service-index {
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--botrys-orange, #e87a00);
  background: rgba(232, 122, 0, 0.1);
  border: 1px solid rgba(232, 122, 0, 0.24);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.botrys-service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--botrys-slate, #6b7b8d);
}

.botrys-card-title {
  color: var(--botrys-navy, #1a2744);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.botrys-card-compact .botrys-card-title {
  font-size: 1.02rem;
}

.botrys-card-text {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.62;
  margin-bottom: 0;
}

.botrys-card-specs {
  list-style: none;
  padding: 0.95rem 0 0;
  margin: 1.1rem 0 0;
  border-top: 1px solid rgba(26, 39, 68, 0.08);
  font-size: 0.82rem;
  color: var(--botrys-navy, #1a2744);
}

.botrys-card-specs li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}

.botrys-card-specs li:last-child {
  margin-bottom: 0;
}

.botrys-card-specs li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--botrys-orange, #e87a00);
  font-weight: 700;
  font-size: 1rem;
}

/* FAQ Section */
.botrys-faq-section {
  background: var(--botrys-white, #ffffff);
  border-top: 1px solid rgba(26, 39, 68, 0.08);
}

.botrys-faq-callout {
  padding: 1.4rem;
  border-radius: 12px;
  background: var(--botrys-light, #f4f6f8);
  border: 1px solid rgba(26, 39, 68, 0.09);
  border-left: 3px solid var(--botrys-orange, #e87a00);
}

.botrys-accordion .accordion-item {
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 12px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(26, 39, 68, 0.03);
}

.botrys-accordion .accordion-button {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--botrys-navy, #1a2744);
  background: #ffffff;
  padding: 1.15rem 1.35rem;
  gap: 0.85rem;
  box-shadow: none !important;
}

.botrys-accordion .accordion-button:not(.collapsed) {
  color: var(--botrys-navy, #1a2744);
  background: rgba(244, 246, 248, 0.75);
  border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}

.botrys-faq-num {
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--botrys-orange, #e87a00);
  flex-shrink: 0;
}

.botrys-accordion .accordion-body {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 1.2rem 1.35rem 1.35rem 3.1rem;
}

.botrys-accordion .accordion-body code {
  color: var(--botrys-navy, #1a2744);
  background: var(--botrys-light, #f4f6f8);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.84em;
}
/* ============================================================
   HOME PAGE — CLEAN NUMBERED SERVICE LISTING
   ============================================================ */
.botrys-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

@media (max-width: 991.98px) {
  .botrys-service-list {
    grid-template-columns: 1fr;
  }
}

.botrys-service-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 39, 68, 0.09);
  text-decoration: none;
  transition:
    transform 0.22s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.botrys-service-row:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: rgba(232, 122, 0, 0.45);
  box-shadow: 0 8px 22px rgba(26, 39, 68, 0.06);
}

.botrys-row-num {
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--botrys-orange, #e87a00);
  background: rgba(232, 122, 0, 0.1);
  border: 1px solid rgba(232, 122, 0, 0.22);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  flex-shrink: 0;
}

.botrys-row-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--botrys-navy, #1a2744);
  line-height: 1.3;
}

.botrys-row-meta {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--botrys-slate, #6b7b8d);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .botrys-row-meta {
    display: none;
  }
}

.botrys-row-arrow {
  color: var(--botrys-orange, #e87a00);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.botrys-service-row:hover .botrys-row-arrow {
  transform: translateX(3px);
}

/* ============================================================
   CUSTOM ACORN BULLETS (Content Lists & Service Specs)
   ============================================================ */
.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not([class*="wp-block-navigation"]),
.wp-block-list,
.botrys-card-specs {
  list-style: none !important;
  padding-left: 0;
}

.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not([class*="wp-block-navigation"]) > li,
.wp-block-list > li,
.botrys-card-specs > li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.5rem;
}

/* Preserves original SVG colors (Navy acorn + Orange sprout) */
.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not([class*="wp-block-navigation"]) > li::before,
.wp-block-list > li::before,
.botrys-card-specs > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 15px;
  height: 15px;
  background-image: url("../img/acorn.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}

.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact) > li:hover::before,
.wp-block-list > li:hover::before,
.botrys-card-specs > li:hover::before {
  transform: scale(1.12);
}

.label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7C8AA0;
  margin-bottom: 12px;
}
.label .fl { color: #FF6A00; }

/* ============================================================
   BOTRYS BRAND SYSTEM + GUTENBERG HOMEPAGE
   Lightweight overrides. No JS, icon fonts or extra libraries.
   ============================================================ */
:root {
  --ink: #0E1526;
  --flame: #FF6A00;
  --flame-dark: #E55D00;
  --slate: #7C8AA0;
  --bone: #F7F6F2;
  --white: #FFFFFF;
  --line: rgba(14, 21, 38, .08);
  --radius: 16px;

  /* Legacy aliases keep existing header/footer components in sync. */
  --botrys-navy: var(--ink);
  --botrys-orange: var(--flame);
  --botrys-slate: var(--slate);
  --botrys-light: var(--bone);
  --botrys-white: var(--white);
}

body,
.editor-styles-wrapper {
  color: var(--ink);
  font-family: var(--font-body, 'Inter', sans-serif);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  color: var(--ink);
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  letter-spacing: -.035em;
}

.label { color: var(--slate); }
.label .fl { color: var(--flame); }
.muted { color: var(--slate) !important; }

/* HERO */
.botrys-home-hero {
  position: relative;
  min-height: clamp(600px, 78vh, 850px) !important;
  overflow: hidden;
  background: var(--bone);
}
.botrys-home-hero .wp-block-cover__image-background {
  object-position: center center;
}
.botrys-home-hero .wp-block-cover__background {
  background: linear-gradient(90deg,
    rgba(247,246,242,.03) 0%,
    rgba(247,246,242,.10) 42%,
    rgba(247,246,242,.76) 100%) !important;
  opacity: 1 !important;
}
.botrys-home-hero .wp-block-cover__inner-container {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}
.botrys-hero-columns { margin-block: 2.5rem; }
.botrys-hero-copy {
  max-width: 620px;
  margin-left: auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255,255,255,.68);
  box-shadow: 0 24px 70px rgba(14,21,38,.09);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}
.botrys-hero-mark { margin: 0 0 1.35rem !important; }
.botrys-hero-mark img { display: block; }
.botrys-hero-label {
  margin: 0 0 1rem;
  font-size: .72rem;
  letter-spacing: .16em;
}
.botrys-hero-title {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  font-weight: 700;
  line-height: .99;
}
.botrys-accent { color: var(--flame); }
.botrys-hero-lead {
  max-width: 52ch;
  margin-bottom: 1.6rem;
  color: #46536A;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}
.botrys-hero-actions { gap: .7rem; }
.botrys-button-primary .wp-block-button__link,
.botrys-button-secondary .wp-block-button__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.2rem;
  border-radius: 10px;
  font: 600 .9rem/1.2 var(--font-body, 'Inter', sans-serif);
  text-decoration: none;
  transition: transform .22s var(--ease-out), background-color .22s ease,
              border-color .22s ease, box-shadow .22s ease;
}
.botrys-button-primary .wp-block-button__link {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 20px rgba(14,21,38,.12);
}
.botrys-button-primary .wp-block-button__link:hover {
  color: var(--white);
  background: var(--flame-dark);
  border-color: var(--flame-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,106,0,.2);
}
.botrys-button-secondary .wp-block-button__link {
  color: var(--ink);
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(14,21,38,.2);
}
.botrys-button-secondary .wp-block-button__link:hover {
  color: var(--flame-dark);
  border-color: var(--flame);
  transform: translateY(-2px);
}

/* SECTION RHYTHM + INTRO */
.botrys-home-intro,
.botrys-services-section,
.botrys-faq-section {
  padding: clamp(4rem, 7vw, 7rem) max(1.25rem, calc((100% - 1200px)/2));
}
.botrys-home-intro { background: var(--white); }
.botrys-section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.botrys-eyebrow {
  margin-bottom: .8rem;
  color: var(--flame);
  font: 700 .72rem/1.4 var(--font-body, 'Inter', sans-serif);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.botrys-section-title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
}
.botrys-section-lead {
  max-width: 82ch;
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.75;
}
.botrys-value-grid { gap: 1.25rem; }
.botrys-value-grid > .wp-block-column {
  padding: 1.65rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
}
.botrys-value-title {
  margin: 0 0 .65rem;
  font-size: 1.22rem;
  font-weight: 650;
}
.botrys-value-grid p {
  margin: 0;
  color: #5C687B;
  font-size: .94rem;
  line-height: 1.7;
}

/* SERVICES */
.botrys-services-section {
  background: var(--bone);
  border-block: 1px solid var(--line);
}
.botrys-section-top { margin-bottom: 2rem; align-items: end; }
.botrys-section-cta { display: flex; justify-content: flex-end; }
.botrys-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.botrys-service-list > li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.botrys-service-list > li::before { content: none !important; }
.botrys-service-list > li > a {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem 1rem 2.9rem;
  border: 1px solid rgba(14,21,38,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s var(--ease-out), border-color .22s ease,
              box-shadow .22s ease, background .22s ease;
}
.botrys-service-list > li > a::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  background: url("../img/acorn.svg") center / contain no-repeat;
}
.botrys-service-list > li > a::after {
  content: "↗";
  margin-left: auto;
  color: var(--flame);
  font-size: 1rem;
  font-weight: 700;
  transition: transform .22s ease;
}
.botrys-service-list > li > a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,106,0,.4);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(14,21,38,.06);
}
.botrys-service-list > li > a:hover::after { transform: translate(2px,-2px); }
.botrys-service-name {
  display: block;
  font: 650 .94rem/1.35 var(--font-head, 'Space Grotesk', sans-serif);
}
.botrys-service-meta {
  display: block;
  margin-top: .28rem;
  color: var(--slate);
  font-size: .75rem;
  line-height: 1.35;
}

/* FAQ: core Gutenberg Details block, no Bootstrap accordion JS required */
.botrys-faq-section { background: var(--white); }
.botrys-faq-layout { gap: clamp(2rem, 5vw, 5rem); }
.botrys-faq-callout {
  margin-top: 1.8rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--flame);
  border-radius: 12px;
  background: var(--bone);
}
.botrys-callout-title {
  margin: 0 0 .55rem;
  font-size: 1.15rem;
}
.botrys-faq-callout p { font-size: .88rem; line-height: 1.65; }
.botrys-faq-callout .wp-block-buttons { margin-top: 1rem; }
.botrys-faq-item {
  margin: 0 0 .75rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(14,21,38,.025);
}
.botrys-faq-item summary {
  position: relative;
  padding: 1.2rem 3.3rem 1.2rem 1.25rem;
  color: var(--ink);
  cursor: pointer;
  font: 600 .98rem/1.45 var(--font-head, 'Space Grotesk', sans-serif);
  list-style: none;
}
.botrys-faq-item summary::-webkit-details-marker { display: none; }
.botrys-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  color: var(--flame);
  font: 400 1.4rem/1 var(--font-body, 'Inter', sans-serif);
  transform: translateY(-50%);
}
.botrys-faq-item[open] summary {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.botrys-faq-item[open] summary::after { content: "−"; }
.botrys-faq-item > p {
  margin: 0;
  padding: 1.2rem 1.35rem 1.35rem;
  color: #566276;
  font-size: .92rem;
  line-height: 1.75;
}

/* Global list markers: use the brand acorn for content lists only. */
.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not(.botrys-service-list):not([class*="wp-block-navigation"]),
.entry-content .wp-block-list:not(.botrys-service-list) {
  list-style: none !important;
  padding-left: 0;
}
.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not(.botrys-service-list):not([class*="wp-block-navigation"]) > li,
.entry-content .wp-block-list:not(.botrys-service-list) > li {
  position: relative;
  padding-left: 1.55rem;
}
.entry-content ul:not(.navbar-nav):not(.footer-links):not(.footer-contact):not(.botrys-service-list):not([class*="wp-block-navigation"]) > li::before,
.entry-content .wp-block-list:not(.botrys-service-list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 15px;
  height: 15px;
  background: url("../img/acorn.svg") center / contain no-repeat;
}

/* Responsive */
@media (max-width: 781px) {
  .botrys-home-hero { min-height: 680px !important; }
  .botrys-home-hero .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(247,246,242,.02), rgba(247,246,242,.78) 48%, rgba(247,246,242,.92)) !important;
  }
  .botrys-hero-columns { margin-block: 16rem 1.5rem; }
  .botrys-hero-columns > .wp-block-column:first-child { display: none; }
  .botrys-hero-copy { padding: 1.4rem; }
  .botrys-hero-title { font-size: clamp(2.35rem, 10vw, 3.5rem); }
  .botrys-home-intro,
  .botrys-services-section,
  .botrys-faq-section { padding: 3.75rem 1.25rem; }
  .botrys-section-top { gap: 1.25rem; }
  .botrys-section-cta { justify-content: flex-start; }
  .botrys-service-list { grid-template-columns: 1fr; }
  .botrys-faq-layout { gap: 2rem; }
}
@media (max-width: 480px) {
  .botrys-home-hero { min-height: 650px !important; }
  .botrys-hero-columns { margin-top: 13.5rem; }
  .botrys-hero-copy { border-radius: 14px; }
  .botrys-hero-mark img { width: 88px !important; }
  .botrys-hero-actions { align-items: stretch; flex-direction: column; }
  .botrys-hero-actions .wp-block-button,
  .botrys-hero-actions .wp-block-button__link { width: 100%; }
  .botrys-service-list > li > a { min-height: 76px; padding-right: .8rem; }
  .botrys-service-meta { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .botrys-service-list > li > a,
  .botrys-service-list > li > a::after,
  .botrys-button-primary .wp-block-button__link,
  .botrys-button-secondary .wp-block-button__link {
    transition: none !important;
  }
}
/* ============================================================
   SERVICES PAGE — EDITORIAL SPOTLIGHT & INTERACTIVE FLOW
   ============================================================ */
.botrys-services-page [id^="srv-"] {
  scroll-margin-top: 96px;
}

.botrys-srv-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 106, 0, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bone) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

.botrys-pillar-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14, 21, 38, 0.03);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.botrys-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.35);
}

.botrys-pillar-step {
  margin: 0 0 0.45rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--flame);
}

.botrys-pillar-title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.botrys-pillar-card p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #566276;
}

/* Flagship Web Development Spotlight */
.botrys-srv-spotlight-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.botrys-srv-spotlight {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(247, 246, 242, 0.92) 0%, rgba(255, 255, 255, 0.98) 65%),
    rgba(255, 106, 0, 0.04);
  border: 1px solid rgba(14, 21, 38, 0.1);
  border-left: 4px solid var(--flame);
  box-shadow: 0 16px 40px rgba(14, 21, 38, 0.05);
}

.botrys-spotlight-title {
  margin: 0.4rem 0 0.85rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.12;
}

.botrys-spotlight-panel {
  padding: 1.45rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.botrys-panel-heading {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 650;
}

/* Service Cards & Badges */
.botrys-srv-catalog-wrap {
  background: var(--bone);
}

.botrys-srv-catalog-wrap .botrys-service-card {
  height: 100%;
  padding: 1.55rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(14, 21, 38, 0.035);
}

.botrys-srv-catalog-wrap .botrys-card-featured {
  border-top: 3px solid var(--ink);
}

.botrys-srv-catalog-wrap .botrys-card-featured:hover {
  border-top-color: var(--flame);
}

.botrys-card-badge {
  margin: 0 0 0.65rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame);
}

.botrys-srv-catalog-wrap .botrys-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.botrys-srv-catalog-wrap .botrys-card-text {
  font-size: 0.92rem;
  line-height: 1.68;
  color: #566276;
}

.botrys-srv-expandables {
  margin-top: 0.5rem;
}

@media (max-width: 781px) {
  .botrys-srv-hero,
  .botrys-srv-spotlight-wrap,
  .botrys-srv-catalog-wrap {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .botrys-srv-hero .wp-block-buttons {
    justify-content: flex-start !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .botrys-pillar-card {
    transition: none !important;
  }
}
