/* Hostico — site styles */
:root {
  --pine: #1F3A34;
  --pine-2: #2A4A42;
  --brass: #B08D57;
  --brass-light: #D2B37E;
  --linen: #F4F1EA;
  --paper: #FFFFFF;
  --mist: #DCE5E0;
  --ink: #1C2422;
  --muted: #4A5451;
  --muted-on-dark: #C9D3CE;
  --line: #DCD5C6;
  --label: #6B5A3C;
  --radius: 16px;
  --wrap: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--pine); margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--pine); color: var(--linen); }
.section--dark h2, .section--dark h3 { color: var(--linen); }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--label); font-weight: 600; }
.section--dark .eyebrow { color: var(--brass-light); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.section--dark .lead { color: var(--muted-on-dark); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pine); color: var(--linen); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--pine); cursor: pointer; font-family: var(--sans); transition: background .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--pine); color: var(--linen); }
.btn--solid:hover { background: var(--pine-2); color: var(--linen); }
.btn--ghost { background: transparent; color: var(--pine); }
.btn--ghost:hover { background: var(--pine); color: var(--linen); }
.btn--light { background: var(--linen); color: var(--pine); border-color: var(--linen); }
.btn--light:hover { background: var(--brass-light); border-color: var(--brass-light); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar + header */
.topbar { background: var(--pine); color: var(--linen); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--linen); font-weight: 600; text-decoration: none; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand span { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--pine); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -2px 0 var(--brass); }
.nav a.btn { color: var(--linen); padding: 12px 22px; min-height: 44px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--pine); border-radius: 999px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--pine); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brass); }
  .nav a.btn { margin-top: 16px; border-bottom: 0; }
  .brand svg { width: 44px; height: 44px; }
  .brand span { font-size: 24px; }
}

/* Hero */
.hero { padding: 80px 0 96px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__copy { flex: 1 1 500px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.01em; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--muted); }
.hero__checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero__visual { flex: 1 1 400px; max-width: 540px; position: relative; }
.hero__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--mist); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.turnover { position: absolute; left: -28px; bottom: -36px; width: min(320px, 86%); background: var(--pine); color: var(--linen); border-radius: 16px; padding: 22px; box-shadow: 0 24px 48px rgba(28, 36, 34, .22); }
.turnover__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.turnover__head strong { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--brass-light); color: var(--ink); padding: 5px 9px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.turnover ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.turnover li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #355249; }
.turnover li:last-child { border-bottom: 0; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--brass-light); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tick--open { background: transparent; border: 2px solid var(--brass-light); }
@media (max-width: 880px) {
  .turnover { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -48px; margin-left: auto; margin-right: auto; max-width: 92%; }
}

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { background: var(--linen); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section--white .card { background: var(--linen); }
.card__img { aspect-ratio: 16 / 10; background: var(--mist); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); font-size: 15px; }
.card__link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }

/* Steps */
.steps { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { border-top: 2px solid var(--pine); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--serif); font-size: 44px; color: var(--brass); line-height: 1; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15px; }

/* Split / why */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split > :first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.split > :last-child { flex: 1 1 520px; }
.features { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 22px; color: var(--brass-light) !important; }
.feature p { color: var(--muted-on-dark); font-size: 15px; }

/* Service detail (services page) */
.service { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service__img { flex: 1 1 420px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 16px; }
.service__copy h2 { font-size: clamp(30px, 3vw, 40px); }
.service--flip .service__img { order: 2; }
@media (max-width: 880px) { .service--flip .service__img { order: 0; } }
.list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.list svg { flex: none; margin-top: 4px; }

/* Page header */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(38px, 4.6vw, 60px); max-width: 860px; }

/* CTA band */
.cta { background: var(--pine); color: var(--linen); border-radius: 24px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: var(--linen); font-size: clamp(28px, 3vw, 40px); max-width: 620px; }
.cta p { color: var(--muted-on-dark); margin-top: 10px; }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }

/* Form */
.form { background: var(--paper); border-radius: 20px; padding: 36px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 14px; border: 1px solid #CFC7B6; border-radius: 10px; background: #FBFAF6; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.form textarea { resize: vertical; min-height: 120px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid #CFC7B6; border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; background: #FBFAF6; }
.chip input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--linen); }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--muted); }
.form .btn { width: 100%; }
@media (max-width: 600px) { .form { padding: 24px; } }

.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item .card__icon { background: var(--paper); }

/* Prose */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: 18px; }

/* Footer */
.footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 36px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand svg { width: 76px; height: 76px; flex: none; }
.footer__brand strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--linen); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols strong { color: var(--linen); font-weight: 600; }
.footer a { color: var(--muted-on-dark); text-decoration: none; }
.footer a:hover { color: var(--brass-light); }
.footer__bottom { border-top: 1px solid #344039; padding-top: 24px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.credit { font-size: 12px; color: #8A958F; }

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
}
