/*
 Theme Name:   Bird Net - Astra Child
 Theme URI:    https://birdsgoaway.com
 Description:  Custom child theme for Birds Go Away - Bird Net Installation Services
 Author:       Birds Go Away Team
 Author URI:   https://birdsgoaway.com
 Template:     astra
 Version:      8.2.0
 Text Domain:  birdnet-child
*/

/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables — Orange Brand (matching Facebook Page) ===== */
:root {
  --bn-bg: #ffffff;
  --bn-bg-card: #ffffff;
  --bn-bg-elevated: #f8f9fa;
  --bn-bg-glass: rgba(0, 0, 0, 0.02);
  --bn-glass-border: rgba(0, 0, 0, 0.08);
  --bn-orange: #E8792E;
  --bn-orange-light: #F4944E;
  --bn-orange-dark: #D06420;
  --bn-teal: #1B4D5C;
  --bn-teal-light: #2A6B7E;
  --bn-emerald: #06C755;
  --bn-white: #ffffff;
  --bn-text: #333333;
  --bn-text-muted: #666666;
  --bn-text-subtle: #999999;
  --bn-border: rgba(0, 0, 0, 0.08);
  --bn-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --bn-shadow-orange: 0 4px 20px rgba(232, 121, 46, 0.2);
  --bn-radius: 12px;
  --bn-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --bn-transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Prompt', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }

body,
body.flavor-flavor {
  font-family: var(--font-body) !important;
  color: var(--bn-text);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bn-bg) !important;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6,
.entry-title,
.ast-archive-title,
.page-title {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bn-teal);
  letter-spacing: 0.01em;
}

h1 { font-size: 2.8rem; margin-bottom: 1.2rem; font-weight: 700; }
h2 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--bn-teal); }
h4 { font-size: 1rem; font-weight: 500; color: var(--bn-teal); }

p, li, td, th, span, label, input, textarea, select, button {
  font-family: var(--font-body) !important;
}

p {
  margin-bottom: 1rem;
  color: var(--bn-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
}

a {
  color: var(--bn-orange);
  transition: var(--bn-transition-fast);
  text-decoration: none;
}
a:hover { color: var(--bn-orange-dark); }

/* ===== AOS Animation Overrides ===== */
[data-aos] {
  transition-duration: 0.8s !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ===== Header / Navbar ===== */
.ast-primary-header-bar,
.site-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  position: sticky !important;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--bn-glass-border) !important;
}

.site-title a,
.ast-site-title-wrap a {
  color: var(--bn-orange) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Custom Logo */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 55px !important;
  width: auto !important;
  object-fit: contain;
}

.ast-site-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile logo fix */
@media (max-width: 921px) {
  .custom-logo {
    max-height: 40px !important;
    width: auto !important;
  }
  .ast-site-identity .site-title {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  .site-header .ast-site-identity {
    max-width: calc(100% - 60px);
  }
}

@media (max-width: 480px) {
  .custom-logo {
    max-height: 35px !important;
  }
  .ast-site-identity .site-title {
    font-size: 0.7rem !important;
  }
}

/* Navigation Links */
.main-header-menu .menu-item > a,
.ast-header-break-point .ast-mobile-popup-drawer .menu-item > a {
  color: var(--bn-text) !important;
  font-weight: 500 !important;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
  transition: var(--bn-transition-fast);
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--bn-orange) !important;
  background: transparent !important;
}

/* Mobile menu */
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
}

/* ===== Main Content Area ===== */
.ast-container,
.site-content .ast-container {
  max-width: 1200px;
}

.entry-content {
  max-width: 100%;
  padding: 0;
}

/* Page background */
.ast-plain-container,
.ast-page-builder-template {
  background-color: var(--bn-bg) !important;
}

#page, .site-content, main, article {
  background: var(--bn-bg) !important;
}

/* ===== Buttons ===== */
.wp-block-button__link,
.ast-button,
input[type="submit"],
button[type="submit"] {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
  border-radius: 8px !important;
  padding: 14px 36px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  font-family: var(--font-body) !important;
  border: none !important;
  transition: var(--bn-transition) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  box-shadow: none !important;
  cursor: pointer;
  text-decoration: none !important;
}

