:root {
  --bg:#fafafa;
  --text:#181818;
  --muted:#666;
  --line:#e6e6e6;
  --card:#fff;
  --brand:#0d0d0d;
  --soft:#f1f1f1;
  --card-width:240px;
  --grid-gap:1rem;
  --content-max:calc((var(--card-width) * 10) + (var(--grid-gap) * 9));
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.45
}

a {
  color:inherit
}

.site-header {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.8rem 5vw;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px)
}

.brand {
  display:flex;
  align-items:center;
  gap:.65rem;
  text-decoration:none;
  min-width:0
}

.brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.15rem;
  height:2.15rem;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-weight:900
}

.brand-text {
  display:flex;
  align-items:baseline;
  gap:.45rem;
  flex-wrap:wrap
}

.brand-name {
  font-family:Georgia,'Times New Roman',serif;
  font-size:1.45rem;
  font-style:italic;
  font-weight:900;
  letter-spacing:.01em
}

.brand-tagline {
  font-size:.98rem;
  font-weight:400;
  color:#333
}

.site-nav {
  display:flex;
  gap:.75rem;
  margin-left:auto
}

.site-nav a,.context-chips a {
  padding:.45rem .75rem;
  border:1px solid var(--line);
  border-radius:999px;
  text-decoration:none;
  background:#fff
}

.nav-toggle {
  display:none;
  margin-left:auto;
  border:1px solid var(--line);
  background:#fff;
  border-radius:.7rem;
  padding:.5rem .7rem
}

.page-hero,.filters-section,.pagination,.empty-state,.related,.pdp {
  max-width:var(--content-max);
  margin:0 auto;
  padding:1.25rem 5vw
}

.page-hero h1 {
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:1.05;
  margin:.5rem 0
}

.context-chips,.active-chips,.card-chips,.hashtags {
  display:flex;
  gap:.45rem;
  flex-wrap:wrap
}

.context-chips a,.active-chips button,.card-chips .chip,.hashtags span {
  font-size:.82rem
}

.filters-section {
  padding-top:.5rem
}

.filter-summary-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem
}

.results-count {
  margin:.5rem 0
}

.filters-form {
  display:grid;
  grid-template-columns:minmax(260px,2fr) repeat(4,minmax(140px,1fr));
  gap:.75rem;
  align-items:end;
  background:#fff;
  border:1px solid var(--line);
  border-radius:1rem;
  padding:1rem
}

.filter-field {
  display:flex;
  flex-direction:column;
  gap:.3rem
}

.filter-field-search {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:.3rem
}

.filter-field label {
  font-weight:700;
  font-size:.88rem
}

.filter-field input,.filter-field select {
  width:100%;
  border:1px solid var(--line);
  border-radius:.75rem;
  padding:.68rem;
  background:#fff;
  min-height:2.55rem
}

.filter-field select {
  height:2.55rem
}

.select-summary {
  font-size:.74rem;
  color:var(--muted);
  min-height:1em
}

.filter-actions {
  grid-column:1/-1;
  display:flex;
  gap:.9rem;
  align-items:center;
  justify-content:center;
  margin-top:.2rem
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:.8rem;
  padding:.58rem .85rem;
  text-decoration:none;
  cursor:pointer;
  background:#fff;
  font-weight:700;
  line-height:1.1;
  min-height:2.35rem
}

.button-primary {
  background:var(--brand);
  color:#fff;
  border-color:var(--brand)
}

.button-secondary {
  background:var(--soft)
}

.button-link {
  border:0;
  background:transparent;
  text-decoration:underline;
  padding:.35rem
}

.filter-mobile-open {
  display:none
}

.active-chips {
  margin:.5rem 0
}

.active-chips button {
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:.38rem .65rem
}

.video-grid {
  max-width:var(--content-max);
  margin:0 auto;
  padding:1rem 5vw 2rem;
  display:grid;
  grid-template-columns:repeat(auto-fit,var(--card-width));
  justify-content:center;
  gap:var(--grid-gap)
}

.video-card {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:1.2rem;
  overflow:hidden;
  box-shadow:0 1px 10px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
  height:100%
}

