/* The Iceland Travel Babysitter: palette and type follow the print brochure */
:root {
  --navy: #1e2e52;
  --navy-deep: #17233f;
  --gold: #e3b43c;
  --gold-soft: #f3deab;
  --ink: #1e2e52;
  --text: #4a4f5c;
  --muted: #6b7180;
  --line: #e3e5ea;
  --tint: #f6f5f1;
  --white: #ffffff;
  --serif: 'Caladea', 'Cambria', Georgia, serif;
  --sans: 'Lato', 'Carlito', 'Calibri', system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: 18ch; }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }
strong { color: var(--ink); }

a { color: var(--navy); }
a:focus-visible, .btn:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Brochure details: letterspaced eyebrows, short rules, italic notes */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1rem;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.82); }

.rule {
  width: 80px;
  border: 0;
  border-top: 1.5px solid var(--navy);
  margin: 1.75rem 0 2rem;
}
.rule-light { border-color: rgba(255, 255, 255, 0.5); }

.note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}
.note-light { color: rgba(255, 255, 255, 0.78); }

.lede { font-size: 1.1rem; }

.icon { width: 28px; height: 28px; flex: none; }
.icon-navy { color: var(--navy); }
.icon-gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}
.brand span { white-space: nowrap; }
.brand em { font-weight: 400; color: var(--muted); }
.brand-sun { width: 22px; height: 22px; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.nav a:hover { color: var(--muted); }
.nav .nav-cta {
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--navy-deep); color: var(--white); }

.lang select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e2e52' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding: 7px 30px 7px 14px;
  font: 700 0.8rem var(--sans);
  letter-spacing: 0.1em;
  color: var(--navy);
  cursor: pointer;
}

/* Hero: navy cover panel beside the photo, like the brochure front */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 780px);
}
.hero-panel {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 48px;
}
.hero-sun { width: 34px; height: 34px; color: var(--gold); margin: 0.5rem 0 1rem; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.02;
}
.hero .kicker {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin-bottom: 0.4rem;
}
.hero .rule { margin: 2rem auto 1.5rem; width: 140px; }
.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 26ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}
.hero-photo { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.section-navy h2 { color: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* About */
.portrait { margin: 0; position: sticky; top: 104px; }
.portrait img {
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(30, 46, 82, 0.45);
}
.map-card { margin-top: 2rem; }
.map-card-head { display: flex; gap: 14px; align-items: flex-start; }
.map-card h3 { font-size: 1.2rem; }
.map-card .note { margin: 2px 0 0; }
.map-card img { margin: 8px auto 0; max-width: 420px; width: 100%; }

/* Services */
.services { gap: 56px; }
.underlined {
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--navy);
}
.badges {
  list-style: none;
  margin: 56px 0 0;
  padding: 28px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
}
.badges li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
}
.badges li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.badges .icon { width: 36px; height: 36px; }

/* Perfect for */
.perfect-for { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.dots { list-style: none; padding: 0; margin: 0; }
.dots li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--ink);
  font-size: 1.1rem;
}
.dots li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--navy);
}

/* Testimonial and trust list */
.testimonial { margin: 0; }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
.testimonial blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial figcaption .eyebrow { margin: 0 0 2px; }
.testimonial figcaption .note { display: block; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 0; }

/* Rates */
.rates {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
}
.rate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 40px;
  text-align: center;
}
.rate-amount {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--navy);
}
.rate-amount small { font-size: 1.2rem; color: var(--gold); letter-spacing: 0.1em; }
.rate .note { margin: 0; }
.rate .rate-from { margin: 0 0 4px; font-size: 0.66rem; color: var(--muted); }
.rates h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.rates p + h3 { margin-top: 1.75rem; }
.link { font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Booking */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  font-size: 1.1rem;
  color: var(--white);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font: 700 1rem/34px var(--serif);
  text-align: center;
}
.contact-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.qr { width: 168px; margin: 0 auto 16px; image-rendering: pixelated; }
.qr-label { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.contact-list .eyebrow { font-size: 0.66rem; margin: 0; }
.contact-list a { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.icon-badge {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.contact-card > .note { margin: 0; }

/* Footer */
.footer {
  background: var(--navy-deep);
  text-align: center;
  padding: 40px 0 28px;
}
.footer .brand-sun { margin: 0 auto 12px; }
.footer .eyebrow { margin: 0; font-size: 0.66rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .grid-2, .services { grid-template-columns: 1fr; gap: 48px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding: 56px 24px 48px; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .portrait { position: static; }
  .portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
  .badges { grid-template-columns: 1fr; padding: 8px 20px; }
  .badges li { flex-direction: row; padding: 18px 0; text-align: left; }
  .badges li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .rates { grid-template-columns: 1fr; gap: 32px; }
  .rate { justify-self: start; }
  .contact-card { padding: 28px 24px; }
  /* A QR code can't be scanned from the phone showing it */
  .qr, .qr-label { display: none; }
}

@media (max-width: 480px) {
  /* The sun mark stands in for the name; the hero spells it out */
  .brand span { display: none; }
  .brand-sun { width: 26px; height: 26px; }
  .topbar-inner > .nav { margin-left: auto; }
  .lang select { max-width: 112px; text-overflow: ellipsis; padding-left: 12px; padding-right: 26px; background-position: right 10px center; }
  .hero .eyebrow { letter-spacing: 0.18em; }
  .topbar-inner { gap: 12px; }
  .nav .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
}

/* CJK: system fonts, no faux italics, gentler tracking */
:lang(zh) { --serif: 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', serif; --sans: 'Lato', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
:lang(ja) { --serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; --sans: 'Lato', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
:lang(ko) { --serif: 'AppleMyungjo', 'Noto Serif KR', 'Batang', serif; --sans: 'Lato', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
:lang(zh) .note, :lang(ja) .note, :lang(ko) .note,
:lang(zh) .hero-lede, :lang(ja) .hero-lede, :lang(ko) .hero-lede { font-style: normal; }
:lang(zh) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow,
:lang(zh) .badges li, :lang(ja) .badges li, :lang(ko) .badges li { letter-spacing: 0.12em; }
:lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { line-height: 1.3; }
/* Brand name, kicker and the English review keep the Latin faces */
.brand, .hero h1, .footer, blockquote:lang(en) { --serif: 'Caladea', 'Cambria', Georgia, serif; }
.hero h1, .brand { font-family: 'Caladea', 'Cambria', Georgia, serif; }
blockquote:lang(en) { font-family: 'Caladea', 'Cambria', Georgia, serif; font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