.wp-block-button__link:hover,
.ast-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--bn-orange-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--bn-shadow-orange) !important;
  color: var(--bn-white) !important;
}

/* Outline buttons */
.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--bn-orange) !important;
  border: 2px solid var(--bn-orange) !important;
  box-shadow: none !important;
}

.is-style-outline .wp-block-button__link:hover {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
  border-color: var(--bn-orange) !important;
}

/* CTA button override */
.has-vivid-green-cyan-background-color {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
}
.has-vivid-green-cyan-background-color:hover {
  background: var(--bn-orange-dark) !important;
  box-shadow: var(--bn-shadow-orange) !important;
}

/* ===== HERO SECTION ===== */
.entry-content > .wp-block-columns:first-of-type {
  background: linear-gradient(135deg, #FFF8EE 0%, #FFF0E0 50%, #FFEBD2 100%) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex !important;
  align-items: center;
}

/* Remove dark overlays for light theme */
.entry-content > .wp-block-columns:first-of-type::before,
.entry-content > .wp-block-columns:first-of-type::after {
  display: none;
}

/* Hero text colors */
.entry-content > .wp-block-columns:first-of-type h1 {
  color: var(--bn-teal) !important;
}

.entry-content > .wp-block-columns:first-of-type p {
  color: var(--bn-text) !important;
}

.entry-content > .wp-block-columns:first-of-type strong {
  color: var(--bn-orange) !important;
}

/* Hero columns must be transparent */
.entry-content > .wp-block-columns:first-of-type > .wp-block-column {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2rem 1.5rem !important;
  position: relative;
  z-index: 2;
}

.entry-content > .wp-block-columns:first-of-type > .wp-block-column:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Hero heading */
.entry-content > .wp-block-columns:first-of-type h1.wp-block-heading {
  font-family: var(--font-heading) !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  position: relative;
  z-index: 2;
  text-shadow: none;
  margin-bottom: 1.5rem !important;
  letter-spacing: 0;
  color: var(--bn-teal) !important;
}

.entry-content > .wp-block-columns:first-of-type p.has-medium-font-size {
  position: relative;
  z-index: 2;
  opacity: 1;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 540px;
  color: var(--bn-text) !important;
}

.entry-content > .wp-block-columns:first-of-type .wp-block-buttons {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  gap: 1rem;
}

/* Hero CTA buttons - larger & more prominent */
.entry-content > .wp-block-columns:first-of-type .wp-block-button__link {
  padding: 16px 40px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  letter-spacing: 0.08em !important;
}

.entry-content > .wp-block-columns:first-of-type .hero-cta-primary .wp-block-button__link {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
  box-shadow: 0 4px 20px rgba(232, 121, 46, 0.3) !important;
}

.entry-content > .wp-block-columns:first-of-type .hero-cta-primary .wp-block-button__link:hover {
  background: var(--bn-orange-dark) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 30px rgba(232, 121, 46, 0.4) !important;
}

/* Hero image */
.entry-content > .wp-block-columns:first-of-type .wp-block-image img {
  border-radius: 16px !important;
  max-height: 400px !important;
  width: auto !important;
  margin: 0 auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
  object-fit: cover;
  border: none;
}

/* ===== Section Cards / Columns ===== */
.wp-block-column {
  background: var(--bn-bg-card);
  padding: 2rem;
  border-radius: var(--bn-radius);
  transition: var(--bn-transition);
  border: 1px solid var(--bn-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Section spacing between column groups */
.entry-content > .wp-block-columns {
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.wp-block-columns:not(:first-of-type) .wp-block-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(232, 121, 46, 0.2);
}

/* Section headings — centered with orange accent */
.entry-content > .wp-block-heading {
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-top: 2rem;
  color: var(--bn-teal) !important;
}

.entry-content > .wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--bn-orange);
  border-radius: 2px;
}

/* Center-aligned paragraphs after headings */
.entry-content > .has-text-align-center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--bn-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ===== Separators ===== */
.wp-block-separator {
  border: none !important;
  margin: 2.5rem 0 !important;
  opacity: 1 !important;
}

.wp-block-separator.is-style-wide {
  background: linear-gradient(90deg, transparent, var(--bn-glass-border), transparent) !important;
  height: 1px !important;
}

/* ===== Images — constrained & elegant ===== */
.wp-block-image img,
.wp-block-gallery .wp-block-image img {
  border-radius: var(--bn-radius);
  box-shadow: none;
  object-fit: cover;
  transition: var(--bn-transition);
}

/* Service card images */
.wp-block-column .wp-block-image img {
  max-height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--bn-radius);
  border: 1px solid var(--bn-border);
}

