/*
Theme Name: Smokin Oak Ranch
Theme URI: https://smokinoakranch.com
Author: Smokin Oak Ranch
Description: Custom one-page theme for Smokin Oak Ranch - Centerville, Texas
Version: 2.0
*/

:root{--espresso:#1C0E04;--leather:#3D1F0A;--red:#BF0A30;--red-dark:#8c0722;--amber:#C9921A;--gold:#D4A847;--gold-light:#E8C46A;--cream:#F5EDD8;--cream-2:#EDE0C4;--tan:#C4A882;--white:#FFFFFF;--text:#2A1A08;--text-mid:#5C3D1E;--text-light:#8B6940;--shadow-sm:0 2px 12px rgba(28,14,4,.10);--shadow-md:0 8px 32px rgba(28,14,4,.16);--shadow-lg:0 20px 60px rgba(28,14,4,.24)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Lato',sans-serif;color:var(--text);background:var(--white);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
h1,h2,h3,h4{font-family:'Playfair Display',serif;line-height:1.2}
h1{font-size:clamp(2rem,4.5vw,3.6rem);font-weight:900}
h2{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}
.pad{padding:90px 0}
.label{font-family:'Raleway',sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.28em;text-transform:uppercase;color:var(--amber);display:block;margin-bottom:.6rem}
.divider{width:50px;height:3px;background:linear-gradient(90deg,var(--red),var(--gold));margin:1rem 0 1.8rem;border-radius:2px}
.divider.c{margin-left:auto;margin-right:auto}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 2rem;font-family:'Raleway',sans-serif;font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;border-radius:2px;transition:all .3s;cursor:pointer;border:none;white-space:nowrap}
.btn-red{background:var(--red);color:#fff;border:2px solid var(--red)}
.btn-red:hover{background:var(--red-dark);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.75)}
.btn-ghost:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
.btn-dark{background:var(--espresso);color:#fff;border:2px solid var(--espresso)}
.btn-dark:hover{background:var(--leather);transform:translateY(-2px)}
.btn-amber{background:var(--gold);color:var(--espresso);border:2px solid var(--gold);font-weight:900}
.btn-amber:hover{background:var(--gold-light);transform:translateY(-2px)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}

/* HEADER */
#hdr{position:fixed;top:0;left:0;right:0;z-index:1000;padding:.6rem 0;transition:all .4s}
#hdr.scrolled{background:rgba(28,14,4,.97);backdrop-filter:blur(12px);border-bottom:2px solid rgba(212,168,71,.2);box-shadow:0 4px 28px rgba(0,0,0,.4)}
#hdr.top{background:transparent}
.hdr-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.logo-wrap{display:flex;align-items:center;height:60px}
.logo-wrap svg{height:58px;width:auto}
nav ul{display:flex;align-items:center;gap:.2rem}
nav a{font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.82);padding:.5rem 1rem;border-radius:2px;transition:all .3s;position:relative}
nav a::after{content:'';position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:0;height:1.5px;background:var(--gold);transition:width .3s}
nav a:hover,nav a.active{color:#fff}
nav a:hover::after,nav a.active::after{width:calc(100% - 2rem)}
.waiver-btn{background:var(--red)!important;color:#fff!important;padding:.5rem 1.3rem!important;margin-left:.8rem!important}
.waiver-btn:hover{background:var(--red-dark)!important}
.waiver-btn::after{display:none!important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:.4rem;background:none;border:none}
.hamburger span{width:22px;height:2px;background:#fff;border-radius:2px;transition:all .3s;display:block}
.nav-overlay{display:none;position:fixed;inset:0;background:rgba(28,14,4,.98);z-index:999;flex-direction:column;align-items:center;justify-content:center;gap:2rem}
.nav-overlay.open{display:flex}
.nav-overlay a{font-family:'Raleway',sans-serif;font-size:1.1rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#fff}

/* HERO */
#hero{position:relative;height:78vh;min-height:560px;max-height:820px;overflow:hidden;display:flex;align-items:center}
.hero-img{position:absolute;inset:0;background-size:cover;background-position:center 40%;animation:kb 20s ease-in-out infinite alternate}
@keyframes kb{from{transform:scale(1) translate(0,0)}to{transform:scale(1.07) translate(-20px,-8px)}}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(28,14,4,.88) 0%,rgba(28,14,4,.5) 52%,rgba(61,31,10,.28) 100%),linear-gradient(to top,rgba(28,14,4,.6) 0%,transparent 50%)}
.hero-content{position:relative;z-index:2;color:#fff;max-width:680px}
.hero-eye{font-family:'Raleway',sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.32em;text-transform:uppercase;color:var(--gold);display:flex;align-items:center;gap:.8rem;margin-bottom:1rem}
.hero-eye::before{content:'';display:inline-block;width:36px;height:1px;background:var(--gold)}
.hero-title{color:#fff;margin-bottom:1.1rem;text-shadow:0 2px 28px rgba(0,0,0,.55)}
.hero-title em{color:var(--gold-light);font-style:italic}
.hero-desc{font-size:1.05rem;color:rgba(255,255,255,.84);line-height:1.85;margin-bottom:2rem}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.slide-dots{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:10}
.dot{width:8px;height:8px;border-radius:4px;background:rgba(255,255,255,.35);transition:all .3s}
.dot.on{width:28px;background:var(--gold)}
.scroll-hint{position:absolute;bottom:2rem;right:2.5rem;z-index:10;display:flex;flex-direction:column;align-items:center;gap:.4rem;color:rgba(255,255,255,.45);font-family:'Raleway',sans-serif;font-size:.6rem;letter-spacing:.15em;text-transform:uppercase}
.mouse{width:20px;height:32px;border:1.5px solid rgba(255,255,255,.38);border-radius:10px;display:flex;justify-content:center;padding-top:5px}
.mouse::before{content:'';width:3px;height:7px;background:var(--gold);border-radius:2px;animation:sb 1.8s ease-in-out infinite}
@keyframes sb{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(6px);opacity:.3}}

/* STRIP */
#strip{background:var(--espresso);border-bottom:3px solid var(--red);padding:0}
.strip-inner{display:flex;flex-wrap:wrap}
.strip-item{display:flex;align-items:center;gap:.8rem;padding:1.1rem 2.2rem;color:rgba(255,255,255,.8);font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-right:1px solid rgba(255,255,255,.08);flex:1;justify-content:center;min-width:160px}
.strip-item:last-child{border-right:none}
.strip-icon{color:var(--gold);font-size:1.1rem}

/* ABOUT */
#about{background:var(--white)}
.about-img-wrap{position:relative}
.about-img-main{width:100%;height:500px;object-fit:cover;border-radius:2px;box-shadow:var(--shadow-lg)}
.about-img-accent{position:absolute;bottom:-1.8rem;right:-1.8rem;width:195px;height:145px;object-fit:cover;border:6px solid #fff;border-radius:2px;box-shadow:var(--shadow-md)}
.about-badge{position:absolute;top:-1.5rem;left:-1.5rem;width:108px;height:108px;background:var(--espresso);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:var(--shadow-md);border:3px solid var(--gold)}
.about-badge .bn{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:900;color:var(--gold);line-height:1.1}
.about-badge .bt{font-family:'Raleway',sans-serif;font-size:.5rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.about-list{list-style:none;margin:1.2rem 0 1.8rem;display:flex;flex-direction:column;gap:.65rem}
.about-list li{display:flex;align-items:flex-start;gap:.7rem;font-size:.94rem;color:var(--text-mid);line-height:1.6}
.about-list li::before{content:'✦';color:var(--amber);font-size:.7rem;margin-top:.22rem;flex-shrink:0}
.sig-row{margin-top:1.8rem;padding-top:1.5rem;border-top:1px solid var(--cream-2)}
.sig-name{font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:700;color:var(--espresso);margin-bottom:2px}
.sig-title{font-family:'Raleway',sans-serif;font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-light)}

/* EXPERIENCE */
#experience{background:var(--cream);position:relative}
#experience::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--espresso),var(--red),var(--amber))}
.exp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-top:3rem}
.exp-card{background:var(--white);border-radius:2px;overflow:hidden;box-shadow:var(--shadow-sm);transition:all .35s;display:flex;flex-direction:column}
.exp-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.exp-img-wrap{overflow:hidden;height:210px;position:relative}
.exp-img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.exp-card:hover .exp-img{transform:scale(1.06)}
.exp-tag{position:absolute;top:.75rem;left:.75rem;background:var(--espresso);color:var(--gold);font-family:'Raleway',sans-serif;font-size:.58rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:.25rem .65rem;border-radius:1px}
.exp-body{padding:1.6rem;flex:1;display:flex;flex-direction:column}
.exp-icon{font-size:1.7rem;margin-bottom:.6rem}
.exp-title{font-family:'Playfair Display',serif;font-size:1.15rem;color:var(--espresso);margin-bottom:.4rem;font-weight:700}
.exp-desc{font-size:.9rem;color:var(--text-mid);line-height:1.7;flex:1}
.exp-link{margin-top:.8rem;font-family:'Raleway',sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--red);display:flex;align-items:center;gap:.4rem;transition:gap .3s}
.exp-link:hover{gap:.8rem}

/* STATS */
#stats{background:var(--espresso);padding:70px 0;position:relative;overflow:hidden}
#stats::before{content:'TEXAS';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-family:'Playfair Display',serif;font-size:13rem;font-weight:900;color:rgba(255,255,255,.025);white-space:nowrap;pointer-events:none}
#stats::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:repeating-linear-gradient(90deg,var(--red) 0,var(--red) 8px,transparent 8px,transparent 16px,var(--gold) 16px,var(--gold) 20px,transparent 20px,transparent 28px)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-item{text-align:center;padding:2rem 1rem;border-right:1px solid rgba(255,255,255,.07);color:#fff}
.stat-item:last-child{border-right:none}
.stat-num{font-family:'Playfair Display',serif;font-size:3rem;font-weight:900;line-height:1;color:var(--gold);margin-bottom:.5rem}
.stat-num sup{font-size:1.3rem}
.stat-lbl{font-family:'Raleway',sans-serif;font-size:.66rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.5)}

/* GALLERY */
#gallery{background:var(--white)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:230px 230px 230px;gap:.65rem;margin-top:3rem}
.g-item{position:relative;overflow:hidden;border-radius:2px;cursor:pointer}
.g-item:nth-child(1){grid-column:1/3;grid-row:1/2}
.g-item:nth-child(2){grid-column:3/4;grid-row:1/2}
.g-item:nth-child(3){grid-column:4/5;grid-row:1/3}
.g-item:nth-child(4){grid-column:1/2;grid-row:2/3}
.g-item:nth-child(5){grid-column:2/4;grid-row:2/3}
.g-item:nth-child(6){grid-column:1/2;grid-row:3/4}
.g-item:nth-child(7){grid-column:2/3;grid-row:3/4}
.g-item:nth-child(8){grid-column:3/5;grid-row:3/4}
.g-item img{width:100%;height:100%;object-fit:cover;transition:transform .55s}
.g-item:hover img{transform:scale(1.08)}
.g-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(28,14,4,.82) 0%,transparent 55%);opacity:0;transition:opacity .35s;display:flex;align-items:flex-end;padding:1rem}
.g-item:hover .g-overlay{opacity:1}
.g-lbl{color:#fff;font-family:'Raleway',sans-serif;font-size:.65rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.gallery-nav{display:flex;gap:.8rem;justify-content:center;margin-top:1.8rem}
.gallery-nav button{width:46px;height:46px;background:var(--espresso);color:#fff;border-radius:50%;border:none;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center;transition:background .2s}
.gallery-nav button:hover{background:var(--leather)}

/* TESTIMONIALS */
#testimonials{background:var(--cream)}
.t-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:3rem}
.t-card{background:var(--white);border-radius:2px;padding:2.2rem;box-shadow:var(--shadow-sm);position:relative;border-top:3px solid var(--red)}
.t-card::before{content:'\201C';position:absolute;top:.5rem;right:1.5rem;font-family:'Playfair Display',serif;font-size:5rem;color:var(--cream-2);line-height:1}
.t-stars{display:flex;gap:2px;margin-bottom:.8rem}
.t-stars span{color:var(--amber);font-size:.85rem}
.t-text{font-size:.9rem;color:var(--text-mid);line-height:1.8;margin-bottom:1.3rem;font-style:italic}
.t-who{display:flex;align-items:center;gap:.8rem}
.t-av{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Raleway',sans-serif;font-size:.8rem;font-weight:800;color:#fff;flex-shrink:0}
.t-name{font-family:'Raleway',sans-serif;font-size:.77rem;font-weight:800;letter-spacing:.04em;color:var(--espresso);text-transform:uppercase}
.t-loc{font-size:.75rem;color:var(--text-light);margin-top:2px}

/* CTA */
#cta{position:relative;padding:90px 0;text-align:center;overflow:hidden}
.cta-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.cta-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(28,14,4,.88),rgba(140,7,34,.74))}
.cta-inner{position:relative;z-index:2;max-width:700px;margin:0 auto}
.cta-inner .label{color:var(--gold-light)}
.cta-title{color:#fff;margin-bottom:1rem;font-size:clamp(1.8rem,3.5vw,2.8rem)}
.cta-title em{color:var(--gold-light);font-style:italic}
.cta-sub{color:rgba(255,255,255,.72);font-size:1rem;line-height:1.8;margin-bottom:2.5rem}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* CONTACT */
#contact{background:var(--white)}
.map-wrap iframe{width:100%;height:460px;border:none;border-radius:2px;box-shadow:var(--shadow-sm);display:block}
.contact-info{list-style:none;margin:1.5rem 0;display:flex;flex-direction:column;gap:.9rem}
.contact-info li{display:flex;align-items:flex-start;gap:.8rem;font-size:.93rem;color:var(--text-mid)}
.ci-icon{color:var(--red);font-size:1rem;flex-shrink:0;margin-top:2px}
.cf label{display:block;font-family:'Raleway',sans-serif;font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--text);margin-bottom:.35rem;margin-top:1rem}
.cf label:first-child{margin-top:0}
.cf input,.cf textarea,.cf select{width:100%;padding:.72rem 1rem;border:1.5px solid var(--cream-2);border-radius:2px;font-family:'Lato',sans-serif;font-size:.93rem;color:var(--text);background:var(--cream);outline:none;appearance:none;transition:all .3s}
.cf input:focus,.cf textarea:focus,.cf select:focus{border-color:var(--espresso);background:#fff}
.cf textarea{resize:vertical;min-height:110px}
.cf .row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.cf-submit{width:100%;justify-content:center;margin-top:.5rem}
.rc-wrap{margin-top:1rem}
#contact-msg{display:none;padding:.8rem 1rem;border-radius:2px;margin-top:.8rem;font-size:.88rem;font-family:'Raleway',sans-serif;font-weight:700;letter-spacing:.06em}
#contact-msg.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}
#contact-msg.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}

/* FOOTER */
#footer{background:var(--espresso);padding:1.7rem 0;border-top:3px solid var(--red)}
.footer-in{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.4rem}
.footer-copy{font-family:'Raleway',sans-serif;font-size:.75rem;letter-spacing:.08em;color:rgba(255,255,255,.38);text-align:center}
.footer-copy a{color:rgba(255,255,255,.5);transition:color .3s}
.footer-copy a:hover{color:var(--gold)}


/* ================================================================
   WAIVER PAGE — Complete UI/UX
   ================================================================ */

/* Always-opaque header */
body.page-template-page-waiver #hdr,
body.page-template-page-waiver #hdr.top {
  background: var(--espresso) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,.35) !important;
}

