/* Kampaamo Kuvitelma on a typical ready-made template (site/pohja.mjs): the comparison page.
   Deliberately the usual template look: one centred 1140px container, Montserrat headings, Open Sans text, a dusty
   rose accent, pill buttons, white and beige sections, cards with a soft shadow. Written by Mrrp for the comparison,
   not taken from any real theme. Fonts: public/demo/kampaamo/fonts/LICENCES.md. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/demo/kampaamo/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/demo/kampaamo/fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/demo/kampaamo/fonts/open-sans-600.woff2") format("woff2"); }

:root {
  --accent: #9d625c;
  --accent-dark: #8f5a54;
  --heading: #222222;
  --text: #5f5f5f;
  --alt: #f8f4f1;
  --border: #e6e1dd;
  --footer: #2b2b2b;
  --head-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; color: var(--text); font: 400 16px/1.7 var(--body-font); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 16px; color: var(--heading); font-family: var(--head-font); font-weight: 600; line-height: 1.25; }
h2 { font-size: 36px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
a { color: var(--accent-dark); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.t-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--accent); color: #fff; }
.t-skip:focus { left: 8px; }

/* ---- Mrrp's demo bar, the same as on the salon's other two designs ---- */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; padding: .45rem clamp(16px, 3vw, 80px); background: #171513; color: #cdc7c3; font: 400 .84rem/1.45 system-ui, sans-serif; }
.demo-bar p { flex: 1 1 30rem; margin: 0; }
.demo-bar strong { color: #fff; font-weight: 650; }
.demo-bar-end { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.demo-bar a { color: #f1f2f8; }
.demo-bar .lang, .demo-bar .ver { display: inline-flex; border: 1px solid #3a3633; }
.demo-bar .lang a, .demo-bar .ver a { min-width: 2.3rem; padding: .15rem .5rem; color: #a9a29e; font-size: .76rem; font-weight: 600; text-align: center; text-decoration: none; }
.demo-bar .lang a:hover, .demo-bar .ver a:hover { color: #fff; }
.demo-bar .lang a[aria-current], .demo-bar .ver a[aria-current] { background: #3a3633; color: #fff; }
.demo-bar :focus-visible { outline-color: #fff; }

/* ---- layout ---- */
.t-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.t-narrow { max-width: 860px; }
.t-section { padding: 90px 0; }
.t-alt { background: var(--alt); }
.t-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.t-head h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 18px auto 0; background: var(--accent); }
.t-small { font-size: 14px; color: #777; }

/* ---- buttons ---- */
.t-btn { display: inline-block; padding: 14px 34px; border-radius: 30px; background: var(--accent); color: #fff; font: 600 14px/1.2 var(--head-font); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: background .3s; }
.t-btn:hover { background: var(--accent-dark); }
.t-btn-sm { padding: 11px 24px; font-size: 13px; }
.t-btn-light { background: #fff; color: var(--accent-dark); }
.t-btn-light:hover { background: #f1e9e6; }

/* ---- header ---- */
.t-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); }
.t-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.t-logo { color: var(--heading); font: 600 22px/1.2 var(--head-font); text-decoration: none; }
.t-nav { display: flex; align-items: center; gap: 32px; }
.t-nav a:not(.t-btn) { color: var(--heading); font: 600 15px/1.2 var(--head-font); text-decoration: none; transition: color .3s; }
.t-nav a:not(.t-btn):hover { color: var(--accent); }
.t-nav .t-btn { color: #fff; }
.t-menu-btn { display: none; padding: 9px 16px; border: 1px solid var(--border); border-radius: 4px; background: #fff; color: var(--heading); font: 600 14px/1.2 var(--head-font); cursor: pointer; }

/* ---- hero ---- */
.t-hero { position: relative; display: flex; align-items: center; min-height: 650px; overflow: hidden; background: #222; text-align: center; }
.t-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.t-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.t-hero-in { position: relative; z-index: 1; max-width: 800px; }
.t-hero h1 { margin-bottom: 20px; color: #fff; font-size: 52px; }
.t-hero p { margin-bottom: 34px; color: rgba(255, 255, 255, .9); font-size: 20px; }

/* ---- service cards ---- */
.t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.t-card { padding: 45px 35px; border-radius: 8px; background: #fff; box-shadow: 0 5px 25px rgba(0, 0, 0, .07); text-align: center; }
.t-card p { margin-bottom: 20px; }
.t-more { font: 600 14px/1.2 var(--head-font); text-decoration: none; }
.t-more:hover { text-decoration: underline; }

/* ---- about ---- */
.t-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.t-about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.t-about-text .t-btn { margin-top: 10px; }

/* ---- team ---- */
.t-team { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 30px 60px; text-align: center; }
.t-member img { width: 200px; height: 200px; margin: 0 auto 24px; border-radius: 50%; object-fit: cover; }
.t-member h3 { margin-bottom: 6px; }
.t-member p { margin-bottom: 4px; }

/* ---- price list ---- */
.t-prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 25px rgba(0, 0, 0, .05); }
.t-prices th, .t-prices td { padding: 18px 24px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.t-prices thead th { background: var(--accent); color: #fff; font: 600 14px/1.2 var(--head-font); letter-spacing: .5px; text-transform: uppercase; }
.t-prices tbody tr:last-child td { border-bottom: 0; }
.t-prices td strong { display: block; color: var(--heading); font-weight: 600; }
.t-prices td span { font-size: 14px; color: #777; }
.t-prices th:nth-child(n+2), .t-prices td:nth-child(n+2) { width: 1%; white-space: nowrap; text-align: right; }
.t-prices td:last-child { color: var(--heading); font-weight: 600; }

/* ---- booking band ---- */
.t-cta { padding: 80px 0; background: var(--accent); color: #fff; text-align: center; }
.t-cta h2 { color: #fff; }
.t-cta p { margin-bottom: 30px; font-size: 18px; }

/* ---- contact ---- */
.t-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.t-contact h3 { padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.k-hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.k-hours th, .k-hours td { padding: 6px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 400; }
.k-hours th { text-transform: capitalize; }
.k-hours td { text-align: right; }
.k-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.t-map { display: flex; align-items: center; justify-content: center; min-height: 320px; margin-top: 50px; padding: 20px; border-radius: 8px; background: #ececec; color: #777; text-align: center; }
.t-map p { margin: 0; }

/* ---- footer ---- */
.t-footer { padding: 60px 0 0; background: var(--footer); color: #bbbbbb; font-size: 15px; }
.t-footer a { color: #ffffff; }
.t-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.t-footer-name { margin-bottom: 8px; color: #fff; font: 600 20px/1.2 var(--head-font); }
.t-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.t-footer nav a { text-decoration: none; }
.t-footer nav a:hover { text-decoration: underline; }
.t-copy { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #444; font-size: 13px; }
.t-copy p { margin-bottom: 6px; }

/* ---- tablet ---- */
@media (max-width: 1024px) {
  .t-cards { grid-template-columns: 1fr 1fr; }
  .t-about { gap: 40px; }
  .t-contact { grid-template-columns: 1fr 1fr; }
}

/* ---- phone: the menu folds into a button, everything stacks ---- */
@media (max-width: 860px) {
  .t-menu-btn { display: block; }
  .t-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; box-shadow: 0 10px 15px rgba(0, 0, 0, .08); }
  .t-nav.is-open { display: flex; }
  .t-nav a:not(.t-btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .t-nav .t-btn { margin-top: 16px; text-align: center; }
  .t-header-in { min-height: 70px; }
  .t-about { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  h2 { font-size: 28px; }
  .demo-bar { font-size: .78rem; padding-block: .4rem; }
  .t-logo { font-size: 19px; }
  .t-section { padding: 60px 0; }
  .t-head { margin-bottom: 36px; }
  .t-hero { min-height: 520px; }
  .t-hero h1 { font-size: 34px; }
  .t-hero p { font-size: 17px; }
  .t-cards, .t-contact { grid-template-columns: 1fr; gap: 24px; }
  .t-card { padding: 35px 25px; }
  .t-team { grid-template-columns: 1fr; }
  .t-member img { width: 160px; height: 160px; }
  .t-prices th, .t-prices td { padding: 14px 12px; }
  .t-map { min-height: 220px; margin-top: 36px; }
  .t-cta { padding: 60px 0; }
}