/* Service 50/50 layout images */
.wp-block-columns .wp-block-column[style*="flex-basis:50%"] .wp-block-image img {
  max-height: 250px;
  width: 100%;
  object-fit: cover;
}

/* Home page service card images */
.wp-block-column[style*="text-align:center"] .wp-block-image img {
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--bn-radius);
}

/* Image hover */
.wp-block-column .wp-block-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(232, 121, 46, 0.3);
}

/* ===== Masonry Gallery ===== */
.wp-block-gallery {
  gap: 12px !important;
  columns: 3;
  column-gap: 12px;
}

.wp-block-gallery .wp-block-image {
  border-radius: var(--bn-radius);
  overflow: hidden;
  transition: var(--bn-transition);
  break-inside: avoid;
  margin-bottom: 12px;
}

.wp-block-gallery .wp-block-image:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.wp-block-gallery .wp-block-image img {
  max-height: none !important;
  height: auto !important;
  object-fit: cover;
  border: 1px solid var(--bn-border);
  transition: var(--bn-transition);
  filter: none;
}

.wp-block-gallery .wp-block-image:hover img {
  filter: none;
  border-color: rgba(232, 121, 46, 0.3);
}

/* ===== Video Section ===== */
video {
  border-radius: var(--bn-radius);
  max-width: 100%;
  box-shadow: none;
  border: 1px solid var(--bn-border);
}

.wp-block-video {
  max-height: 280px;
  overflow: hidden;
  border-radius: var(--bn-radius);
}

.wp-block-video figcaption {
  font-size: 0.75rem;
  color: var(--bn-text-subtle);
  font-weight: 300;
  margin-top: 0.6rem;
  letter-spacing: 0.03em;
}

/* ===== Lists ===== */
.entry-content ul {
  list-style: none;
  padding-left: 0;
}

.entry-content ul li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--bn-text);
  font-weight: 400;
}

.entry-content ul li::before {
  content: "\2713";
  color: var(--bn-orange);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: auto;
  height: auto;
  background: none;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===== FAQ Section ===== */
.faq-item {
  border-bottom: 1px solid var(--bn-border);
  padding: 1.5rem 0;
  transition: var(--bn-transition-fast);
}

.faq-item:hover {
  padding-left: 1rem;
  border-color: rgba(232, 121, 46, 0.2);
}

.faq-item h4 {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bn-teal);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--bn-text-muted);
  margin-bottom: 0;
}

/* ===== Tables ===== */
.wp-block-table {
  border-radius: var(--bn-radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--bn-border);
}

.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table th {
  background: var(--bn-teal) !important;
  color: var(--bn-white) !important;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--bn-orange) !important;
}

.wp-block-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--bn-border);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--bn-text-muted);
}

.wp-block-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.wp-block-table tbody tr:hover {
  background: rgba(232, 121, 46, 0.05);
}

/* ===== Contact Form 7 — Refined Minimal ===== */
.wpcf7 {
  background: var(--bn-bg-card);
  padding: 2.5rem;
  border-radius: var(--bn-radius);
  box-shadow: none;
  border: 1px solid var(--bn-border);
  backdrop-filter: blur(10px);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--bn-border);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 300;
  transition: var(--bn-transition-fast);
  background: var(--bn-bg);
  color: var(--bn-text);
  font-family: var(--font-body) !important;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--bn-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 121, 46, 0.1);
  background: var(--bn-white);
}

