:root {
  --navy-950: #0b1f33;
  --navy-900: #163a5f;
  --navy-800: #245b91;
  --navy-100: #e8f1fa;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --amber: #ffb347;
  --amber-dark: #b65300;
  --ink: #192535;
  --muted: #5f6c7b;
  --line: #d7dee8;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 22px 60px rgba(11, 31, 51, .14);
}

* { 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: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 72px 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); color: var(--navy-950); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.topbar { background: var(--navy-950); color: #dbe7f5; font-size: .88rem; }
.topbar-inner { min-height: 42px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.topbar p { margin: 0; }
.topbar a { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22); color: var(--amber); font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy-950); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--navy-900); color: var(--amber); border-radius: 50% 50% 45% 45%; font-size: 1.1rem; transform: rotate(0deg); }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .19em; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links > a { font-weight: 750; font-size: .94rem; }
.nav-links > a:not(.phone-button):not(.quote-button):hover, .nav-service-toggle:hover { color: var(--navy-800); }
.nav-links [aria-current="page"] { color: var(--navy-800); }
.quote-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border-radius: 10px; background: var(--amber); color: var(--navy-950); white-space: nowrap; transition: .2s ease; }
.quote-button:hover { background: #ffc45c; transform: translateY(-1px); }
.phone-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border: 2px solid var(--navy-900); border-radius: 10px; color: var(--navy-900); white-space: nowrap; transition: .2s ease; }
.phone-button:hover { background: var(--navy-900); color: var(--white); }
.nav-dropdown { position: static; }
.nav-service-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font-weight: 750; font-size: .94rem; cursor: pointer; }
.nav-service-toggle > span { color: var(--amber-dark); font-size: 1rem; transition: transform .2s ease; }
.nav-dropdown:hover .nav-service-toggle > span, .nav-dropdown:focus-within .nav-service-toggle > span, .nav-dropdown.open .nav-service-toggle > span { transform: rotate(180deg); }
.service-menu { position: absolute; z-index: 40; top: 76px; left: 50%; width: min(980px, calc(100vw - 40px)); padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 24px 65px rgba(11,31,51,.2); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-dropdown:hover .service-menu, .nav-dropdown:focus-within .service-menu, .nav-dropdown.open .service-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.service-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.service-menu-head strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; color: var(--navy-950); }
.service-menu-head a { color: var(--navy-800); font-size: .85rem; font-weight: 850; }
.service-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }
.service-menu-grid a { padding: 7px 9px; border-radius: 7px; color: #334155; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.service-menu-grid a:hover, .service-menu-grid a:focus { background: var(--navy-100); color: var(--navy-950); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--navy-950); margin: 5px 0; }

.hero { min-height: 620px; position: relative; display: grid; align-items: center; background-color: var(--navy-950); background-image: linear-gradient(90deg, rgba(7,21,37, .95) 0%, rgba(7,21,37, .77) 42%, rgba(7,21,37, .28) 72%, rgba(7,21,37, .16) 100%), url("boise-tree-service-hero.webp"); background-size: cover; background-position: center; color: var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--amber) 0 25%, transparent 25%); }
.hero-content { position: relative; z-index: 2; padding: 72px 0 68px; }
.eyebrow { margin: 0 0 12px; color: var(--amber); font-weight: 850; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; }
.eyebrow.dark { color: var(--navy-800); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.035em; }
h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3.2vw, 2.65rem); letter-spacing: -.03em; }
h3 { font-size: 1.75rem; }
.hero-lead { max-width: 650px; margin: 0 0 34px; color: #e4edf7; font-size: 1.14rem; }
.hero-actions { display: flex; gap: 26px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 1px solid var(--amber); border-radius: 999px; background: var(--amber); color: var(--navy-950); font-weight: 850; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { background: #ffc85d; transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 20px; }
.button.light { background: var(--white); border-color: var(--white); }
.button.full { width: 100%; }
.text-link { color: var(--white); font-weight: 800; }
.hero-facts { display: flex; gap: 0; flex-wrap: wrap; margin-top: 50px; }
.hero-facts span { padding: 0 22px; border-right: 1px solid rgba(255,255,255,.3); color: #dce8f4; font-size: .9rem; }
.hero-facts span:first-child { padding-left: 0; }
.hero-facts span:last-child { border-right: 0; }

.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.intro h2 { margin-bottom: 0; }
.intro-copy { border-left: 1px solid #cbd4df; padding-left: 50px; color: #526170; font-size: 1.08rem; }
.seo-intro { background: var(--cream); }
.seo-intro-inner { padding-left: 30px; border-left: 5px solid var(--amber); }
.seo-intro-heading { max-width: 900px; margin-bottom: 28px; }
.seo-intro-heading h2 { margin-bottom: 0; }
.seo-intro-copy { max-width: 980px; }
.seo-intro-copy p { margin: 0; color: #526170; font-size: 1.05rem; }
.inline-link { color: var(--navy-800); font-weight: 850; text-decoration: none; transition: color .2s ease; }
.inline-link:hover { color: var(--amber-dark); }

.services { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 0; max-width: 720px; }
.section-heading > p { max-width: 430px; color: var(--muted); margin: 0 0 8px; }
.section-heading.centered { display: block; text-align: center; }
.section-heading.stacked { display: block; }
.section-heading.stacked > p { max-width: 720px; margin: 12px 0 0; }
.home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-service-card { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 10px; align-items: center; min-height: 72px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 6px 18px rgba(11,31,51,.04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.home-service-card h3 { margin: 0; font-family: inherit; font-size: .96rem; line-height: 1.28; letter-spacing: -.01em; }
.home-service-card .service-number { font-size: .7rem; }
.home-service-card .card-arrow { color: var(--navy-800); font-weight: 900; transition: transform .2s ease; }
.home-service-card:hover { transform: translateY(-3px); border-color: #aebfd2; background: #f7f9fc; box-shadow: 0 12px 28px rgba(11,31,51,.1); }
.home-service-card:hover .card-arrow { transform: translateX(3px); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-card { min-height: 340px; padding: 42px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .2s ease, box-shadow .2s ease; }
.service-card:hover { background: #f7f9fc; box-shadow: inset 0 0 0 2px rgba(36,91,145,.12); }
.service-card:nth-child(2n) { border-right: 0; }
.service-card:nth-child(n+3) { border-bottom: 0; }
.service-card.featured { background: var(--cream); }
.service-card.dark-card { background: var(--navy-900); color: var(--white); }
.service-number { color: var(--amber-dark); font-weight: 900; font-size: .78rem; letter-spacing: .1em; }
.service-card h3 { margin: 68px 0 18px; }
.service-card p { color: var(--muted); max-width: 480px; }
.dark-card p { color: #d7e2ef; }
.service-card a { position: absolute; bottom: 38px; left: 42px; color: var(--navy-800); font-weight: 850; text-decoration: none; transition: color .2s ease; }
.service-card a:hover { color: var(--amber-dark); }
.dark-card a { color: var(--amber); }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: stretch; }
.about-panel { background: var(--navy-950); color: var(--white); border-radius: var(--radius); padding: 42px; min-height: 430px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.quote-mark { color: var(--amber); font-family: Georgia, serif; font-size: 6rem; line-height: .8; margin: 0; }
.about-statement { font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.18; margin: 35px 0; }
.mini-contact { margin-top: auto; border-top: 1px solid rgba(255,255,255,.2); padding-top: 25px; }
.mini-contact span, .mini-contact a { display: block; }
.mini-contact span { color: #b7c7d9; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.mini-contact a { color: var(--amber); text-decoration: none; font-weight: 900; font-size: 1.25rem; margin-top: 6px; }
.about-copy { padding: 25px 0; }
.check-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid #cbd4df; }
.check-list > div > span { color: var(--amber-dark); font-weight: 900; }
.check-list p { margin: 0; color: var(--muted); }
.check-list strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 3px; }

.process { background: var(--white); }
.process-grid { list-style: none; padding: 0; margin: 55px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-grid li { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.process-grid li:hover { transform: translateY(-4px); border-color: #b7c6d6; box-shadow: 0 16px 36px rgba(11,31,51,.09); }
.process-grid li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-900); font-weight: 900; }
.process-grid h3 { margin: 46px 0 12px; font-size: 1.55rem; }
.process-grid p { color: var(--muted); margin: 0; }

.areas { background: var(--navy-900); color: var(--white); }
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.areas-grid h2 { max-width: 620px; }
.areas-grid p:not(.eyebrow) { color: #d4e1ef; max-width: 650px; margin-bottom: 30px; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.25); }
.area-list span { padding: 22px 5px; border-bottom: 1px solid rgba(255,255,255,.25); color: #e4edf7; }
.area-list span:nth-child(2n) { padding-left: 35px; border-left: 1px solid rgba(255,255,255,.25); }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.faq-heading { position: sticky; top: 30px; align-self: start; }
.faq-heading p:last-child { color: var(--muted); }
.accordion details { border-top: 1px solid #cbd4df; padding: 0; }
.accordion details:last-child { border-bottom: 1px solid #cbd4df; }
.accordion summary { list-style: none; cursor: pointer; padding: 25px 0; font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; display: flex; justify-content: space-between; gap: 20px; transition: color .2s ease; }
.accordion summary:hover { color: var(--navy-800); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--navy-800); font-family: system-ui, sans-serif; font-size: 1.4rem; transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: -6px 0 26px; padding-right: 45px; color: var(--muted); }

.contact { background: var(--navy-950); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: #c9d8e8; max-width: 580px; }
.contact-details { margin-top: 45px; display: grid; gap: 22px; }
.contact-details a, .contact-details p { margin: 0; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.contact-details small { display: block; color: var(--amber); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-bottom: 5px; }
.estimate-form { background: var(--navy-800); padding: 38px; border-radius: var(--radius); box-shadow: 0 25px 70px rgba(0,0,0,.24); }
.estimate-form label { display: block; font-weight: 800; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; margin-top: 8px; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; background: rgba(255,255,255,.09); color: var(--white); padding: 13px 14px; outline: none; }
.estimate-form select option { color: var(--ink); }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(242,184,75,.18); }
.estimate-form textarea::placeholder { color: #b8c9dc; }
.form-note { color: #b8c9dc; font-size: .78rem; margin: 12px 0 0; }

footer { background: #071526; color: #d7e2ef; padding: 70px 0 24px; }
.footer-main { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1.25fr; gap: 52px; align-items: start; }
.footer-brand { width: max-content; color: var(--white); }
.footer-brand small { color: #afc0d2; }
.footer-intro h2 { margin: 28px 0 12px; color: var(--white); font-size: 1.45rem; letter-spacing: -.015em; }
.footer-intro p { max-width: 340px; margin: 0; color: #aebed0; font-size: .94rem; }
.footer-column h3, .footer-contact h3 { margin: 2px 0 20px; color: var(--white); font-family: inherit; font-size: .78rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column a { width: max-content; max-width: 100%; padding: 3px 0; color: #b9c8d8; font-size: .9rem; transition: color .2s ease, transform .2s ease; }
.footer-column a:hover { color: var(--amber); transform: translateX(3px); }
.footer-contact { display: grid; gap: 16px; margin: 0; font-style: normal; }
.footer-contact p { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0; color: #b9c8d8; font-size: .9rem; line-height: 1.55; }
.footer-contact svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a { color: var(--white); font-weight: 850; transition: color .2s ease; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; color: #93a8bd; }
.footer-bottom > span:last-child { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: #a5b7c9; transition: color .2s ease; }
.footer-bottom a:hover { color: var(--amber); }
.mobile-call { display: none; }

/* Interior pages */
.page-hero { position: relative; min-height: 390px; display: grid; align-items: end; overflow: hidden; color: var(--white); background-color: var(--navy-950); background-image: linear-gradient(90deg, rgba(7,21,37,.96) 0%, rgba(7,21,37,.83) 50%, rgba(7,21,37,.36) 100%), url("boise-tree-service-hero.webp"); background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--amber) 0 28%, transparent 28%); }
.page-hero-inner { position: relative; z-index: 2; padding: 68px 0 54px; }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(2rem, 4.2vw, 3.25rem); }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #dbe7f3; font-size: 1.12rem; }
.breadcrumbs { margin-bottom: 20px; color: #bfd0e2; font-size: .85rem; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs span { margin: 0 8px; color: var(--amber); }
.content-section { padding: 68px 0; background: var(--paper); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 76px; align-items: start; }
.prose { max-width: 800px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 42px; margin-bottom: 15px; font-size: clamp(1.75rem, 3vw, 2.45rem); }
.prose h3 { margin-top: 30px; margin-bottom: 10px; font-size: 1.55rem; }
.prose p, .prose li { color: #4f5e70; }
.prose strong { color: var(--ink); }
.prose p a, .prose li a { color: var(--navy-800); font-weight: 800; transition: color .2s ease; }
.prose p a:hover, .prose li a:hover { color: var(--amber-dark); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 9px; }
.lead-copy { color: var(--ink) !important; font-size: 1.2rem; line-height: 1.7; }
.answer-box { margin: 24px 0; padding: 24px 26px; border-left: 5px solid var(--amber); border-radius: 0 14px 14px 0; background: var(--cream); }
.answer-box strong { display: block; margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.2rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 !important; list-style: none; }
.feature-list li { padding: 18px 18px 18px 48px; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.feature-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--navy-800); font-weight: 900; }
.sidebar { position: sticky; top: 28px; }
.sidebar-card { margin-bottom: 22px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 45px rgba(11,31,51,.08); transition: border-color .2s ease, box-shadow .2s ease; }
.sidebar-card:not(.dark):hover { border-color: #b7c6d6; box-shadow: 0 20px 50px rgba(11,31,51,.12); }
.sidebar-card.dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.sidebar-card h2 { margin-bottom: 14px; font-size: 1.75rem; }
.sidebar-card p { color: var(--muted); margin: 0 0 20px; font-size: .94rem; }
.sidebar-card.dark p { color: #d1deec; }
.sidebar-card .button { width: 100%; }
.service-links { list-style: none; padding: 0; margin: 0; }
.service-links li + li { border-top: 1px solid var(--line); }
.service-links a { display: flex; justify-content: space-between; padding: 13px 0; color: var(--navy-900); text-decoration: none; font-weight: 800; }
.service-links a:hover { color: var(--amber-dark); }
.service-links a[aria-current="page"] { color: var(--amber-dark); }
.service-links a::after { content: "→"; }
.cta-band { padding: 46px 0; background: var(--amber); color: var(--navy-950); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { margin: 0; max-width: 690px; }
.cta-band .button { flex: 0 0 auto; background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.cta-band .button:hover { background: var(--navy-800); border-color: var(--navy-800); }
.quick-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 42px; }
.quick-nav a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy-900); text-decoration: none; font-weight: 750; font-size: .88rem; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.quick-nav a:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }
.page-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.page-card { min-height: 285px; padding: 34px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.page-card:hover { transform: translateY(-5px); border-color: #b7c6d6; box-shadow: 0 20px 48px rgba(11,31,51,.12); }
.page-card h2 { margin: 52px 0 12px; font-size: 2rem; }
.page-card p { color: var(--muted); }
.page-card a { color: var(--navy-800); font-weight: 850; text-decoration: none; transition: color .2s ease; }
.page-card a:hover { color: var(--amber-dark); }
.page-card .service-number { position: absolute; top: 30px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 35px 0; }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,31,51,.1); }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.contact-card strong { margin-top: 7px; color: var(--navy-900); font-size: 1.2rem; }
.contact-card a { color: inherit; text-decoration: none; }
.policy-date { display: inline-block; margin-bottom: 25px; color: var(--muted); font-size: .9rem; }
.faq-page details { border-top: 1px solid var(--line); }
.faq-page details:last-child { border-bottom: 1px solid var(--line); }
.faq-page summary { padding: 23px 0; cursor: pointer; font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; }
.faq-page details p { margin: -3px 0 26px; }
.service-directory { grid-template-columns: repeat(3, 1fr); }
.service-directory .page-card { min-height: 310px; }
.service-directory .page-card h2 { font-size: 1.7rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-grid figure { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 48px rgba(11,31,51,.1); transition: transform .25s ease, box-shadow .25s ease; }
.gallery-grid figure:hover { transform: translateY(-5px); box-shadow: 0 24px 58px rgba(11,31,51,.16); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-100); transition: transform .45s ease; }
.gallery-grid figure:hover img { transform: scale(1.02); }
.gallery-grid figcaption { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 25px; }
.gallery-grid figcaption strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; color: var(--navy-950); }
.gallery-grid figcaption span { color: var(--muted); }
.gallery-grid figcaption a { margin-top: auto; padding-top: 6px; color: var(--navy-800); font-weight: 850; }
.gallery-note { margin-top: 38px; padding: 34px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.gallery-note strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.gallery-note p { color: #d4e1ef; }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; gap: 50px; }
  .sidebar { position: static; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .service-directory { grid-template-columns: repeat(2, 1fr); }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.25fr 1fr; gap: 46px 70px; }
}

@media (max-width: 900px) {
  .nav-links { position: absolute; top: 78px; left: 0; right: 0; max-height: calc(100vh - 105px); overflow-y: auto; background: var(--white); padding: 22px; border-radius: 16px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; gap: 7px; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 10px 8px; text-align: center; }
  .nav-service-toggle { width: 100%; justify-content: center; }
  .quote-button, .phone-button { justify-content: center; }
  .phone-button { margin-top: 4px; }
  .nav-dropdown { position: static; }
  .service-menu { position: static; display: none; width: 100%; max-height: 54vh; overflow-y: auto; margin-top: 4px; padding: 18px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 12px; background: var(--cream); }
  .nav-dropdown:hover .service-menu, .nav-dropdown:focus-within .service-menu { display: none; transform: none; }
  .nav-dropdown.open .service-menu { display: block; }
  .service-menu-head { align-items: flex-start; flex-direction: column; }
  .service-menu-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-menu-grid a { text-align: left; padding: 9px 10px; }
  .menu-toggle { display: block; }
  .hero { min-height: 580px; background-position: 62% center; }
  .intro-grid, .about-grid, .areas-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .intro-copy { border-left: 0; border-top: 1px solid #cbd4df; padding: 30px 0 0; }
  .about-panel { min-height: 460px; }
  .faq-heading { position: static; }
}

@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 56px 0; }
  .topbar-inner { min-height: 58px; padding: 7px 0; flex-wrap: wrap; justify-content: center; gap: 3px 14px; line-height: 1.35; text-align: center; }
  .topbar p { width: 100%; font-size: .78rem; }
  .topbar a { padding-left: 0; border-left: 0; font-size: .82rem; }
  .nav { height: 76px; }
  .brand strong { font-size: 1.2rem; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 540px; background-position: 68% center; background-image: linear-gradient(90deg, rgba(7,21,37, .96) 0%, rgba(7,21,37, .82) 58%, rgba(7,21,37, .45) 100%), url("boise-tree-service-hero.webp"); }
  .hero-content { padding: 52px 0; }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .text-link { align-self: flex-start; }
  .hero-facts { margin-top: 36px; display: grid; gap: 8px; }
  .hero-facts span { padding: 0; border: 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .home-service-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-service-card { min-height: 64px; padding: 13px 15px; }
  .service-card { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--line) !important; padding: 34px 28px; }
  .service-card:last-child { border-bottom: 0 !important; }
  .service-card a { left: 28px; }
  .about-panel { padding: 34px 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .area-list span:nth-child(2n) { padding-left: 5px; border-left: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero { min-height: 350px; background-position: 68% center; }
  .page-hero-inner { padding: 52px 0 44px; }
  .feature-list, .page-card-grid, .contact-cards, .gallery-grid { grid-template-columns: 1fr; }
  .content-section { padding: 54px 0; }
  .sidebar-card { padding: 24px; }
  .estimate-form { padding: 28px 22px; }
  footer { padding-top: 56px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-intro p { max-width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom > span:last-child { gap: 14px; }
  .mobile-call { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 62px; display: grid; place-items: center; background: var(--amber); color: var(--navy-950); font-weight: 900; text-decoration: none; box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
}

@media (hover: none) {
  .service-card:hover, .home-service-card:hover, .process-grid li:hover, .page-card:hover, .contact-card:hover, .gallery-grid figure:hover { transform: none; }
  .gallery-grid figure:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
