/*
Theme Name:   Astra Child
Template:     astra
Version:      1.0.0
Text Domain:  astra-child
*/

:root{
  --tc-bg:#F5F3EE; --tc-white:#FFF; --tc-navy:#002750; --tc-navy-d:#001830;
  --tc-gold:#F8C700; --tc-gold-d:#D4A900; --tc-text:#0E0E0E; --tc-muted:#717171;
  --tc-border:rgba(0,0,0,.07); --tc-shadow:0 2px 8px rgba(0,0,0,.04),0 8px 40px rgba(0,0,0,.07);
  --tc-r:20px; --tc-ease:cubic-bezier(.16,1,.3,1);
  --tc-fd:'Barlow Condensed',sans-serif; --tc-fb:'Plus Jakarta Sans',sans-serif; --tc-fl:'Nunito',sans-serif;
}
body{font-family:var(--tc-fb)!important;color:var(--tc-text)!important;-webkit-font-smoothing:antialiased;}

/* ══ TAG ══ */
.tc-tag{display:inline-flex;align-items:center;gap:9px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--tc-gold)!important;margin-bottom:16px!important;}
.tc-tag::before{display:none;}

/* ══ BUTTON VARIANTS (core/button) ══ */
.wp-block-button__link{font-family:var(--tc-fb);font-weight:600;padding:13px 22px;border-radius:999px;transition:transform .25s var(--tc-ease),box-shadow .25s var(--tc-ease),background .2s,color .2s;}
.wp-block-button__link:hover{transform:translateY(-2px);}
.tc-btn-gold .wp-block-button__link{background:var(--tc-gold);color:var(--tc-navy);}
.tc-btn-gold .wp-block-button__link:hover{background:var(--tc-gold-d);box-shadow:0 8px 28px rgba(248,199,0,.28);}
.tc-btn-ghost .wp-block-button__link{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px);}
.tc-btn-ghost .wp-block-button__link:hover{background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.5);}
.tc-btn-outline .wp-block-button__link{background:transparent;color:var(--tc-navy);border:1px solid rgba(0,39,80,.22);}
.tc-btn-outline .wp-block-button__link:hover{background:var(--tc-navy);color:#fff;}

/* ══ LOGO (header html-1) ══ */
.tc-logo-link{font-family:var(--tc-fl)!important;font-size:24px!important;font-weight:900!important;color:var(--tc-navy)!important;letter-spacing:.07em!important;text-decoration:none!important;white-space:nowrap;line-height:1;}
.tc-logo-link em{font-style:normal;color:var(--tc-gold);}

/* ══ HERO ══ */
.tc-hero{padding:120px 24px 56px!important;background:var(--tc-white);}
.tc-h-hero{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;line-height:.92!important;text-transform:uppercase!important;letter-spacing:-.01em!important;margin-bottom:24px!important;}
.tc-h-hero em{font-style:normal;color:var(--tc-gold);}
.tc-hero-sub{color:var(--tc-muted)!important;max-width:460px;line-height:1.7;}
.tc-hero-cards{margin-top:48px!important;gap:16px!important;}
.tc-hcard{border-radius:var(--tc-r)!important;overflow:hidden;transition:box-shadow .35s var(--tc-ease);}
.tc-hcard:hover{box-shadow:0 24px 64px rgba(0,39,80,.16);}
.tc-hcard .wp-block-cover__image-background{transition:transform .6s var(--tc-ease)!important;transform-origin:center;}
.tc-hcard:hover .wp-block-cover__image-background{transform:scale(1.04)!important;}
.tc-hcard .wp-block-cover__background{transform-origin:bottom center;transition:transform .5s var(--tc-ease)!important;}
.tc-hcard:hover .wp-block-cover__background{transform:scaleY(1.55)!important;}
.tc-hcard .wp-block-cover__inner-container{width:100%;}
.tc-hcard-label{font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--tc-gold)!important;margin-bottom:0!important;line-height:1!important;display:flex;align-items:center;gap:8px;}
.tc-hcard-label::before{display:none;}
.tc-hcard-title{font-family:var(--tc-fd)!important;font-weight:800!important;color:#fff!important;text-transform:uppercase!important;line-height:1!important;margin:0!important;}

/* ══ BRANDS MARQUEE ══ */
.tc-brands-strip{padding:60px 0!important;overflow:hidden;}
.tc-brands-track{width:max-content;flex-wrap:nowrap!important;gap:56px!important;animation:tc-marquee 32s linear infinite;align-items:center!important;}
@keyframes tc-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
.tc-brand-logo{height:28px;width:auto;display:block;flex-shrink:0;filter:brightness(0) invert(1);opacity:.45;transition:opacity .2s;}
.tc-brand-logo:hover{opacity:.75;}

/* ══ FEATURE SECTIONS ══ */
.tc-feat .tc-feat-row{gap:0!important;align-items:stretch;margin:0;}
.tc-feat-col-img{padding:0!important;}
.tc-feat-img-el{height:100%;margin:0!important;}
.tc-feat-img-el img{width:100%;height:100%;object-fit:cover;display:block;min-height:520px;}
.tc-feat-col-text{padding:90px 72px!important;display:flex;flex-direction:column;justify-content:center;}
.tc-bg-off{background:var(--tc-bg);}
.tc-bg-w{background:var(--tc-white);}
.tc-h-feat{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;text-transform:uppercase!important;line-height:1.05!important;margin-bottom:20px!important;}
.tc-feat-p{color:var(--tc-muted)!important;line-height:1.82;margin-bottom:28px!important;max-width:420px;}
.tc-chips{gap:8px!important;margin-bottom:32px!important;}
.tc-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px!important;background:var(--tc-white);border:1px solid var(--tc-border);border-radius:999px;font-weight:500;color:var(--tc-muted)!important;margin:0!important;}
.tc-chip::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--tc-gold);}
.tc-bg-off .tc-chip{background:var(--tc-white);}
.tc-feat-btns{gap:10px!important;}

/* ══ BANNER ══ */
.tc-banner{padding:120px 24px!important;text-align:center;}
.tc-h-banner{font-family:var(--tc-fd)!important;color:#fff!important;font-weight:800!important;line-height:.91!important;text-transform:uppercase!important;letter-spacing:-.015em!important;margin-bottom:22px!important;}
.tc-h-banner em{font-style:normal;color:var(--tc-gold);}
.tc-banner-sub{font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.3)!important;}

/* ══ FAQ ══ */
.tc-faq{padding:120px 24px!important;background:var(--tc-white);}
.tc-faq-row{gap:96px!important;}
.tc-faq-intro-col{position:sticky;top:100px;}
.tc-h-faq{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;text-transform:uppercase!important;line-height:1.05!important;margin-bottom:18px!important;}
.tc-faq-intro{color:var(--tc-muted)!important;line-height:1.75;margin-bottom:32px!important;}
.tc-faq-item{border-top:1px solid var(--tc-border);padding:8px 0;}
.tc-faq-item:last-child{border-bottom:1px solid var(--tc-border);}
.tc-faq-item summary{font-weight:600;color:var(--tc-text);line-height:1.4;padding:18px 0;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;}
.tc-faq-item summary::-webkit-details-marker{display:none;}
.tc-faq-item summary::after{content:'+';font-family:var(--tc-fd);font-size:24px;color:var(--tc-muted);transition:transform .3s;}
.tc-faq-item[open] summary::after{transform:rotate(45deg);}
.tc-faq-item summary:hover{color:var(--tc-navy);}
.tc-faq-item p{color:var(--tc-muted);line-height:1.8;padding:0 0 20px;}

