/*
Theme Name: Ironwood Contractor
Theme URI: https://wordpress.ironwoodsoft.com/
Description: Original Hello Elementor child theme for the Ironwood contractor portfolio demonstration.
Author: Ironwood Software
Version: 1.0.0
Template: hello-elementor
Text Domain: ironwood-contractor
*/

:root {
  --iw-ink: #17211d;
  --iw-forest: #214b3b;
  --iw-forest-dark: #163429;
  --iw-copper: #934426;
  --iw-sand: #eee7dc;
  --iw-cream: #faf7f1;
  --iw-white: #ffffff;
  --iw-muted: #66716b;
  --iw-line: #d8d2c8;
  --iw-radius: 18px;
  --iw-shadow: 0 24px 70px rgba(23, 33, 29, 0.12);
  --iw-content: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--iw-cream);
  color: var(--iw-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--iw-copper); outline-offset: 3px; }

.iw-demo-bar {
  padding: 9px 20px;
  background: var(--iw-ink);
  color: var(--iw-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.iw-demo-bar a { color: #f3b690; }
.iw-site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,247,241,.96); border-bottom: 1px solid rgba(23,33,29,.1); backdrop-filter: blur(12px); }
.iw-header-inner { width: var(--iw-content); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.iw-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -0.03em; }
.iw-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--iw-forest); color: white; font-family: Georgia, serif; font-size: 1.15rem; }
.iw-nav { display: flex; align-items: center; gap: 25px; }
.iw-nav a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.iw-nav a:hover { color: var(--iw-copper); }
.iw-nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--iw-forest); color: var(--iw-white) !important; }
.iw-menu-toggle { display: none; border: 1px solid var(--iw-line); border-radius: 10px; background: white; padding: 9px 12px; cursor: pointer; }

.iw-shell { width: var(--iw-content); margin-inline: auto; }
.iw-section { padding: 88px 0; }
.iw-section--tight { padding: 54px 0; }
.iw-section--dark { background: var(--iw-forest-dark); color: white; }
.iw-section--sand { background: var(--iw-sand); }
.iw-eyebrow { margin: 0 0 12px; color: var(--iw-copper); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.iw-display { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -.055em; line-height: .94; }
.iw-title { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 5vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
body .iw-display .elementor-heading-title,
body .iw-title .elementor-heading-title { color: var(--iw-ink); font: inherit; letter-spacing: inherit; line-height: inherit; }
.elementor-element-a1b2c3d7 .elementor-heading-title,
.elementor-element-d1e2f3a6 .elementor-heading-title { color: var(--iw-ink) !important; }
.iw-lede { max-width: 680px; margin: 24px 0 0; color: var(--iw-muted); font-size: clamp(1.05rem, 2vw, 1.32rem); }
.iw-section--dark .iw-lede { color: #c8d5cf; }
.iw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.iw-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 2px solid var(--iw-forest); border-radius: 999px; background: var(--iw-forest); color: white; font-weight: 800; text-decoration: none; cursor: pointer; }
.iw-button:hover { background: var(--iw-forest-dark); }
body .iw-button .elementor-button { border: 0; border-radius: 999px; background: var(--iw-forest); color: white; font-weight: 800; }
body .iw-button .elementor-button:hover { background: var(--iw-forest-dark); color: white; }
.elementor-element-a1b2c3d9 .elementor-button { background: var(--iw-forest) !important; color: white !important; font-weight: 800; }
.elementor-element-a1b2c3d9 .elementor-button:hover { background: var(--iw-forest-dark) !important; }
.iw-button--ghost { background: transparent; color: var(--iw-forest); }
.iw-section--dark .iw-button--ghost { border-color: rgba(255,255,255,.6); color: white; }

.iw-hero { min-height: 78vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; padding: 70px 0 86px; }
.iw-hero-media { position: relative; min-height: 570px; overflow: hidden; border-radius: 220px 220px 24px 24px; background: #d9ddd7; box-shadow: var(--iw-shadow); }
.iw-hero-media img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.iw-hero-note { position: absolute; right: 22px; bottom: 22px; width: min(270px, calc(100% - 44px)); padding: 17px 19px; border-radius: 14px; background: rgba(250,247,241,.94); color: var(--iw-ink); font-size: .85rem; box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.iw-proof { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--iw-line); }
.iw-proof div { padding: 26px; border-right: 1px solid var(--iw-line); }
.iw-proof div:last-child { border-right: 0; }
.iw-proof strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; }
.iw-proof span { color: var(--iw-muted); font-size: .86rem; }

.iw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.iw-card { overflow: hidden; border: 1px solid var(--iw-line); border-radius: var(--iw-radius); background: white; box-shadow: 0 12px 35px rgba(23,33,29,.06); }
.iw-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e4e7e2; }
.iw-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.iw-card:hover .iw-card-media img { transform: scale(1.035); }
.iw-card-body { padding: 24px; }
.iw-card h2, .iw-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.15; }
.iw-card p { color: var(--iw-muted); }
.iw-card a { color: var(--iw-forest); font-weight: 800; }
.iw-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--iw-copper); font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.iw-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.iw-filter button { border: 1px solid var(--iw-line); border-radius: 999px; background: white; padding: 9px 15px; cursor: pointer; font-weight: 750; }
.iw-filter button[aria-pressed="true"] { border-color: var(--iw-forest); background: var(--iw-forest); color: white; }
.iw-empty { margin-top: 24px; padding: 20px; border-radius: 12px; background: white; }

