/* Your Local Web Team: brand colours and Fredoka from the final brand sheet (logo No. 21).
   Body text: Inter. Everything is self-hosted. No third-party requests, no cookies. */

:root {
  --navy: #1F2A44;
  --navy-2: #2A3756;
  --yellow: #FFC72C;
  --yellow-dark: #F2B705;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --text: #1F2A44;
  --muted: #45506A;
  --line: rgba(31, 42, 68, 0.14);
  --shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
  --head: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 72rem;
  --radius: 1.25rem;
  --header-h: 3.75rem;
}

@font-face { font-family: Fredoka; src: url("assets/fonts/fredoka-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Fredoka; src: url("assets/fonts/fredoka-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.5rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 0.4em; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.85rem, 1.15rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.45rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 0.9em; }
a { color: var(--navy); font-weight: 600; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.section-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.wrap { width: min(100% - 1.75rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 50rem; }
.center { text-align: center; margin-inline: auto; }
.nowrap { white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  padding: 0.7rem 1.3rem; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--navy); cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--white); }
.btn-lg { font-size: 1.12rem; padding: 0.85rem 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo img { width: 142px; height: auto; }
.logo { margin-right: auto; }
.nav { display: none; gap: 1.25rem; }
.nav a { font-weight: 600; font-size: 0.98rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-cta { padding: 0.45rem 0.95rem; font-size: 0.95rem; }

/* Hero — compact on a phone so the heading, line and button are on screen at once */
.hero { padding: 1.15rem 0 1.6rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.kicker {
  display: inline-block; font-weight: 600; font-size: 0.82rem;
  background: var(--white); border: 1px solid var(--line);
  padding: 0.22rem 0.7rem; border-radius: 999px; margin: 0 0 0.55rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero-copy .lead { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.1rem; margin: 1rem 0 0.75rem; }
.hero-link {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); text-decoration: none;
}
.hero-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hero-copy .reassure {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  white-space: nowrap;
}
@media (max-width: 359px) {
  .hero-copy .reassure { font-size: 0.82rem; }
}

.hero-visual { display: none; }
.hero-collage { position: relative; height: 20rem; }
.hc {
  position: absolute; object-fit: cover; border-radius: 1.1rem;
  border: 4px solid var(--white); box-shadow: var(--shadow);
  background: var(--navy);
}
.hc-1 { width: 58%; height: 78%; left: 0; top: 8%; z-index: 2; object-position: center 40%; }
.hc-2 { width: 48%; height: 62%; right: 0; top: 0; z-index: 1; object-position: center 40%; transform: rotate(4deg); }
.hc-3 { width: 46%; height: 52%; right: 4%; bottom: 0; z-index: 3; object-position: center 40%; transform: rotate(-5deg); }

/* Sections */
.section { padding: 3rem 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .section-head p { color: #D9DEEA; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.section-head.center { margin-bottom: 1.75rem; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-head h2 { margin-bottom: 0.35em; }

/* Why us — bold 2×2 icon cards on mobile, four across on a desktop */
.why-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.why-card {
  background: var(--white); color: var(--navy);
  border-radius: var(--radius); padding: 1.15rem 1rem 1.25rem;
  display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}
.why-card h3 { font-size: 1.05rem; margin: 0.7rem 0 0.3rem; color: var(--navy); }
.why-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.icon {
  flex: none; width: 2.7rem; height: 2.7rem; border-radius: 0.85rem;
  background: var(--yellow); display: grid; place-items: center;
}
.icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Trade photo strip — swipeable row */
.trades {
  list-style: none;
  display: flex; gap: 0.65rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0.4rem;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.4rem; padding: 0 0.4rem 0.85rem;
  scrollbar-width: thin;
}
.trades::-webkit-scrollbar { height: 6px; }
.trades::-webkit-scrollbar-thumb { background: rgba(31,42,68,0.25); border-radius: 99px; }
.trades > li { flex: 0 0 9.85rem; scroll-snap-align: start; }
.trade-card { margin: 0; position: relative; border-radius: 0.9rem; overflow: hidden; }
.trade-card img { width: 100%; height: 12.2rem; object-fit: cover; }
.trade-card figcaption {
  position: absolute; left: 0.4rem; right: 0.4rem; bottom: 0.4rem;
  font-family: var(--head); font-weight: 700; font-size: 0.82rem;
  background: var(--yellow); color: var(--navy);
  padding: 0.18rem 0.5rem; border-radius: 999px;
  width: max-content; max-width: calc(100% - 0.8rem);
}
.trade-note { margin: 1rem 0 0; color: var(--muted); font-weight: 600; text-align: center; }

/* Example sites / phone devices */
.example-label {
  display: table; margin: 0 auto 0.85rem; background: var(--navy); color: var(--yellow);
  font-family: var(--head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem;
  padding: 0.35rem 1rem; border-radius: 999px;
}
.portfolio {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem; margin: 0 -0.4rem;
  -webkit-overflow-scrolling: touch;
}
.portfolio::-webkit-scrollbar { height: 6px; }
.portfolio::-webkit-scrollbar-thumb { background: rgba(31,42,68,0.25); border-radius: 99px; }
.device { margin: 0; flex: 0 0 15.5rem; scroll-snap-align: center; text-align: center; }
.device-phone {
  background: var(--navy); border-radius: 2rem;
  padding: 1.05rem 0.5rem 0.55rem; box-shadow: var(--shadow);
  position: relative;
}
.device-phone::before {
  content: ""; position: absolute; top: 0.38rem; left: 50%; transform: translateX(-50%);
  width: 3.4rem; height: 0.42rem; background: #0d1320; border-radius: 999px;
}
.device-screen { border-radius: 1.35rem; overflow: hidden; background: #111; aspect-ratio: 390 / 844; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device figcaption {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  margin-top: 0.9rem; line-height: 1.25;
}
.device figcaption span { display: block; font-family: var(--body); font-weight: 500; font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

/* Price */
.price-card {
  max-width: 36rem; margin: 0 auto; background: var(--white); border: 2px solid var(--navy);
  border-radius: 1.75rem; padding: 1.75rem 1.25rem; text-align: center; box-shadow: var(--shadow);
}
.price-row { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.price-item { display: flex; flex-direction: column; align-items: center; }
.amount { font-family: var(--head); font-weight: 700; font-size: clamp(2.7rem, 1.6rem + 5vw, 4.1rem); line-height: 1; }
.label { font-weight: 600; color: var(--muted); }
.price-plus { font-family: var(--head); font-weight: 500; font-size: 1.15rem; color: var(--muted); }
.price-tag {
  display: inline-block; margin: 1.1rem 0 1.15rem; background: var(--yellow);
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-family: var(--head); font-weight: 700; font-size: 0.95rem;
  white-space: nowrap;
}
.ticks { list-style: none; padding: 0; margin: 0 auto 1.15rem; text-align: left; display: grid; gap: 0.5rem; max-width: 28rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.price-small { color: var(--muted); font-size: 0.95rem; }
.save-row { margin: 0 0 0.45rem; }
.save-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
}
.price-card .btn { min-width: 12rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { background: var(--cream); border-radius: var(--radius); padding: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.7rem;
}
.how-cta { margin: 2rem 0 0; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 0.7rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3.1rem 1rem 1.2rem; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1.25rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-email { font-size: 1.05rem; }
.contact-email a { font-size: 1.1rem; word-break: break-word; }
.contact-card { background: var(--cream); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.4rem; box-shadow: var(--shadow); }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.3rem; }
label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; color: var(--navy); width: 100%; padding: 0.75rem 0.9rem;
  border: 2px solid #8E97AA; border-radius: 0.8rem; background: var(--white);
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.7); }
textarea { resize: vertical; min-height: 7rem; }
.form .btn { justify-self: stretch; }
.form-hint { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #E6E9F1; padding: 2.5rem 0 2.25rem; }
.footer-inner { display: grid; gap: 0.85rem; justify-items: center; text-align: center; }
.footer-logo { width: 180px; height: auto; }
.site-footer a { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.3rem; }
.footer-nav a { font-weight: 500; }
.footer-areas { margin: 0; max-width: 36rem; color: #E6E9F1; }
.footer-small { font-size: 0.88rem; color: #C9D0DF; margin: 0; max-width: 36rem; }

/* Privacy page */
.legal { padding: 2.5rem 0 3.5rem; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.legal h2 { font-size: 1.45rem; margin-top: 1.8rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); }

/* Wider phones and up */
@media (min-width: 600px) {
  :root { --header-h: 4.25rem; }
  .wrap { width: min(100% - 2.5rem, var(--max)); }
  .hero { padding: 2rem 0 2.5rem; }
  .kicker { font-size: 0.9rem; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
  .section { padding: 3.75rem 0; }
  .why-grid { gap: 1rem; }
  .why-card { padding: 1.4rem 1.25rem 1.5rem; }
  .why-card h3 { font-size: 1.15rem; }
  .why-card p { font-size: 1rem; }
  .trades > li { flex-basis: 10.5rem; }
  .trade-card img { height: 13.1rem; }
  .trade-card figcaption { font-size: 0.95rem; left: 0.5rem; bottom: 0.5rem; padding: 0.25rem 0.65rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .form .btn { justify-self: start; }
  .price-card { padding: 2.25rem 2rem; }
  .contact-card { padding: 2rem; }
}

@media (min-width: 800px) {
  .nav { display: flex; }
  body { font-size: 1.0625rem; }
  .logo img { width: 186px; }
  .header-cta { padding: 0.55rem 1.1rem; font-size: 1rem; }
  .hero { padding: 2.75rem 0 3.25rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero-visual { display: block; max-width: none; margin: 0; width: 100%; position: relative; }
  .hero-collage { height: 28rem; }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
  .trades { gap: 1rem; }
  .trades > li { flex-basis: 12.5rem; }
  .trade-card { border-radius: 1rem; }
  .trade-card img { height: 15.6rem; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
}

@media (min-width: 1100px) {
  .trades > li { flex-basis: 13.5rem; }
  .trade-card img { height: 16.8rem; }
}

@media (min-width: 1200px) {
  .portfolio {
    justify-content: center;
    overflow: visible;
    margin: 0;
    padding: 0.5rem 0 0;
  }
}
