/* Responsive refinements shared by the WordPress theme and hosted preview. */
:where(.hero-grid,.about-grid,.pricing-grid,.service-grid,.journey-grid,.tools-banner,.community-grid,.blog-grid,.faq-grid,.page-hero-grid,.split-content,.three-grid,.two-grid,.service-detail,.calculator-grid,.form-layout,.contact-grid,.auth-grid,.portal-grid,.studio-grid,.field-grid,.calendar-grid,.footer-grid)>*{min-width:0}
:where(input,select,textarea){min-width:0;max-width:100%}
:where(h1,h2,h3,p,.note,.badge,.document-list,.form-status,.ai-output){overflow-wrap:break-word}
.document-list a,.ai-output,.portal-header strong{overflow-wrap:anywhere}
.mobile-nav-cta{display:none!important}
.proof-stamp,.mini-symbol,.tool-icon{flex-shrink:0}
.proof-stamp [data-tdc-count]{position:static;font-size:28px;line-height:1.1}
.tool-links a>div{min-width:0}
.button{max-width:100%;text-align:center}
.modal-backdrop{overflow-y:auto;overscroll-behavior:contain}
.modal{width:100%;min-width:0;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}
.modal .close{width:44px;height:44px;line-height:1;color:var(--ink)}
.modal .confirm-pay{width:100%}
html.tdc-checkout-open,html.tdc-sale-open{overflow:hidden;overscroll-behavior:none}

@media(max-width:1000px){
  html{scroll-padding-top:88px}
  .container{width:calc(100% - 40px);max-width:calc(100% - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right)))}
  input,select,textarea{font-size:16px}
  .header-inner{height:76px;gap:16px}
  .brand{min-width:0;flex-shrink:1}
  .brand img{flex-shrink:0}
  .header-actions{margin-left:auto;gap:10px;flex-shrink:0}
  .header-actions .button{display:none}
  .account-link{display:inline-flex;align-items:center;min-height:44px}
  .mobile-toggle{display:grid;place-content:center;width:44px;height:44px;flex-shrink:0;padding:0;line-height:1}
  .desktop-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:12px max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;background:#fff;box-shadow:0 14px 24px #20362920;border-top:1px solid var(--line)}
  .desktop-nav.is-open{display:block}
  .desktop-nav>a,.nav-dropdown>button{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;padding:12px;text-align:left;font-size:15px}
  .desktop-nav>a+.nav-dropdown,.nav-dropdown+.nav-dropdown{border-top:1px solid #edf0e5}
  .nav-dropdown .dropdown-panel{position:static;width:auto;max-width:100%;padding:5px;margin:0 0 8px 12px;border-radius:8px;box-shadow:none}
  .nav-dropdown:hover .dropdown-panel,.nav-dropdown:focus-within .dropdown-panel{display:none}
  .nav-dropdown.is-open .dropdown-panel{display:block}
  .dropdown-panel a{min-height:44px;padding:11px 12px;font-size:14px}
  .desktop-nav .mobile-nav-cta{display:flex!important;margin-top:12px;background:var(--green);color:#fff;border-radius:8px;justify-content:center;gap:12px;text-align:center}
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
  .hero-copy h1{font-size:clamp(48px,6.5vw,65px)}
  .hero-visual{height:560px;min-width:0}
  .hero-model{width:min(360px,110%);height:560px;left:50%;bottom:-15px;transform:translateX(-50%)}
  .hero-orbit{width:min(100%,360px);height:auto;aspect-ratio:1;left:50%;top:120px;transform:translateX(-50%)}
  .hero-visual .card-one{left:0!important;top:220px!important}
  .hero-visual .card-two{right:0;bottom:65px}
  .orbit-word{left:20px;top:85px}
  .section{padding-top:64px;padding-bottom:64px}
  .calculator-grid,.studio-grid,.auth-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:0;min-height:0}
  .hero-copy{padding:38px 0 8px;max-width:560px}
  .hero-copy h1{font-size:clamp(46px,9vw,62px);line-height:1.05}
  .hero-copy>p{font-size:16px;line-height:1.65;margin-bottom:24px}
  .hero-copy .eyebrow{margin-bottom:18px}
  .hero-copy .button{min-height:48px;font-size:14px;gap:12px;padding:12px 18px}
  .hero-proof{margin-top:24px;gap:12px}
  .hero-visual{height:425px;width:100%;max-width:390px;justify-self:center}
  .hero-orbit{width:min(84%,310px);top:70px}
  .hero-model{width:min(100%,310px);height:465px;bottom:-34px}
  .hero-visual .card-one{top:155px!important}
  .hero-visual .card-two{bottom:35px}
  .floating-card{max-width:175px;padding:11px 12px;gap:8px}
  .floating-card strong{font-size:11px}
  .floating-card small{font-size:10px;line-height:1.5;display:block}
  .orbit-word{top:36px;left:50%;transform:translateX(-50%) rotate(9deg);white-space:nowrap;font-size:9px}
  .spark-one{top:85px;right:18px;font-size:36px}
  .spark-two{bottom:60px;font-size:34px}
  .about-grid,.tools-banner,.community-grid,.faq-grid,.split-content,.service-detail,.form-layout{grid-template-columns:minmax(0,1fr);gap:30px}
  .page-hero-grid{grid-template-columns:minmax(0,1fr);min-height:0;padding-bottom:32px;gap:0}
  .page-portrait{display:none}
  .page-hero h1{font-size:clamp(36px,7.5vw,48px);margin-top:10px}
  .page-hero .eyebrow{margin-top:16px}
  .page-hero .lead{font-size:16px;margin-bottom:0}
  .breadcrumbs{flex-wrap:wrap;gap:7px 10px;line-height:1.6}
  .community-mark{max-width:100%;width:270px;height:auto;aspect-ratio:1}
  .cta-banner{padding:30px;flex-direction:column;align-items:flex-start;margin-bottom:56px}
  .inline-callout{flex-direction:column;align-items:flex-start;gap:20px}
  .portal-header{flex-direction:column;align-items:flex-start;padding:24px}
  .region-links{gap:10px}
  .region-links a{padding:14px 10px;font-size:14px;gap:6px}
}

