:root {
  --bg: #0a0714;
  --bg-alt: #120c22;
  --card: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.09);
  --text: #f4f2fb;
  --muted: #b3aec4;
  --violet: #a78bfa;
  --pink: #f472b6;
  --orange: #fb923c;
  --cyan: #22d3ee;
  --gradient: linear-gradient(115deg, var(--violet), var(--pink) 55%, var(--orange));
  --accent: #8b6cf3;
  --accent-strong: #7c5cf0;
  --radius: 20px;

  --wa-green: #25d366;
  --waze-cyan: #05c8f7;
  --maps-red: #ea4335;
}

* { box-sizing: border-box; }
/* Deliberately NOT scroll-behavior:smooth globally — it can silently break
   the browser's native (instant) scroll-to-#hash-on-load behavior, which
   is how a visitor landing on /#contact from another page actually gets
   there. Smooth scrolling for in-page anchor clicks is handled in JS
   instead (script.js), which doesn't have that failure mode. */

body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: "Google Sans", "Assistant", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.005em;
}
h1, h2, h3 {
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { color: var(--muted); }
a { text-decoration: none; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

body.ast-page-builder-template #content,
body.ast-page-builder-template .ast-container,
body.ast-page-builder-template #primary,
body.ast-page-builder-template .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.ast-page-builder-template .entry-content { margin: 0; }
body.ast-page-builder-template .site-content { background: var(--bg); }

#masthead.site-header {
  background: rgba(10,7,20,0.55) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  /* Solid (non-blurred) shadow painted just past the header's own edge —
     papers over a hairline sub-pixel rendering seam that otherwise shows
     the browser's default white canvas at the header/content boundary. */
  box-shadow: 0 2px 0 0 var(--bg) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Belt-and-suspenders: pull the content area up 2px so it geometrically
   overlaps the header's bottom edge — a real layout fix (not just paint)
   for the same hairline-seam class of bug, in case a paint-only fix isn't
   enough on some browsers/zoom levels. */
#content { margin-top: -2px !important; position: relative; z-index: 1; }
#masthead .ast-container { max-width: 1160px !important; margin-left: auto !important; margin-right: auto !important; }
#masthead .site-title,
#masthead .ast-site-title-wrap { display: none; }
#masthead .custom-logo { height: 44px; width: auto; }

#masthead .main-header-menu .menu-link {
  color: var(--text) !important;
  font-weight: 600;
  font-family: "Google Sans", "Assistant", sans-serif;
  font-size: 15px;
}
#masthead .main-header-menu > li:not(.btn) > a.menu-link { position: relative; height: auto !important; }
#masthead .main-header-menu > li:not(.btn) > a.menu-link::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: -4px;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform .25s ease;
}
#masthead .main-header-menu > li:not(.btn):hover > a.menu-link::after { transform: scaleX(1); }
#masthead .ast-header-navigation-arrow svg,
#masthead .ast-arrow-svg { fill: var(--muted); }

#masthead .sub-menu {
  background: #150f26 !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.4) !important;
  padding: 10px !important;
}
#masthead .sub-menu .menu-link { padding: 9px 12px !important; border-radius: 8px; font-size: 14px; }
#masthead .sub-menu li:hover > .menu-link { background: rgba(255,255,255,.06); }

#masthead li.btn { margin-inline-start: 10px; }
#masthead li.btn > a.menu-link {
  display: inline-flex !important; align-items: center; gap: 8px;
  height: auto !important; width: auto !important;
  background: var(--accent) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 999px !important;
  font-weight: 600 !important; line-height: 1.3 !important; transition: background .2s ease;
}
#masthead li.btn > a.menu-link:hover { background: var(--accent-strong) !important; }
#masthead li.btn > a.menu-link svg { width: 16px; height: 16px; flex-shrink: 0; }

#masthead .main-header-menu-toggle,
#masthead .main-header-menu-toggle svg { color: var(--text) !important; fill: var(--text) !important; }
#ast-mobile-header { background: transparent !important; }

