/* FairyLand Homestead: one stylesheet for every page.
   Colors were sampled from the Wix screenshots. */
:root {
  --cream: #fffef8;
  --ink: #0d2123;
  --teal: #2c6f76;
  --orange: #f09949;
  --lavender: #ede9f7;
  --card: #b9a9db;
  --band: #ad96c1;
  --rule: #868f8d;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  text-align: center;
  padding: 10px 0 0;
}
.site-title {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.2;
  text-decoration: none;
  margin: 0 0 8px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  padding: 0 16px 14px;
}
.site-nav a {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 22px;
  color: var(--teal);
  text-decoration: none;
  border-top: 1px solid #d8dcdc;
  border-bottom: 1px solid #d8dcdc;
}
.site-nav a.active {
  color: var(--orange);
  border-color: var(--ink);
}
.cart {
  position: absolute;
  top: 28px;
  right: 11%;
  width: 32px;
}
.header-rule {
  height: 1px;
  background: var(--rule);
  max-width: 1173px;
  margin: 0 auto;
}

/* ---------- shared text ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.page-title { font-size: 48px; line-height: 1.2; }
.section-title { font-size: 26px; line-height: 1.4; }
.center { text-align: center; }

.dots {
  height: 10px;
  max-width: 780px;
  margin: 70px auto;
  background: radial-gradient(circle, var(--orange) 4px, transparent 4.5px) 0 0 / 16px 10px repeat-x;
}

/* A picture that has not been added yet still holds its shape. */
.pic { background: rgba(0, 0, 0, 0.04); }