.wpcf7 label {
  font-weight: 400;
  color: var(--bn-text);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== Font size class overrides ===== */
.has-large-font-size {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
}

.has-medium-font-size {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bn-teal) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0 !important;
  border-top: none;
}

.birdnet-footer-content {
  background: var(--bn-teal);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.birdnet-footer-content h4 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bn-orange);
  display: inline-block;
}

.birdnet-footer-content p,
.birdnet-footer-content li {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.6;
}

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

.birdnet-footer-content ul li {
  margin-bottom: 6px;
}

.birdnet-footer-content a {
  color: var(--bn-orange-light) !important;
  text-decoration: none;
}

.birdnet-footer-content a:hover {
  color: var(--bn-orange) !important;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.5) !important;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.site-footer * {
  font-family: var(--font-body) !important;
}

.site-footer a { color: var(--bn-orange-light) !important; }
.site-footer a:hover { color: var(--bn-orange) !important; }

.site-footer .ast-footer-copyright {
  display: none !important;
}

/* ===== Scroll to Top ===== */
.ast-scroll-top-icon,
#ast-scroll-top {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(232, 121, 46, 0.3) !important;
}

/* ===== Floating CTA — Dark Theme ===== */
.birdnet-floating {
  z-index: 9999;
}

.birdnet-floating a {
  font-size: 0.75rem !important;
  padding: 8px 16px !important;
  border-radius: 50% !important;
}

/* ===== Reveal Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.entry-content > .wp-block-columns:not(:first-of-type),
.entry-content > .wp-block-heading,
.entry-content > .has-text-align-center,
.entry-content > .wp-block-gallery,
.faq-item {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger child animations */
.wp-block-columns .wp-block-column:nth-child(1) { animation-delay: 0s; }
.wp-block-columns .wp-block-column:nth-child(2) { animation-delay: 0.15s; }
.wp-block-columns .wp-block-column:nth-child(3) { animation-delay: 0.3s; }
.wp-block-columns .wp-block-column:nth-child(4) { animation-delay: 0.45s; }

/* ===== Spec Icons — Thin Line Style ===== */
.spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--bn-orange);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--bn-orange);
  font-size: 1.2rem;
  transition: var(--bn-transition);
}

.wp-block-column:hover .spec-icon {
  background: var(--bn-orange);
  color: var(--bn-white);
}

/* ===== Border styling for location cards ===== */
.wp-block-column[style*="border:2px solid"] {
  border-color: var(--bn-border) !important;
  border-width: 1px !important;
}

.wp-block-column[style*="border:2px solid"]:hover {
  border-color: rgba(232, 121, 46, 0.3) !important;
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 768px) {
  body, body.flavor-flavor {
    font-size: 14px;
    padding-bottom: 70px;
  }

  .entry-content > .wp-block-columns:first-of-type {
    padding: 0 !important;
    margin: 0 -1rem !important;
    width: calc(100% + 2rem) !important;
    min-height: auto;
  }

  .entry-content > .wp-block-columns:first-of-type > .wp-block-column {
    padding: 1.5rem 1rem !important;
  }

  .entry-content > .wp-block-columns:first-of-type h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }

  .entry-content > .wp-block-columns:first-of-type p {
    font-size: 0.9rem;
  }

  .entry-content > .wp-block-columns:first-of-type .wp-block-image img {
    max-height: 250px !important;
  }

  h2 { font-size: 1.5rem !important; margin-top: 2rem !important; }
  h3 { font-size: 1rem !important; }
  h4 { font-size: 0.92rem !important; }
  p { font-size: 0.88rem !important; }

  .wp-block-columns {
    flex-direction: column !important;
  }

  .wp-block-column {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }

  .wp-block-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .wp-block-button { width: 100%; }
  .wp-block-button__link {
    width: 100%;
    text-align: center;
    padding: 14px 24px !important;
    font-size: 0.85rem !important;
  }

  .site-title a, .ast-site-title-wrap a {
    font-size: 0.85rem !important;
  }

  .main-header-menu .menu-item > a {
    font-size: 0.78rem;
  }

  .entry-content ul li {
    font-size: 0.82rem;
    padding: 0.4rem 0;
  }

  .entry-content > .wp-block-heading {
    margin-top: 2rem;
    padding-bottom: 0.8rem;
  }

  .wp-block-separator {
    margin: 2rem 0 !important;
  }

  .wp-block-column .wp-block-image img,
  .wp-block-column[style*="text-align:center"] .wp-block-image img {
    max-height: 220px;
  }

  .wp-block-gallery {
    columns: 2;
  }

  .wp-block-gallery .wp-block-image img {
    max-height: none !important;
  }

  .has-large-font-size {
    font-size: 1rem !important;
  }

  .has-medium-font-size {
    font-size: 0.88rem !important;
  }

  /* Hide floating buttons on mobile (replaced by sticky bar) */
  .birdnet-floating {
    display: none !important;
  }

  /* Sticky CTA bar on mobile */
  .birdnet-sticky-mobile {
    display: flex !important;
  }
}