/* Page wrapper — normal block flow, no flex constraints */
body.page-template-page-waiver .waiver-page {
  background: #f5ede4;
}

/* ── PASSWORD GATE ──────────────────────────────────── */
.pw-gate {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 60px;
  background: linear-gradient(145deg, #2a0e04 0%, #3d1a08 45%, #5e2c0e 100%);
}
.pw-inner {
  background: #fff;
  border-radius: 20px;
  padding: 52px 60px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.40), 0 8px 24px rgba(0,0,0,.20);
}
.pw-icon {
  font-size: 3.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}
.pw-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  color: var(--espresso);
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}
.pw-inner > p:not(.pw-error) {
  font-size: .92rem;
  color: var(--text-light);
  margin-bottom: 2.2rem;
  line-height: 1.65;
}
.pw-label {
  display: block;
  text-align: left;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: .45rem;
  font-family: 'Raleway', sans-serif;
}
.pw-field {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
#waiver-password {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.2rem;
  letter-spacing: .25em;
  border: 2px solid #e5ddd5;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  color: var(--espresso);
  background: #fdf9f6;
  font-family: 'Lato', sans-serif;
}
#waiver-password:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,168,71,.18);
  background: #fff;
}
#waiver-unlock {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border-radius: 12px;
  letter-spacing: .04em;
  justify-content: center;
  gap: .6rem;
}
.pw-error {
  color: #c0392b;
  font-size: .84rem;
  margin-top: .2rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  display: none;
}