/* ================================================================
   Mobile menu: animated hamburger + full-screen overlay
   (Astra's own markup: button.main-header-menu-toggle toggles
   body.ast-main-header-nav-open; content lives in
   .ast-mobile-header-content, a sibling of the visible top bar)
   ================================================================ */
#masthead .main-header-menu-toggle {
  position: relative;
  z-index: 10000;
  transition: transform .2s ease;
}
#masthead .main-header-menu-toggle:active { transform: scale(0.88); }

/* Custom animated hamburger: two bars that rotate into an X,
   replacing Astra's own swapped hamburger/close SVGs. */
#masthead .mobile-menu-toggle-icon { position: relative; display: inline-block; width: 26px; height: 18px; }
#masthead .mobile-menu-toggle-icon > span { display: none !important; }
#masthead .mobile-menu-toggle-icon::before,
#masthead .mobile-menu-toggle-icon::after {
  content: ""; position: absolute; right: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: top .25s ease, transform .35s cubic-bezier(.5,-0.2,.3,1.4);
}
#masthead .mobile-menu-toggle-icon::before { top: 0; }
#masthead .mobile-menu-toggle-icon::after { top: 16px; }
#masthead .main-header-menu-toggle.toggled .mobile-menu-toggle-icon::before { top: 8px; transform: rotate(45deg); }
#masthead .main-header-menu-toggle.toggled .mobile-menu-toggle-icon::after { top: 8px; transform: rotate(-45deg); }