.card-cover-link {
  position:relative;
  display:block;
  background:#eee;
  text-decoration:none
}

.card-cover {
  display:block;
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover
}

.cover-special-label {
  position:absolute;
  left:.75rem;
  bottom:.75rem;
  color:var(--label-color,#8b0000);
  font-weight:900;
  font-style:italic;
  font-size:1.15rem;
  line-height:1;
  text-shadow:0 0 4px rgba(0,0,0,.7);
  -webkit-text-stroke:1px var(--label-stroke,#fff);
  pointer-events:none
}

.card-body {
  padding:.8rem;
  display:flex;
  flex-direction:column;
  flex:1
}

.card-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin:0 0 .25rem
}

.card-index {
  font-weight:900
}

.card-duration {
  margin-left:auto;
  color:var(--muted);
  font-size:.82rem;
  white-space:nowrap
}

.card-title {
  font-size:.98rem;
  line-height:1.35;
  margin:.15rem 0 .45rem
}

.card-title strong {
  font-weight:900
}

.card-title span {
  font-weight:500
}

.card-meta {
  display:flex;
  gap:.7rem;
  color:var(--muted);
  font-size:.82rem
}

.card-chips {
  margin:.6rem 0 .75rem
}

.card-chips .chip {
  background:var(--soft);
  border:0;
  border-radius:999px;
  padding:.24rem .5rem;
  cursor:pointer
}

.card-chips .chip:hover {
  text-decoration:underline
}

.card-actions {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.85rem;
  margin-top:auto;
  padding-top:.7rem
}

.card-actions .button {
  flex:0 1 45%;
  min-width:0;
  padding:.5rem .75rem
}

.pagination {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:1rem
}

.pagination a {
  padding:.55rem .8rem;
  border:1px solid var(--line);
  border-radius:.75rem;
  text-decoration:none;
  background:#fff
}

.load-more-wrap {
  max-width:var(--content-max);
  margin:0 auto 2rem;
  padding:0 5vw;
  display:flex;
  justify-content:center
}

.load-more[hidden] {
  display:none
}

.site-footer {
  border-top:1px solid var(--line);
  padding:1.5rem 5vw;
  color:var(--muted)
}

.breadcrumbs {
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.9rem
}

.breadcrumbs>*:not(:last-child)::after {
  content:'›';
  margin-left:.5rem
}

.pdp-layout {
  display:grid;
  grid-template-columns:minmax(240px,380px) 1fr;
  gap:2rem
}

.pdp-cover {
  width:100%;
  border-radius:1.2rem;
  border:1px solid var(--line)
}

.detail-list {
  display:grid;
  grid-template-columns:140px 1fr;
  gap:.4rem .8rem
}

.detail-list dt {
  font-weight:800
}

.detail-list dd {
  margin:0
}

.video-modal {
  position:fixed;
  inset:0;
  z-index:50;
  display:none
}

.video-modal[aria-hidden=false] {
  display:flex;
  align-items:center;
  justify-content:center
}

.video-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72)
}

.video-modal-panel {
  position:relative;
  margin:0;
  width:min(92vw,430px);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:1.2rem;
  padding:1rem
}

.modal-close,.drawer-close {
  position:absolute;
  right:.75rem;
  top:.75rem;
  z-index:2;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  width:2.4rem;
  height:2.4rem;
  font-size:1.4rem
}

.video-modal-content {
  padding-top:2rem;
  display:flex;
  justify-content:center
}

.tiktok-player {
  width:min(325px,100%);
  height:min(575px,78vh);
  border:0;
  border-radius:12px;
  background:#000
}

.filter-drawer {
  display:none
}

.hidden-by-filter {
  display:none!important
}

.empty-state {
  text-align:center;
  color:var(--muted)
}

@media(max-width:1000px) {
  .filters-form {
    grid-template-columns:1fr 1fr
  }
  .filter-field-search {
    grid-column:1/-1
  }
  .filter-actions {
    grid-column:1/-1
  }
  .video-grid {
    --card-width:230px
  }
}