/* ── STEP INDICATOR ─────────────────────────────────── */
.w-steps-nav {
  background: #fff;
  border-bottom: 1px solid #e8ddd4;
}
.w-steps-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 58px;
}
.w-step {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #b0a090;
  white-space: nowrap;
}
.w-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8ddd4;
  color: #b0a090;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: background .3s, color .3s;
}
.w-step.active {
  color: var(--espresso);
}
.w-step.active .w-step-num {
  background: var(--gold);
  color: #fff;
}
.w-step-sep {
  flex: 1;
  height: 1px;
  background: #e8ddd4;
  margin: 0 16px;
}

/* ── WAIVER FORM WRAPPER ─────────────────────────────── */
.w-step-content {
  background: #f5ede4;
  padding: 36px 20px 80px;
  min-height: calc(100vh - 140px);
}
.w-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  max-width: 760px;
  margin: 0 auto;
  overflow: visible;
}
.w-card-inner {
  padding: 40px 48px 36px;
}
.w-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  color: var(--espresso);
  margin: 0 0 .25rem;
  font-weight: 700;
}
.w-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  color: var(--text-light);
  margin: 0 0 1.6rem;
  letter-spacing: .03em;
}

/* ── WAIVER LEGAL TEXT BOX ───────────────────────────── */
.waiver-text-box {
  background: #fdf9f6;
  border: 1.5px solid #e8ddd4;
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 2rem;
  font-size: .86rem;
  color: var(--text);
  line-height: 1.75;
  scroll-behavior: smooth;
}
.waiver-text-box::-webkit-scrollbar { width: 5px; }
.waiver-text-box::-webkit-scrollbar-track { background: #f0e8e0; border-radius: 3px; }
.waiver-text-box::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.waiver-text-box h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: .45rem;
  font-weight: 800;
}