/* ---------- home ---------- */
.home-hero { text-align: center; padding: 28px 16px 14px; }
.home-hero h1 { font-size: 48px; line-height: 1.2; }
.home-hero p { font-size: 13px; margin: 10px 0 0; }
.home-banner {
  height: 300px;
  margin: 0 16px;
  background-size: cover;
  background-position: center;
}
.home-banner img { width: 100%; height: 100%; object-fit: cover; }
.home-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 16px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.home-body .notice { font-weight: 700; font-size: 13px; line-height: 1.6; }
.home-body .free-link { color: #1b2bb8; font-weight: 700; }
.home-body .hoof-love { width: 180px; margin: 22px auto 16px; }
.home-body h2 { font-size: 22px; margin: 18px 0 6px; color: var(--teal); }
.home-body .booking { font-weight: 700; margin: 0 0 14px; }
.home-body p { margin: 0 0 12px; }
.farrier-list { min-height: 80px; margin: 0 0 12px; padding: 24px 12px; font-size: 13px; }
.home-body .small { font-size: 12px; margin: 0 0 10px; }
.home-body .tagline { font-family: var(--serif); color: #6b3a1f; margin: 24px 0; }

.touch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 16px;
  min-height: 300px;
}
.touch .info {
  background: var(--band);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 24px;
}
.touch .info h2 { font-size: 26px; margin-bottom: 18px; }
.touch .info p { margin: 0 0 10px; }
.touch .photo { background-size: cover; background-position: center 40%; min-height: 220px; }

/* ---------- service prices ---------- */
.prices { max-width: 1080px; margin: 0 auto; padding: 40px 16px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}
.split .left { padding-left: 50px; }
.split .right { padding-right: 40px; }
.prices .page-title { text-align: center; margin-bottom: 36px; }
.prices .left .caption {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  max-width: 240px;
  margin: 16px auto 0;
}
.prices .right h2 { font-size: 26px; margin: 34px 0 14px; }
.prices .right p { margin: 0; line-height: 28px; }
.prices .right .indent { padding-left: 16px; }
.prices .right .rescues { font-family: var(--serif); font-size: 24px; margin-top: 70px; padding-left: 16px; }
.picture-hoof { aspect-ratio: 440 / 300; width: 100%; max-width: 440px; margin: 0 auto; }

.farm .list { text-align: center; line-height: 31px; }
.farm .list p { margin: 0; }
.farm .pay { font-family: var(--serif); margin-top: 40px !important; }
.farm .right h3 { font-size: 24px; margin: 28px 0 12px; }
.farm .right .photo { aspect-ratio: 425 / 332; width: 100%; max-width: 425px; margin-top: 4px; }

.away .left { text-align: right; }
.away .left .page-title { text-align: right; margin-bottom: 14px; }
.away .left p { margin: 0; line-height: 31px; }
.away .right { text-align: left; }
.away .barn { width: 100%; max-width: 245px; aspect-ratio: 245 / 210; margin-bottom: 0; }
.away .right .small { font-size: 14px; margin: 8px 0 6px 36px; }
.away .right h3 { font-size: 24px; margin-bottom: 8px; }
.away .right .quote { font-family: var(--serif); font-size: 18px; line-height: 1.5; max-width: 255px; margin: 0; }

.travel { text-align: center; max-width: 520px; margin: 0 auto; padding-bottom: 70px; }
.travel h2 { font-family: var(--sans); font-size: 28px; line-height: 1.4; margin-bottom: 18px; }
.travel p { margin: 0; line-height: 27px; }

/* ---------- book now ---------- */
.book { background: var(--lavender); padding: 24px 16px 70px; }
.book .wrap { max-width: 1064px; margin: 0 auto; }
.book h1 { font-size: 48px; text-align: center; line-height: 1.2; color: #1e1a38; }
.book .dash { width: 24px; height: 2px; background: #1e1a38; margin: 22px auto 24px; }
.book .lead { text-align: center; max-width: 500px; margin: 0 auto 30px; line-height: 28px; }
.book .section { margin-bottom: 70px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 48px; max-width: 1064px; margin: 0 auto; }
.card { background: var(--card); padding-bottom: 26px; }
.card .art { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; }
.card h3 { text-align: center; font-size: 24px; margin: 20px 0 0; }
.card .tag { text-align: center; font-weight: 500; font-size: 15px; margin: 0 0 12px; }
.card p.text { margin: 0 26px 18px; font-size: 15px; line-height: 1.45; }
.card .btn-wrap { margin: 0 24px; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  text-decoration: none;
}
.card.wide { max-width: 686px; margin: 0 auto; text-align: center; padding-top: 18px; }
.card.wide .text { text-align: left; margin: 0 24px 24px; }
.card.wide .btn-wrap { margin: 0; }
.card.wider { max-width: 778px; }
.book .photo-wide { margin: 0 auto; width: 100%; max-width: 686px; aspect-ratio: 686 / 268; }
.book .photo-wide.sitting { max-width: 778px; aspect-ratio: 778 / 267; }
.book .after-btn { font-size: 15px; margin: 8px 0 0; }

/* ---------- plain pages (not built yet) ---------- */
.stub { max-width: 700px; margin: 0 auto; padding: 60px 16px 80px; text-align: center; }

.faq { text-align: left; }
.faq .page-title { text-align: center; margin-bottom: 32px; }
.faq h3 { font-size: 24px; margin: 28px 0 6px; }
.faq p { margin: 0; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 40px; justify-content: center; margin-top: 36px; }
.product .thumb { aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 12px; }
.product h3 { font-size: 20px; }
.product p { margin: 6px 0 0; }

/* ---------- portfolio and reviews ---------- */
.gallery { max-width: 1080px; margin: 0 auto; padding: 40px 16px 60px; }
.gallery .page-title { text-align: center; margin-bottom: 36px; }
.gallery .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figure img { width: 100%; }
.gallery figcaption { font-size: 14px; line-height: 1.5; margin-top: 8px; text-align: center; }
.gallery-note { text-align: center; font-size: 14px; margin: 24px 0 0; }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 56px 16px 40px; font-size: 13px; line-height: 1.8; }
.site-footer .name { font-family: var(--serif); font-size: 18px; margin-bottom: 18px; }
.site-footer p { margin: 0; }
.site-footer .copy { margin-top: 28px; font-size: 12px; }
.site-footer .owner { margin-top: 6px; font-size: 12px; opacity: 0.8; }
.site-footer .owner a { color: inherit; text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .site-title { font-size: 28px; }
  .cart { right: 14px; top: 12px; width: 26px; }
  .page-title, .home-hero h1, .book h1 { font-size: 36px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split .left, .split .right { padding: 0; }
  .away .left, .away .left .page-title { text-align: center; }
  .away .right .small { margin-left: 0; }
  .prices .right .rescues { margin-top: 24px; padding-left: 0; }
  .dots { margin: 44px auto; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .touch { grid-template-columns: 1fr; }
  .home-banner { height: 180px; }
  .travel h2 { font-size: 22px; }
}

/* ---------- iPhone: tap size, safe areas, readable text ---------- */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.site-header { padding-top: max(10px, env(safe-area-inset-top)); }
.site-footer { padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px)); }
.site-footer a { display: inline-block; padding: 14px 8px; }
.site-title { padding: 6px 0; margin-bottom: 2px; }
.site-nav { gap: 0 6px; padding: 0 8px 8px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  font-size: 15px;
  box-sizing: border-box;
}
.cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 9px;
  box-sizing: border-box;
}
.btn { padding: 12px 20px; min-height: 44px; }
@media (max-width: 760px) {
  .cart { right: max(4px, env(safe-area-inset-right)); top: max(6px, env(safe-area-inset-top)); width: 44px; }
  .home-hero p, .home-body .notice, .farrier-list, .touch .info,
  .site-footer, .site-footer .copy, .site-footer .owner, .home-body .small { font-size: 14px; }
}