@media (max-width: 921px) {
  .ast-mobile-header-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 40px 30px !important;
    background: linear-gradient(160deg, #0d0a1a 0%, #150f26 100%) !important;
    z-index: 9999;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: scale(0.95);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
    overflow-y: auto;
  }
  body.ast-main-header-nav-open { overflow: hidden !important; }
  body.ast-main-header-nav-open .ast-mobile-header-content {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: scale(1);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear 0s;
  }

  .ast-mobile-header-content .main-header-menu {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; width: 100%; gap: 4px;
  }
  .ast-mobile-header-content .main-header-menu > li {
    width: 100%; text-align: center;
    opacity: 0; transform: translateY(16px);
  }
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu > li {
    animation: agpMobileNavIn .5s ease forwards;
  }
  .ast-mobile-header-content .main-header-menu > li:nth-child(1) { animation-delay: .08s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(2) { animation-delay: .14s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(3) { animation-delay: .2s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(4) { animation-delay: .26s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(5) { animation-delay: .32s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(6) { animation-delay: .38s; }
  .ast-mobile-header-content .main-header-menu > li:nth-child(7) { animation-delay: .44s; }

  .ast-mobile-header-content .menu-link {
    color: var(--text) !important; font-weight: 600;
    font-family: "Google Sans", "Assistant", sans-serif;
    font-size: 22px !important; padding: 14px 0 !important;
    justify-content: center !important; display: flex !important;
    height: auto !important;
  }
  .ast-mobile-header-content li.btn { margin-top: 22px; width: auto; }
  .ast-mobile-header-content li.btn > a.menu-link {
    display: inline-flex !important; width: auto;
    background: var(--accent) !important; color: #fff !important;
    padding: 14px 30px !important; border-radius: 999px !important; font-size: 18px !important;
  }

  .ast-mobile-header-content .main-header-menu > li.menu-item-has-children {
    display: flex !important; flex-wrap: wrap !important;
    justify-content: center !important; align-items: center !important;
  }
  .ast-mobile-header-content .main-header-menu > li.menu-item-has-children > .menu-link {
    width: auto !important; flex: none !important;
  }
  .ast-mobile-header-content .ast-menu-toggle {
    background: transparent !important; border: none !important; color: var(--text) !important;
  }
  .ast-mobile-header-content .ast-menu-toggle svg { fill: var(--text) !important; }
  .ast-mobile-header-content .sub-menu {
    position: static !important; width: 100%; flex-basis: 100%;
    background: rgba(255,255,255,.04) !important; border: none !important;
    box-shadow: none !important; padding: 4px 0 0 !important; text-align: center;
  }
  .ast-mobile-header-content .sub-menu .menu-link { font-size: 17px !important; padding: 10px 0 !important; }
}

@keyframes agpMobileNavIn {
  to { opacity: 1; transform: translateY(0); }
}

#colophon.site-footer { background: #08050f !important; border-top: 1px solid rgba(255,255,255,0.07); }
#colophon .ast-footer-copyright,
#colophon .ast-footer-copyright a { color: var(--muted) !important; font-size: 14px !important; }

.agp-footer-bar { background: #08050f; padding: 32px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-logo { height: 34px; opacity: .85; }
.accessibility-link { color: var(--muted); font-size: 14px; }

a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 999px; font-weight: 600; font-size: 15px;
  line-height: 1.3; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
a.btn-primary { background: var(--accent); box-shadow: 0 14px 28px -10px rgba(139,108,243,0.55); color: #fff; }
a.btn-primary:hover { background: var(--accent-strong); }
a.btn-ghost { border: 1px solid var(--card-border); background: rgba(255,255,255,0.03); color: var(--text); }
a.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
a.btn:hover { transform: translateY(-3px); }
a.btn-sm { padding: 10px 20px; font-size: 13.5px; }

.hero { position: relative; padding: 110px 0 100px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 700px;
  background: radial-gradient(circle at 30% 30%, rgba(167,139,250,0.35), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(244,114,182,0.25), transparent 55%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 50px; }
.eyebrow { color: var(--pink); font-weight: 700; letter-spacing: .3px; font-size: 15px; margin-bottom: 14px; }
.hero-text h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.08; margin-bottom: 22px; color: var(--text); }
.hero-lead { font-size: 19px; color: var(--text); opacity: .85; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-blob {
  position: absolute; inset: 0; margin: auto; width: 92%; aspect-ratio: 1;
  background: var(--gradient); filter: blur(60px); opacity: .45; border-radius: 50%;
}
.hero-blob.small { width: 100%; opacity: .35; }
.hero-photo-frame {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 853/1280; margin: 0 auto;
  border-radius: 32px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.65);
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  background: linear-gradient(to top, rgba(10,7,20,0.55), transparent 45%); pointer-events: none;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tag { display: inline-block; font-weight: 700; font-size: 14px; color: var(--pink); margin-bottom: 12px; letter-spacing: .3px; }
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; color: var(--text); }
.section-lead { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 50px; }
.about-grid { max-width: 780px; margin-bottom: 60px; }
.about-text p, .about-grid p { font-size: 17px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px 20px; text-align: center; }
.stat-number, .stat-suffix {
  display: inline-block; font-family: "Google Sans", sans-serif; font-weight: 700; letter-spacing: -0.02em; font-size: 42px;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.advantage-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 34px 26px; transition: transform .25s ease, border-color .25s ease; }
.advantage-card:hover { transform: translateY(-6px); border-color: rgba(244,114,182,0.4); }
.advantage-icon { width: 50px; height: 50px; margin-bottom: 20px; }
.advantage-icon svg { width: 100%; height: 100%; }
.advantage-card h3 { font-size: 19px; margin-bottom: 6px; color: var(--text); }
.advantage-card p { margin: 0; font-size: 14.5px; }

.split-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-photo-frame {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 720/1280; margin: 0 auto;
  border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.split-photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); pointer-events: none;
}
.split-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.split-text p { font-size: 16.5px; }

.two-col-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 60px; }
.history-block { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 40px; }
.history-block h3 { font-size: 24px; margin-bottom: 18px; color: var(--text); }

.philosophy-grid { max-width: 820px; }
.philosophy-grid p { font-size: 17px; padding-right: 22px; border-right: 3px solid transparent; border-image: var(--gradient) 1; }

.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reason-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; }
.reason-item h3 { font-size: 21px; margin-bottom: 14px; color: var(--pink); }
.reason-item p { font-size: 15.5px; }

.cta-section { text-align: center; }
.cta-section .section-lead { margin-left: auto; margin-right: auto; }
.cta-section .hero-actions { justify-content: center; }

.page-hero { position: relative; padding: 130px 0 70px; overflow: hidden; text-align: center; }
.page-title { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; color: var(--text); }
.page-lead { font-size: 18px; color: var(--text); opacity: .85; max-width: 680px; margin: 0 auto 10px; }
.page-lead.subtle { font-size: 15px; color: var(--muted); opacity: 1; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.contact-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 18px; text-align: center; font-weight: 600; font-size: 15px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease; color: var(--text);
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-icon svg { width: 24px; height: 24px; }
.icon-phone { background: var(--accent); }
.icon-whatsapp { background: var(--wa-green); }
.icon-waze { background: var(--waze-cyan); }
.icon-maps { background: var(--maps-red); }
.social-row { display: flex; gap: 16px; flex-wrap: wrap; }
.social-row a { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--card-border); font-weight: 600; font-size: 14px; transition: background .2s ease, border-color .2s ease; color: var(--text); }
.social-row a:hover { background: var(--accent); border-color: transparent; }

.floating-actions { position: fixed; bottom: 26px; right: 26px; z-index: 200; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.55); transition: transform .2s ease, box-shadow .2s ease; color: #fff; position: relative;
}
.fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); pointer-events: none; }
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-4px); }
.fab-whatsapp { background: var(--wa-green); box-shadow: 0 14px 30px -8px rgba(37,211,102,0.55); }
.fab-call { background: var(--accent); box-shadow: 0 14px 30px -8px rgba(139,108,243,0.55); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 16px; text-align: center; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 18px; margin-bottom: 4px; color: var(--text); }
.video-card p { margin: 0; font-size: 14px; }