/* ── SECTION DIVIDER WITHIN FORM ─────────────────────── */
.w-form-group {
  margin-bottom: 1.8rem;
}
.w-form-group-title {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--espresso);
  padding: .65rem 1.2rem;
  background: #f5ede4;
  border-radius: 7px;
  margin-bottom: 1.2rem;
}

/* ── FORM FIELDS ─────────────────────────────────────── */
.w-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}
.w-fields .full {
  grid-column: 1 / -1;
}
.w-field {
  display: flex;
  flex-direction: column;
  gap: .32rem;
}
.w-field label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0;
}
.w-field input,
.w-field select,
.w-field textarea {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--cream-2);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .25s, background .25s;
  box-sizing: border-box;
}
.w-field input:focus,
.w-field select:focus {
  border-color: var(--espresso);
  background: #fff;
}
.w-field.error input,
.w-field.error select {
  border-color: var(--red);
}
.w-error {
  color: var(--red);
  font-size: .76rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-top: .2rem;
  display: none;
}

/* ── AGREE CHECKBOX ──────────────────────────────────── */
#waiver-agree-box {
  margin: 1.4rem 0 .4rem;
  padding: 1.1rem 1.2rem;
  background: #fdf9f6;
  border: 1.5px solid #e8ddd4;
  border-radius: 10px;
}
.w-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .87rem;
  color: var(--text);
  line-height: 1.55;
  font-family: 'Lato', sans-serif;
}
.w-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--espresso);
  cursor: pointer;
}

