/* Almeers Living — Valances & Cornices Measuring Guide
   Scoped styles. Replace the existing stylesheet with this file. */
.vc-page{
  --vc-ink:#302720;--vc-muted:#65584d;--vc-brown:#6f4d38;--vc-tan:#d8c4af;
  --vc-cream:#f8f4ef;--vc-line:#e4d8cc;--vc-white:#fff;
  width:calc(100% - 40px);max-width:1240px;margin:0 auto;padding:20px 0 76px;
  color:var(--vc-ink);font:400 16px/1.7 Inter,"Segoe UI",Arial,sans-serif;overflow-wrap:break-word
}
.vc-page,.vc-page *{box-sizing:border-box}
.vc-page img{display:block;max-width:100%;height:auto}
.vc-page h1,.vc-page h2,.vc-page h3,.vc-page p{margin-top:0}
.vc-page h1,.vc-page h2,.vc-page h3{font-family:Georgia,"Times New Roman",serif;color:var(--vc-ink)}
.vc-page h1{font-size:clamp(2.6rem,5vw,4.6rem);font-weight:500;line-height:1.04;letter-spacing:-.035em;margin:0 0 20px;max-width:760px}
.vc-page h2{font-size:clamp(2rem,3.2vw,3rem);font-weight:500;line-height:1.12;letter-spacing:-.025em;margin:0 0 12px}
.vc-page h3{font-size:1.45rem;font-weight:500;line-height:1.2;margin:0 0 10px}
.vc-page p{font-size:1rem;line-height:1.75;color:var(--vc-muted);margin-bottom:16px}
.vc-page a{transition:background-color .2s ease,color .2s ease,border-color .2s ease}