/* ══ ABOUT / BENTO ══ */
.tc-about{padding:96px 24px!important;}
.tc-bento{gap:14px!important;align-items:stretch;}
.tc-bento-photos{gap:14px!important;display:flex;flex-direction:column;}
.tc-bento-img{margin:0!important;height:100%;}
.tc-bento-img img{width:100%;height:100%;object-fit:cover;border-radius:var(--tc-r);display:block;min-height:180px;}
.tc-bento-stats{gap:14px!important;margin-bottom:14px!important;}
.tc-bcard{background:rgba(255,255,255,.06);border-radius:var(--tc-r);padding:32px!important;transition:background .3s;}
.tc-bcard:hover{background:rgba(255,255,255,.09);}
.tc-bcard-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.tc-stat-num{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-gold)!important;line-height:1!important;margin:0 0 8px!important;}
.tc-stat-label{font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.3)!important;margin:0!important;}
.tc-h-about{font-family:var(--tc-fd)!important;font-weight:800!important;color:#fff!important;text-transform:uppercase!important;line-height:1.06!important;margin-bottom:14px!important;}
.tc-about-p{color:rgba(255,255,255,.55)!important;line-height:1.8;margin-bottom:26px!important;}

/* ══ CONTACT ══ */
.tc-contact{padding:120px 24px!important;}
.tc-h-contact{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;text-transform:uppercase!important;line-height:1.05!important;margin-bottom:12px!important;}
.tc-contact-sub{color:var(--tc-muted)!important;margin-bottom:40px!important;}
.tc-contact-row{gap:20px!important;}
.tc-form-card{background:var(--tc-white);border:1px solid var(--tc-border);border-radius:var(--tc-r);padding:40px!important;box-shadow:var(--tc-shadow);}
.tc-info-card{background:var(--tc-white);border:1px solid var(--tc-border);border-radius:var(--tc-r);padding:28px 32px!important;box-shadow:var(--tc-shadow);margin-bottom:20px;}
.tc-info-label{letter-spacing:.16em;text-transform:uppercase;color:var(--tc-gold)!important;font-weight:700;font-size:18px!important;margin-bottom:14px!important;}
.tc-info-card p{color:var(--tc-text);margin:0 0 10px;}
.tc-info-card a{color:var(--tc-text)!important;}
.tc-info-card a:hover{color:var(--tc-navy)!important;}
.tc-info-card strong{color:var(--tc-text);}

/* Fluent Forms inside card */
.tc-form-card .ff-el-form-control{background:var(--tc-bg)!important;border:1.5px solid transparent!important;border-radius:10px!important;padding:13px 16px!important;font-family:var(--tc-fb)!important;}
.tc-form-card .ff-el-form-control:focus{border-color:var(--tc-navy)!important;background:#fff!important;}
.tc-form-card label{font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--tc-muted)!important;}
.tc-form-card .ff-btn-submit{background:var(--tc-navy)!important;color:#fff!important;border-radius:999px!important;font-weight:600!important;padding:13px 22px!important;width:100%!important;}
.tc-form-card .ff-btn-submit:hover{background:var(--tc-navy-d)!important;}

/* ══ MAP ══ */
.tc-map{margin-top:0;}
.tc-map iframe{display:block;width:100%;height:420px;border:0;}

/* ══ FULL-WIDTH PAGE FIX ══ */
body.page-id-9 .ast-container,body.page-id-9 #content,body.page-id-9 #primary,body.page-id-9 #main,body.page-id-9 article.page,body.page-id-9 .entry-content{max-width:100%!important;width:100%!important;padding:0!important;margin:0!important;}
body.page-id-9 .entry-content>.alignfull{margin-left:0;margin-right:0;}

/* ══ HEADER / FOOTER ══ */
.site-header,.ast-primary-header-bar{background:rgba(255,255,255,.88)!important;backdrop-filter:blur(24px) saturate(180%)!important;border-bottom:1px solid var(--tc-border)!important;box-shadow:none!important;}
.main-header-menu .menu-link{font-weight:500!important;color:var(--tc-muted)!important;}
.main-header-menu .menu-link:hover{color:var(--tc-text)!important;}
.ast-above-footer-bar{background:linear-gradient(45deg,#020f1e,#041e3a)!important;border-top:1px solid rgba(255,255,255,.07)!important;}
.ast-footer-bar{background:#020f1e!important;border-top:1px solid rgba(255,255,255,.07)!important;}
.ast-footer-widget-area h2.widget-title{font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--tc-gold)!important;margin-bottom:18px!important;}

/* ══ RESPONSIVE ══ */
@media(max-width:781px){
  .tc-feat-img-el img{min-height:320px;}
  .tc-feat-col-text{padding:48px 28px!important;}
  .tc-feat-shop .tc-feat-row{flex-direction:column-reverse;}
  .tc-faq-row{gap:32px!important;}
  .tc-faq-intro-col{position:static;}
  .tc-hero{padding:110px 20px 40px!important;}
}
/* ══ HEADER LOGO (tc-hdr-logo: acc.png + wordmark) ══ */
.tc-hdr-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;line-height:1;}
.tc-hdr-logo img{height:40px!important;width:auto!important;display:block;}
.tc-hdr-logo-text{font-family:var(--tc-fl)!important;font-size:24px;font-weight:900;color:var(--tc-navy);letter-spacing:.07em;white-space:nowrap;}
.tc-hdr-logo-text em{font-style:normal;color:var(--tc-gold);}

/* ══ CUSTOM HEADER BAR (astra_masthead hook) ══ */
.tc-hdr{display:flex;align-items:center;gap:24px;padding:12px 56px;width:100%;}
.tc-hdr-nav{display:flex;gap:32px;margin:0 auto;}
.tc-hdr-nav a{font-size:18px;font-weight:500;color:var(--tc-muted);text-decoration:none;transition:color .2s;}
.tc-hdr-nav a:hover{color:var(--tc-text);}
.tc-hdr-btn,a.tc-btn-navy{display:inline-flex;align-items:center;gap:8px;background:var(--tc-navy);color:#fff!important;font-weight:600;padding:12px 22px;border-radius:999px;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s;}
.tc-hdr-btn:hover{background:var(--tc-navy-d);transform:translateY(-2px);}
.tc-hdr-btn .arr{display:inline-block;transition:transform .25s;}
.tc-hdr-btn:hover .arr{transform:translateX(4px);}
@media(max-width:900px){.tc-hdr-nav{display:none;}.tc-hdr{padding:12px 20px;gap:16px;}.tc-hdr-btn{margin-left:auto;}}
.tc-chip{background:var(--tc-bg)!important;border:1px solid var(--tc-border)!important;}
.tc-bg-off .tc-chip{background:var(--tc-white)!important;}
.tc-feat-col-text.tc-bg-off{background:var(--tc-bg)!important;}
.tc-feat-col-text.tc-bg-w{background:var(--tc-white)!important;}
.tc-bento-photos{display:flex;flex-direction:column;gap:14px;height:100%;}
.tc-bento-img{flex:1 1 0!important;min-height:0!important;height:auto!important;margin:0!important;}
.tc-bento-img img{width:100%!important;height:100%!important;object-fit:cover;display:block;}

/* ══ BENTO PHOTOS — robust stacked aspect-ratio ══ */
.tc-bento{align-items:start!important;}
.tc-bento-photos{display:flex!important;flex-direction:column;gap:14px;height:auto!important;}
.tc-bento-img{flex:none!important;margin:0!important;height:auto!important;}
.tc-bento-img img{width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:var(--tc-r);}

/* ══ MAP (Spectra google-map uses <embed>) ══ */
.tc-map,.wp-block-uagb-google-map{width:100%!important;margin:0!important;}
.uagb-google-map__wrap{width:100%!important;line-height:0;}
.tc-map embed,.tc-map iframe,.uagb-google-map__iframe{width:100%!important;height:420px!important;display:block;border:0;}

/* ══ FOOTER WIDTH + COLUMN SPACING ══ */
.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row{max-width:1300px!important;}
.site-above-footer-wrap[data-section="section-above-footer-builder"] .site-footer-above-section-1,
.site-above-footer-wrap[data-section="section-above-footer-builder"] .site-footer-above-section-3{margin-right:50px!important;}

/* ══ FOOTER WIDGET CONTRAST ══ */
.site-above-footer-wrap .widget-title,.ast-above-footer-bar .widget-title{color:#F8C700!important;text-transform:uppercase!important;letter-spacing:.14em!important;font-weight:700!important;margin-bottom:18px!important;}
.site-above-footer-wrap p,.site-above-footer-wrap li,.site-above-footer-wrap span{color:rgba(255,255,255,0.72)!important;}
.site-above-footer-wrap a{color:rgba(255,255,255,0.78)!important;text-decoration:none;}
.site-above-footer-wrap a:hover{color:#fff!important;}
.site-above-footer-wrap strong{color:#fff!important;}

/* ══ FEATURE GRID (2x2 with dividers — matches design, overrides pill chips) ══ */
.tc-chips{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin-bottom:32px!important;max-width:440px;}
.tc-chip{display:flex!important;align-items:center;justify-content:center;text-align:center;padding:20px 22px!important;font-weight:600!important;color:var(--tc-text)!important;background:transparent!important;border:none!important;border-radius:0!important;margin:0!important;line-height:1.35;}
.tc-chip::before{display:none!important;}
.tc-chip:nth-child(1),.tc-chip:nth-child(2){border-bottom:1px solid var(--tc-border)!important;}
.tc-chip:nth-child(odd){border-right:1px solid var(--tc-border)!important;}

/* ══ FEATURE GRID — force transparent cells (beat .tc-bg-off .tc-chip specificity) ══ */
.wp-block-column.tc-feat-col-text .tc-chips{background:transparent!important;}
.wp-block-column.tc-feat-col-text .tc-chip{background:transparent!important;border-color:var(--tc-border)!important;}

/* ═════ DESIGN-MATCH PASS ═════ */
body.page-id-9 .tc-hero-sub{max-width:460px!important;}
.tc-hcard.wp-block-cover{aspect-ratio:16/9!important;min-height:0!important;padding:0!important;justify-content:flex-end!important;}
.tc-hcard .wp-block-cover__background{background:linear-gradient(to top,rgba(0,15,45,.88) 0%,rgba(0,15,45,.28) 50%,transparent 100%)!important;opacity:1!important;}
.tc-hcard .wp-block-cover__inner-container{width:100%;padding:16px 24px!important;background:rgba(255,255,255,.1)!important;-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);border-top:1px solid rgba(255,255,255,.18);}
.tc-hcard-row{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:12px;}
.tc-hcard-row .wp-block-buttons{margin:0;flex-shrink:0;}
.tc-hcard-title{margin:0!important;}
.tc-feat{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;}
.tc-feat .wp-block-columns{gap:0!important;margin:0!important;max-width:none!important;width:100%!important;}
.tc-feat .wp-block-column{margin:0!important;}
.tc-feat-col-text{position:relative;overflow:hidden;padding:120px 80px!important;}
.tc-feat-service .tc-feat-col-text,.tc-feat-shop .tc-feat-col-text{padding:140px 80px!important;}
@media(max-width:1024px){.tc-feat-service .tc-feat-col-text,.tc-feat-shop .tc-feat-col-text{padding:100px 52px!important;}}
@media(max-width:781px){.tc-feat-service .tc-feat-col-text,.tc-feat-shop .tc-feat-col-text{padding:56px 28px!important;}}
.tc-feat-col-text>*{position:relative;z-index:1;}
.tc-feat-service .tc-feat-col-text::before,.tc-feat-shop .tc-feat-col-text::before{position:absolute;right:-10px;bottom:-40px;font-family:var(--tc-fd);font-size:170px;font-weight:800;line-height:1;color:var(--tc-navy);opacity:.04;pointer-events:none;z-index:0;}
.tc-feat-service .tc-feat-col-text::before{content:'SERVICE';}
.tc-feat-shop .tc-feat-col-text::before{content:'MAGAZIN';}
.tc-feat-img-el img{min-height:600px!important;}
.tc-faq-list-col{counter-reset:tcfaq;}
.tc-faq-item{padding:0!important;}
.tc-faq-item summary{display:grid!important;grid-template-columns:40px 1fr 20px;gap:16px;align-items:center;padding:22px 0!important;}
.tc-faq-item summary::before{counter-increment:tcfaq;content:counter(tcfaq,decimal-leading-zero);font-family:var(--tc-fd);font-weight:700;color:var(--tc-gold)!important;letter-spacing:.06em;}
.tc-faq-item p{padding:0 0 22px 56px!important;}
.tc-bento{align-items:stretch!important;}
.tc-bento-photos{display:flex!important;flex-direction:column;gap:14px;height:auto!important;}
.tc-bento-img{flex:1 1 0!important;min-height:0!important;height:auto!important;margin:0!important;}
.tc-bento-img img{height:100%!important;width:100%!important;object-fit:cover;aspect-ratio:auto!important;border-radius:var(--tc-r);}
.tc-bento-right{display:flex!important;flex-direction:column;gap:14px;}
.tc-bento-stats{margin:0!important;flex:0 0 auto;}
.tc-bcard-story{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;}
.tc-dept-toggle .ff-el-input--content{display:flex!important;gap:6px;background:var(--tc-bg);padding:4px;border-radius:10px;}
.tc-dept-toggle .ff-el-form-check{flex:1;margin:0!important;position:relative;display:flex;}
.tc-dept-toggle .ff-el-form-check input{position:absolute;opacity:0;width:0;height:0;}
.tc-dept-toggle .ff-el-form-check label{flex:1;text-align:center;padding:10px 12px;border-radius:7px;cursor:pointer;color:var(--tc-muted);font-weight:600;margin:0!important;transition:all .2s;}
.tc-dept-toggle input:checked + label{background:var(--tc-gold);color:var(--tc-navy);box-shadow:0 1px 4px rgba(0,0,0,.1);}
.tc-info-card p:not(.tc-info-label){display:flex;align-items:flex-start;gap:12px;}
.tc-info-card p:not(.tc-info-label)::before{content:'';width:30px;height:30px;flex-shrink:0;border-radius:8px;background-color:var(--tc-navy);background-repeat:no-repeat;background-position:center;background-size:14px 14px;}
.tc-info-card p:nth-of-type(2)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F8C700%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07A19.5%2019.5%200%200%201%204.69%2012%2019.79%2019.79%200%200%201%201.58%203.41%202%202%200%200%201%203.55%201h3a2%202%200%200%201%202%201.72c.13%201%20.37%201.97.72%202.9a2%202%200%200%201-.45%202.11L7.91%208.96a16%2016%200%200%200%206.13%206.13l.96-.96a2%202%200%200%201%202.11-.45c.93.35%201.9.59%202.9.72A2%202%200%200%201%2022%2016.92z%22%2F%3E%3C%2Fsvg%3E");}
.tc-info-card p:nth-of-type(3)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F8C700%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2z%22%2F%3E%3Cpolyline%20points%3D%2222%2C6%2012%2C13%202%2C6%22%2F%3E%3C%2Fsvg%3E");}
.tc-info-card p:nth-of-type(4)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F8C700%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M21%2010c0%207-9%2013-9%2013s-9-6-9-13a9%209%200%200%201%2018%200z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");}
.tc-contact-row{align-items:stretch!important;}
.tc-contact-info{display:flex!important;flex-direction:column;gap:20px;}
.tc-info-card{flex:1 1 0!important;margin:0!important;}
.site-above-footer-wrap,.ast-above-footer-bar,.site-below-footer-wrap,.ast-footer-bar,.site-primary-footer-wrap,.site-primary-footer-wrap[data-section="section-primary-footer-builder"]{background:linear-gradient(45deg,#020f1e,#041e3a)!important;}
.ast-footer-bar,.site-below-footer-wrap{border-top:1px solid rgba(255,255,255,.07)!important;}
.ast-footer-bar .ast-builder-grid-row,.site-below-footer-inner-wrap{justify-content:center!important;text-align:center!important;}
.ast-footer-copyright{text-align:center!important;width:100%;color:rgba(255,255,255,.5)!important;}

/* ══ DEPT TOGGLE — corrected for Fluent Forms markup (input inside label, .ff_item_selected) ══ */
.tc-dept-toggle .ff-el-input--content{display:flex!important;gap:4px;background:var(--tc-bg);padding:4px;border-radius:10px;}
.tc-dept-toggle .ff-el-form-check{flex:1;margin:0!important;padding:0!important;}
.tc-dept-toggle .ff-el-form-check input[type=radio]{position:absolute!important;opacity:0!important;width:0;height:0;margin:0;}
.tc-dept-toggle .ff-el-form-check-label{display:flex;align-items:center;justify-content:center;width:100%;padding:10px 12px!important;border-radius:7px;cursor:pointer;color:var(--tc-muted)!important;font-weight:600;margin:0!important;transition:all .2s;}
.tc-dept-toggle .ff-el-form-check.ff_item_selected .ff-el-form-check-label{background:var(--tc-gold);color:var(--tc-navy)!important;box-shadow:0 1px 4px rgba(0,0,0,.1);}

/* ═════ DESIGN FIX PASS 2 — REVISED 2026-06-17 ═════ */

/* 1 & 6 — Pre-header tag alignment.
   Root cause: .tc-tag was display:inline-flex (inline-level), so Gutenberg's
   constrained layout rule (margin:auto + max-width) had no effect on it — it sat
   at left-0 while block-level siblings (h1, h2) were centered with auto-margins.
   Fix: make .tc-tag a block-level flex container so it gets the same centering. */
.tc-tag {
  display: flex !important;
}

/* 2 — Hero paragraph: left-aligned, starting from same left edge as the H1.
   The h1's left edge = hero-padding-left (24px) + auto-margin = (content-box - 1280px) / 2.
   The paragraph needs the same left offset. Use calc() to mirror the h1's auto-margin:
   100% here = .tc-hero content-box width (viewport - 48px), same base the h1 uses.
   max(0px, ...) prevents negative margins on viewports narrower than 1280px. */
.tc-hero .tc-hero-sub {
  text-align: left !important;
  margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
  margin-right: 0 !important;
  max-width: 460px !important;
}

/* 3 — Hero cards: all content at bottom, label above title+button row */
.tc-hcard.wp-block-cover {
  justify-content: flex-end !important;
}
.tc-hcard .wp-block-cover__inner-container {
  width: 100% !important;
  padding: 20px 24px !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-top: none !important;
}
.tc-hcard-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
.tc-hcard-row .tc-hcard-title {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.tc-hcard-row .wp-block-buttons {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* 4 — FAQ sticky left column: overflow:hidden on any ancestor breaks sticky */
.tc-faq {
  overflow: visible !important;
}
.tc-faq-row {
  align-items: flex-start !important;
  overflow: visible !important;
}
.tc-faq-row > .wp-block-column {
  overflow: visible !important;
}

/* 5 — About bento: implement the design's exact CSS Grid.
   Design: grid-template-columns:1.1fr 1fr 1fr; grid-template-rows:1fr 1fr; height:620px.
   WP nests stat1+stat2 inside tc-bento-right, so we use two nested grids:
   Outer bento: 2 cols (1.1fr + 2fr), fixed 620px row height.
   Photo col: grid with 2 equal rows (1fr 1fr) for the two images.
   Right col: grid with 2 equal rows (stats row + story row).
   Stats row: grid with 2 equal cols (stat1 + stat2).
   All gaps 14px → all row/col boundaries are perfectly flush. */

@media(min-width:901px){ /* desktop-only bento grid */
/* Outer bento: convert wp-block-columns flex to CSS grid */
.wp-block-columns.tc-bento {
  display: grid !important;
  grid-template-columns: 1.1fr 2fr !important;
  grid-template-rows: 740px !important;
  gap: 14px !important;
  align-items: unset !important;
}

/* Photo column: 2 stacked images, equal rows */
.wp-block-column.tc-bento-photos {
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 14px !important;
  height: 100% !important;
  flex-basis: unset !important;
  min-width: 0 !important;
}

/* Right column: 2 rows (stats top, story bottom) */
.wp-block-column.tc-bento-right {
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  grid-template-columns: unset !important;
  gap: 14px !important;
  height: 100% !important;
  flex-basis: unset !important;
  min-width: 0 !important;
  flex-direction: unset !important;
}

/* Stats row: 2 equal columns for stat cards */
.wp-block-columns.tc-bento-stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  flex: unset !important;
  align-items: unset !important;
}

/* Each stat card fills its grid cell */
.tc-bento-stats > .wp-block-column {
  height: 100% !important;
  flex-basis: unset !important;
  min-width: 0 !important;
  width: unset !important;
}

/* Story card: fix Gutenberg's margin-block-start:24px that offsets it 24px below img2 */
.wp-block-group.tc-bcard-story {
  flex: unset !important;
  min-height: 0 !important;
  overflow: visible !important;
  height: 100% !important;
  margin-block-start: 0 !important;
}
/* Zero out Gutenberg's is-layout-flow margin-block-start:24px on story children.
   These 3×24px=72px of unwanted top margins push scrollHeight from ~289px to 361px,
   making content overflow the 303px grid cell and get clipped. */
.tc-bcard-story > * {
  margin-block-start: 0 !important;
}
}

/* 7 — Footer bottom bar: match design (padding:20px 56px, centered content, stacked) */
.ast-footer-bar,
.site-below-footer-wrap {
  padding: 20px 56px !important;
}
.ast-footer-bar .ast-builder-grid-row,
.ast-footer-bar .site-below-footer-inner-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
}
.ast-footer-copyright p,
.ast-footer-copyright {
  color: rgba(255,255,255,.7) !important;
  text-align: center !important;
  line-height: 1.7 !important;
}
.ast-footer-copyright p span {
  opacity: 1 !important;
  color: rgba(255,255,255,.5) !important;
}

/* 9 — Contact info cards: fix opening-times / address line layout.
   Inside display:flex, <br> becomes a flex item — it doesn't break the line.
   Switch to block + absolute icon so <br> works normally. */
.tc-info-card p:not(.tc-info-label) {
  display: block !important;
  padding-left: 42px !important;
  position: relative !important;
}
.tc-info-card p:not(.tc-info-label)::before {
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
}

/* Body / paragraph text */
.tc-feat-p      { line-height: 1.82 !important; }
.tc-banner-sub  { letter-spacing: .2em !important; }

/* Small / UI elements */
.tc-chip        { font-weight: 600 !important; }
.tc-stat-label  { letter-spacing: .14em !important; }

/* ═════ FOOTER FIX PASS — real selectors (verified live) 2026-06-17 ═════ */
/* Main footer (widget area): bigger top/bottom padding to match design */
.site-above-footer-wrap[data-section="section-above-footer-builder"],.site-above-footer-wrap{padding-top:80px!important;padding-bottom:64px!important;}
/* Separator line between footer and bottom bar: subtle, not white */
.site-primary-footer-wrap{border-top:1px solid rgba(255,255,255,.07)!important;padding-top:30px!important;padding-bottom:30px!important;}
/* Bottom bar: center the copyright (it sits in grid column 3 by default) */
.site-primary-footer-inner-wrap{display:flex!important;grid-template-columns:none!important;justify-content:center!important;align-items:center!important;}
.site-footer-primary-section-1,.site-footer-primary-section-2{display:none!important;}
.site-footer-primary-section-3{width:100%!important;display:flex!important;justify-content:center!important;}
.site-primary-footer-wrap .ast-footer-copyright{width:100%!important;justify-content:center!important;text-align:center!important;}

/* ═════ FOOTER TEXT SIZE + BOTTOM-BAR PADDING 2026-06-17 ═════ */
/* Bigger titles in main footer */
.site-above-footer-wrap .widget-title{margin-bottom:22px!important;}
/* Bigger description paragraph (widget 1) */
#custom_html-101 .textwidget > p{line-height:1.75!important;}
/* Bottom bar: half the previous top/bottom padding (30px -> 15px) */
.site-primary-footer-wrap{padding-top:15px!important;padding-bottom:15px!important;}

/* ═════ FEATURE IMG: let TEXT drive row height (fixes service dead space) 2026-06-17 ═════ */
/* service.webp is square -> its intrinsic height stretched the row taller than the text,
   and justify-content:center split the leftover into dead space. Absolutely position the
   image so the column collapses and the row height = text column height. */
.tc-feat-col-img{position:relative!important;overflow:hidden!important;}
.tc-feat-img-el{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;}
.tc-feat-img-el img{width:100%!important;height:100%!important;object-fit:cover!important;min-height:0!important;}

/* Spacing between contact-card items (phone / email / address) */
.tc-info-card p:not(.tc-info-label){margin-bottom:16px!important;}
.tc-info-card p:not(.tc-info-label):last-child{margin-bottom:0!important;}

/* ═════ SUBPAGE: Magazin Piese Auto 2026-06-17 ═════ */
.tc-section{padding:90px 24px!important;}
.tc-center{text-align:center;}
.tc-center .tc-tag{justify-content:center!important;}
.tc-center .tc-feat-p,.tc-center .tc-about-p,.tc-center .tc-hero-sub{margin-left:auto!important;margin-right:auto!important;}
.tc-steps{margin-top:44px!important;gap:16px!important;align-items:stretch!important;}
.tc-steps .wp-block-column{display:flex!important;}
.tc-steps .tc-info-card{margin:0!important;width:100%!important;padding:32px!important;}
.tc-step-num{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-gold)!important;line-height:1!important;margin:0 0 12px!important;}
.tc-step-title{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;text-transform:uppercase!important;line-height:1.1!important;margin:0 0 10px!important;}
.tc-step-text{color:var(--tc-muted)!important;line-height:1.75!important;margin:0!important;}
.tc-h-oil{font-family:var(--tc-fd)!important;color:#fff!important;text-transform:uppercase!important;font-weight:800!important;margin:0 0 30px!important;padding:0 24px!important;}
.tc-brands-strip.tc-center .tc-tag{margin-bottom:10px!important;}
.tc-contact .tc-info-card{margin:0 auto 20px!important;max-width:520px!important;}

/* Steps reuse .tc-info-card but must NOT inherit the contact-card phone/email/pin icons */
.tc-steps .tc-info-card p:not(.tc-info-label)::before{display:none!important;content:none!important;}
.tc-steps .tc-info-card p:not(.tc-info-label){padding-left:0!important;}

.tc-contact .wp-block-buttons{justify-content:center!important;}

html{scroll-behavior:smooth;}
#magazin{scroll-margin-top:96px;}

/* header-offset for in-page anchor targets on the homepage */
.tc-feat,.tc-faq,.tc-about,.tc-contact,#magazin,#service,#shop,#faq,#about,#contact{scroll-margin-top:90px!important;}

/* HFB header CTA button (button1) — brand navy pill */
.site-header a.ast-custom-button-link{background:var(--tc-navy)!important;border-radius:999px!important;padding:8px 18px!important;font-weight:600!important;display:inline-flex;align-items:center;gap:8px;text-decoration:none!important;transition:background .2s,transform .2s;border:none!important;}
.site-header a.ast-custom-button-link,
.site-header a.ast-custom-button-link:hover,
.site-header a.ast-custom-button-link:focus,
.site-header a.ast-custom-button-link:active,
.site-header a.ast-custom-button-link .ast-custom-button,
.site-header a.ast-custom-button-link:hover .ast-custom-button,
.site-header a.ast-custom-button-link:focus .ast-custom-button,
.site-header a.ast-custom-button-link:active .ast-custom-button{color:#fff!important;}
.site-header a.ast-custom-button-link:hover{background:var(--tc-navy-d)!important;transform:translateY(-2px);}

/* Keep viewport (not <body>) as the scroll container so sticky header, native
   anchors and window.scrollTo work. Astra core sets body{overflow-x:hidden}
   which forces overflow-y:auto -> body becomes a scroller. 'clip' clips the
   horizontal overflow WITHOUT establishing a scroll container. */
html{overflow-x:clip;}
body{overflow-x:visible!important;}

/* Ensure the sticky header sits above page content */
.ast-primary-header-bar.ast-header-sticked,#masthead .ast-header-sticked,.ast-sticky-active{z-index:9999!important;}
#ast-fixed-header,.ast-primary-sticky-enabled #masthead{z-index:9999!important;}

/* ══ Custom sticky header (pins #masthead on scroll) ══ */
#masthead{transition:background .25s ease,box-shadow .25s ease;}
body.tc-stuck #masthead{position:fixed!important;top:0;left:0;right:0;width:100%!important;z-index:9990!important;background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 4px 24px rgba(0,39,80,.08)!important;border-bottom:1px solid var(--tc-border)!important;}
body.admin-bar.tc-stuck #masthead{top:32px;}
@media(max-width:782px){body.admin-bar.tc-stuck #masthead{top:46px;}}
body.tc-stuck #masthead .tc-hdr-logo-text{color:var(--tc-navy)!important;}
body.tc-stuck #masthead .main-header-menu .menu-link{color:var(--tc-muted)!important;}

/* Dark (navy) buttons: keep white text on hover + consistent lift */
/* FAQ 'Ai altă întrebare?' — plain navy wp-block-button (a:hover was darkening text) */
.tc-faq .wp-block-button__link,
.tc-faq .wp-block-button__link:hover,
.tc-faq .wp-block-button__link:focus,
.tc-faq .wp-block-button__link:active{color:#fff!important;}
.tc-faq .wp-block-button__link:hover{background:var(--tc-navy-d)!important;transform:translateY(-2px);}
/* Contact form 'Trimite mesajul' — match the same hover effect */
.tc-form-card .ff-btn-submit{transition:background .2s,transform .25s var(--tc-ease)!important;}
.tc-form-card .ff-btn-submit:hover,
.tc-form-card .ff-btn-submit:focus{background:var(--tc-navy-d)!important;color:#fff!important;transform:translateY(-2px);}

/* ══ Inner-page hero modifier (smaller H1 than the homepage hero) ══ */
.tc-hero-inner{padding-top:120px!important;padding-bottom:120px!important;}
.tc-hero-inner .tc-h-hero{line-height:1.02!important;margin-bottom:18px!important;}

/* Magazin contact: content left, focused map right (fills column height) */
.tc-contact-cols{align-items:stretch!important;gap:40px!important;}
.tc-contact-cols .tc-map-col{display:flex!important;flex-direction:column;margin:0!important;}
.tc-contact-cols .tc-map-col .tc-map{flex:1 1 auto;width:100%!important;border-radius:var(--tc-r);overflow:hidden;box-shadow:var(--tc-shadow);min-height:460px;margin:0!important;}
.tc-contact-cols .tc-map-col #tcma-map{height:100%!important;min-height:460px;}
@media(max-width:781px){.tc-contact-cols .tc-map-col .tc-map{min-height:340px;}}

/* ══ Magazin contact: full-bleed split (map fills entire right side) ══ */
.tc-contact-split{padding:0!important;max-width:none!important;}
.tc-contact-split > .tc-contact-cols{max-width:none!important;width:100%!important;margin:0!important;gap:0!important;align-items:stretch!important;}
.tc-contact-split .tc-contact-cols > .wp-block-column{margin:0!important;}
.tc-contact-split .tc-contact-cols > .wp-block-column:first-child{padding:80px!important;}
.tc-contact-split .tc-map-col{padding:0!important;}
.tc-contact-split .tc-map-col .tc-map{border-radius:0!important;box-shadow:none!important;height:100%!important;min-height:100%!important;margin:0!important;}
.tc-contact-split .tc-map-col #tcma-map{height:100%!important;min-height:480px;}

/* Inner-page hero: mobile padding */
@media(max-width:781px){.tc-hero-inner{padding:60px 32px!important;}}

/* ══ Service page: services card grid ══ */
.tc-cards-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px!important;margin-top:44px!important;}
.tc-cards-grid .tc-info-card{margin:0!important;padding:32px!important;height:100%;}
.tc-cards-grid .tc-info-card .tc-step-title{margin-top:0!important;}
.tc-cards-grid .tc-info-card p:not(.tc-info-label)::before{display:none!important;content:none!important;}
.tc-cards-grid .tc-info-card p:not(.tc-info-label){padding-left:0!important;}
@media(max-width:1024px){.tc-cards-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:781px){.tc-cards-grid{grid-template-columns:1fr;}}

/* ══ FAQ page contact columns ══ */
.tc-faq-contact .tc-faq-contact-cols{gap:24px!important;margin-top:36px!important;align-items:stretch!important;}
.tc-faq-contact .tc-faq-contact-cols > .wp-block-column{display:flex;flex-direction:column;}
.tc-faq-contact .tc-info-card{text-align:left;margin:0!important;}
.tc-faq-contact .wp-block-buttons{justify-content:center!important;margin-top:16px!important;}

/* ══ Contact + Despre pages ══ */
.tc-loc-note{color:var(--tc-text)!important;line-height:1.7!important;margin:14px 0 18px!important;}
.tc-cards-grid.tc-grid-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:1024px){.tc-cards-grid.tc-grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.tc-cards-grid.tc-grid-4{grid-template-columns:1fr;}}
.tc-harta .tc-map{border-radius:var(--tc-r);overflow:hidden;box-shadow:var(--tc-shadow);margin-top:36px;}
body.page-id-57 .tc-contact-info .tc-info-card{flex:0 0 auto!important;}
body.page-id-57 .tc-contact-info{justify-content:flex-start!important;}

/* loc-note inside contact card: no icon square, tighter */
.tc-info-card .tc-loc-note::before{display:none!important;content:none!important;}
.tc-info-card .tc-loc-note{padding-left:0!important;margin:14px 0 4px!important;}
.tc-info-card .wp-block-buttons{margin-top:14px!important;}

/* Contact page HARTA: heading spacing + full-bleed map flush to footer */
.tc-harta{padding-bottom:0!important;}
.tc-harta .tc-h-contact{margin-bottom:34px!important;}
.tc-harta .tc-map{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;margin-top:0!important;margin-bottom:0!important;border-radius:0!important;box-shadow:none!important;}
.tc-harta .tc-map #tcma-map{width:100%!important;}

/* Despre: story section navy bg + white text */
.tc-story .tc-h-feat{color:#fff!important;}
.tc-story .tc-feat-p{color:rgba(255,255,255,.78)!important;}

/* Contact HARTA: grey bg + no top padding */
.tc-harta{background-color:#f5f3ee!important;padding-top:0!important;}
body.page-id-57 .tc-harta{background-color:#fff!important;padding-top:80px!important;}

/* Contact-card text links: 1px bottom border instead of underline, hidden on hover */
.tc-info-card p a{text-decoration:none!important;border-bottom:1px solid currentColor;padding-bottom:1px;transition:border-color .15s ease;}
.tc-info-card p a:hover,.tc-info-card p a:focus{border-bottom-color:transparent!important;text-decoration:none!important;}

/* HERO DECOR - map graphic, top-right, pseudo-element only */
.tc-hero{position:relative;isolation:isolate;overflow:clip;}
.tc-hero>*{position:relative;z-index:1;}
.tc-hero::after{content:'';position:absolute;top:0;right:0;width:min(69%,800px);aspect-ratio:1179/797;opacity:.75;pointer-events:none;z-index:0;background:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/bg2-1.webp') top right/contain no-repeat;}
/* Hero: video replaces the bg image (same position) on all hero sections */
.tc-hero:has(.tc-hero-video)::after{display:none!important;}
.tc-hero-video{position:absolute;top:0;right:0;width:min(69%,1000px);aspect-ratio:16/9;opacity:.75;pointer-events:none;z-index:0;object-fit:contain;object-position:top right;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 10%),linear-gradient(to top,transparent 0%,#000 10%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0%,#000 10%),linear-gradient(to top,transparent 0%,#000 10%);mask-composite:intersect;}
@media(max-width:781px){.tc-hero::after{width:80%;opacity:.1;}}

/* Contact form submit button - force full opacity */
.fluentform .ff-btn-submit,.fluentform .ff-btn-submit:hover,.fluentform .ff-btn-submit:focus{opacity:1!important;}

/* Blue (navy) buttons -> yellow (gold) bg on hover */
.tc-hdr-btn:hover,a.tc-btn-navy:hover{background:var(--tc-gold)!important;color:var(--tc-navy)!important;}
.site-header a.ast-custom-button-link:hover{background:var(--tc-gold)!important;}
.site-header a.ast-custom-button-link:hover,.site-header a.ast-custom-button-link:hover .ast-custom-button{color:var(--tc-navy)!important;}
.tc-faq .wp-block-button__link:hover{background:var(--tc-gold)!important;color:var(--tc-navy)!important;}
.tc-form-card .ff-btn-submit:hover,.tc-form-card .ff-btn-submit:focus{background:var(--tc-gold)!important;color:var(--tc-navy)!important;}

/* header button: inner div transparent so only one element animates */
.site-header a.ast-custom-button-link .ast-custom-button{background:transparent!important;transition:color .2s;}

/* footer links gold on hover */
.site-footer a{transition:color .2s;}
.site-footer a:hover{color:var(--tc-gold)!important;}

/* About/bento mobile stack (final, robust) */
@media(max-width:900px){
  .wp-block-columns.tc-bento{display:flex!important;flex-direction:column!important;gap:32px!important;height:auto!important;align-items:stretch!important;}
  .wp-block-column.tc-bento-photos,.wp-block-column.tc-bento-right{display:contents!important;}
  .tc-bento-photos>.tc-bento-img:first-child{order:1!important;}
  .wp-block-columns.tc-bento-stats{order:2!important;}
  .tc-bento-photos>.tc-bento-img:last-child{order:3!important;}
  .tc-bcard-story{order:4!important;margin-block-start:0!important;}
  .tc-bento-img{flex:0 0 auto!important;height:auto!important;margin:0!important;}
  .tc-bento-img img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;min-height:0!important;}
  .wp-block-columns.tc-bento-stats{display:flex!important;flex-direction:row!important;gap:16px!important;height:auto!important;margin:0!important;}
  .tc-bento-stats>.wp-block-column{flex:1 1 0!important;height:auto!important;width:auto!important;min-width:0!important;}
  .tc-bcard,.tc-bcard-story{height:auto!important;}
}
@media(max-width:560px){
  .wp-block-columns.tc-bento-stats{flex-direction:column!important;}
  .tc-about{padding:64px 20px!important;}
}

/* Footer: horizontal padding on mobile */
@media(max-width:921px){
  .site-footer .site-above-footer-wrap{padding-left:24px!important;padding-right:24px!important;}
}

/* Footer yellow section titles: top margin (mobile only) */
@media(max-width:921px){
  .site-above-footer-wrap .widget-title,.ast-above-footer-bar .widget-title{margin-top:32px!important;}
}

/* Contact form: GDPR consent under the submit button */
.tc-form-card form > fieldset{display:flex;flex-direction:column;}
.tc-form-card .ff_submit_btn_wrapper{order:1;}
.tc-form-card .ff-el-group.tc-gdpr{order:2;margin-top:14px;margin-bottom:0;}
.tc-form-card .tc-gdpr label{font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:var(--tc-muted)!important;line-height:1.5;}
.tc-form-card .tc-gdpr .ff-el-form-check{display:flex;gap:8px;align-items:flex-start;}

/* Home contact: equal-height info cards, full width, closer to form */
body.page-id-9 .tc-contact .tc-contact-row{gap:16px!important;align-items:stretch!important;}
body.page-id-9 .tc-contact .tc-contact-info{display:flex!important;flex-direction:column!important;gap:16px!important;}
body.page-id-9 .tc-contact .tc-info-card{flex:1 1 0!important;margin:0!important;max-width:none!important;}

/* Contact page: info cards full width + closer to form */
body.page-id-57 .tc-contact .tc-contact-row{gap:16px!important;}
body.page-id-57 .tc-contact .tc-info-card{margin:0!important;max-width:none!important;}
body.page-id-57 .tc-contact .tc-contact-info{gap:16px!important;}

/* Magazin/Service contact: space between h2 and card + button inside card */
.tc-contact-split .tc-h-contact{margin-bottom:32px!important;}
.tc-contact-split .tc-info-card .tc-feat-btns{margin-top:24px!important;}

/* Cards grid: center a lone last card in its row */
@media(min-width:1025px){
  body.page-id-53 .tc-cards-grid:not(.tc-grid-4) .tc-info-card:last-child:nth-child(3n+1){grid-column:1 / -1;justify-self:center;width:calc((100% - 32px)/3);}
}
@media(min-width:782px) and (max-width:1024px){
  body.page-id-53 .tc-cards-grid:not(.tc-grid-4) .tc-info-card:last-child:nth-child(2n+1){grid-column:1 / -1;justify-self:center;width:calc((100% - 16px)/2);}
}

/* Watermark SERVICE/MAGAZIN: keep on one line, smaller on mobile */
.tc-feat-service .tc-feat-col-text::before,.tc-feat-shop .tc-feat-col-text::before{white-space:nowrap!important;}
@media(max-width:781px){
  .tc-feat-service .tc-feat-col-text::before,.tc-feat-shop .tc-feat-col-text::before{font-size:84px!important;}
}
@media(max-width:480px){
  .tc-feat-service .tc-feat-col-text::before,.tc-feat-shop .tc-feat-col-text::before{font-size:58px!important;}
}

/* Service/Shop feature section: tighter element spacing */
.tc-feat-service .tc-feat-col-text .tc-tag,.tc-feat-shop .tc-feat-col-text .tc-tag{margin-top:0!important;margin-bottom:10px!important;}
.tc-feat-service .tc-feat-col-text .tc-h-feat,.tc-feat-shop .tc-feat-col-text .tc-h-feat{margin-top:0!important;margin-bottom:18px!important;}
.tc-feat-service .tc-feat-col-text .tc-feat-p,.tc-feat-shop .tc-feat-col-text .tc-feat-p{margin-top:0!important;margin-bottom:24px!important;}
.tc-feat-service .tc-feat-col-text .tc-chips,.tc-feat-shop .tc-feat-col-text .tc-chips{margin-top:0!important;margin-bottom:24px!important;grid-template-columns:1fr!important;max-width:340px!important;}
.tc-feat-service .tc-feat-col-text .tc-chip,.tc-feat-shop .tc-feat-col-text .tc-chip{justify-content:flex-start!important;text-align:left!important;transition:background .15s,color .15s;cursor:default;border-radius:0!important;border:none!important;border-bottom:1px solid var(--tc-border)!important;padding:12px 16px 12px 38px!important;position:relative!important;}
.tc-feat-service .tc-feat-col-text .tc-chip::before,.tc-feat-shop .tc-feat-col-text .tc-chip::before{content:''!important;display:block!important;position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;width:16px!important;height:16px!important;border-radius:0!important;background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8C700' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:contain!important;}
.tc-feat-service .tc-feat-col-text .tc-chips,.tc-feat-shop .tc-feat-col-text .tc-chips{border-top:1px solid var(--tc-border)!important;}
.tc-feat-service .tc-feat-col-text .tc-chip:hover,.tc-feat-shop .tc-feat-col-text .tc-chip:hover{background:var(--tc-navy)!important;color:#fff!important;border-bottom-color:var(--tc-navy)!important;transition-delay:0s!important;}
.tc-feat-service .tc-feat-col-text .wp-block-buttons,.tc-feat-shop .tc-feat-col-text .wp-block-buttons{margin-top:0!important;}

/* Watermark SERVICE/MAGAZIN: align to bottom edge, kill line-height gap */
.tc-feat-service .tc-feat-col-text::before,.tc-feat-shop .tc-feat-col-text::before{bottom:0!important;line-height:0.78!important;}

/* Mobile off-canvas: contact details pinned to bottom */
#ast-mobile-popup .ast-mobile-popup-inner{display:flex!important;flex-direction:column!important;}
#ast-mobile-popup .ast-mobile-popup-content{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;}
#ast-mobile-popup .ast-header-html-2{margin-top:auto!important;}

/* Hide header CTA button below 1111px */
@media(max-width:1110px){.site-header .ast-header-button-1{display:none!important;}}

/* ===== Scroll-reveal load animations ===== */
.tc-anim{opacity:0;transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);will-change:opacity,transform;}
.tc-anim.tc-in{opacity:1;transform:none;will-change:auto;}
.tc-anim--up{transform:translateY(30px);}
.tc-anim--down{transform:translateY(-30px);}
.tc-anim--left{transform:translateX(-46px);}
.tc-anim--right{transform:translateX(46px);}
.tc-anim--zoom{transform:scale(.94);}
.tc-anim--fade{transform:none;}
.tc-anim--reveal{transform:translateY(26px);filter:blur(8px);transition:opacity .85s cubic-bezier(.16,1,.3,1),transform .85s cubic-bezier(.16,1,.3,1),filter .85s cubic-bezier(.16,1,.3,1);}
.tc-anim--reveal.tc-in{transform:none;filter:blur(0);}
@media(prefers-reduced-motion:reduce){.tc-anim{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important;}}
/* Pre-hide animated elements before JS assigns classes (no FOUC) */
html.tc-anim-js .tc-h-hero:not(.tc-anim),
html.tc-anim-js h1.wp-block-heading:not(.tc-anim),
html.tc-anim-js h2.wp-block-heading:not(.tc-anim),
html.tc-anim-js .tc-h-feat:not(.tc-anim),
html.tc-anim-js .tc-h-about:not(.tc-anim),
html.tc-anim-js .tc-h-contact:not(.tc-anim),
html.tc-anim-js .tc-h-faq:not(.tc-anim),
html.tc-anim-js .tc-h-banner:not(.tc-anim),
html.tc-anim-js .tc-tag:not(.tc-anim),
html.tc-anim-js .tc-hero-sub:not(.tc-anim),
html.tc-anim-js .tc-contact-sub:not(.tc-anim),
html.tc-anim-js .tc-feat-p:not(.tc-anim),
html.tc-anim-js .tc-about-p:not(.tc-anim),
html.tc-anim-js .tc-faq-intro:not(.tc-anim),
html.tc-anim-js .tc-banner-sub:not(.tc-anim),
html.tc-anim-js .tc-step-text:not(.tc-anim),
html.tc-anim-js .tc-feat-img-el:not(.tc-anim),
html.tc-anim-js .tc-bento-img:not(.tc-anim),
html.tc-anim-js .wp-block-image:not(.tc-anim),
html.tc-anim-js .tc-hcard:not(.tc-anim),
html.tc-anim-js .tc-cards-grid > .tc-info-card:not(.tc-anim),
html.tc-anim-js .tc-chips > .tc-chip:not(.tc-anim),
html.tc-anim-js .tc-hero-cards > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-bento-stats > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-faq-list-col > .tc-faq-item:not(.tc-anim),
html.tc-anim-js .tc-contact-info > .tc-info-card:not(.tc-anim),
html.tc-anim-js .tc-feat-row > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-contact-row > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-faq-row > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-bento > .wp-block-column:not(.tc-anim),
html.tc-anim-js .tc-contact-cols > .wp-block-column:not(.tc-anim),
html.tc-anim-js .wp-block-buttons .wp-block-button:not(.tc-anim){opacity:0!important;}

/* Nav: active page + hover in gold */
.site-header .ast-nav-menu .menu-link:hover,
.site-header .ast-nav-menu .menu-item:hover > .menu-link,
.site-header .ast-nav-menu .current-menu-item > .menu-link,
.site-header .ast-nav-menu .current-menu-ancestor > .menu-link,
body.tc-stuck #masthead .ast-nav-menu .menu-link:hover,
body.tc-stuck #masthead .ast-nav-menu .menu-item:hover > .menu-link,
body.tc-stuck #masthead .ast-nav-menu .current-menu-item > .menu-link,
body.tc-stuck #masthead .ast-nav-menu .current-menu-ancestor > .menu-link,
#ast-mobile-site-navigation .menu-link:hover,
#ast-mobile-site-navigation .current-menu-item > .menu-link{color:var(--tc-gold)!important;}

/* Footer closed-day highlight (beats the blanket footer span color) */
.site-above-footer-wrap span.tc-closed,.ast-above-footer-bar span.tc-closed{color:#F8C700!important;}
.site-above-footer-wrap span.tc-open,.ast-above-footer-bar span.tc-open{color:#F8C700!important;font-weight:600;}
#custom_html-104 .widget-title{color:#e2ce7c!important;}

/* Map InfoWindow: grow to fit, no inner scrollbar (keep default padding) */
.gm-style .gm-style-iw-c{max-height:none!important;padding:0 16px 16px!important;}
.gm-style .gm-style-iw-c .gm-style-iw-d{padding:0!important;}
.gm-style .gm-style-iw-d{overflow:visible!important;max-height:none!important;}

/* Map InfoWindow close button: nudge toward right edge (no overlap) */
.gm-style .gm-style-iw-chr{padding-right:0!important;}
.gm-style .gm-style-iw-chr button.gm-ui-hover-effect{margin-right:-6px!important;}

/* Fix tiny about paragraph in full centered about/FAQ sections (not the home bento) */
.tc-about.tc-center .tc-about-p,.tc-faq-contact .tc-about-p{line-height:1.85!important;}

/* ===== Listă servicii — V2 test (image cards, 3:4) ===== */
.tc-cards-grid-v2{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px!important;margin-top:44px!important;}
@media(max-width:1024px){.tc-cards-grid-v2{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.tc-cards-grid-v2{grid-template-columns:1fr;}}
.tc-cards-grid-v2 .tc-info-card{position:relative;aspect-ratio:3/4;border:none!important;border-radius:var(--tc-r)!important;overflow:hidden;background-size:cover!important;background-position:center!important;background-repeat:no-repeat;display:flex!important;flex-direction:column;justify-content:flex-end;padding:26px!important;margin:0!important;box-shadow:var(--tc-shadow);}
.tc-cards-grid-v2 .tc-info-card::before{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,15,45,.92) 0%,rgba(0,15,45,.6) 32%,rgba(0,15,45,.15) 58%,rgba(0,15,45,0) 78%);z-index:0;pointer-events:none;}
.tc-cards-grid-v2 .tc-info-card > *{position:relative;z-index:1;}
.tc-cards-grid-v2 .tc-step-title{color:#fff!important;margin:0 0 8px!important;}
.tc-cards-grid-v2 .tc-step-text{color:rgba(255,255,255,.88)!important;margin:0!important;}
.tc-cards-grid-v2 .tc-info-card p:not(.tc-info-label)::before{display:none!important;content:none!important;}
.tc-cards-grid-v2 .tc-info-card p:not(.tc-info-label){padding-left:0!important;}
/* ===== Listă servicii V2 — horizontal carousel ===== */
.tc-cards-grid-v2{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;gap:16px!important;grid-template-columns:none!important;-ms-overflow-style:none;scrollbar-width:none;padding-bottom:2px;}
.tc-cards-grid-v2::-webkit-scrollbar{display:none;}
.tc-cards-grid-v2 .tc-info-card{flex:0 0 calc((100% - 48px) / 4)!important;scroll-snap-align:start;}
@media(max-width:1024px){.tc-cards-grid-v2 .tc-info-card{flex:0 0 calc((100% - 16px) / 2)!important;}}
@media(max-width:600px){.tc-cards-grid-v2 .tc-info-card{flex:0 0 84%!important;}}
/* nav buttons */
.tc-v2-nav{display:flex;gap:10px;justify-content:flex-end;margin:18px 0 -34px;position:relative;z-index:2;}
.tc-v2-nav button{width:46px;height:46px;border-radius:50%;border:none;background:var(--tc-navy);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .2s var(--tc-ease),transform .2s var(--tc-ease),opacity .2s;}
.tc-v2-nav button:hover{background:var(--tc-gold);color:var(--tc-navy);transform:translateY(-2px);}
.tc-v2-nav button:disabled{opacity:.3;cursor:default;transform:none;background:var(--tc-navy);color:#fff;}
.tc-v2-nav button svg{width:20px;height:20px;}
@media(max-width:600px){.tc-v2-nav{margin:14px 0 0;}}
/* V2 carousel arrows: force white (navy on hover) */
.tc-v2-nav button svg,.tc-v2-nav button svg path{stroke:#fff!important;fill:none!important;color:#fff!important;}
.tc-v2-nav button:hover svg,.tc-v2-nav button:hover svg path{stroke:var(--tc-navy)!important;color:var(--tc-navy)!important;}

/* V2 carousel: full-bleed (beats constrained-layout auto margins) */
.wp-block-group.alignfull.is-layout-constrained .tc-cards-grid-v2{position:relative;left:50%;right:auto;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important;padding-left:24px!important;padding-right:24px!important;scroll-padding-left:24px;box-sizing:border-box;}
.wp-block-group.alignfull.is-layout-constrained .tc-v2-nav{position:relative;left:50%;right:auto;width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important;padding-right:24px;box-sizing:border-box;}
/* V2 carousel buttons: beat Astra global button padding so arrows show */
.tc-v2-nav button{padding:0!important;width:46px!important;height:46px!important;min-width:0!important;border-radius:50%!important;flex:0 0 auto!important;line-height:0!important;}
.tc-v2-nav button svg{width:20px!important;height:20px!important;display:block!important;}

/* V2 card background images */
.tc-cards-grid-v2 .tc-svc-1{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/diagnosticare.webp')!important;}
.tc-cards-grid-v2 .tc-svc-2{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/reparatii-mecanice.webp')!important;}
.tc-cards-grid-v2 .tc-svc-3{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/schimb-ulei.webp')!important;}
.tc-cards-grid-v2 .tc-svc-4{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/curea-distributie.webp')!important;}
.tc-cards-grid-v2 .tc-svc-5{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/aer-conditionat.webp')!important;}
.tc-cards-grid-v2 .tc-svc-6{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/revizie-completa.webp')!important;}
.tc-cards-grid-v2 .tc-svc-7{background-image:url('https://tcma.motiontech.ro/wp-content/uploads/2026/06/inspectie.webp')!important;}

/* V2 cards now use core Cover block */
.tc-cards-grid-v2 .wp-block-cover.tc-info-card{min-height:0!important;background:transparent!important;}
.tc-cards-grid-v2 .wp-block-cover__inner-container{width:100%!important;padding:0!important;}
.tc-cards-grid-v2 .wp-block-cover__image-background{object-fit:cover!important;}

/* V2 Cover cards: gradient + layering */
.tc-cards-grid-v2 .tc-info-card::before{content:''!important;z-index:1!important;}
.tc-cards-grid-v2 .wp-block-cover__image-background{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;z-index:0!important;margin:0!important;}
.tc-cards-grid-v2 .wp-block-cover__inner-container{z-index:2!important;position:relative;width:100%!important;padding:0!important;}
.tc-cards-grid-v2 .wp-block-cover.tc-info-card{min-height:0!important;background:transparent!important;}

/* ===== Offer cards (2 centered) ===== */
.tc-offer-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:16px!important;margin-top:8px!important;}
@media(max-width:781px){.tc-offer-grid{grid-template-columns:1fr;}}
.tc-offer-grid .tc-info-card{margin:0!important;display:flex;flex-direction:column;align-items:center;text-align:center;padding:44px 36px!important;}
.tc-offer-title{font-family:var(--tc-fd)!important;font-weight:800!important;color:var(--tc-navy)!important;line-height:1.18!important;margin:6px 0 16px!important;}
.tc-offer-text{color:var(--tc-muted)!important;line-height:1.8!important;margin:0 auto!important;max-width:440px;}
body.page-id-43 .tc-offer-grid .tc-info-card{align-items:flex-start!important;text-align:left!important;}
body.page-id-43 .tc-offer-grid .tc-tag{padding-left:0!important;}
body.page-id-43 .tc-offer-grid .tc-offer-text,body.page-id-43 .tc-offer-grid .tc-offer-title,body.page-id-43 .tc-offer-grid .tc-tag{text-align:left!important;align-self:stretch!important;margin-left:0!important;margin-right:0!important;}
body.page-id-43 .tc-offer-grid .tc-offer-text{margin:0!important;}
/* Offer cards: no dash icon before the label */
.tc-offer-grid .tc-tag::before{display:none!important;content:none!important;}
.tc-offer-grid .tc-tag{gap:0!important;}

/* Tighten gap between products carousel and offer cards */
.tc-section:has(> .tc-offer-grid){padding-top:0!important;}

/* Fix white line: prevent offer-grid margin escaping the section */
.tc-section:has(> .tc-offer-grid) > .tc-offer-grid{margin-top:0!important;}

/* ═════════════════════════════════════════════════════════════
   UNIFIED TYPE SCALE — 6 tiers (2026-06-19)
   XL  homepage H1 / banner   |  L2  stat numbers
   L   section H2 / inner H1   |  M   H3 / card & widget titles
   S   body + all UI (min 16)  |  XS  pre-titles + micro labels (14)
   ═════════════════════════════════════════════════════════════ */
body{font-variant-ligatures:none;}

:root{
  --fs-xl:clamp(68px,10vw,148px);
  --fs-l2:clamp(52px,5.5vw,72px);
  --fs-l:clamp(32px,3.4vw,50px);
  --fs-m:clamp(20px,2.2vw,28px);
  --fs-s:16px;
  --fs-xs:14px;
}
.tc-fs-xl{font-size:var(--fs-xl)!important;}
h1.wp-block-heading,h1.tc-h-hero{font-size:clamp(40px,7vw,88px)!important;}
.tc-fs-l2{font-size:var(--fs-l2)!important;}
.tc-fs-l{font-size:var(--fs-l)!important;}
.tc-fs-m{font-size:var(--fs-m)!important;}
.tc-fs-s{font-size:var(--fs-s)!important;}
.tc-fs-xs{font-size:var(--fs-xs)!important;}

/* Restore text brand marquee (oil brands — Magazin) at M */
.tc-brand{font-family:var(--tc-fd)!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.45)!important;margin:0!important;white-space:nowrap;display:flex;align-items:center;gap:48px;font-size:var(--fs-m)!important;}
.tc-brand::after{content:'';width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.25);}

/* Theme-generated text (cannot carry content classes) → S */
.wp-block-button__link,
.tc-hdr-btn,a.tc-btn-navy,
.site-header a.ast-custom-button-link,
.site-header a.ast-custom-button-link .ast-custom-button,
.fluentform .ff-btn-submit,.tc-form-card .ff-btn-submit,
.main-header-menu .menu-link,.ast-nav-menu .menu-link,#ast-mobile-site-navigation .menu-link,
.tc-faq-item summary,.tc-faq-item p,
.tc-info-card p:not(.tc-info-label),
.tc-form-card .ff-el-form-control,
.tc-dept-toggle .ff-el-form-check-label,
.tc-form-card .tc-gdpr label,
.site-above-footer-wrap p,.site-above-footer-wrap li,.site-above-footer-wrap a,.site-above-footer-wrap span,
.site-above-footer-wrap span.tc-closed,
#custom_html-101 .textwidget>p,#custom_html-102 a,#custom_html-103 a,#custom_html-104 a,
#custom_html-102 .textwidget>div>div,#custom_html-103 .textwidget>div>div,
#custom_html-102 span[style*="12px"],#custom_html-103 span[style*="12px"],
.ast-footer-copyright,.ast-footer-copyright p{font-size:var(--fs-s)!important;}

/* Mid-tier theme text → M */
.site-above-footer-wrap .widget-title,.ast-above-footer-bar .widget-title,
.site-above-footer-wrap h2.widget-title,.ast-above-footer-bar h2.widget-title,
.tc-faq-item summary::before{font-size:var(--fs-m)!important;}

/* Form field labels → XS */
.tc-form-card label{font-size:var(--fs-xs)!important;}

/* Bottom-bar credit keeps its tiny size — the one sub-16 exception */
.ast-footer-copyright .mtm{font-size:11px!important;}
@media (min-width: 1480px) {
header span.menu-text {
    font-size: 18px !important;
}
}

@media(max-width:1280px){
  .tc-hdr-btn,a.tc-btn-navy{padding:6px 10px;font-size:13px;gap:5px;}
  .site-header a.ast-custom-button-link{padding:6px 10px!important;font-size:13px!important;gap:5px!important;}
  .site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{padding-left:12px!important;padding-right:12px!important;}
  header a.menu-link{padding-left:10px!important;padding-right:10px!important;}
}

/* Hero section paragraph links */
.tc-hero p a,.tc-hero-inner p a{text-decoration:none!important;border-bottom:1px solid currentColor;padding-bottom:1px;transition:border-color .15s ease;}
.tc-hero p a:hover,.tc-hero-inner p a:hover{border-bottom-color:transparent!important;}

/* Footer logo wordmark — beats the blanket fs-s rule on footer <a> tags */
.site-above-footer-wrap #custom_html-101 a[href="/"]{font-size:26px!important;white-space:nowrap!important;}

/* ══ SLIDER CARDS — hover & viewport effects ══ */
.tc-cards-grid-v2 .wp-block-cover__inner-container{display:grid!important;grid-template-rows:auto 0fr!important;transition:grid-template-rows .45s cubic-bezier(.16,1,.3,1)!important;}
.tc-cards-grid-v2 .tc-step-text{overflow:hidden;min-height:0;opacity:0;margin-top:0!important;transition:opacity .35s cubic-bezier(.16,1,.3,1);}
.tc-cards-grid-v2 .tc-info-card:hover .wp-block-cover__inner-container{grid-template-rows:auto 1fr!important;}
.tc-cards-grid-v2 .tc-info-card:hover .tc-step-text{opacity:1;margin-top:6px!important;}
.tc-cards-grid-v2 .wp-block-cover__image-background{transition:transform .7s cubic-bezier(.16,1,.3,1)!important;transform-origin:center;will-change:transform;transform:scale(1.1);}
.tc-cards-grid-v2.tc-slider-in .wp-block-cover__image-background{transform:scale(1);}
.tc-cards-grid-v2 .tc-info-card:hover .wp-block-cover__image-background,
.tc-cards-grid-v2.tc-slider-in .tc-info-card:hover .wp-block-cover__image-background{transform:scale(1.07)!important;}

.mtm a{margin-bottom:4.3px;}

@keyframes tc-pin-pulse{
  0%{box-shadow:0 0 0 0 rgba(248,199,0,.6),0 0 0 3px rgba(248,199,0,.3);}
  70%{box-shadow:0 0 0 8px rgba(248,199,0,0),0 0 0 3px rgba(248,199,0,.3);}
  100%{box-shadow:0 0 0 0 rgba(248,199,0,0),0 0 0 3px rgba(248,199,0,.3);}
}
.tc-pin-dot{animation:tc-pin-pulse 1.1s ease-out infinite;}