/* ── ACTION BUTTONS ──────────────────────────────────── */
.w-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ede4d8;
}
.w-actions-row {
  justify-content: space-between;
}
#step1-next, #waiver-submit {
  min-width: 200px;
  justify-content: center;
  gap: .55rem;
}
#step2-back {
  gap: .5rem;
}

/* ── STEP 2 SUMMARY ──────────────────────────────────── */
.w-summary {
  background: #fdf9f6;
  border: 1.5px solid #e8ddd4;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
  font-size: .87rem;
}
.w-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem .8rem;
}
.w-summary-item {
  padding: .25rem 0;
  border-bottom: 1px solid #ede4d8;
  color: var(--text);
  font-family: 'Lato', sans-serif;
}
.w-summary-item:nth-last-child(-n+2) { border-bottom: none; }
.w-sum-label {
  font-size: .65rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .1rem;
}
.w-sum-val { font-weight: 600; color: var(--espresso); }

/* ── SIGNATURE PAD ───────────────────────────────────── */
.sig-title {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: .6rem;
}
.sig-pad-wrap {
  border: 2px solid #e5ddd5;
  border-radius: 12px;
  background: #fafaf8;
  overflow: hidden;
  margin-bottom: .5rem;
}
.sig-pad-wrap canvas {
  display: block;
  width: 100% !important;
  cursor: crosshair;
}
.sig-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  font-size: .78rem;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
}
#sig-clear {
  background: none;
  border: 1px solid #e0d8d0;
  padding: .3rem .8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .75rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  transition: border-color .2s, color .2s;
  letter-spacing: .04em;
}
#sig-clear:hover { border-color: var(--espresso); color: var(--espresso); }
#sig-error {
  color: var(--red);
  font-size: .8rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: .6rem;
  display: none;
}

/* ── CONFIRM CHECKBOX ────────────────────────────────── */
.w-confirm-box {
  margin: 1.2rem 0 .4rem;
  padding: 1rem 1.2rem;
  background: #fdf9f6;
  border: 1.5px solid #e8ddd4;
  border-radius: 10px;
}

/* ── RECAPTCHA ───────────────────────────────────────── */
.w-recaptcha { margin-bottom: 1.2rem; }