@media(max-width:700px) {
  .site-header {
    padding:.75rem 5vw
  }
  .brand-text {
    gap:.15rem;
    flex-direction:column;
    align-items:flex-start
  }
  .brand-name {
    font-size:1.25rem
  }
  .brand-tagline {
    font-size:.78rem
  }
  .nav-toggle {
    display:block
  }
  .site-nav {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:1rem 5vw;
    flex-direction:column
  }
  .site-nav.is-open {
    display:flex
  }
  .site-nav a {
    width:100%;
    text-align:left;
    padding:.8rem 1rem
  }
  .filter-mobile-open {
    display:inline-flex
  }
  .filters-form {
    display:none
  }
  .filter-drawer {
    position:fixed;
    inset:0;
    z-index:45;
    background:rgba(0,0,0,.45)
  }
  .filter-drawer[aria-hidden=false] {
    display:block
  }
  .filter-drawer-panel {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    max-height:88vh;
    overflow:auto;
    background:#fff;
    border-radius:1.3rem 1.3rem 0 0;
    padding:3.25rem 1rem 1rem
  }
  .filter-drawer .filters-form {
    display:grid;
    grid-template-columns:1fr
  }
  .filter-drawer .filter-field-search {
    display:flex;
    flex-direction:column;
    align-items:stretch
  }
  .video-grid {
    --card-width:min(240px,calc(50vw - 1.4rem));
    gap:.75rem
  }
  .pdp-layout {
    grid-template-columns:1fr
  }
  .video-modal-panel {
    width:100vw;
    height:100vh;
    max-height:100vh;
    margin:0;
    border-radius:0
  }
  .card-title {
    font-size:.9rem
  }
  .card-actions .button {
    min-height:2.5rem;
    padding:.55rem .7rem;
    flex:0 1 48%;
  }
  .filter-actions {
    justify-content:stretch
  }
  .filter-actions .button {
    width:100%
  }
}

@media(max-width:420px) {
  .video-grid {
    --card-width:min(100%,280px)
  }
}

.pdp-cover-wrap {
  position:relative;
  display:block;
  margin-bottom:.85rem
}

.pdp .button-primary {
  width:100%;
  max-width:380px
}

.pdp h1 strong {
  font-weight:900
}

.pdp h1 span {
  font-weight:500
}

/* v5 legal/footer/contact/consent additions */
.site-footer {
  background:#222;
  color:#f2f2f2;
  border-top:0;
  margin-top:2rem;
  padding:2rem 5vw
}

.site-footer-inner {
  max-width:var(--content-max);
  margin:0 auto
}

.footer-about h2 {
  font-size:1.05rem;
  margin:0 0 .6rem;
  color:#fff
}

.footer-about p {
  color:#d6d6d6;
  max-width:900px;
  margin:.4rem 0;
  font-size:.9rem
}

.footer-links ul {
  display:flex;
  gap:.8rem 1.2rem;
  flex-wrap:wrap;
  padding:0;
  margin:1rem 0;
  list-style:none
}

.footer-links a {
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35)
}

.footer-links a:hover {
  border-bottom-color:#fff
}

.footer-copy {
  color:#c9c9c9;
  font-size:.85rem;
  margin:1rem 0 0
}

.static-page {
  max-width:920px;
  margin:0 auto;
  padding:1.5rem 5vw 3rem
}

.static-page-header h1 {
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.05;
  margin:.5rem 0
}

.static-page-header p {
  font-size:1.05rem;
  color:#333
}

.last-updated {
  color:var(--muted)!important;
  font-size:.9rem!important
}

.static-page-content section {
  background:#fff;
  border:1px solid var(--line);
  border-radius:1rem;
  padding:1rem 1.1rem;
  margin:1rem 0
}

.static-page-content h2 {
  font-size:1.25rem;
  margin:.1rem 0 .6rem
}

.static-page-content p,.static-page-content li {
  color:#333
}

.contact-cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:.75rem;
  margin:1rem 0
}

.contact-card {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  text-align:left;
  background:#fff;
  border:1px solid var(--line);
  border-radius:1rem;
  padding:1rem;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 1px 8px rgba(0,0,0,.04)
}