@media(max-width:680px){
  .container{width:calc(100% - 32px);max-width:calc(100% - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)))}
  .section{padding-top:48px;padding-bottom:48px}
  .service-grid,.pricing-grid,.journey-grid,.blog-grid,.two-grid,.three-grid,.contact-grid,.portal-grid,.review-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .service-card,.price-card,.feature-card,.contact-card,.portal-panel,.review-card{padding:24px}
  .price-card.featured{padding:23px}
  .price-card h3{font-size:30px}
  .price strong{font-size:42px;overflow-wrap:anywhere}
  .price-card .check-list li{font-size:14px;margin-bottom:12px}
  .price-card .button{min-height:48px}
  .plan-tag{max-width:100%;margin-bottom:20px}
  .region-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:24px}
  .region-links a{flex-direction:column;justify-content:center;padding:12px 4px;min-height:68px;font-size:13px;line-height:1.4;text-align:center}
  .region-links strong{font-size:11px;letter-spacing:.06em}
  .market-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .market-tabs button{min-width:0;min-height:48px;padding:9px 4px;font-size:12px;line-height:1.5}
  .section-heading h2,.section-dark h2{font-size:clamp(32px,8vw,39px)}
  .section-heading{margin-bottom:28px}
  .lead,.prose{font-size:16px}
  .button{min-height:48px;font-size:14px;padding:12px 18px;gap:12px}
  .button-row{gap:10px}
  .tool-form,.account-card,.result-panel{padding:24px}
  .tool-form h2,.account-card h2{font-size:30px}
  .tool-form .button,.account-card .button,.portal-panel>.button{width:100%}
  .field-grid{grid-template-columns:minmax(0,1fr);gap:0}
  input,select,textarea{font-size:16px;min-height:48px;padding:12px;line-height:1.5}
  input[type=checkbox]{min-height:20px;width:20px;height:20px;margin-top:2px}
  .checkbox-label{font-size:13px;line-height:1.6;gap:8px}
  .checkbox-label input{margin-left:0;margin-right:0}
  .calendar-grid{grid-template-columns:minmax(0,1fr)}
  .slot-button{min-height:48px;font-size:14px;line-height:1.5;text-align:left;overflow-wrap:anywhere}
  .result-panel{min-height:0}
  .result-number{font-size:72px}
  .ai-output{padding:24px;min-height:180px}
  .guarantee-panel{padding:20px;gap:13px;align-items:flex-start}
  .guarantee-panel h3{font-size:21px}
  .offer-bar{flex-direction:column;gap:8px;padding:18px;line-height:1.6}
  .tool-links a{gap:12px}
  .tool-links h3{font-size:19px}
  .tool-links .tool-icon{width:42px;height:42px;line-height:42px}
  .review-invitation{padding:28px 20px}
  .cta-banner{padding:25px}
  .cta-banner h2{font-size:32px}
  .cta-banner .button,.inline-callout .button{width:100%}
  .section-footer{flex-direction:column;gap:16px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
  .footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
  .footer-grid h3{margin-bottom:12px}
  .footer-grid a:not(.brand){font-size:14px;line-height:1.5;padding:8px 0;min-height:40px;margin-bottom:2px;overflow-wrap:anywhere}
  .site-footer{padding-top:45px}
  .footer-bottom{flex-direction:column;gap:15px;font-size:12px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .footer-bottom>div{gap:6px 16px}
  .footer-bottom>div>a,.footer-bottom button{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
  .whatsapp-button{width:48px;height:48px;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}
  body.tdc-consent-open .whatsapp-button{visibility:hidden;pointer-events:none}
  .consent-banner{left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-width:none;padding:18px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
  .consent-banner p{font-size:13px;line-height:1.6}
  .consent-banner .button-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
  .consent-banner .button{font-size:12px;min-height:44px;padding:10px 8px}
  .modal-backdrop{padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  .modal{padding:24px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));border-radius:12px}
  .modal h2{font-size:30px;clear:both}
  .modal .close{position:sticky;float:right;top:0;right:auto;margin:-12px -12px 0 0;background:#fff;border-radius:50%;z-index:1}
  .modal .eyebrow{padding-top:8px;margin-bottom:18px}
  .modal p{line-height:1.6}
  .post-navigation{flex-direction:column;gap:18px}
  .blog-post-title{font-size:36px}
  .preview-note{font-size:11px;padding:8px 16px;line-height:1.6}
  .preview-note a{display:inline-flex;align-items:center;min-height:32px}
}

@media(max-width:480px){
  .header-inner{height:68px;gap:10px}
  .brand{gap:7px}
  .brand img{width:36px;height:36px}
  .brand strong{font-size:21px}
  .site-header .brand small{display:none}
  .header-actions{gap:8px;font-size:12px}
  .desktop-nav{max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px)}
  .topbar .container{font-size:10px;line-height:1.6}
  .hero-copy h1{font-size:clamp(43px,11.7vw,56px)}
  .hero-copy .button-row{display:grid;grid-template-columns:minmax(0,1fr)}
  .hero-copy .button-row .button{width:100%}
  .hero-proof strong{font-size:13px;line-height:1.5}
  .hero-proof div>span{line-height:1.5}
  .hero-visual{height:375px;max-width:340px}
  .hero-model{width:min(100%,285px);height:425px;bottom:-34px}
  .hero-orbit{top:60px;width:84%}
  .hero-visual .card-one{top:140px!important}
  .hero-visual .card-two{bottom:29px}
  .floating-card{max-width:157px;padding:10px;gap:7px}
  .mini-symbol{width:26px;height:26px;font-size:18px}
  .floating-card strong{font-size:10px}
  .floating-card small{font-size:9px}
  .orbit-word{top:27px}
  .promise-strip .container{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:18px 0;font-size:12px;justify-items:center}
  .about-visual{width:90%;max-width:330px}
  .image-arch{height:360px}
  .image-arch img{width:310px;height:465px;bottom:-80px}
  .round-stamp{right:-10px;width:95px;height:95px}
  .page-hero h1{font-size:clamp(34px,9vw,42px)}
  .tool-form,.account-card,.result-panel,.portal-panel,.contact-card{padding:20px}
}

@media(max-height:500px) and (max-width:1000px){
  .modal-backdrop{align-items:start;padding:10px}
  .modal{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:20px}
  .modal h2{font-size:27px;margin-bottom:14px}
}

@media(hover:none){
  .button:hover,.service-card:hover{transform:none}
}

/* Site-wide responsive consultation header and short navigation. */
.tdc-mobile-consult{display:none}
.tdc-social-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin:18px 0}.tdc-social-links a{display:inline-flex;align-items:center;min-height:44px;gap:6px;font-size:14px}
.tdc-map{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#edf1e6;box-shadow:0 12px 35px #233b2010}.tdc-map iframe{display:block;width:100%;height:420px;min-height:280px}
.tdc-reels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:start}.tdc-reel{min-width:0}.tdc-reel-frame{aspect-ratio:9/16;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#dae5c9,#f5e6c8);position:relative;box-shadow:0 12px 30px #233b2010}.tdc-reel-frame video,.tdc-reel-frame iframe{display:block;width:100%;height:100%;border:0;object-fit:contain}.tdc-reel h3{font-size:19px;margin:18px 0 8px}.tdc-reel p{font-size:14px;line-height:1.65}.tdc-reel-play{position:relative;width:100%;height:100%;border:0;display:grid;place-items:center;cursor:pointer;background:transparent;color:#263b1e;padding:20px}.tdc-reel-play img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tdc-reel-play span{position:relative;border-radius:12px;background:#fffdf3ed;padding:18px 22px;font-size:18px;font-weight:600}.tdc-reel-play small{display:block;font-size:11px;font-weight:400;margin-top:8px}.tdc-reel-play:focus-visible{outline:4px solid #a55a24;outline-offset:-5px}
.tdc-service-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:55px;align-items:center}.tdc-service-story>*{min-width:0}.tdc-service-illustration img{display:block;width:100%;height:auto;border-radius:24px}.tdc-service-story h2{font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.15}.tdc-service-story p{font-size:15px;line-height:1.8}.tdc-service-pricing .pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tdc-service-pricing h2{scroll-margin-top:180px}.price-card h3{overflow-wrap:break-word}
@media(min-width:1500px){.tdc-reels-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.tdc-service-pricing .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){
 .site-header{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:70}
 .tdc-mobile-consult{display:block;position:sticky;top:calc(var(--tdc-header-h,76px) + var(--wp-admin--admin-bar--height,0px));z-index:60;background:#fffbef;border-bottom:1px solid #d9c89f;box-shadow:0 4px 12px #233b200c}
 .tdc-mobile-consult>.container{display:grid;gap:7px;padding-top:8px;padding-bottom:9px}
 .tdc-mobile-consult nav{display:flex;justify-content:space-between;gap:4px;min-width:0}
 .tdc-mobile-consult nav a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:4px 5px;font-size:12px;font-weight:600;color:#304b25}
 .tdc-mobile-consult>.container>.button{width:100%;min-height:44px;justify-content:center;font-size:14px;padding:10px 14px}
 .header-actions>.button,.mobile-nav-cta{display:none!important}
 .tdc-service-story{gap:30px}.tdc-service-story h2{font-size:34px}
 .tdc-reels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html{scroll-padding-top:200px}
}
@media(max-width:680px){
 .tdc-mobile-consult .container{width:calc(100% - 32px)}
 .tdc-service-story{grid-template-columns:1fr;gap:25px}.tdc-service-story h2{font-size:32px}
 .tdc-service-pricing .pricing-grid{grid-template-columns:minmax(0,1fr)}
 .tdc-reels-grid{display:grid;grid-auto-flow:column;grid-auto-columns:min(84vw,320px);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;padding:4px 3px 20px;overscroll-behavior-x:contain}.tdc-reel{scroll-snap-align:start}
 .tdc-map iframe{height:320px}.tdc-social-links{gap:6px 16px}
 .consent-banner{z-index:100}.consent-banner .button{min-height:46px}
 .faq-list summary{min-height:48px}
}
@media(max-height:560px) and (max-width:1000px){.tdc-mobile-consult>.container{display:flex;align-items:center;gap:12px;padding-top:5px;padding-bottom:5px}.tdc-mobile-consult nav{flex:1}.tdc-mobile-consult>.container>.button{width:auto;min-width:170px}.tdc-mobile-consult nav a{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Client review gallery: whole images, touch browsing and accessible controls. */
.tdc-client-gallery{min-width:0;width:100%}.tdc-gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.tdc-gallery-heading h2{font-family:var(--serif);font-size:42px;line-height:1.13;font-weight:400;letter-spacing:-.035em;margin:0 0 14px}.tdc-gallery-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.7}.tdc-gallery-controls{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.tdc-gallery-controls button{min-height:44px;min-width:44px;border:1px solid #bac8aa;background:#f5f8ef;color:#314a26;border-radius:8px;padding:9px 12px;font-size:13px;cursor:pointer}.tdc-gallery-controls button:hover{background:#e8efd9}.tdc-gallery-controls button:focus-visible,.tdc-review-slide a:focus-visible{outline:3px solid #9a5b21;outline-offset:3px}
.tdc-review-track{position:relative;display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8ea575 #edf1e6;padding:5px 4px 18px;max-width:100%;scroll-behavior:auto}.tdc-review-slide{flex:0 0 310px;min-width:0;margin:0;border:1px solid #dce3d2;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 6px 18px #233b2010}.tdc-review-slide a{display:block;aspect-ratio:4/5;background:#f7f9f2}.tdc-review-slide img{display:block;width:100%;height:100%;object-fit:contain}.tdc-review-slide figcaption{font-size:12px;line-height:1.5;padding:12px 14px;color:#536349}.tdc-social-icons a{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border:1px solid #bcc9ac;border-radius:50%;background:#f1f5e9;color:#426031!important;text-decoration:none}.tdc-social-icons a:hover{background:#f5e6bf;border-color:#caa45f;color:#6c421c!important}.tdc-social-icons svg{flex:none}
html.tdc-review-open{overflow:hidden}.tdc-review-viewer{position:fixed;inset:0;margin:auto;padding:48px 14px 14px;border:0;border-radius:14px;background:#fffdf5;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.tdc-review-viewer::backdrop{background:#1c2b20d9}.tdc-review-viewer img{display:block;max-width:calc(100vw - 56px);max-height:calc(100dvh - 100px);width:auto;height:auto;object-fit:contain;margin:auto}.tdc-review-close{position:absolute;top:5px;right:6px;min-width:44px;min-height:40px;border:0;background:transparent;color:#263c20;font-size:30px;cursor:pointer}
@media(max-width:850px){.tdc-gallery-heading{display:block}.tdc-gallery-controls{margin-top:18px}.tdc-gallery-heading h2{font-size:36px}}
@media(max-width:680px){.tdc-review-slide{flex-basis:min(78vw,300px)}.tdc-gallery-heading h2{font-size:32px}.tdc-review-track{gap:16px}.tdc-social-icons{gap:12px}.tdc-review-viewer{padding-top:48px}}

/* Horizontal reels on every screen, with YouTube thumbnail previews. */
.tdc-reels-carousel .tdc-reels-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(240px,28vw,320px);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:3px;overscroll-behavior-x:contain;padding:4px 3px 22px;scrollbar-width:thin}
.tdc-reels-carousel .tdc-reel{scroll-snap-align:start;min-width:0}
.tdc-reels-controls{display:flex;justify-content:flex-end;gap:10px;margin:0 0 22px}
.tdc-reels-controls button{min-height:40px;padding:8px 15px;background:#fffdf3;color:#203629;border:1px solid #aebc9f;border-radius:24px;font:13px var(--sans,Arial,sans-serif);cursor:pointer}
.tdc-reels-carousel .tdc-reel-play{padding:0;background:#182217}
.tdc-reels-carousel .tdc-reel-play img{width:100%;height:100%;object-fit:cover}
.tdc-reels-carousel .tdc-reel-play-icon{display:grid;place-items:center;width:64px;height:46px;background:#d62424;color:white;border-radius:13px;padding:0;font-size:25px;box-shadow:0 3px 18px #0004}
@media(max-width:680px){.tdc-reels-carousel .tdc-reels-grid{grid-auto-columns:min(78vw,310px);gap:16px}.tdc-reels-controls{justify-content:flex-start;gap:8px}.tdc-reels-controls button{min-height:40px;padding:8px 12px}}