/* ── SUCCESS STATE ───────────────────────────────────── */
.w-success {
  background: #f5ede4;
  padding: 60px 20px 80px;
  min-height: calc(100vh - 140px);
  display: none;
}
.w-success-inner {
  background: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0,0,0,.08);
}
.w-success-icon {
  font-size: 3.5rem;
  color: #28a745;
  margin-bottom: 1rem;
}
.w-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--espresso);
  margin-bottom: .7rem;
}
.w-success p {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
body.page-template-page-waiver #footer { margin-top: 0; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 640px) {
  .pw-inner { padding: 36px 24px 32px; }
  .pw-inner h2 { font-size: 1.55rem; }
  .w-card-inner { padding: 28px 20px 24px; }
  .w-grid-2 { grid-template-columns: 1fr; }
  .w-summary-grid { grid-template-columns: 1fr; }
  .w-success-inner { padding: 40px 20px; }
  .w-actions { flex-direction: column-reverse; gap: .7rem; }
  #step1-next, #waiver-submit, #step2-back { width: 100%; min-width: unset; justify-content: center; }
  .w-steps-inner { height: 50px; }
  .w-step { font-size: .68rem; }
}
@media (max-width: 400px) {
  .pw-inner { padding: 28px 16px 24px; }
  .pw-gate { padding: 32px 16px 48px; }
}

/* — SIGNATURE PAD — */
.sig-wrap {
  position: relative;
  border: 2px dashed #c4a882;
  border-radius: 10px;
  background: #fdf8f3;
  margin: 12px 0 8px;
  overflow: hidden;
  cursor: crosshair;
}
.sig-wrap:hover { border-color: #8b4513; }
#signature-canvas {
  display: block;
  width: 100%;
  height: 180px;
  touch-action: none;
}
.sig-hint {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  color: #c4a882;
  pointer-events: none;
  white-space: nowrap;
}