.gallery-grid { columns: 4; column-gap: 16px; }
.gallery-grid img { width: 100%; border-radius: 16px; margin-bottom: 16px; cursor: zoom-in; border: 1px solid var(--card-border); transition: transform .2s ease, border-color .2s ease; break-inside: avoid; }
.gallery-grid img:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }
.lightbox { position: fixed; inset: 0; background: rgba(5,3,12,0.92); display: none; align-items: center; justify-content: center; z-index: 500; padding: 40px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.blog-card-body h3 { font-size: 17px; line-height: 1.4; flex: 1; color: var(--text); }
.blog-read { align-self: flex-start; padding: 9px 20px; border-radius: 999px; background: var(--accent); font-weight: 600; font-size: 13.5px; transition: background .2s ease; color: #fff; }
.blog-read:hover { background: var(--accent-strong); }

.single .entry-header {
  text-align: center; padding: 130px 0 40px; max-width: 900px; margin: 0 auto;
}
.single .entry-title { font-size: clamp(30px, 4.5vw, 46px); color: var(--text); margin-bottom: 14px; }
.single .entry-meta { color: var(--muted); font-size: 14px; }
.single .entry-meta a { color: var(--pink); }
.single .entry-content {
  max-width: 760px; margin: 0 auto; padding: 0 24px 100px; font-size: 17px; line-height: 1.9; color: var(--text);
}
.single .entry-content h2 { font-size: 28px; margin: 40px 0 16px; color: var(--text) !important; }
.single .entry-content h3 { font-size: 23px; margin: 34px 0 14px; color: var(--pink) !important; }
.single .entry-content h4 { font-size: 22px; margin: 30px 0 12px; color: var(--text) !important; font-weight: 700; }
.single .entry-content h5,
.single .entry-content h6 { font-size: 19px; margin: 26px 0 10px; color: var(--pink) !important; }
.single .entry-content strong, .single .entry-content b { color: var(--text); }
.single .entry-content p { color: var(--muted); margin-bottom: 20px; }
.single .entry-content a { color: var(--accent); text-decoration: underline; }
.single .entry-content img { border-radius: 20px; margin: 30px 0; height: auto; }
.single .entry-content ul, .single .entry-content ol { color: var(--muted); padding-right: 24px; margin-bottom: 20px; }
.single .entry-content blockquote { border-right: 3px solid; border-image: var(--gradient) 1; padding-right: 22px; margin: 30px 0; font-size: 19px; color: var(--text); }
.single #content, .single .ast-container, .single #primary, .single .site-main { background: var(--bg); }
/* Astra's "Separate Containers" layout paints the post article itself
   (and would paint the comment area) with an explicit white card
   background — neutralize it so the dark theme carries all the way
   through. Comments are also closed sitewide (see site.php), but this
   stays as a defensive fallback. */
.single article.ast-article-single,
.ast-separate-container .ast-article-single,
.single .comments-area { background: transparent !important; box-shadow: none !important; }
.single .comments-area { display: none !important; }
.single .post-navigation, .single nav.navigation {
  max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; border-top: 1px solid var(--card-border);
}
.single .post-navigation a, .single nav.navigation a { color: var(--text) !important; }
.single .post-navigation .nav-subtitle, .single nav.navigation .nav-subtitle { color: var(--muted) !important; }
.single .post-navigation .nav-title, .single nav.navigation .nav-title { color: var(--text) !important; }

/* ===== Songs page: custom waveform cards (replaces The Grid render) ===== */
.songs-section { padding-top: 60px; }
.songs-toolbar { margin-bottom: 40px; }
.songs-search {
  display: flex; align-items: center; gap: 12px; max-width: 560px;
  padding: 4px 20px; border-radius: 999px;
  border: 1px solid var(--card-border); background: rgba(255,255,255,0.04);
  margin-bottom: 22px;
}
.songs-search svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.songs-search input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 15px; padding: 12px 0;
}
.songs-search input::placeholder { color: var(--muted); }
.songs-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.song-pill {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--card-border); background: rgba(255,255,255,0.03);
  color: var(--muted); font-family: inherit; font-weight: 600; font-size: 13.5px;
  transition: all .2s ease; display: inline-flex; align-items: center; gap: 7px;
}
.song-pill span { font-size: 11.5px; opacity: .7; font-weight: 700; }
.song-pill:hover { border-color: rgba(255,255,255,.25); color: var(--text); }
.song-pill.is-active { background: var(--accent); border-color: transparent; color: #fff; }
.song-pill.is-active span { opacity: .85; }

.songs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.song-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.song-card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.4); }
.song-card.is-playing { border-color: rgba(244,114,182,.55); box-shadow: 0 18px 40px -18px rgba(167,139,250,.5); }
.song-card.is-hidden { display: none; }