.iw-page-head { padding: 74px 0 40px; }
.iw-error-page { min-height: 52vh; display: flex; align-items: center; padding-block: 88px; }
.iw-breadcrumbs { margin-bottom: 18px; color: var(--iw-muted); font-size: .86rem; }
.iw-breadcrumbs a { color: var(--iw-forest); }
.iw-prose { max-width: 760px; font-size: 1.08rem; }
.iw-prose h2 { margin-top: 2em; font-family: Georgia, serif; font-size: 2rem; }
.iw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.iw-panel { padding: 30px; border: 1px solid var(--iw-line); border-radius: var(--iw-radius); background: white; }
.iw-list { margin: 0; padding: 0; list-style: none; }
.iw-list li { padding: 13px 0; border-bottom: 1px solid var(--iw-line); }
.iw-list li:last-child { border-bottom: 0; }

.iw-form { max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px; border-radius: var(--iw-radius); background: white; box-shadow: var(--iw-shadow); }
.iw-field { display: grid; gap: 7px; }
.iw-field--full { grid-column: 1 / -1; }
.iw-field label { font-weight: 800; }
.iw-field small { color: var(--iw-muted); }
.iw-field input, .iw-field select, .iw-field textarea { width: 100%; border: 1px solid #a9b0ac; border-radius: 10px; background: white; padding: 12px 13px; color: var(--iw-ink); }
.iw-field [aria-invalid="true"] { border-color: #a32929; box-shadow: 0 0 0 2px rgba(163,41,41,.15); }
.iw-error { margin: 0; color: #8e2020; font-size: .84rem; font-weight: 700; }
.iw-status { grid-column: 1 / -1; min-height: 28px; margin: 0; font-weight: 750; }
.iw-status[data-state="success"] { color: #21653a; }
.iw-status[data-state="error"] { color: #8e2020; }

.iw-site-footer { padding: 64px 0 26px; background: var(--iw-ink); color: white; }
.iw-site-footer .iw-eyebrow { color: #f3b690; }
.iw-footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 40px; }
.iw-footer-grid h2 { max-width: 480px; margin-top: 0; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 500; }
.iw-footer-grid a { color: white; }
.iw-footer-list { margin: 0; padding: 0; list-style: none; }
.iw-footer-list li { margin-bottom: 8px; }
.iw-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: #bac5c0; font-size: .78rem; }

@media (max-width: 900px) {
  .iw-hero, .iw-split { grid-template-columns: 1fr; }
  .iw-hero { min-height: 0; }
  .iw-hero-media, .iw-hero-media img { min-height: 420px; }
  .iw-grid { grid-template-columns: repeat(2, 1fr); }
  .iw-menu-toggle { display: inline-flex; }
  .iw-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 22px; background: var(--iw-cream); border-bottom: 1px solid var(--iw-line); }
  .iw-nav.is-open { display: flex; }
  .iw-nav a { padding: 12px; }
  .iw-nav-cta { margin-top: 8px; text-align: center; }
}

@media (max-width: 620px) {
  :root { --iw-content: min(100% - 28px, 1180px); }
  .iw-section { padding: 64px 0; }
  .iw-header-inner { min-height: 66px; }
  .iw-brand-copy { font-size: .88rem; }
  .iw-hero { padding-top: 46px; gap: 34px; }
  .iw-hero-media, .iw-hero-media img { min-height: 350px; }
  .iw-proof, .iw-grid, .iw-footer-grid { grid-template-columns: 1fr; }
  .iw-proof div { border-right: 0; border-bottom: 1px solid var(--iw-line); }
  .iw-proof div:last-child { border-bottom: 0; }
  .iw-form { grid-template-columns: 1fr; padding: 20px; }
  .iw-field--full { grid-column: auto; }
  .iw-footer-bottom { flex-direction: column; }
}

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