/* — WAIVER BUTTONS — */
.waiver-page .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #5c1a0b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 1.6rem;
  height: 48px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.waiver-page .btn-primary:hover { background: #7a2210; transform: translateY(-1px); }
.waiver-page .btn-primary:active { transform: translateY(0); }
.waiver-page .btn-large { height: 52px; font-size: 1rem; padding: 0 2rem; }
/* Full-width Sign Waiver button on gate */
#waiver-unlock { width: 100%; justify-content: center; height: 52px; }
/* Step action buttons right-aligned */
.w-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #e8ddd5; }
#step2-back { background: transparent; color: #5c1a0b; border: 2px solid #5c1a0b; }
#step2-back:hover { background: #f5ede4; }


/* ===== SPACING & POLISH OVERRIDES ===== */

/* Gate: left-align placeholder */
#waiver-password { text-align: left; letter-spacing: normal; font-family: 'Lato', sans-serif; }
#waiver-password::placeholder { text-align: left; letter-spacing: .05em; font-size: .9rem; color: #aaa; }

/* Form: top + bottom breathing room */
.w-card-inner { padding: 52px 52px 60px !important; }

/* Space between legal text and fields */
.waiver-text-box { margin-bottom: 40px !important; }

/* Section title */
h2.w-section-title { margin-top: 0; margin-bottom: 8px; }

/* Subtitle */
p.w-subtitle { margin-top: 0; margin-bottom: 32px; }

/* More row gap in 2-col grid */
.w-grid-2 { row-gap: 22px !important; }

/* Section sub-headings */
h3.w-section-sub { margin-top: 40px !important; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid #e8ddd5; }

/* Checkbox row */
.w-agree-row { margin-top: 32px; display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }

/* Action buttons area */
.w-actions { margin-top: 40px !important; padding-top: 28px !important; border-top: 1px solid #e8ddd5; }

/* Signature page: summary card */
.w-summary { background: #f9f4ef; border-radius: 10px; padding: 22px 28px; margin-bottom: 40px; }
.w-summary h3 { margin: 0 0 16px; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #8b4513; font-family: 'Lato', sans-serif; font-weight: 700; }

/* Summary grid: label | value */
.w-summary-grid { display: grid; grid-template-columns: 130px 1fr; row-gap: 10px; }
.w-summary-grid dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #aaa; font-weight: 700; padding-top: 1px; }
.w-summary-grid dd { font-size: .95rem; color: #2c1a0e; margin: 0; }

/* Signature heading spacing */
.w-sig-title { margin-top: 0 !important; margin-bottom: 4px; }
.w-sig-subtitle { margin-top: 0; margin-bottom: 14px; color: #888; font-size: .9rem; }

/* Cert checkbox */
.w-cert-box { margin-top: 24px; margin-bottom: 32px; padding: 18px 20px; }


/* ===== FINAL SPACING FIX (confirmed in browser) ===== */
.w-step-content { padding-top: 56px !important; }
.w-card-inner { padding: 40px 56px 60px !important; }
.waiver-text-box { margin-bottom: 44px !important; max-height: 180px !important; }
h3.w-section-sub { margin-top: 36px !important; margin-bottom: 14px !important; font-size: 1.05rem !important; }
.waiver-text-box + h3.w-section-sub { margin-top: 0 !important; }
.w-grid-2 { row-gap: 20px !important; column-gap: 20px !important; }
.w-summary { padding: 24px 28px !important; margin-top: 24px !important; margin-bottom: 40px !important; }
.w-cert-box { margin-top: 28px !important; margin-bottom: 32px !important; }
.w-actions { margin-top: 36px !important; padding-top: 24px !important; }


/* ===== BUTTON, SUMMARY & MOBILE MASTER FIX ===== */

/* --- Ghost / Back button --- */
.btn-ghost {
  background: transparent !important;
  border: 2px solid #8b4513 !important;
  color: #5c1a0b !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  padding: .65rem 1.6rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all .22s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: #5c1a0b !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
/* --- btn-primary as anchor --- */
a.btn-primary {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .5rem !important;
}
a.btn-primary:hover { text-decoration: none !important; color: #fff !important; }
/* --- Summary box --- */
.w-summary-box {
  background: #f9f4ef !important;
  border: 1px solid #e0d3c8 !important;
  border-radius: 12px !important;
  padding: 20px 24px 18px !important;
  margin: 20px 0 28px !important;
}
.w-summary-box h3.w-section-sub {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e0d3c8 !important;
  font-size: .82rem !important;
  color: #8b7355 !important;
  letter-spacing: .12em !important;
}
/* --- Summary table --- */
.w-summary-table { width: 100% !important; border-collapse: collapse !important; }
.w-summary-table tr { border-bottom: 1px solid #ede8e2 !important; }
.w-summary-table tr:last-child { border-bottom: none !important; }
.w-summary-table td { padding: 9px 0 !important; vertical-align: middle !important; }
.w-summary-table td:first-child {
  font-size: .72rem !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .08em !important;
  color: #9c8060 !important; width: 130px !important;
  padding-right: 16px !important; white-space: nowrap !important;
}
.w-summary-table td:last-child {
  font-size: .93rem !important; color: #2c1a0e !important; font-weight: 500 !important;
}
/* --- Other sig/confirm spacing --- */
.w-sig-section { margin-top: 24px !important; }
.w-sig-note { font-size: .84rem !important; color: #777 !important; margin-bottom: 10px !important; }
.w-confirm-box {
  margin-top: 20px !important; padding: 14px 16px !important;
  background: #fdf8f3 !important; border: 1px solid #e8ddd5 !important; border-radius: 8px !important;
}
/* ===== MOBILE & TABLET RESPONSIVE ===== */
html, body { overflow-x: hidden; }
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  header nav ul { display: none !important; }
  .hamburger { display: flex !important; }
  .hdr-inner { gap: 0 !important; }
  .hero { min-height: 52vh !important; overflow: hidden !important; }
  .hero-inner h1 { font-size: 2.1rem !important; line-height: 1.2 !important; }
  .hero-inner { padding: 0 1.2rem !important; text-align: center !important; }
  .about-section, .gallery-section, .contact-section,
  #about, #gallery, #contact, section { overflow: hidden !important; max-width: 100% !important; }
  .about-inner, .gallery-inner, .contact-inner, .section-inner, .inner {
    max-width: 100% !important; padding-left: 1.2rem !important; padding-right: 1.2rem !important;
  }
  .about-cols, .contact-cols, .two-col, .col-2 {
    flex-direction: column !important; grid-template-columns: 1fr !important;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: .5rem !important; }
  .waiver-page { padding: 0 !important; }
  .w-step-content { padding: 0 !important; }
  .w-card-inner { padding: 28px 16px 32px !important; }
  .w-summary-table td:first-child { width: 100px !important; }
  .w-actions.w-actions-row { flex-direction: column-reverse !important; gap: .75rem !important; }
  .w-actions-row button, .w-actions-row a.btn-primary {
    width: 100% !important; justify-content: center !important; min-width: unset !important;
  }
  .w-success-inner { padding: 40px 20px !important; }
  .pw-inner { padding: 28px 20px 32px !important; }
}
@media (max-width: 480px) {
  .hero-inner h1 { font-size: 1.7rem !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .w-card-inner { padding: 24px 14px 28px !important; }
  .w-summary-table td:first-child { width: 80px !important; font-size: .68rem !important; }
  .w-summary-table td:last-child { font-size: .88rem !important; }
}
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  header nav ul { display: flex !important; }
}


/* ===== HERO GHOST BUTTON FIX (Explore the Ranch) ===== */
.hero-btns .btn-ghost,
.hero .btn.btn-ghost {
  background: rgba(255,255,255,0.1) !important;
  border: 2px solid rgba(255,255,255,0.85) !important;
  color: #fff !important;
}
.hero-btns .btn-ghost:hover, .hero .btn.btn-ghost:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* ===== WAIVER HEADING TOP SPACING (desktop) ===== */
.waiver-page #waiver-step-1 h2.w-section-title,
.waiver-page #waiver-step-2 h2.w-section-title { margin-top: 32px !important; }
.waiver-page .waiver-text-box + h3,
.waiver-page .waiver-text-box { margin-top: 32px !important; }

/* ===== COMPREHENSIVE MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }

  /* Hero */
  .hero-content { padding: 0 1.4rem !important; }
  .hero-title { font-size: 2.3rem !important; line-height: 1.15 !important; }
  .hero-desc { font-size: .92rem !important; max-width: 100% !important; }
  .hero-btns { flex-wrap: wrap !important; gap: .75rem !important; }
  .hero-btns .btn { min-width: 150px !important; text-align: center !important; justify-content: center !important; }

  /* Feature strip: 2-col grid */
  .strip-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    flex-wrap: unset !important;
  }
  .strip-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: .9rem .8rem !important;
    font-size: .65rem !important;
    min-width: unset !important;
    justify-content: center !important;
    flex: unset !important;
  }

  /* About: stack single col */
  .grid2 {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }
  .about-img-wrap { max-height: 280px !important; overflow: hidden !important; }
  .about-img-main { height: 260px !important; width: 100% !important; object-fit: cover !important; }
  .about-img-accent { display: none !important; }
  .about-badge { bottom: .7rem !important; right: .7rem !important; font-size: .5rem !important; }

  /* Experience: 1 col */
  .exp-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
  .exp-card { max-width: 100% !important; }

  /* Stats: 2x2 */
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 1.5rem 1rem !important; }

  /* Gallery: 2-col, reset complex named spans */
  .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: .35rem !important;
    margin-top: 1.5rem !important;
  }
  .g-item { grid-column: auto !important; grid-row: auto !important; height: 150px !important; }
  .g-item img { height: 150px !important; width: 100% !important; object-fit: cover !important; }

  /* Contact */
  .contact-grid, .contact-inner { flex-direction: column !important; grid-template-columns: 1fr !important; gap: 2rem !important; }
  #contact .container { padding-left: 1.2rem !important; padding-right: 1.2rem !important; }

  /* General */
  .container { padding-left: 1.2rem !important; padding-right: 1.2rem !important; max-width: 100% !important; }
  .pad { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  section { overflow-x: hidden !important; }
}

@media (max-width: 480px) {
  /* Hero: stack buttons */
  .hero-title { font-size: 1.85rem !important; }
  .hero-btns { flex-direction: column !important; align-items: flex-start !important; }
  .hero-btns .btn { width: 100% !important; }

  /* Strip: horizontal scroll */
  .strip-inner {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    grid-template-columns: unset !important;
    padding: 0 !important;
  }
  .strip-item { min-width: 120px !important; flex-shrink: 0 !important; border-bottom: none !important; }

  /* Gallery: single col on very small screens */
  .gallery-grid { grid-template-columns: 1fr !important; }
  .g-item { height: 180px !important; }
  .g-item img { height: 180px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
}


/* =============================================
   WAIVER PAGE MOBILE FIXES
   ============================================= */

/* Hide slide dots entirely */
.slide-dots { display: none !important; }

/* Waiver page - fix header overlap on mobile */
@media (max-width: 768px) {
  .waiver-page {
    padding-top: 80px !important;
  }
  /* Password gate card */
  .pw-gate {
    margin: 16px !important;
    padding: 24px 16px !important;
  }
  /* Waiver step cards */
  .w-card {
    margin: 12px !important;
    border-radius: 10px !important;
  }
  .w-card-inner {
    padding: 20px 14px !important;
  }
  /* Waiver section title - prevent overflow */
  .w-section-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    margin-top: 24px !important;
  }
  /* Two-column form fields become single column */
  .w-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* Signature section */
  .w-sig-section canvas {
    width: 100% !important;
    height: 160px !important;
  }
  /* Summary table on mobile */
  .w-summary-table td:first-child {
    width: 90px !important;
    font-size: .68rem !important;
  }
  /* Action buttons row - stack on mobile */
  .w-actions-row {
    flex-direction: column-reverse !important;
    gap: 10px !important;
  }
  .w-actions-row .btn-primary,
  .w-actions-row .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
  }
  /* Success page */
  .w-success {
    padding: 30px 16px !important;
  }
}