/* Hero: full-bleed image with readable text overlay */
.vc-page .vc-hero{
  display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate;overflow:hidden;
  min-height:520px;margin:0 0 22px;border-radius:18px;background:#4c382a
}
.vc-page .vc-hero::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(39,27,19,.82) 0%,rgba(47,32,22,.72) 34%,rgba(47,32,22,.28) 63%,rgba(47,32,22,.04) 100%)}
.vc-page .vc-hero-copy{grid-area:1/1;position:relative;z-index:2;align-self:center;max-width:800px;padding:clamp(32px,6vw,76px);color:#fff}
.vc-page .vc-hero-copy .vc-eyebrow{color:#f1dfce!important}
.vc-page .vc-hero-copy h1,.vc-page .vc-hero-copy p{color:#fff}
.vc-page .vc-hero-copy .vc-lead{max-width:630px;font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.75;color:rgba(255,255,255,.92)}
.vc-page .vc-hero-image{position:absolute;z-index:-1;inset:0;min-width:0;min-height:100%;height:100%;overflow:hidden;background:#8d7763}
.vc-page .vc-hero-image img{display:block;width:100%;height:100%;min-height:100%;max-height:none;object-fit:cover;object-position:center 52%}
.vc-page .vc-eyebrow{font:700 .76rem/1.5 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:var(--vc-brown)!important;margin:0 0 16px}
.vc-page .vc-pills{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 26px}
.vc-page .vc-pills span{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.48);background:rgba(255,249,243,.94);border-radius:30px;padding:8px 14px;color:#4c3525;font-size:.9rem;font-weight:600}
.vc-page .vc-pills span::before{content:"✓";display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--vc-brown);color:#fff;font-size:.7rem}
.vc-page .vc-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;background:var(--vc-brown);border:1px solid var(--vc-brown);border-radius:7px;color:#fff!important;text-decoration:none!important;padding:12px 20px;font:700 .98rem/1.2 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.vc-page .vc-button:hover{background:#513725;border-color:#513725}
.vc-page .vc-hero .vc-button{background:#754a2b;border-color:#754a2b}
.vc-page .vc-hero .vc-button:hover{background:#56351f}
.vc-page .vc-button-light{background:#fff!important;color:var(--vc-brown)!important;border-color:#d8c4af!important}

/* Quick navigation */
.vc-page .vc-jump{display:flex;gap:9px;overflow-x:auto;padding:4px 0 24px;margin:0;scrollbar-width:thin}
.vc-page .vc-jump a{flex:0 0 auto;text-decoration:none;color:var(--vc-brown);font-weight:700;border:1px solid var(--vc-line);background:#fff;border-radius:30px;padding:9px 15px;font-size:.9rem;white-space:nowrap}
.vc-page .vc-jump a:hover{background:var(--vc-cream);border-color:var(--vc-tan)}

/* Sections and section headings */
.vc-page .vc-section{padding:54px 0;scroll-margin-top:28px}
.vc-page .vc-soft{background:var(--vc-cream);border:1px solid #f0e7de;border-radius:18px;padding:clamp(24px,4vw,44px);margin:14px 0}
.vc-page .vc-heading{display:flex;gap:18px;align-items:flex-start;margin:0 0 28px}
.vc-page .vc-heading>div{min-width:0;max-width:900px}
.vc-page .vc-heading p{margin:0;max-width:850px;font-size:1.03rem}
.vc-page .vc-number{display:grid;place-items:center;flex:0 0 46px;height:46px;background:var(--vc-brown);color:#fff;border-radius:50%;font:700 .92rem/1 Inter,"Segoe UI",Arial,sans-serif}
.vc-page .vc-two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.vc-page .vc-card{min-width:0;background:#fff;border:1px solid var(--vc-line);border-radius:15px;padding:22px;box-shadow:0 8px 26px rgba(61,43,29,.035)}
.vc-page .vc-photo{height:clamp(220px,27vw,330px);border-radius:10px;overflow:hidden;background:#eee5dc;margin:0 0 22px}
.vc-page .vc-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.vc-page .vc-caption{font-style:italic;color:#78685a;font-size:.93rem;margin-bottom:12px}
.vc-page .vc-step-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,48px)}
.vc-page .vc-step-grid>div{min-width:0}
.vc-page .vc-step-grid img{width:100%;max-height:600px;object-fit:contain;border-radius:12px;background:#fff}
.vc-page .vc-reverse>div:first-child{order:1}
.vc-page .vc-list{padding-left:23px;color:var(--vc-muted);margin:12px 0 0}
.vc-page .vc-list li{margin:0 0 12px;padding-left:4px;line-height:1.7}
.vc-page .vc-list li::marker{color:var(--vc-brown);font-weight:700}
.vc-page .vc-note,.vc-page .vc-tip{background:#f3e9df;border-left:4px solid #a98260;border-radius:0 9px 9px 0;padding:15px 18px;font-size:.96rem;margin:22px 0 0}
.vc-page .vc-note p,.vc-page .vc-tip p{margin-bottom:0}

/* Worksheet and checklist */
.vc-page .vc-worksheet{padding:clamp(18px,3vw,30px)}
.vc-page .vc-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.vc-page label{display:block;font-weight:700;font-size:.92rem;line-height:1.45;color:#40362e}
.vc-page input:not([type=checkbox]),.vc-page select,.vc-page textarea{display:block;width:100%;min-height:45px;margin-top:7px;padding:11px 12px;border:1px solid #d7ccc1;border-radius:8px;background:#fff;color:#302720;font:400 1rem/1.4 Inter,"Segoe UI",Arial,sans-serif;min-width:0}
.vc-page textarea{min-height:100px;resize:vertical}
.vc-page .vc-measure-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.vc-page .vc-notes{margin-top:18px}
.vc-page .vc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.vc-page .vc-status,.vc-page .vc-progress{font-weight:700;color:var(--vc-brown)!important;margin:14px 0 0}
.vc-page .vc-smallprint{font-size:.84rem!important;line-height:1.6;margin:16px 0 0}
.vc-page .vc-worksheet-image{max-width:900px;margin:28px auto 0}
.vc-page .vc-worksheet-image img{width:100%;border-radius:10px}
.vc-page .vc-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.vc-page .vc-checklist label{display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid var(--vc-line);border-radius:9px;padding:14px;font-weight:500;line-height:1.55}
.vc-page .vc-checklist input{flex:0 0 auto;margin-top:4px;accent-color:var(--vc-brown)}
.vc-page .vc-faq-list{display:grid;gap:11px}
.vc-page .vc-faq-list details{background:#fff;border:1px solid var(--vc-line);border-radius:11px;padding:17px 20px}
.vc-page .vc-faq-list summary{font-weight:700;line-height:1.5;cursor:pointer;color:#3d3027}
.vc-page .vc-faq-list details p{margin:13px 0 0}
.vc-page .vc-cta{background:#eee1d3;border-radius:16px;padding:clamp(26px,5vw,52px);margin-top:18px}
.vc-page .vc-cta>div{max-width:900px}
.vc-page .vc-cta h2{max-width:800px}
.vc-page .vc-cta-links{display:flex;gap:12px 22px;flex-wrap:wrap;margin-top:20px}
.vc-page .vc-cta-links a{color:var(--vc-brown);font-weight:700;text-underline-offset:4px}
.vc-page a:focus-visible,.vc-page button:focus-visible,.vc-page input:focus-visible,.vc-page select:focus-visible,.vc-page textarea:focus-visible{outline:3px solid #b38b6b;outline-offset:3px}

@media(max-width:900px){
  .vc-page{width:min(100% - 32px,760px);padding-top:14px}
  .vc-page .vc-hero{min-height:500px}
  .vc-page .vc-hero-copy{padding:38px}
  .vc-page .vc-hero-image,.vc-page .vc-hero-image img{min-height:500px}
  .vc-page .vc-hero::after{background:linear-gradient(90deg,rgba(39,27,19,.82),rgba(47,32,22,.54) 68%,rgba(47,32,22,.2))}
  .vc-page .vc-two-grid,.vc-page .vc-step-grid{grid-template-columns:minmax(0,1fr)}
  .vc-page .vc-reverse>div:first-child{order:0}
  .vc-page .vc-photo{height:clamp(250px,55vw,420px)}
  .vc-page .vc-form-grid,.vc-page .vc-measure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vc-page .vc-soft{padding:28px 24px}
}
@media(max-width:560px){
  .vc-page{width:calc(100% - 24px);padding:8px 0 44px;font-size:15px}
  .vc-page .vc-hero{min-height:540px;border-radius:12px;margin-bottom:14px}
  .vc-page .vc-hero-copy{padding:28px 22px;align-self:end}
  .vc-page .vc-hero h1{font-size:clamp(2.25rem,10vw,3rem);line-height:1.04;margin-bottom:14px}
  .vc-page .vc-hero-copy .vc-lead{font-size:.98rem;line-height:1.65}
  .vc-page .vc-hero-image,.vc-page .vc-hero-image img{min-height:540px}
  .vc-page .vc-hero-image img{object-position:58% center}
  .vc-page .vc-hero::after{background:linear-gradient(0deg,rgba(35,25,18,.9) 0%,rgba(39,27,19,.72) 48%,rgba(47,32,22,.12) 100%)}
  .vc-page .vc-pills{gap:7px;margin:18px 0 20px}
  .vc-page .vc-pills span{font-size:.78rem;padding:7px 10px}
  .vc-page .vc-jump{margin-right:-2px;padding-bottom:16px}
  .vc-page .vc-section{padding:34px 0}
  .vc-page .vc-soft{padding:22px 16px;border-radius:13px}
  .vc-page .vc-heading{gap:12px;margin-bottom:22px}
  .vc-page .vc-number{flex-basis:36px;height:36px;font-size:.8rem}
  .vc-page h2{font-size:clamp(1.8rem,7.4vw,2.3rem)}
  .vc-page h3{font-size:1.3rem}
  .vc-page .vc-card{padding:15px;border-radius:12px}
  .vc-page .vc-photo{height:230px;margin-bottom:17px}
  .vc-page .vc-form-grid,.vc-page .vc-measure-grid,.vc-page .vc-checklist{grid-template-columns:minmax(0,1fr)}
  .vc-page .vc-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .vc-page .vc-actions .vc-button{width:100%}
  .vc-page .vc-cta{padding:24px 18px;border-radius:13px}
  .vc-page .vc-cta-links{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.vc-page *{scroll-behavior:auto!important;transition:none!important}}
@media print{
  .vc-page .vc-jump,.vc-page .vc-hero,.vc-page .vc-actions,.vc-page .vc-cta,.vc-page .vc-faq-list,.vc-page .vc-checklist,.vc-page .vc-progress{display:none!important}
  .vc-page{width:100%;max-width:none;padding:0;font-size:11pt}
  .vc-page .vc-section{padding:12px 0}
  .vc-page .vc-card,.vc-page .vc-soft{break-inside:avoid;box-shadow:none}
  .vc-page input,.vc-page select,.vc-page textarea{border:0!important;border-bottom:1px solid #999!important}
}
