/* Stall Sandös Hagar – rebuilt from the GoHighLevel site (stallsando.se), 2026 */

@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/playfair.woff2') format('woff2'); }

:root {
  --cream: #efedea;
  --navy: #0e2a4e;
  --navy-footer: #0c273c;
  --navy-btn: #1c2d4e;
  --label: #2c3345;
  --sky: #63b3ed;
  --social: #d3dbe5;
  --heading: 'Lato', 'Segoe UI', Arial, sans-serif;
  --body: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: #000; font: 400 18px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex: none; vertical-align: -0.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 16px; border-radius: 6px; font: 700 16px var(--heading); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 25px; }
.only-mobile { display: none; }

/* Headings (GHL: Lato 500 renders as Lato regular) */
.h2 { font: 400 40px/52px var(--heading); }
.lead p + p { margin-top: 27px; }

/* ---------- Buttons (GHL "buttonElevate" hover) ---------- */
@keyframes elevate {
  from { box-shadow: 0 0 0 0 transparent; transform: translateY(0); }
  to { box-shadow: 0 8px 5px -5px rgba(0, 0, 0, .25); transform: translateY(-10px); }
}
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: 0; cursor: pointer; font-family: var(--heading); transition: .2s; box-shadow: 0 0 0 0 transparent; }
.btn:hover { animation: elevate .2s forwards; }
.btn-main { display: inline-flex; align-items: center; gap: 6px; }
.btn-main .icon { font-size: .95em; }
.btn-sub { font-size: 16px; opacity: .8; margin-top: 2px; }
.btn-light { background: var(--cream); color: #000; border-radius: 20px; padding: 10px 20px; font-size: 18px; line-height: 22px; }
.btn-navy { background: var(--navy); color: #fff; border-radius: 25px; padding: 15px 20px; line-height: 1.2; }
.btn-navy .btn-main { font-size: 18px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #000; color: #fff; text-align: center; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; opacity: .5; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 815px; padding: 55px 20px 115px; }
.hero-logo { width: 250px; height: auto; margin-bottom: 30px; }
.hero-kicker { font: 400 30px/39px var(--heading); }
.hero h1 { font: 400 60px/78px var(--heading); }
.hero h1 span { display: block; }
.hero .btn { margin-top: auto; }
.hero-sub { font: 400 30px/39px var(--heading); margin-top: 6px; }
.hero-text { font: 400 18px/23.4px var(--body); margin-top: 26px; }
.hero--page .hero-logo { margin-bottom: 70px; }
.hero--page .hero-inner { min-height: 810px; }

/* ---------- Om ---------- */
.about { padding: 80px 0 30px; }
.about .wrap { display: grid; grid-template-columns: minmax(0, 597px) minmax(0, 488px); justify-content: space-between; gap: 40px; align-items: center; padding-right: 10px; }
.eyebrow { font: 700 20px/26px var(--heading); color: var(--navy); white-space: pre; }
.about .h2 { margin: 7px 0 24px; }
.about-logo { width: 488px; justify-self: center; }

.divider { padding: 60px 25px; }
.divider hr { width: 75%; max-width: 870px; margin: 0 auto; border: 0; border-top: 2px solid #000; }

/* ---------- Two-column feature rows ---------- */
.feature { padding: 50px 0 60px; }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 545px) minmax(0, 575px); justify-content: space-between; gap: 20px; align-items: center; padding-right: 5px; }
.feature .h2 { margin-bottom: 30px; }
.feature-img { justify-self: center; }
.checklist { list-style: none; padding: 0; margin: 27px 0 0; font-weight: 500; line-height: 28.8px; }
.checklist li { display: flex; gap: 9px; }
.checklist .icon { color: var(--navy); font-size: 18px; margin-top: 5px; }
.feature .btn-navy { margin-top: 40px; }
.ridning { padding: 40px 0 35px; }
.ridning .wrap { grid-template-columns: minmax(0, 497px) minmax(0, 613px); gap: 28px; padding-right: 25px; }
.ridning .btn-navy { margin-top: 30px; }

/* ---------- Anläggning ---------- */
.facilities { padding: 85px 0 36px; }
.facilities .wrap { padding: 0; }
.facilities-head { padding: 0 5px; }
.facilities-head p { max-width: 540px; margin-top: 15px; line-height: 23.4px; }
.fac-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac { position: relative; height: 362px; border-radius: 20px; background: #000; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 15px 60px; transition: transform .5s ease; isolation: isolate; }
.fac:hover { transform: scale(1.05); z-index: 1; }
.fac img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; z-index: -1; }
.fac h3 { font: 700 30px/39px var(--heading); }
.fac p { font: 700 18px/23.4px var(--heading); }

/* ---------- Inackordering: alternatives ---------- */
.options { padding: 100px 0 55px; }
.options-title { font: 400 40px/52px var(--heading); text-align: center; }
.options-title strong { font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 331px); gap: 20px; justify-content: center; margin-top: 57px; }
.card { background: var(--navy); color: #fff; border-radius: 20px; padding: 23px 34px 27px; }
.card h3 { font: 400 30px/39px var(--heading); text-align: center; margin-bottom: 12px; }
.card p { line-height: 23.4px; }
.card p + p { margin-top: 23px; }
.card strong { color: var(--sky); }
.ringlist { list-style: none; padding: 0; margin: 23px 0 0; font-weight: 500; line-height: 23.4px; }
.ringlist li { display: flex; gap: 9px; }
.ringlist li + li { margin-top: 16px; }
.ringlist .icon { font-size: 18px; margin-top: 3px; }

/* ---------- Kontakt ---------- */
.contact { padding: 60px 20px 110px; }
.contact .h2 { text-align: center; }
.form-wrap { max-width: 568px; margin: 33px auto 0; }
.field + .field { margin-top: 18px; }
.field label { display: block; font: 500 14px/25.2px var(--body); color: var(--label); margin-bottom: 8px; }
.field input, .field textarea { display: block; width: 100%; background: transparent; border: 1px solid #acacac; border-radius: 5px; padding: 8px 15px 8px 20px; font: 400 14px/18px var(--body); color: var(--label); }
.field input { height: 36px; }
.field textarea { height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8f99; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.field [aria-invalid="true"] { border-color: #c0392b; outline: 1px solid #c0392b; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 14px; color: #6b7280; pointer-events: none; }
.input-icon input { padding-left: 44px; }
.consent { display: flex; align-items: flex-start; gap: 20px; margin-top: 18px; font: 500 14px/20px var(--body); color: var(--label); cursor: pointer; }
.consent input { width: 15px; height: 15px; margin: 2px 0 0; flex: none; accent-color: var(--navy-btn); }
.consent[aria-invalid="true"] { color: #c0392b; }
.ts-box iframe { margin-top: 16px; }
.submit { display: block; min-width: 142px; height: 52px; margin: 40px auto 0; padding: 10px 30px; background: var(--navy-btn); color: #fff; border: 0; border-radius: 25px; font: 400 18px/1 var(--heading); cursor: pointer; transition: filter .2s; }
.submit:hover { filter: brightness(1.25); }
.submit:disabled { opacity: .7; cursor: wait; }
.form-msg { min-height: 20px; margin-top: 14px; text-align: center; font: 500 14px/20px var(--body); color: #b03a2e; }
.form-privacy { margin-top: 6px; text-align: center; font: 400 13px/18px var(--body); color: #555; }
.form-done { text-align: center; font: 500 20px/30px var(--body); padding: 40px 0; }
.form-done .icon { display: block; margin: 0 auto 12px; font-size: 44px; color: var(--navy); }
.form-done:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-footer); color: #fff; padding: 45px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-logo { justify-self: center; display: block; }
.footer-logo img { width: 200px; height: 200px; }
.footer-col { padding-left: 20px; }
.footer h2 { font: 700 24px/24px var(--heading); margin: 6px 0 25px; }
.footer-menu { list-style: none; padding: 0; font: 400 18px/32px var(--heading); }
.footer-menu a, .footer-contact a { text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { font: 400 18px/27px var(--heading); }
.social { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.social a { color: var(--social); font-size: 42px; line-height: 0; display: inline-block; transition: color .2s; }
.social a:hover { color: #fff; }
.footer-bottom { text-align: center; font: 400 16px/20.8px var(--body); margin-top: 60px; }
.footer-bottom p + p { margin-top: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .sep { margin: 0 8px; opacity: .6; }

/* ---------- Integritetspolicy / 404 ---------- */
.simple-header { background: var(--navy-footer); padding: 18px 20px; }
.simple-header .inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.simple-header a { color: #fff; text-decoration: none; font: 700 16px var(--heading); display: inline-flex; align-items: center; gap: 6px; }
.simple-header img { width: 80px; height: auto; }
.prose { max-width: 860px; margin: 0 auto; padding: 56px 20px 80px; font: 400 17px/1.65 var(--body); color: #222; }
.prose h1 { font: 400 40px/1.2 var(--heading); color: #000; }
.prose h2 { font: 700 22px/1.3 var(--heading); color: #000; margin: 36px 0 10px; }
.prose p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose .updated { color: #666; font-size: 15px; margin-top: 6px; }
.prose a { color: var(--navy); }
.footer--simple { padding: 30px 20px; }
.footer--simple .footer-bottom { margin-top: 0; }
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; background: #000; color: #fff; position: relative; overflow: hidden; padding: 40px 20px; }
.notfound > div { position: relative; display: flex; flex-direction: column; align-items: center; }
.notfound h1 { font: 700 96px/1 var(--heading); margin-top: 24px; }
.notfound p { font: 400 20px/1.5 var(--body); margin: 12px 0 30px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .ridning .wrap { grid-template-columns: 1fr 1fr; }
  .facilities .wrap { padding: 0 20px; }
}

/* ---------- Mobile (GHL: mobile-only ≤ 767px) ---------- */
@media (max-width: 767px) {
  body { font-size: 18px; }
  .wrap { padding: 0 20px; }
  .only-mobile { display: block; }
  .only-desktop { display: none; }
  .h2 { font-size: 30px; line-height: 39px; }

  .hero-inner { min-height: 750px; padding: 55px 10px 115px; }
  .hero-logo { width: 220px; margin-bottom: 40px; }
  .hero-kicker { font-size: 26px; line-height: 34px; }
  .hero h1 { font-size: 40px; line-height: 52px; }
  .hero h1 span { display: inline; }
  .hero--page .hero-inner { min-height: 750px; }
  .hero--page .hero-logo { margin-bottom: 60px; }
  .hero--page h1 { font-size: 44px; line-height: 57px; }
  .hero-sub { font-size: 26px; line-height: 34px; }

  .about { padding: 70px 0 20px; }
  .about .wrap { grid-template-columns: 1fr; gap: 50px; }
  .about-logo { width: 100%; max-width: 350px; }
  .eyebrow { white-space: normal; }
  .divider { padding: 60px 30px; }

  .feature { padding: 60px 0 40px; }
  .feature .wrap, .ridning .wrap { grid-template-columns: 1fr; gap: 40px; padding-right: 20px; }
  .btn-row { text-align: center; }
  .ridning { padding: 40px 0 60px; }
  .ridning .feature-img { order: -1; }
  .ridning .btn-navy { justify-self: center; }
  .feature .btn-navy { justify-self: center; }
  .feature-text { display: flex; flex-direction: column; }
  .feature-text .btn-navy { align-self: center; }

  .facilities { padding: 50px 0 30px; }
  .facilities .wrap { padding: 0 20px; }
  .facilities-head { padding: 0; }
  .fac-grid { grid-template-columns: 1fr; }
  .fac:hover { transform: none; }

  .options { padding: 70px 0 40px; }
  .options-title { font-size: 30px; line-height: 39px; }
  .cards { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .card { padding: 25px 30px 30px; }

  .contact { padding: 60px 20px 90px; }
  .field input, .field textarea { font-size: 16px; } /* stops iOS zooming in on focus */
  .submit { width: 288px; max-width: 100%; }

  .footer { padding: 30px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-logo { justify-self: start; }
  .footer-col { padding-left: 0; }
  .footer-col--contact { order: 1; }
  .footer-col--menu { order: 2; }
  .footer-col--social { order: 3; }
  .footer h2 { margin-bottom: 16px; }
  .footer-bottom { margin-top: 40px; padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { animation: none; }
  .fac, .fac:hover { transition: none; transform: none; }
}
