:root {
  --navy: #06357e;
  --navy-deep: #022767;
  --blue: #0077ad;
  --accent: #0299da;
  --accent-dark: #0077ad;
  --accent-light: #dff4fc;
  --cream: #f2f7fb;
  --paper: #ffffff;
  --ink: #14202b;
  --muted: #5f666d;
  --line: #d8e0e7;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(8, 27, 44, 0.13);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2rem)); margin-inline: auto; }

.utility { background: var(--navy-deep); color: #eaf0f4; font-size: .88rem; }
.utility .container { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.utility a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { background: rgba(255,253,248,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: max-content; }
.brand-logo { width: 210px; height: auto; max-height: 64px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 1.35rem; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: .65rem .8rem; font-weight: 800; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 48px; padding: .76rem 1.2rem; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: var(--navy-deep); font-weight: 800; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(.97); transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy-deep); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-small { min-height: 42px; padding: .6rem 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero { color: #fff; background: linear-gradient(100deg, rgba(2,39,103,.94) 0%, rgba(2,39,103,.78) 48%, rgba(2,39,103,.30) 100%), url('/assets/church-sanctuary-seating-hero.webp') center 58%/cover; }
.hero .container { min-height: 650px; display: grid; grid-template-columns: 1.05fr .75fr; align-items: center; gap: 3rem; padding: 5rem 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 900; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .contact-box .eyebrow { color: #43c5f2; }
h1, h2, h3 { color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; text-wrap: balance; }
h1 { margin: 0 0 1.15rem; font-size: clamp(2.6rem, 6vw, 5.3rem); letter-spacing: -.035em; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { margin: 0 0 .55rem; font-size: 1.35rem; }
.hero h1, .hero h2 { color: #fff; }
.hero-copy { max-width: 680px; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; font-size: 1.15rem; color: #e8edf1; }
.trust-strip { display: flex; flex-wrap: wrap; gap: .7rem 1.15rem; margin: 1.4rem 0 1.8rem; font-weight: 700; font-size: .92rem; }
.trust-strip span::before { content: "✓"; color: #43c5f2; margin-right: .35rem; }
.hero-card { align-self: end; background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.hero-card h2 { color: var(--navy-deep); font-size: 1.45rem; }
.hero-card p { margin: .35rem 0; }

.page-hero { background: linear-gradient(125deg, var(--navy-deep), var(--navy)); color: #fff; padding: 5rem 0 4.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero p { max-width: 760px; color: #e4ebf0; font-size: 1.14rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; color: #d2dce4; font-size: .87rem; }
.breadcrumbs a { color: #fff; }

.section { padding: 5.5rem 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--navy-deep); color: #edf2f5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .card { color: var(--ink); }
.section-dark .card h2, .section-dark .card h3 { color: var(--navy-deep); }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #cbd7df; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 8px 24px rgba(8,27,44,.055); }
.card p:last-child { margin-bottom: 0; }
.number { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 50%; background: var(--accent-light); color: var(--navy-deep); font-weight: 900; }
.icon-box { width: 45px; height: 45px; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 12px; background: var(--accent-light); color: var(--navy); font-size: 1.2rem; font-weight: 900; }

.product-card { overflow: hidden; padding: 0; }
.product-card img { width: 100%; height: 310px; object-fit: contain; background: #f6f6f3; padding: 1rem; }
.product-card .card-body { padding: 1.5rem; }
.installation-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; }
.installation-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy-deep); box-shadow: var(--shadow); }
.installation-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.installation-card:hover img { transform: scale(1.015); }
.installation-card figcaption { min-height: 68px; display: flex; align-items: center; padding: .9rem 1rem; color: #fff; font-size: .9rem; font-weight: 750; line-height: 1.35; }
.pill { display: inline-flex; border-radius: 99px; background: var(--accent-light); color: var(--navy-deep); padding: .3rem .7rem; font-size: .78rem; font-weight: 850; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li { position: relative; padding: .42rem 0 .42rem 1.55rem; border-bottom: 1px solid #ebe7dd; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.feature-list li:last-child { border-bottom: 0; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: .85rem .75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--navy-deep); }
.image-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.image-frame img { width: 100%; min-height: 420px; object-fit: cover; }
.product-image img { object-fit: contain; padding: 2rem; background: #f3f4f2; }

.quote-band { background: linear-gradient(115deg, var(--accent) 0%, #71d4f4 100%); color: var(--navy-deep); }
.quote-band .container { padding: 3.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.quote-band h2 { margin: 0 0 .45rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.quote-band p { margin: 0; }
.quote-band .btn { background: var(--navy-deep); color: #fff; }

.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { color: var(--navy-deep); font-weight: 850; cursor: pointer; font-size: 1.05rem; }
details p { max-width: 760px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
label { color: var(--navy-deep); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #aeb6bd; border-radius: 10px; background: #fff; color: var(--ink); padding: .8rem .85rem; font: inherit; }
textarea { min-height: 125px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(23,79,122,.2); border-color: var(--blue); }
.form-note { color: var(--muted); font-size: .9rem; }
.status { display: none; margin-top: 1rem; padding: 1rem; border-radius: 10px; background: #eaf5ef; color: #174f36; }
.status.show { display: block; }
.contact-box { background: var(--navy-deep); color: #edf2f5; border-radius: var(--radius); padding: 2rem; }
.contact-box h2, .contact-box h3 { color: #fff; }
.contact-box a { color: #fff; font-weight: 800; }
.contact-box label { color: #fff; }
.contact-box .form-note { color: #cbd7df; }

.notice { margin-top: 1.25rem; padding: 1rem 1.1rem; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-light); color: var(--navy-deep); }
.calculator-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 1.5rem; align-items: start; }
.calculator-form h2 { font-size: 2rem; }
.calculator-result { position: sticky; top: 112px; padding: 2rem; border-radius: var(--radius); background: var(--navy-deep); color: #fff; box-shadow: var(--shadow); }
.calculator-result h2 { color: #fff; font-size: 1.45rem; }
.calculator-result > strong { display: block; margin: .2rem 0; color: #43c5f2; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 8vw, 5.8rem); line-height: .95; }
.calculator-result dl { margin: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.calculator-result dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.calculator-result dt { color: #cbd7df; }
.calculator-result dd { margin: 0; font-weight: 850; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.resource-card { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(8,27,44,.055); text-decoration: none; }
.resource-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.resource-card span { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.resource-card h2 { margin-top: .5rem; font-size: 1.6rem; }
.resource-card p { margin-bottom: 0; color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.article-body { max-width: 780px; }
.article-body h2 { margin-top: 2.5rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.article-body h3 { margin-top: 1.8rem; }
.article-body p, .article-body li { font-size: 1.04rem; }
.article-body a { color: var(--navy); font-weight: 800; }
.article-aside { position: sticky; top: 112px; }
.article-aside ul { margin: 0; padding-left: 1.15rem; }
.article-aside li { margin: .55rem 0; }
.related-resources { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-resources ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1.5rem; padding-left: 1.15rem; }
.fabric-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
.fabric-guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fabric-guide-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f3f4f2; }
.fabric-guide-card strong { display: block; padding: .8rem 1rem; color: var(--navy-deep); }

.footer { background: #061522; color: #c8d2da; padding: 4rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 2rem; }
.footer h2, .footer h3 { color: #fff; font-size: 1.1rem; font-family: Inter, sans-serif; }
.footer a { color: #eaf0f4; text-decoration: none; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: .45rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.floating-call { position: fixed; right: 1rem; bottom: 5.2rem; z-index: 60; box-shadow: 0 8px 24px rgba(8,27,44,.3); }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 61; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .76rem 1.15rem; border-radius: 999px; background: #1f9d55; color: #fff; font-weight: 850; text-decoration: none; box-shadow: 0 8px 24px rgba(8,27,44,.3); }
.whatsapp-float:hover { background: #168047; transform: translateY(-1px); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset: 82px 1rem auto; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .btn { color: var(--navy-deep); }
  .hero .container { grid-template-columns: 1fr; min-height: auto; }
  .hero-card { max-width: 520px; }
  .installation-grid { grid-template-columns: 1fr 1fr; }
  .installation-card-featured { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .utility .container { justify-content: center; text-align: center; }
  .utility span:first-child { display: none; }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 164px; max-height: 52px; }
  .main-nav { inset-block-start: 72px; }
  .hero .container { padding: 3.5rem 0; }
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4, .installation-grid, .form-grid, .calculator-layout, .resource-grid, .article-layout, .fabric-guide-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .related-resources ul { grid-template-columns: 1fr; }
  .calculator-result { position: static; }
  .installation-card-featured { grid-column: auto; }
  .field-full { grid-column: auto; }
  .quote-band .container { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .floating-call { left: 1rem; right: 1rem; bottom: 5.2rem; }
  .whatsapp-float { left: 1rem; right: 1rem; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
