/*
Theme Name: Heavy Rental
Theme URI: https://example.com/
Author: DH3 Equipment
Description: Industrial WordPress theme for heavy equipment rental sites using the Heavy Rental Booking plugin.
Version: 1.2.7
Text Domain: heavy-rental
*/
:root{--ink:#161616;--muted:#656565;--yellow:#f2b705;--paper:#f6f5f1;--line:#dedbd2;--white:#fff;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}a{color:inherit}.site-wrap{width:min(calc(100% - 36px),var(--max));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(22,22,22,.96);color:#fff;border-bottom:1px solid #333}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:950;letter-spacing:.04em}.brand-mark{width:38px;height:38px;background:var(--yellow);display:grid;place-items:center;color:#111;border-radius:5px;font-size:.85rem}.site-nav ul{display:flex;gap:22px;list-style:none;padding:0;margin:0}.site-nav a{text-decoration:none;color:#efefef;font-weight:700;font-size:.93rem}.hero{background:#111;color:#fff;padding:92px 0 78px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-8%;top:-45%;width:520px;height:520px;border:90px solid rgba(242,183,5,.12);border-radius:50%}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:end;position:relative;z-index:1}.kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:900;color:var(--yellow)}h1,h2,h3{line-height:1.08}h1{font-size:clamp(3rem,7vw,6.8rem);letter-spacing:-.055em;margin:.15em 0 .2em;max-width:900px}.hero p{font-size:1.16rem;color:#cfcfcf;max-width:650px}.button,.wp-element-button{display:inline-block;background:var(--yellow);color:#111;text-decoration:none;font-weight:900;padding:14px 20px;border-radius:6px}.button.alt{background:transparent;color:#fff;border:1px solid #555}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-card{border-left:3px solid var(--yellow);padding-left:24px}.hero-card strong{font-size:1.8rem;display:block}.hero-card span{color:#aaa}.section{padding:76px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.section-head h2{font-size:clamp(2rem,4vw,3.4rem);margin:0;letter-spacing:-.035em}.section-head p{max-width:560px;color:var(--muted);margin:0}.trustbar{background:var(--yellow);padding:18px 0;font-weight:900}.trustbar-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}.dark-section{background:#1a1a1a;color:#fff}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{border:1px solid #3c3c3c;padding:26px;border-radius:12px}.feature-number{font-size:.8rem;color:var(--yellow);font-weight:900;letter-spacing:.1em}.feature h3{font-size:1.4rem}.feature p{color:#b7b7b7}.cta{background:var(--yellow);padding:56px 0}.cta-inner{display:flex;justify-content:space-between;gap:35px;align-items:center}.cta h2{font-size:clamp(2rem,4vw,3.5rem);margin:0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:42px;align-items:start}.equipment-hero-image{aspect-ratio:16/9;background:#222;border-radius:16px;overflow:hidden;margin-bottom:30px}.equipment-hero-image img{width:100%;height:100%;object-fit:cover}.specs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:26px 0}.spec{padding:16px;border:1px solid var(--line);background:#fff;border-radius:9px}.spec small{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:800}.site-main{min-height:60vh}.page-title{font-size:clamp(2.5rem,6vw,5rem);margin:.15em 0}.archive-hero{padding:62px 0 28px}.entry-content{font-size:1.05rem}.notice{padding:14px 16px;border-radius:8px;background:#e9f6e9;margin-bottom:20px}.notice.cancel{background:#fff0d7}.site-footer{background:#0d0d0d;color:#bdbdbd;padding:52px 0 30px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.site-footer h3{color:#fff}.site-footer a{color:#ddd}.copyright{border-top:1px solid #282828;margin-top:36px;padding-top:22px;font-size:.85rem}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:850px){.hero-grid,.content-grid,.footer-grid{grid-template-columns:1fr}.hero-card{max-width:420px}.trustbar-inner,.feature-grid{grid-template-columns:1fr 1fr}.site-nav{display:none}.cta-inner{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.trustbar-inner,.feature-grid,.specs{grid-template-columns:1fr}.section{padding:54px 0}.hero{padding:66px 0}}

.catalog-hero .hero-actions{margin-top:24px}.catalog-hero .button.alt{color:var(--ink);border-color:#aaa}.equipment-catalog-page .hrb-grid{margin-top:10px}

/* Heavy Rental 1.2 equipment-detail enhancements */
.equipment-pricing{margin-top:0}.spec-price strong{font-size:1.12rem}.equipment-spec-section,.equipment-gallery-section,.delivery-notes{margin-top:34px}.equipment-spec-section h2,.equipment-gallery-section h2,.delivery-notes h2{font-size:clamp(1.6rem,3vw,2.25rem);margin-bottom:16px}.equipment-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.equipment-gallery a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:#222}.equipment-gallery img{width:100%;height:100%;object-fit:cover;display:block}.delivery-notes{padding:22px;border-left:4px solid var(--yellow);background:#fff;border-radius:8px}.delivery-notes p{margin-bottom:0}@media(max-width:700px){.equipment-gallery{grid-template-columns:1fr 1fr}}


/* Heavy Rental 1.2.1 mobile layout patch */
@media(max-width:850px){
  body{overflow-x:hidden}
  .header-inner{gap:12px}
  .brand{min-width:0;flex:1 1 auto}
  .brand span:last-child{min-width:0;overflow-wrap:anywhere;word-break:break-word;line-height:1.15}
  .site-header .button{flex:0 0 auto;white-space:nowrap;padding:11px 13px;font-size:.82rem}
  .content-grid>article,.content-grid>aside{min-width:0;width:100%}
  .content-grid>aside{max-width:100%}
  .hrb-booking{box-sizing:border-box;width:100%;max-width:100%;margin-inline:auto}
  .hrb-booking-form,.hrb-fields,.hrb-booking label{min-width:0;max-width:100%}
  .hrb-booking input,.hrb-booking textarea,.hrb-booking select{min-width:0;max-width:100%}
}
@media(max-width:480px){
  .site-wrap{width:min(calc(100% - 24px),var(--max))}
  .header-inner{min-height:66px}
  .brand{gap:9px;font-size:.88rem}
  .brand-mark{width:34px;height:34px;flex:0 0 34px}
  .site-header .button{padding:10px 11px;font-size:.74rem}
  .hrb-booking{padding:20px;border-radius:14px}
}


/* Heavy Rental 1.2.2 launch branding */
.brand-logo{display:block;width:auto;height:50px;max-width:min(330px,42vw);object-fit:contain}.brand-logo-fallback{height:40px;width:40px;border-radius:6px}.brand-name{min-width:0;overflow-wrap:anywhere;word-break:break-word;line-height:1.15}
@media(max-width:850px){.brand-logo{height:44px;max-width:min(250px,52vw)}.brand-logo-fallback{height:34px;width:34px;flex:0 0 34px}}
@media(max-width:480px){.brand-logo{height:38px;max-width:54vw}.brand-logo-fallback{height:32px;width:32px}}


/* Heavy Rental 1.2.3 standard WordPress page support */
.standard-page{padding:72px 0 88px}.page-wrap{max-width:980px}.standard-page-header{margin-bottom:30px}.standard-page-title{font-size:clamp(2.6rem,6vw,5rem);letter-spacing:-.045em;margin:0}.standard-page-content{font-size:1.08rem;line-height:1.75}.standard-page-content>*:first-child{margin-top:0}.standard-page-content h2{font-size:clamp(1.8rem,3.6vw,2.8rem);letter-spacing:-.025em;margin:2.1em 0 .65em}.standard-page-content h3{font-size:clamp(1.35rem,2.6vw,1.8rem);margin:1.8em 0 .55em}.standard-page-content p{margin:0 0 1.25em}.standard-page-content ul,.standard-page-content ol{padding-left:1.35em;margin:0 0 1.5em}.standard-page-content li{margin:.45em 0}.standard-page-content figure{margin:34px 0}.standard-page-content img{max-width:100%;height:auto;border-radius:14px;display:block}.standard-page-content .wp-block-buttons{margin-top:28px}.standard-page-content .wp-block-button__link{background:var(--yellow);color:#111;font-weight:900;border-radius:6px;padding:14px 20px}.standard-page-content blockquote{border-left:4px solid var(--yellow);margin:28px 0;padding:4px 0 4px 20px;color:#454545}.standard-page-content .alignwide{max-width:1180px;margin-left:50%;transform:translateX(-50%);width:min(calc(100vw - 36px),1180px)}
@media(max-width:560px){.standard-page{padding:48px 0 64px}.standard-page-header{margin-bottom:22px}.standard-page-content{font-size:1rem}.standard-page-content figure{margin:24px 0}}

/* Heavy Rental 1.2.5 mobile navigation */
.mobile-menu-toggle{display:none;background:transparent;border:1px solid #555;color:#fff;border-radius:6px;width:44px;height:44px;padding:0;align-items:center;justify-content:center;cursor:pointer;flex:0 0 44px}
.mobile-menu-toggle-lines,.mobile-menu-toggle-lines:before,.mobile-menu-toggle-lines:after{display:block;width:20px;height:2px;background:#fff;position:relative;transition:transform .2s ease,opacity .2s ease}
.mobile-menu-toggle-lines:before,.mobile-menu-toggle-lines:after{content:"";position:absolute;left:0}
.mobile-menu-toggle-lines:before{top:-6px}.mobile-menu-toggle-lines:after{top:6px}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-lines{background:transparent}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-lines:before{top:0;transform:rotate(45deg)}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-lines:after{top:0;transform:rotate(-45deg)}
@media(max-width:850px){
  .site-header{position:sticky}
  .header-inner{position:relative;flex-wrap:wrap}
  .mobile-menu-toggle{display:inline-flex;order:2}
  .site-header>.site-wrap>.button,.header-inner>.button{order:3}
  .site-nav{display:none;order:4;flex:0 0 100%;width:100%;padding:0 0 14px}
  .site-nav.is-open{display:block}
  .site-nav ul{display:flex;flex-direction:column;gap:0;background:#171717;border:1px solid #333;border-radius:10px;padding:8px;margin:0}
  .site-nav li{width:100%}
  .site-nav a{display:block;width:100%;padding:12px 14px;border-radius:6px}
  .site-nav a:hover,.site-nav a:focus{background:#252525;color:#fff}
}
@media(max-width:480px){
  .header-inner>.button{display:none}
  .brand-logo{max-width:calc(100vw - 100px)}
}

/* Heavy Rental 1.2.7 homepage SEO landing-page link */
.section-copy{max-width:560px}.section-copy p{margin:0}.section-link{margin-top:10px!important}.section-link a{color:var(--ink);font-weight:900;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px}.section-link a:hover{text-decoration-thickness:3px}
