/* Yeti Homes LLC - site styles. Layout modelled on the ConsultXP-style design. */
@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
	--primary: #155a9c;
	--primary-dark: #0d3f6e;
	--navy: #1f2f5f;
	--ink: #17212b;
	--muted: #5b6672;
	--accent: #f4c7a8;
	--accent-dark: #e0a47a;
	--bg-soft: #f4f7fa;
	--line: #e3e8ee;
	--white: #fff;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(13, 63, 110, .10);
	--max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--primary-dark); color: #dbe7f3; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.section.dark .eyebrow { color: var(--accent); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 2px solid var(--primary); background: var(--primary); color: var(--white); cursor: pointer; transition: background .2s, color .2s, transform .2s; font-family: inherit; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--primary-dark); }
.btn.outline-dark { background: transparent; color: var(--primary); }
.btn.outline-dark:hover { background: var(--primary); color: var(--white); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.topbar { background: var(--primary-dark); color: #cfe0f0; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar i { color: var(--accent); margin-right: 6px; }
.topbar .group { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand img { width: 52px; height: 52px; border-radius: 8px; }
.brand span small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; padding: 6px; }

/* Hero */
.hero { position: relative; color: var(--white); background: linear-gradient(105deg, rgba(13, 63, 110, .94) 0%, rgba(13, 63, 110, .78) 48%, rgba(13, 63, 110, .35) 100%), url("../../images/house.jpg") center / cover no-repeat; }
.hero .container { padding-top: 110px; padding-bottom: 120px; }
.hero-copy { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .tagline { display: inline-block; background: rgba(255, 255, 255, .14); padding: 6px 16px; border-radius: 999px; font-weight: 500; font-size: .95rem; margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: #e6eef6; max-width: 540px; margin-bottom: 30px; }

/* Page banner (inner pages) */
.page-banner { background: linear-gradient(105deg, rgba(13, 63, 110, .95), rgba(21, 90, 156, .85)), url("../../images/banner.jpg") center / cover no-repeat; color: var(--white); text-align: center; padding: 70px 0; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.breadcrumb { list-style: none; display: flex; justify-content: center; gap: 10px; padding: 0; margin: 0; font-size: .95rem; color: #cfe0f0; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .6; }

/* Cards & grids */
.grid { display: grid; gap: 28px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 62px; height: 62px; border-radius: 14px; background: rgba(21, 90, 156, .10); color: var(--primary); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }
.card.feature { border-top: 4px solid var(--primary); }
.num { font-size: 2.4rem; font-weight: 700; color: var(--accent-dark); line-height: 1; margin-bottom: 14px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split.reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .65rem; display: grid; place-items: center; }

/* YETI values */
.yeti-letter { font-size: 3.2rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.section.dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section.dark .card p { color: #cfe0f0; }
.section.dark .card:hover { box-shadow: none; background: rgba(255, 255, 255, .1); }

/* Team */
.team-card { text-align: center; padding: 0 0 28px; overflow: hidden; }
.team-card .avatar { height: 240px; background: linear-gradient(135deg, var(--primary), var(--navy)); display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 22px; }
.team-card img.photo { height: 320px; width: 100%; object-fit: cover; object-position: top; margin-bottom: 22px; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.team-card p { padding: 0 24px; }

/* Contact strip + form */
.contact-strip { background: var(--primary); color: #fff; }
.contact-strip .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.contact-strip h2 { color: #fff; margin-bottom: 8px; }
.contact-strip a { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.info-list .ico { flex: 0 0 46px; height: 46px; border-radius: 50%; background: rgba(21, 90, 156, .10); color: var(--primary); display: grid; place-items: center; font-size: 1.1rem; }
.contact-strip .info-list .ico { background: rgba(255, 255, 255, .15); color: #fff; }
.info-list strong { display: block; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cdd5de; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; }
.faq-q { width: 100%; background: none; border: 0; text-align: left; font: inherit; font-weight: 600; font-size: 1.05rem; padding: 18px 56px 18px 22px; position: relative; cursor: pointer; color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* Embed */
.pdf-frame { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }

/* CTA band */
.cta-band { background: linear-gradient(105deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 600px; margin: 0 auto 26px; color: #dbe7f3; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: #0a2a4a; color: #b9cadb; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #b9cadb; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.site-footer .social a:hover { background: var(--accent); color: var(--ink); }
.site-footer .contact-line { display: flex; gap: 12px; margin-bottom: 12px; }
.site-footer .contact-line i { color: var(--accent); margin-top: 5px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; text-align: center; font-size: .88rem; }
.footer-bottom a { text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
.prose { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

@media (max-width: 980px) {
	.grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.split, .contact-strip .container { grid-template-columns: 1fr; gap: 36px; }
	.split.reverse > :first-child { order: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.nav-toggle { display: block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; display: none; box-shadow: 0 12px 20px rgba(0, 0, 0, .08); }
	.nav.open { display: flex; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav .btn { text-align: center; margin-top: 16px; }
}
@media (max-width: 640px) {
	.section { padding: 56px 0; }
	.hero .container { padding-top: 70px; padding-bottom: 80px; }
	.grid.cols-2, .grid.cols-3, .grid.cols-4, .footer-grid { grid-template-columns: 1fr; }
	.topbar .group:last-child { display: none; }
	.pdf-frame { height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}
.site-footer .footer-docs { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: .92rem; }
.site-footer .footer-docs a { display: block; color: #fff; text-decoration: underline; }
.site-footer .footer-docs a:hover { color: var(--accent); }