.song-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.song-play {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 10px 22px -10px rgba(139,108,243,.7);
}
.song-play:hover { background: var(--accent-strong); transform: scale(1.06); }
.song-play svg { width: 22px; height: 22px; }
.song-play .icon-pause { display: none; }
.song-card.is-playing .song-play { background: var(--pink); }
.song-card.is-playing .song-play .icon-play { display: none; }
.song-card.is-playing .song-play .icon-pause { display: block; }

.song-wave { position: relative; flex: 1; height: 46px; cursor: pointer; overflow: hidden; }
.song-wave-bars, .song-wave-fill {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 2px;
}
.song-wave-bars span, .song-wave-fill span {
  flex: 1; min-height: 3px; border-radius: 2px;
}
.song-wave-bars span { background: rgba(255,255,255,.16); }
.song-wave-fill {
  /* full-width overlay revealed left-to-right via clip-path as audio plays;
     bars stay full-width (no reflow), only the visible slice grows. */
  clip-path: inset(0 100% 0 0);
}
.song-wave-fill span { background: var(--pink); }

.song-title { font-size: 16px; line-height: 1.45; color: var(--text); margin: 0 0 14px; font-weight: 600; }
.song-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.song-tag {
  font-size: 12px; font-weight: 600; color: var(--violet);
  background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.2);
  padding: 4px 11px; border-radius: 999px;
}
.songs-empty { text-align: center; color: var(--muted); font-size: 16px; padding: 40px 0; }

@media (max-width: 921px) { .songs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 544px) { .songs-grid { grid-template-columns: 1fr; } }