.contact-card-icon {
  width:2rem;
  height:2rem;
  object-fit:contain;
  flex:0 0 auto
}

.contact-card-text {
  display:flex;
  flex-direction:column;
  gap:.1rem
}

.contact-card-text small {
  font-weight:500;
  color:var(--muted)
}

.embedded-form-section {
  background:#fff;
  border:1px solid var(--line);
  border-radius:1rem;
  padding:1rem;
  margin:1rem 0
}

.embedded-google-form {
  width:100%;
  min-height:1124px;
  border:0;
  border-radius:.75rem;
  background:#fafafa
}

.form-placeholder code {
  display:inline-block;
  background:var(--soft);
  border-radius:.5rem;
  padding:.25rem .45rem
}

.cookie-consent {
  position:fixed;
  inset:0;
  z-index:100;
  display:none
}

.cookie-consent[aria-hidden=false] {
  display:block
}

.cookie-consent-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45)
}

.cookie-consent-panel {
  position:relative;
  width:min(92vw,620px);
  max-height:88vh;
  overflow:auto;
  margin:6vh auto;
  background:#fff;
  border-radius:1.2rem;
  padding:1.2rem;
  box-shadow:0 10px 40px rgba(0,0,0,.22)
}

.cookie-consent-panel h2 {
  margin:.2rem 0 .5rem
}

.consent-options {
  display:grid;
  gap:.65rem;
  margin:1rem 0
}

.consent-option {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border:1px solid var(--line);
  border-radius:.9rem;
  padding:.8rem;
  background:#fff
}

.consent-option span {
  display:flex;
  flex-direction:column;
  gap:.15rem
}

.consent-option small {
  color:var(--muted)
}

.consent-option input {
  width:1.25rem;
  height:1.25rem
}

.consent-option-disabled {
  background:#f7f7f7
}

.cookie-actions {
  display:flex;
  justify-content:flex-end;
  gap:.65rem;
  flex-wrap:wrap
}

.site-nav a[href="/contacto.html"] {
  background:#111;
  color:#fff;
  border-color:#111
}

@media(max-width:700px) {
  .footer-links ul {
    flex-direction:column;
    gap:.55rem
  }
  .site-footer {
    padding:1.6rem 5vw
  }
  .cookie-consent-panel {
    width:100vw;
    max-height:90vh;
    margin:10vh 0 0;
    border-radius:1.2rem 1.2rem 0 0
  }
  .cookie-actions {
    display:grid;
    grid-template-columns:1fr
  }
  .cookie-actions .button {
    width:100%
  }
  .embedded-google-form {
    min-height:680px
  }
}

.contact-suggested-message {
  margin-top: 1.5rem;
}

.suggested-message-box {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: 18px;
  background: #fafafa;
}

.suggested-message-box p {
  margin: 0;
  line-height: 1.6;
}

.copy-message-button {
  justify-self: start;
}



/* =========================================================
   Home page full layout
   Hero, social links, sections, intent cards, CTA panels,
   content type pills, testimonials and contact block.
   ========================================================= */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 5vw clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(91, 36, 138, .16), transparent 32rem),
    radial-gradient(circle at 82% 8%, rgba(255, 192, 203, .22), transparent 28rem),
    linear-gradient(135deg, #fff 0%, #faf7ff 48%, #fff7fb 100%);
  border-bottom: 1px solid var(--line);
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -35% auto;
  width: 42vw;
  min-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(13, 13, 13, .04);
  pointer-events: none;
}

.home-hero-inner,
.home-section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-eyebrow,
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .75rem;
  color: #5b248a;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero-heading {
  display: grid;
  gap: .55rem;
  margin: 0 0 1rem;
}

.home-hero .home-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  max-width: 900px;
  margin: 0;
  line-height: 1;
  letter-spacing: normal;
  font-size: initial;
}

.home-hero-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .9;
  font-size: clamp(4rem, 9vw, 7rem);
  color: #111;
}

.home-hero-tagline {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
  font-size: clamp(1.45rem, 3.4vw, 2.55rem);
  color: #222;
}

