/** RC-4 responsive hardening. Loaded last to resolve legacy breakpoint conflicts. */
:root{--plt-safe-inline:max(16px,env(safe-area-inset-left));--plt-touch:44px}
html{scroll-padding-top:calc(var(--plt-header-height,84px) + 18px)}
body{min-width:320px}
img,svg,video,canvas{max-width:100%;height:auto}
input,select,textarea,button{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
.button,.menu-toggle,.mobile-navigation__close,.submenu-toggle,.header-phone,.back-to-top,.floating-whatsapp{min-width:var(--plt-touch);min-height:var(--plt-touch)}
.entry-content table,.woocommerce table.shop_table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content pre{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.mobile-navigation{padding-bottom:env(safe-area-inset-bottom)}
.mobile-navigation__body{overscroll-behavior:contain}
.mobile-navigation a,.mobile-navigation button{touch-action:manipulation}
.mobile-navigation .menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.mobile-navigation .menu-item-has-children>.sub-menu{grid-column:1/-1;width:100%}
.submenu-toggle{display:grid;place-items:center;border:0;background:transparent;color:inherit;border-radius:10px;cursor:pointer}
.submenu-toggle svg{transition:transform .2s ease}
.submenu-open>.submenu-toggle svg{transform:rotate(180deg)}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid color-mix(in srgb,var(--theme-accent,#caa35d) 75%,#fff);outline-offset:3px}

@media (max-width:1100px){
  .desktop-navigation,.header-cta{display:none!important}
  .menu-toggle{display:grid!important}
  .header__inner{min-width:0}
  .site-branding{min-width:0;max-width:calc(100% - 112px)}
  .custom-logo-link,.brand-mark{max-width:100%}
  .brand-mark__copy{min-width:0}
  .brand-mark__copy strong,.brand-mark__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

@media (min-width:1101px){
  .menu-toggle,.mobile-navigation,.mobile-navigation-overlay{display:none!important}
  .desktop-navigation{min-width:0}
  .desktop-navigation>ul{flex-wrap:nowrap}
  .desktop-navigation a{white-space:nowrap}
}

@media (max-width:900px){
  .section{padding-block:clamp(58px,9vw,78px)}
  .section-heading{max-width:680px}
  .plt-cart-layout,.plt-checkout-grid,.woocommerce-account .woocommerce{gap:20px}
  .plt-account-nav ul{scrollbar-width:thin;padding-bottom:6px}
  .plt-account-nav li a{white-space:nowrap}
  .plt-summary-card,.plt-checkout-panel--sticky,.plt-account-nav{position:static!important}
}

@media (max-width:760px){
  :root{--plt-page-gutter:18px}
  .container,.plt-commerce-shell,.plt-checkout-grid,.plt-checkout-heading,.woocommerce-account .woocommerce,.plt-thankyou-page{width:min(100% - 36px,var(--container,1180px))}
  .site-content{overflow:clip}
  .hero--premium .hero__grid{padding-block:48px 76px}
  .hero__content{max-width:680px;margin-inline:auto}
  .hero__lead{font-size:1rem;line-height:1.9}
  .hero__trust{gap:10px}
  .hero__trust>*{min-width:0}
  .inner-hero{padding-block:72px 44px}
  .inner-hero h1{font-size:clamp(2rem,8vw,2.65rem);line-height:1.25}
  .premium-content,.booking-panel,.plt-checkout-panel,.plt-account-welcome,.plt-dashboard-section,.plt-order-details-header{padding:clamp(18px,5vw,26px)}
  .form-row,.contact-grid,.booking-layout,.article-layout{min-width:0}
  .form-field,.woocommerce form .form-row{min-width:0}
  input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea{width:100%;max-width:100%;font-size:16px}
  .button{justify-content:center;text-align:center}
  .post-navigation .nav-links{gap:12px}
  .wp-block-buttons,.hero__actions,.profile-actions,.plt-result-actions{gap:10px}
}

@media (max-width:620px){
  .header__inner{min-height:72px}
  .site-branding{max-width:calc(100% - 100px)}
  .brand-mark__copy strong{font-size:.96rem}
  .mobile-navigation{width:min(92vw,390px)}
  .mobile-navigation__header,.mobile-navigation__body,.mobile-navigation__footer{padding-inline:20px}
  .mobile-navigation__body{padding-block:10px 18px}
  .mobile-navigation .menu>li>a{padding-block:13px}
  .hero--premium h1,.hero h1{font-size:clamp(2.05rem,10vw,2.75rem);overflow-wrap:anywhere}
  .hero__visual{min-height:300px}
  .hero__portrait{inset-inline:8%}
  .hero__trust{grid-template-columns:1fr}
  .cards-grid,.team-grid,.testimonials-grid,.premium-grid--3,.stats__grid{grid-template-columns:1fr!important}
  .stat{text-align:center}
  .team-card--premium{max-width:420px;margin-inline:auto;width:100%}
  .service-card--premium,.testimonial--premium,.post-card--premium .post-card__body{padding:22px}
  .plt-cart-card{padding:20px}
  .plt-cart-card__icon{width:56px;height:56px}
  .plt-cart-tools,.plt-coupon-box{display:grid;grid-template-columns:1fr;width:100%}
  .plt-coupon-box input{min-width:0}
  .plt-cart-tools .button,.plt-coupon-box .button{width:100%}
  .plt-checkout-steps{margin-top:18px}
  .woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:18px}
  .woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:12px 10px}
  .plt-account-nav{margin-inline:-2px;padding:14px}
  .plt-account-nav ul{margin-top:0}
  .plt-order-card{padding:18px}
  .plt-section-heading{align-items:flex-start;flex-direction:column}
  .plcore-payment-timeline{padding:18px}
}

@media (max-width:430px){
  .container,.plt-commerce-shell,.plt-checkout-grid,.plt-checkout-heading,.woocommerce-account .woocommerce,.plt-thankyou-page{width:min(100% - 24px,var(--container,1180px))}
  .topbar{display:none!important}
  .header-phone{display:none}
  .brand-mark__copy small{display:none}
  .hero__actions,.cta-section__actions,.profile-actions,.plt-result-actions{display:grid;width:100%}
  .hero__actions .button,.cta-section__actions .button,.profile-actions .button,.plt-result-actions>*{width:100%}
  .hero__visual{min-height:270px}
  .hero__floating-card--primary{font-size:.86rem}
  .inner-hero{padding-block:58px 38px}
  .article-cover{margin-inline:-18px}
  .faq-item--premium button{padding-inline:16px}
  .plt-result-card{padding:28px 18px}
  .plt-result-card h1{font-size:1.9rem}
  .woocommerce button.button,.woocommerce a.button,.woocommerce input.button{width:100%;white-space:normal}
}

@media (hover:none){
  .service-card--premium:hover,.team-card--premium:hover,.post-card--premium:hover{transform:none}
}

@media (prefers-reduced-motion:reduce){
  .submenu-toggle svg{transition:none}
}

/* RC 4.7.2 — Homepage CTA refinement and fixed-action separation. */
.cta-section--premium{
  position:relative;
  padding:clamp(64px,8vw,104px) 0;
  background:
    radial-gradient(circle at 12% 18%,rgba(199,161,90,.12),transparent 28%),
    radial-gradient(circle at 90% 82%,rgba(255,255,255,.06),transparent 25%),
    var(--theme-primary);
  overflow:hidden;
}
.cta-section--premium::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,transparent,black 24%,black 76%,transparent);
  pointer-events:none;
}
.cta-section--premium::after{display:none}
.cta-section__panel{
  position:relative;
  display:grid;
  grid-template-columns:76px minmax(0,1fr) minmax(280px,auto);
  align-items:center;
  gap:clamp(22px,3.5vw,48px);
  padding:clamp(28px,4.5vw,54px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.055);
  box-shadow:0 28px 80px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
}
.cta-section__mark{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:22px;
  color:var(--theme-accent);
  background:rgba(199,161,90,.11);
  border:1px solid rgba(199,161,90,.42);
  box-shadow:inset 0 0 0 7px rgba(199,161,90,.035);
}
.cta-section__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:var(--theme-accent);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.04em;
}
.cta-section__eyebrow::before{content:"";width:28px;height:1px;background:currentColor}
.cta-section--premium h2{
  max-width:720px;
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(1.8rem,3.4vw,3rem);
  line-height:1.35;
}
.cta-section--premium p{
  max-width:680px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:1rem;
}
.cta-section__actions{
  display:grid;
  gap:12px;
  min-width:280px;
}
.cta-section__primary{
  width:100%;
  min-height:56px;
  gap:10px;
  border-radius:16px;
  background:var(--theme-accent);
  color:var(--theme-primary);
  box-shadow:0 14px 34px rgba(199,161,90,.2);
}
.cta-section__primary:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(199,161,90,.28)}
.cta-section__phone{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:66px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:rgba(255,255,255,.055);
  color:#fff;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.cta-section__phone:hover{border-color:rgba(199,161,90,.55);background:rgba(255,255,255,.085);transform:translateY(-2px)}
.cta-section__phone-icon{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(199,161,90,.12);
  color:var(--theme-accent);
}
.cta-section__phone-copy{display:grid;line-height:1.35}
.cta-section__phone-copy small{color:rgba(255,255,255,.62);font-size:.72rem}
.cta-section__phone-copy strong{margin-top:3px;color:#fff;font-size:.95rem;letter-spacing:.02em}

/* Keep WhatsApp physically right and back-to-top physically left in RTL and LTR. */
body .floating-whatsapp{
  right:max(18px,env(safe-area-inset-right))!important;
  left:auto!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
}
body .back-to-top{
  left:max(18px,env(safe-area-inset-left))!important;
  right:auto!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
}

@media(max-width:980px){
  .cta-section__panel{grid-template-columns:68px minmax(0,1fr)}
  .cta-section__mark{width:68px;height:68px;border-radius:20px}
  .cta-section__actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
}
@media(max-width:700px){
  .cta-section--premium{padding:58px 0}
  .cta-section__panel{display:flex;flex-direction:column;align-items:stretch;text-align:center;padding:28px 20px;border-radius:24px}
  .cta-section__mark{margin-inline:auto}
  .cta-section__eyebrow{justify-content:center}
  .cta-section__eyebrow::before{display:none}
  .cta-section--premium h2{font-size:clamp(1.65rem,7vw,2.25rem)}
  .cta-section__actions{display:grid;grid-template-columns:1fr;width:100%}
  .cta-section__phone{text-align:start}
  body .floating-whatsapp{right:max(14px,env(safe-area-inset-right))!important}
  body .back-to-top{left:max(14px,env(safe-area-inset-left))!important}
}
