/* Rafter K2 Farms website - Big Sky Modern
   The main colours and fonts are in the ":root" block of the version styles further down. */

/* ===== Shared layout (same in all three versions) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--heading); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 28px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-btn, var(--font-body)); font-size: 16px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Topbar */
.topbar { font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; margin-left: 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

/* Header + navigation */
.site-header { position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--heading); white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent-text); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a { display: block; text-decoration: none; padding: 10px 14px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; width: 46px; height: 46px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 6px; }
.nav-button span { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; background-size: cover; background-position: center; }
.hero h1 { margin-bottom: .35em; }

/* Sections */
.section { padding: 90px 0; }
.section-head { margin-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--accent-text); }
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-text .btn { margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.ticks .icon { color: var(--accent-text); margin-top: 4px; }

.feature h3, .card h3, .step h3, .cut-group h3 { font-size: 21px; }
.feature-num { display: none; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media { overflow: hidden; }
.card-body { padding: 24px; flex: 1; }
.card-link { font-weight: 700; color: var(--accent-text); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: 10px 2px; font-size: 15px; }

.cut-group ul { list-style: none; padding: 0; margin: 0; }
.cut-group li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.note { margin-top: 30px; font-style: italic; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step { position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 700; font-size: 22px; margin-bottom: 16px; font-family: var(--font-head); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-head); color: var(--heading); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent-text); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

.cta { padding: 70px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; }
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list a { word-break: break-word; }
.contact-form { padding: 36px; }
.contact-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; border: 1px solid var(--line); background: #fff; color: #222; }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 14px; margin: 14px 0 0; opacity: .8; }
.map { position: relative; }
.map-link { margin: 0; text-align: center; padding: 14px 18px; font-weight: 700; }
.map-link a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; background: var(--line); }

/* Footer */
.site-footer { font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-grid h4 { font-size: 18px; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.site-footer a { text-decoration: none; }
.footer-brand p { margin-top: 18px; max-width: 380px; }
.footer-bottom { padding: 18px 0; font-size: 14px; }

/* ===== Tablet ===== */
@media (max-width: 1000px) {
  .nav-button { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .site-nav a { padding: 14px 4px; }
  .nav-toggle:checked ~ .site-nav { max-height: 520px; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--accent-text); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-inner { gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
}

/* ===== Phone ===== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .split-inner, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner > span:first-child { display: none; }
  .topbar a { margin: 0 8px; }
  .brand { font-size: 20px; }
  .brand img { width: 42px; height: 42px; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 420px) {
  .topbar a:last-child { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ===== Version 2: Big Sky Modern (fresh and clean) ===== */
:root {
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --font-btn: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --bg: #ffffff;
  --sky: #eaf5fb;          /* pale sky blue */
  --mint: #eef6ea;
  --text: #4a5a52;
  --heading: #1d2b24;
  --green: #2e5e3e;        /* forest green */
  --green-dark: #224a30;
  --leaf: #6aa84f;
  --link: #2e5e3e;
  --accent-text: #3f8a2e;
  --line: #dfe8e3;
  --radius: 18px;
  --max: 1200px;
}

.site-header { position: sticky; top: 0; background: rgba(255, 255, 255, .96); box-shadow: 0 2px 18px rgba(29, 43, 36, .08); }
.header-inner { min-height: 78px; }
.brand { font-weight: 800; letter-spacing: -.01em; font-size: 22px; }
.brand em { color: var(--leaf); }
.site-nav a { color: var(--heading); font-weight: 600; font-size: 15px; border-radius: 999px; font-family: var(--font-head); }
.site-nav a:hover { background: var(--mint); }
.site-nav a.active { background: var(--green); color: #fff; }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta .btn { padding: 11px 22px; color: #fff; }
.site-nav .nav-cta .btn:hover { background: var(--green-dark); }
.nav-button { color: var(--green); background: var(--mint); }

.btn { border-radius: 999px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-accent { background: #fff; color: var(--green); }
.btn-accent:hover { background: var(--mint); }

.hero { background: linear-gradient(180deg, var(--sky), #fff); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 90px; }
.hero-page .hero-inner { padding-top: 56px; padding-bottom: 56px; grid-template-columns: 1.3fr 1fr; }
.hero h1 { font-size: 54px; font-weight: 800; letter-spacing: -.02em; }
.hero-page h1 { font-size: 44px; }
.hero .kicker { display: inline-block; background: var(--mint); color: var(--green); padding: 8px 16px; border-radius: 999px; letter-spacing: .06em; }
.hero-text { font-size: 19px; margin-bottom: 30px; max-width: 560px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 60px rgba(29, 43, 36, .18); }
.hero-page .hero-media img { aspect-ratio: 16 / 10; border-radius: 24px; }
.hero-badge { position: absolute; left: -26px; bottom: 30px; display: flex; gap: 14px; align-items: center; background: #fff; padding: 16px 22px; border-radius: 16px; box-shadow: 0 14px 34px rgba(29, 43, 36, .16); }
.hero-badge .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--leaf); color: #fff; }
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--heading); }
.hero-badge span { font-size: 14px; }

.section-head { max-width: 640px; }
.features .section-head, .cards .section-head, .gallery .section-head, .steps .section-head, .cuts .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }

.split-media img { border-radius: var(--radius); }

.features { background: var(--sky); }
.feature { background: #fff; padding: 36px 30px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(29, 43, 36, .06); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(29, 43, 36, .12); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon .icon { width: 30px; height: 30px; }

.card { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(29, 43, 36, .08); }
.card-body h3 { font-weight: 700; }

.gallery-grid { gap: 20px; }
.gallery-grid figure img { border-radius: 14px; }
.gallery-grid figcaption { font-weight: 600; color: var(--heading); }

.cuts { background: var(--mint); }
.cut-group { background: #fff; padding: 28px; border-radius: var(--radius); }
.cut-group h3 { color: var(--green); }
.cut-group li { border-bottom-style: solid; }
.note { text-align: center; }

.steps .step { background: var(--sky); padding: 34px 28px; border-radius: var(--radius); }
.step-num { background: var(--green); color: #fff; border-radius: 14px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }

.cta { padding: 0 0 90px; }
.cta-inner { background: linear-gradient(120deg, var(--green), #3f7d4f); color: #e2efe4; border-radius: 28px; padding: 54px 56px; }
.cta h2 { color: #fff; font-size: 32px; font-weight: 800; }
.cta a:not(.btn) { color: #fff; font-weight: 700; }
.page-contact .map { padding: 0 24px 90px; }
.map iframe { border-radius: 24px; max-width: 1152px; margin: 0 auto; }

.contact-list .icon { background: var(--mint); color: var(--green); border-radius: 14px; }
.contact-form { background: var(--sky); border-radius: 24px; }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 12px; border-color: #cfe0e8; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--leaf); border-color: var(--leaf); }

.site-footer { background: var(--green); color: #cfe2d3; }
.site-footer h4, .site-footer .brand { color: #fff; }
.site-footer .brand em { color: #b8e09f; }
.site-footer a { color: #e6f2e8; }
.site-footer a:hover { color: #b8e09f; }
.footer-contact .icon { color: #b8e09f; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); color: #b3cdb9; }

@media (max-width: 1000px) {
  .site-nav { background: #fff; box-shadow: 0 16px 24px rgba(29, 43, 36, .1); }
  .site-nav .nav-cta { margin: 12px 0 0; }
  .site-nav .nav-cta .btn { justify-content: center; }
  .hero-inner, .hero-page .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { left: 16px; }
}
@media (max-width: 760px) {
  .hero-inner { padding-top: 44px; padding-bottom: 60px; }
  .hero h1 { font-size: 34px; }
  .hero-page h1 { font-size: 32px; }
  .hero-text { font-size: 17px; }
  .hero-media img { border-radius: 22px; }
  .section-head h2 { font-size: 28px; }
  .cta { padding-bottom: 60px; }
  .cta-inner { padding: 36px 24px; border-radius: 20px; margin: 0 18px; width: auto; }
  .page-contact .map { padding: 0 18px 60px; }
}