.home-hero-subline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  width: fit-content;
  margin: .25rem 0 0;
  padding: .48rem .72rem;
  border: 1px solid rgba(91, 36, 138, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #6c2f83;
  font-size: clamp(.98rem, 1.65vw, 1.15rem);
  font-weight: 550;
  box-shadow: 0 1px 12px rgba(91, 36, 138, .08);
}

.home-hero-subline strong {
  color: #4b1464;
  font-weight: 900;
}

.home-hero-lead {
  max-width: 780px;
  margin: 0 0 1.4rem;
  color: #333;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.home-hero-actions,
.home-feature-actions,
.home-contact-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.home-hero-actions .button,
.home-feature-actions .button,
.home-contact-actions .button {
  min-width: 160px;
}

.home-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.home-social-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .035);
}

.home-social-links img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-section {
  padding: clamp(2.4rem, 6vw, 4.5rem) 5vw;
}

.home-section + .home-section {
  border-top: 1px solid rgba(0, 0, 0, .04);
}

.home-section-heading {
  max-width: 760px;
  margin: 0 0 1.35rem;
}

.home-section h2 {
  margin: .1rem 0 .75rem;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.home-section p {
  color: #333;
  font-size: 1rem;
}

.home-two-column {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(280px, 1.15fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: start;
}

.home-copy {
  display: grid;
  gap: .8rem;
}

.home-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.home-path-card {
  display: grid;
  gap: .55rem;
  min-height: 170px;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 1px 12px rgba(0, 0, 0, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-path-card:hover {
  transform: translateY(-2px);
  border-color: #d2d2d2;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.home-path-card span {
  font-size: 1.65rem;
}

.home-path-card strong {
  font-size: 1.08rem;
}

.home-path-card small {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.home-feature-panel,
.home-contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 1.3rem;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1px 18px rgba(0, 0, 0, .045);
}

.home-video-cta {
  background: linear-gradient(135deg, #f7f7f7 0%, #fff 100%);
}

.home-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.home-pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 1px 7px rgba(0, 0, 0, .035);
}

.home-testimonials {
  overflow: hidden;
  background: #fff;
}

.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  padding: .75rem 0 1.25rem;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: testimonial-scroll 42s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-track img {
  width: clamp(180px, 18vw, 300px);
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #f5f5f5;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}

.home-contact-cta {
  background: linear-gradient(135deg, #fff7fb 0%, #faf7ff 100%);
}

.home-contact-cards {
  margin: 0;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.home-contact-panel {
  grid-template-columns: 1fr minmax(320px, .8fr);
}

.home-contact-actions {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .home-two-column,
  .home-feature-panel,
  .home-contact-panel {
    grid-template-columns: 1fr;
  }

  .home-contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding: 2.6rem 5vw 2.2rem;
  }

  .home-hero .home-hero-title {
    gap: .35rem;
  }

  .home-hero-brand {
    font-size: clamp(3.25rem, 14vw, 5rem);
  }

  .home-hero-tagline {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .home-hero-subline {
    align-items: flex-start;
    border-radius: 1rem;
    font-size: .95rem;
    line-height: 1.35;
  }

  .home-section {
    padding: 2.2rem 5vw;
  }

  .home-hero-actions .button,
  .home-feature-actions .button,
  .home-contact-actions .button {
    width: 100%;
  }

  .home-social-links a {
    flex: 1 1 calc(50% - .5rem);
    justify-content: center;
  }

  .home-path-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-marquee {
    mask-image: none;
  }

  .testimonial-track img {
    width: 220px;
    max-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* ========================================================= Home hero side image with soft blend and subtle particles ========================================================= */
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 0;
  isolation: isolate;
}

.home-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 480px);
  max-height: 450px;
  object-fit: contain;
  border-radius: 2rem;
  filter: drop-shadow(0 22px 46px rgba(91, 36, 138, .16));
  -webkit-mask-image: radial-gradient( ellipse at center, #000 0%, #000 62%, rgba(0, 0, 0, .82) 76%, transparent 100% );
  mask-image: radial-gradient( ellipse at center, #000 0%, #000 62%, rgba(0, 0, 0, .82) 76%, transparent 100% );
}

/* Soft edge light so the image melts into the home gradient. */
.home-hero-media::before {
  content: "";
  position: absolute;
  inset: -9%;
  z-index: 2;
  pointer-events: none;
  border-radius: 2.6rem;
  background: linear-gradient(to right, rgba(250, 247, 255, .92), rgba(250, 247, 255, 0) 26%), linear-gradient(to left, rgba(255, 247, 251, .94), rgba(255, 247, 251, 0) 28%), linear-gradient(to bottom, rgba(250, 247, 255, .78), rgba(250, 247, 255, 0) 22%), linear-gradient(to top, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 28%);
}

/* Very small floating particles; decorative only. */
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: -11%;
  z-index: 3;
  pointer-events: none;
  opacity: .42;
  border-radius: 2.8rem;
  background-image: radial-gradient(circle, rgba(91, 36, 138, .42) 0 1px, transparent 1.8px), radial-gradient(circle, rgba(255, 145, 190, .34) 0 1px, transparent 1.8px), radial-gradient(circle, rgba(255, 255, 255, .75) 0 1.1px, transparent 2px);
  background-size: 38px 38px, 54px 54px, 72px 72px;
  background-position: 4px 8px, 20px 26px, 12px 18px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 42%, transparent 76%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 42%, transparent 76%);
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-media {
    justify-content: center;
  }

  .home-hero-media img {
    width: auto;
    max-width: min(100%, 360px);
    max-height: 400px;
  }
}

@media (max-width: 700px) {
  .home-hero-media {
    justify-content: center;
  }

  .home-hero-media img {
    width: auto;
    max-width: min(100%, 320px);
    max-height: 320px;
    border-radius: 1.4rem;
  }


/* =========================================================
   GA / Consent update: compact cookie banner + modal fallback
   ========================================================= */
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
}

.cookie-consent[aria-hidden=false] {
  display: block;
}

.cookie-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  pointer-events: auto;
}

.cookie-compact-panel {
  display: none;
}

.cookie-consent-compact .cookie-compact-panel {
  position: fixed;
  left: 50%;
  top: .75rem;
  transform: translateX(-50%);
  width: min(94vw, 980px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem;
  background: rgba(32,32,32,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.cookie-compact-panel p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.35;
}

.cookie-compact-panel a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-compact-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
}

.cookie-compact-actions .button {
  min-height: 2rem;
  padding: .42rem .75rem;
  border-radius: 999px;
}

.cookie-consent-compact .cookie-consent-panel {
  display: none;
}

.cookie-consent-compact.is-configuring .cookie-compact-panel {
  display: none;
}

.cookie-consent-compact.is-configuring .cookie-consent-panel,
.cookie-consent-modal .cookie-consent-panel {
  display: block;
}

.cookie-consent-panel {
  pointer-events: auto;
  position: relative;
  width: min(92vw,620px);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  margin: 1rem auto;
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
}

.cookie-consent-modal .cookie-consent-panel,
.cookie-consent-compact.is-configuring .cookie-consent-panel {
  margin: max(1rem, 5dvh) auto 1rem;
}

.cookie-actions {
  position: sticky;
  bottom: -1.2rem;
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  flex-wrap: wrap;
  margin: 1rem -1.2rem -1.2rem;
  padding: .8rem 1.2rem 1.2rem;
  background: linear-gradient(to top, #fff 78%, rgba(255,255,255,0));
}

@media(max-width:700px) {
  .cookie-consent-compact .cookie-compact-panel {
    top: auto;
    bottom: .65rem;
    width: calc(100vw - 1rem);
    border-radius: 1rem;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-compact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-consent-panel {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    margin: .5rem auto;
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .cookie-consent-modal .cookie-consent-panel,
  .cookie-consent-compact.is-configuring .cookie-consent-panel {
    margin: .5rem auto;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 1rem -1rem -1rem;
    padding: .75rem 1rem 1rem;
  }

  .cookie-actions .button {
    width: 100%;
  }
}