.tg-grid-wrapper { background: transparent !important; font-family: "Google Sans", "Assistant", sans-serif !important; }
.tg-grid-area-top1 { text-align: initial !important; }
.tg-search-holder { margin-bottom: 20px; display: flex; justify-content: flex-start; }
.tg-search-inner {
  display: flex !important; align-items: center; gap: 10px; max-width: 520px; width: 100%;
  padding: 4px 16px !important; border-radius: 999px !important;
  border: 1px solid var(--card-border) !important; background: rgba(255,255,255,0.04) !important;
}
.tg-search-inner input.tg-search {
  background: transparent !important; border: none !important; color: var(--text) !important;
  font-family: inherit !important; font-size: 15px !important; flex: 1; padding: 10px 0 !important;
}
.tg-search-icon, .tg-search-clear { color: var(--muted) !important; }
.tg-filters-holder { display: flex !important; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tg-filter {
  padding: 9px 18px !important; border-radius: 999px !important;
  border: 1px solid var(--card-border) !important; background: rgba(255,255,255,0.03) !important;
  cursor: pointer; transition: all .2s ease;
}
.tg-filter .tg-filter-name { color: var(--muted) !important; font-weight: 600; font-size: 13.5px; }
.tg-filter:hover { border-color: rgba(255,255,255,.25) !important; }
.tg-filter.tg-filter-active { background: var(--accent) !important; border-color: transparent !important; }
.tg-filter.tg-filter-active .tg-filter-name { color: #fff !important; }

.tg-grid-holder { margin-top: 30px !important; }
.tg-item .tg-item-inner {
  background: var(--card) !important; border: 1px solid var(--card-border) !important;
  border-radius: var(--radius) !important; padding: 16px !important;
}
.tg-item .tg-item-title { color: var(--text) !important; font-size: 15.5px !important; font-weight: 600 !important; line-height: 1.4 !important; }
.tg-item audio.tg-item-audio-player { width: 100% !important; margin-top: 10px; }
.tg-item .tg-media-button { background: var(--accent) !important; }
.tg-item .to-heart-icon path { stroke: var(--muted) !important; }
.tg-item .empty-heart .to-heart-icon path { fill: none !important; }
.tg-item .to-like-count { color: var(--muted) !important; }

@media (max-width: 921px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; margin-bottom: 20px; }
  .stats-grid, .advantages-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .two-col-text { grid-template-columns: 1fr; }
  .reason-list { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
}
@media (max-width: 544px) {
  /* stats-grid/advantages-grid/contact-grid intentionally stay 2 columns
     on phones too (set at the 921px breakpoint) rather than collapsing to 1 */
  .section { padding: 70px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .video-grid, .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .page-hero { padding: 120px 0 50px; }
}

/* ================================================================
   Fix: Astra's own header/footer row wrappers set explicit white
   backgrounds (inline dynamic CSS) that paint over our dark theme
   since they are descendants of #masthead / #colophon, not the
   elements themselves. Force them transparent so our header/footer
   backgrounds actually show through.
   ================================================================ */
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .ast-above-header-bar,
#masthead .ast-below-header-bar,
#masthead .ast-main-header-wrap { background-color: transparent !important; }

#colophon .site-below-footer-wrap,
#colophon .ast-builder-grid-row-container,
#colophon .ast-above-footer-wrap { background-color: transparent !important; }

/* Astra paints a default 1px #d1d5db separator border on the inner header
   bar and the below-footer wrap (a theme default, not a stored setting).
   That light-gray line reads as a white seam against our dark theme at the
   header/content and content/footer boundaries. Neutralize it at the source. */
#masthead .ast-primary-header-bar,
#masthead .main-header-bar { border-bottom: 0 !important; }
#colophon .site-below-footer-wrap { border-top: 0 !important; }

/* Fix: Astra's page-builder content layout does not suppress the
   default entry title/header the way a page-builder canvas should —
   our custom pages already render their own hero, so hide Astra's. */
body.ast-page-builder-template .entry-header { display: none !important; }
