/*
Theme Name: Simply Windows and Doors
Theme URI: https://www.simplywindowsdoors.com/
Author: Simply Windows and Doors Ltd
Description: Lightweight custom theme for Simply Windows and Doors.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: simply-windows-doors
*/

:root {
  --ink: #17231f;
  --ink-soft: #52605b;
  --forest: #143f32;
  --forest-dark: #0d2e24;
  --mint: #b9daca;
  --mint-pale: #edf5f1;
  --stone: #f4f2ed;
  --line: #dce3df;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar { background: var(--forest-dark); color: #e9f4ef; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; }
.topbar a { font-weight: 700; letter-spacing: .02em; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(23,35,31,.09); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--forest-dark); border: 1px solid #8cb8a3; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; box-shadow: inset 0 0 0 5px rgba(255,255,255,.25); }
.brand-name { display: flex; flex-direction: column; font-size: 15px; line-height: 1.1; letter-spacing: .015em; }
.brand-name strong { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.nav a { position: relative; padding: 34px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--forest); transition: right .2s ease; }
.nav a:hover::after { right: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 25px; background: var(--mint); color: var(--forest-dark); border: 0; border-radius: 2px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { background: #cde9dc; transform: translateY(-1px); }
.button-small { min-height: 46px; padding: 0 19px; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-dark); }
.hero { position: relative; min-height: 720px; overflow: hidden; color: white; }
.hero-image { position: absolute; inset: 0; background: #273b33 url('../images/hero-sliding-doors.webp') center/cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,20,.86) 0%, rgba(10,25,20,.58) 45%, rgba(10,25,20,.12) 75%), linear-gradient(0deg, rgba(10,25,20,.3), transparent 45%); }
.hero-grid { position: relative; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); align-items: center; gap: 76px; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { margin: 0 0 16px; color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--mint); }
.hero h1 { max-width: 700px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 7vw, 94px); font-weight: 400; line-height: .94; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin: 30px 0 0; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: 14px; font-weight: 800; }
.text-link span { font-size: 19px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: white; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 44px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.82); }
.hero-proof span::before { content: "✓"; color: var(--mint); margin-right: 8px; }
.quote-panel { scroll-margin-top: 20px; background: rgba(249,250,247,.97); color: var(--ink); padding: 38px; box-shadow: 0 28px 70px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.quote-panel h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 400; line-height: 1.08; }
.quote-panel > p:not(.eyebrow) { margin: 14px 0 24px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.quote-form { display: grid; gap: 13px; }
.quote-form label { display: grid; gap: 7px; }
.quote-form label > span { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form input, .quote-form select { width: 100%; height: 49px; padding: 0 13px; background: white; border: 1px solid #d4ddd8; border-radius: 0; color: var(--ink); outline: none; }
.quote-form input:focus, .quote-form select:focus { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(20,63,50,.1); }
.form-button { width: 100%; margin-top: 3px; }
.quote-form small { color: #6c7873; font-size: 10px; line-height: 1.4; }
.form-success { min-height: 250px; background: var(--mint-pale); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 30px; }
.form-success strong { font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.form-success span { line-height: 1.5; color: var(--ink-soft); }
.form-success button { padding: 0; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.trust-strip { background: var(--stone); border-bottom: 1px solid #e4e1da; }
.trust-grid { min-height: 125px; display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); align-items: center; }
.trust-grid > * { padding: 0 28px; border-left: 1px solid #d7d4cd; }
.trust-grid > :first-child { padding-left: 0; border-left: 0; }
.trust-lead { max-width: 350px; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.4; }
.trust-lead strong { color: var(--forest); font-weight: 400; }
.trust-lead a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.trust-grid div { display: flex; flex-direction: column; gap: 7px; }
.trust-grid div strong { font-size: 14px; }
.trust-grid div span { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.section { padding: 110px 0; }
.section-heading { margin-bottom: 50px; }
.section-heading h2, .feature-copy h2, .faq-grid h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 5vw, 61px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.split-heading > p { max-width: 450px; margin: 0 0 5px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--stone); border: 1px solid #e6e2da; overflow: hidden; }
.product-image { aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform .45s ease; }
.product-card:hover .product-image { transform: scale(1.025); }
.product-content { position: relative; z-index: 1; min-height: 235px; padding: 30px; background: var(--stone); }
.product-content h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.product-content p { margin: 0 0 25px; color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.feature-section { background: var(--mint-pale); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 100px; }
.feature-image-wrap { position: relative; }
.feature-image { aspect-ratio: 4/3; background: #b8c8c0 url('../images/aluminium-windows.webp') center/cover no-repeat; box-shadow: -36px 36px 0 var(--mint); }
.feature-note { position: absolute; right: -35px; bottom: 38px; width: 260px; padding: 22px 24px; background: white; box-shadow: 0 18px 45px rgba(15,45,35,.15); display: flex; flex-direction: column; gap: 7px; }
.feature-note strong { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.feature-note span { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.feature-copy > p:not(.eyebrow) { margin: 26px 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 22px; font-size: 14px; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--forest); margin-right: 10px; }
.process-section { background: var(--forest); color: white; }
.centered { text-align: center; }
.centered .eyebrow { color: var(--mint); }
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.22); }
.process-grid li { padding: 38px 28px 12px; border-left: 1px solid rgba(255,255,255,.22); }
.process-grid li:first-child { border-left: 0; padding-left: 0; }
.process-grid li > span { color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.process-grid h3 { margin: 28px 0 13px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.process-grid p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.65; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.muted { color: var(--ink-soft); line-height: 1.7; }
.faqs { border-top: 1px solid var(--line); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { position: relative; padding: 24px 42px 24px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 8px; top: 20px; color: var(--forest); font-size: 25px; font-weight: 400; }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { margin: -5px 50px 24px 0; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }
.final-cta { padding: 70px 0; background: #0d2e24; color: white; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(36px,4vw,52px); font-weight: 400; }
.final-actions { display: flex; align-items: center; gap: 26px; min-width: max-content; }
.final-actions > a:not(.button) { font-size: 17px; font-weight: 800; }
.footer { padding: 70px 0 25px; background: #111916; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 80px; padding-bottom: 55px; }
.footer-brand { color: white; }
.footer-brand + p { max-width: 380px; margin: 22px 0 0; line-height: 1.7; font-size: 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.65; }
.footer h3 { margin: 0 0 8px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 23px; display: flex; justify-content: space-between; gap: 25px; font-size: 11px; }

.product-hero { position: relative; min-height: 610px; color: white; overflow: hidden; }
.product-hero-photo { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.01); }
.product-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,27,21,.88), rgba(9,27,21,.5) 53%, rgba(9,27,21,.08)); }
.product-hero-inner { position: relative; min-height: 610px; display: flex; align-items: center; }
.product-hero-copy { max-width: 680px; padding: 70px 0; }
.product-hero h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 6.5vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.product-hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.7; }
.mini-proof { background: var(--forest); color: white; }
.mini-proof .shell { min-height: 76px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.mini-proof span { padding: 5px 24px; border-left: 1px solid rgba(255,255,255,.2); text-align: center; font-size: 12px; font-weight: 700; }
.mini-proof span:first-child { border-left: 0; }
.dark-centered { color: var(--ink); }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.benefit-grid article { padding: 34px; background: var(--stone); border-top: 3px solid var(--mint); }
.benefit-grid article > span { color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.benefit-grid h3 { margin: 28px 0 14px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.benefit-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.detail-section { background: var(--mint-pale); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.detail-photo { min-height: 540px; background-size: cover; background-position: center; box-shadow: -28px 28px 0 var(--mint); }
.detail-grid h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(40px,4.5vw,58px); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; }
.detail-grid > div:last-child > p:not(.eyebrow) { margin: 25px 0; color: var(--ink-soft); line-height: 1.75; }
.single-list { grid-template-columns: 1fr; }
.landing-quote-section { background: var(--forest); color: white; }
.landing-quote-grid { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 100px; }
.landing-quote-grid > div:first-child h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(45px,5vw,66px); font-weight: 400; line-height: 1.03; }
.landing-quote-grid > div:first-child > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.75; }
.contact-card { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; gap: 7px; }
.contact-card span { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-card a { width: fit-content; font-size: 17px; font-weight: 700; }

.about-hero { background: var(--forest-dark); color: white; }
.about-hero-grid { min-height: 600px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 90px; padding-top: 70px; padding-bottom: 70px; }
.about-hero h1 { max-width: 650px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 6.5vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.about-hero-copy > p:not(.eyebrow) { max-width: 640px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.72; }
.about-hero-image { min-height: 440px; background: #385348 url('../images/bifold-doors.webp') center/cover no-repeat; box-shadow: 28px 28px 0 var(--mint); }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.story-grid h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 5vw, 62px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.story-copy { color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.story-copy p { margin: 0 0 22px; }
.story-copy .story-lead { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.45; }
.story-link { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.values-section { background: var(--stone); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.value-card { padding: 36px; background: white; border-top: 3px solid var(--mint); }
.value-card span { color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.value-card h3 { margin: 28px 0 14px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--line); color: var(--forest-dark); font-size: 22px; cursor: pointer; }
.legal-page { min-height: 55vh; }
.legal-copy { max-width: 780px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.legal-copy h1 { margin: 0 0 28px; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 6vw, 68px); font-weight: 400; line-height: 1; }
.legal-copy h2 { margin: 38px 0 12px; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 400; }
.notice { padding: 14px 16px; background: #fff5d8; color: #5b4612; border-left: 3px solid #d6a927; font-size: 13px; line-height: 1.6; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.is-open { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(15,45,35,.12); }
  .nav.is-open a { padding: 13px 0; }
  .nav.is-open a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; padding-top: 90px; padding-bottom: 70px; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; }
  .quote-panel { max-width: 620px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 28px 0; gap: 25px 0; }
  .trust-grid > :nth-child(3) { padding-left: 0; border-left: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); }
  .feature-grid { gap: 60px; }
  .feature-note { right: -15px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(3) { border-left: 0; }
  .landing-quote-grid { grid-template-columns: 1fr 400px; gap: 50px; }
  .about-hero-grid { gap: 50px; }
  .story-grid { gap: 65px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-mark { width: 40px; height: 40px; font-size: 10px; }
  .brand-name { font-size: 11px; }
  .brand-name strong { font-size: 19px; }
  .header-inner > .button { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .header-inner > .button { display: none; }
  .hero-image { background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,23,18,.84), rgba(8,23,18,.46)), linear-gradient(0deg, rgba(8,23,18,.5), transparent); }
  .hero-grid { padding-top: 65px; padding-bottom: 50px; }
  .hero h1 { font-size: 55px; }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-proof { display: grid; }
  .quote-panel { padding: 27px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > * { padding: 20px 0; border-left: 0; border-top: 1px solid #d7d4cd; }
  .trust-grid > :first-child { border-top: 0; }
  .section { padding: 76px 0; }
  .split-heading, .feature-grid, .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-heading h2, .feature-copy h2, .faq-grid h2 { font-size: 42px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; max-width: none; }
  .feature-image { box-shadow: -14px 14px 0 var(--mint); }
  .feature-note { position: static; width: auto; margin: -10px 15px 0; }
  .check-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; border-top: 0; }
  .process-grid li, .process-grid li:first-child { padding: 25px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .process-grid h3 { margin-top: 14px; }
  .final-cta-inner, .final-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .product-hero, .product-hero-inner { min-height: 570px; }
  .product-hero-photo { background-position: 62% center; }
  .product-hero-shade { background: linear-gradient(90deg, rgba(9,27,21,.87), rgba(9,27,21,.42)); }
  .product-hero h1 { font-size: 52px; }
  .product-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .mini-proof .shell { grid-template-columns: 1fr 1fr; padding: 16px 0; }
  .mini-proof span { min-height: 45px; display: grid; place-items: center; }
  .mini-proof span:nth-child(3) { border-left: 0; }
  .benefit-grid, .detail-grid, .landing-quote-grid { grid-template-columns: 1fr; }
  .about-hero-grid, .story-grid, .values-grid { grid-template-columns: 1fr; }
  .about-hero-grid { gap: 42px; }
  .about-hero-image { min-height: 330px; box-shadow: 14px 14px 0 var(--mint); }
  .story-grid { gap: 34px; }
  .detail-grid { gap: 50px; }
  .detail-photo { min-height: 370px; box-shadow: -14px 14px 0 var(--mint); }
  .landing-quote-grid { gap: 50px; }
}