/* ===== Responsive — Phone ===== */
@media (max-width: 480px) {
  body, body.flavor-flavor {
    font-size: 13px;
  }

  .entry-content > .wp-block-columns:first-of-type {
    min-height: auto;
  }

  .entry-content > .wp-block-columns:first-of-type > .wp-block-column {
    padding: 2rem 1rem !important;
  }

  .entry-content > .wp-block-columns:first-of-type h1 {
    font-size: 1.7rem !important;
  }

  .entry-content > .wp-block-columns:first-of-type .wp-block-image img {
    max-height: 200px !important;
  }

  h2 { font-size: 1.3rem !important; }

  .wpcf7 { padding: 1.5rem; }
  .wp-block-column { padding: 1.2rem; }

  /* Contact page mobile — single column */
  .page-id-contact .wp-block-columns,
  .page-template-default .wp-block-columns {
    flex-direction: column !important;
  }
  .page-id-contact .wp-block-column[style*="flex-basis:50%"],
  .page-template-default .wp-block-column[style*="flex-basis:50%"] {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .wp-block-column .wp-block-image img,
  .wp-block-column[style*="text-align:center"] .wp-block-image img {
    max-height: 180px;
  }

  .wp-block-gallery {
    columns: 1;
  }
}

/* ===== Sticky Mobile CTA Bar ===== */
.birdnet-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.birdnet-sticky-mobile a {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

.birdnet-sticky-mobile .sticky-cta-quote {
  background: var(--bn-orange);
  color: var(--bn-white);
  box-shadow: 0 2px 10px rgba(232, 121, 46, 0.3);
}

.birdnet-sticky-mobile .sticky-cta-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 2px 10px rgba(6, 199, 85, 0.3);
}

.birdnet-sticky-mobile .sticky-cta-call {
  background: var(--bn-teal);
  color: var(--bn-white);
  border: none;
}

/* ===== Portfolio Grid ===== */
.wp-block-columns .wp-block-column h4 {
  color: var(--bn-teal);
  font-weight: 600;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.wp-block-column .wp-block-image img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-column .wp-block-image img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Product Spec Lists */
.entry-content h4.wp-block-heading {
  color: var(--bn-orange);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--bn-orange);
  padding-left: 0.8rem;
}

.entry-content ul {
  padding-left: 1.2rem;
}

.entry-content ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* ===== FAQ Section ===== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "▶";
  font-size: 0.7em;
  color: var(--bn-orange);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
}

.faq-item[open] summary {
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.faq-item p,
.faq-item .work-process {
  padding: 1rem 1.5rem;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.faq-item .work-process p {
  padding: 0.3rem 0;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ===== Project Gallery Mini ===== */
.project-gallery {
  margin-top: 6px;
}

.project-gallery img {
  transition: transform 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

/* ===== Google Map ===== */
.wp-block-html iframe {
  border-radius: 12px;
}

/* ===== Print Styles ===== */
@media print {
  .birdnet-floating, .site-header, .site-footer { display: none !important; }
}
