/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/montserrat-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/caveat-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/caveat-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1c2f46;
  --navy-2: #253d5a;
  --orange: #f5821f;
  --orange-soft: #fde2c4;
  --orange-text: #c25700; /* brand orange darkened to 4.5:1 on white, for text */
  --cream: #fbf6ef;
  --paper: #ffffff;
  --text: #1c2f46;
  --muted: #4d5d70;
  --border: #e6dccf;
  --ok: #1e7b34;
  --error: #b3261e;

  --c-peach: #fde3c8;
  --c-mint: #d5efe8;
  --c-blue: #dce9f7;
  --c-pink: #fbdcd2;
  --c-sand: #f3e6d6;
  --c-yellow: #fdeeb4;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 47, 70, 0.10);
  --max: 72rem;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 130, 31, 0.35); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--navy); }
.btn-ghost:hover { background: var(--paper); box-shadow: none; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ---------- Logo ---------- */
.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.logo-bizd { color: var(--navy); }
.logo-ram { color: var(--orange); position: relative; display: inline-block; }
.logo-smile {
  position: absolute;
  left: 0;
  top: -0.55em;
  width: calc(100% + 0.45em);
  height: calc(100% + 0.95em);
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.5;
  stroke-linecap: round;
  overflow: visible;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switch {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.lang-switch:hover { border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(40rem 30rem at 95% 10%, rgba(253, 226, 196, 0.9), transparent 70%),
    radial-gradient(30rem 24rem at -10% 100%, rgba(213, 239, 232, 0.7), transparent 70%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 2.25rem; }
.experience {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--orange-soft);
  border-radius: 999px;
  font-weight: 600;
  transform: rotate(-1.5deg);
}
.experience .icon { width: 1.6em; height: 1.6em; }
.experience strong { font-weight: 800; text-transform: uppercase; }

.hero-visual {
  position: relative;
  min-height: 26rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.note {
  position: relative;
  width: min(18rem, 100%);
  padding: 1.75rem 1.75rem 1.25rem;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: var(--shadow), 0 1px 0 rgba(0, 0, 0, 0.04);
  transform: rotate(-4deg);
  font-family: var(--hand);
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--navy);
}
.note li { position: relative; display: flex; align-items: center; gap: 0.6rem; }
.note li::before {
  content: "";
  flex: none;
  width: 0.8em;
  height: 0.8em;
  border: 2px solid var(--navy);
  border-radius: 3px;
}
.note li::after {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 50%;
  width: 0.28em;
  height: 0.6em;
  border: solid var(--navy);
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-70%) rotate(40deg);
}
.note-answer {
  display: inline-block;
  margin: 0.6rem 0 0 0.25rem;
  padding: 0 0.6rem;
  border: 2.5px solid var(--orange-text);
  border-radius: 50%;
  color: var(--orange-text);
  font-weight: 700;
  font-size: 2rem;
  transform: rotate(-4deg);
}
.note-smile { color: var(--navy); }
.bubble {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 10.5rem;
  height: 10.5rem;
  padding: 1.25rem;
  border-radius: 50%;
  background: var(--orange-soft);
  box-shadow: var(--shadow);
  font-family: var(--hand);
  font-size: 1.45rem;
  line-height: 1.1;
  text-align: center;
  color: var(--navy);
  transform: rotate(8deg);
}
.bubble .icon { margin-top: 0.3rem; width: 1.2rem; height: 1.2rem; }

/* ---------- Services ---------- */
.services { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--paper); }
.services h2 { text-align: center; margin-bottom: 2.5rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service {
  padding: 1.75rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service h3 { margin-top: 1rem; margin-bottom: 0.35rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
}
.service-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-peach { background: var(--c-peach); }
.c-mint { background: var(--c-mint); }
.c-blue { background: var(--c-blue); }
.c-pink { background: var(--c-pink); }
.c-sand { background: var(--c-sand); }
.c-yellow { background: var(--c-yellow); }
.service-more { background: var(--paper); border: 2px dashed var(--border); }
.service-more a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.service-more strong { color: var(--navy); }

/* ---------- Benefits ---------- */
.benefits { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.benefit { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.benefit:first-child { padding-left: 0; border-left: 0; }
.benefit-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 { font-size: 1.15rem; }
.benefit p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.97rem; }

/* ---------- Area ---------- */
.area { padding: clamp(3rem, 7vw, 5rem) 0; }
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.quote {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.quote::after {
  content: "";
  display: block;
  width: 7rem;
  height: 0.35rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-2deg);
}
.area h2 { font-size: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li {
  padding: 0.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--paper); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-info p { color: var(--muted); }
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-line .icon { color: var(--orange); width: 1.4em; height: 1.4em; }
a.contact-line:hover { color: var(--orange); }
.contact-phone { font-size: 1.6rem; font-weight: 800; margin-top: 2rem; margin-bottom: 0.5rem; }
.messengers { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem 2.2rem; }
.messengers a {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.messengers a:hover { border-color: var(--navy); }

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--cream);
  border-radius: calc(var(--radius) + 4px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.2); }
.contact-form .btn { justify-self: start; }
.consent { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--error); }

/* ---------- Simple pages (thank you, error, 404, privacy) ---------- */
.page { padding: clamp(3rem, 8vw, 6rem) 0; min-height: 60vh; }
.page .container { max-width: 46rem; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.page h2 { font-size: 1.35rem; margin-top: 2rem; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.page h3 { margin-top: 1.5rem; color: var(--navy); }
/* Term / description pairs on the legal pages (purpose, data, legal basis, retention…). */
.page dl { margin: 0 0 1em; }
.page dt { font-weight: 700; color: var(--navy); }
.page dd { margin: 0 0 0.6em; color: var(--muted); }
@media (min-width: 561px) {
  .page dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 1.25rem; }
  .page dd { margin-bottom: 0.5em; }
}
.page .sign-off { margin-top: 2rem; }
.notice {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  border-radius: 8px;
  color: var(--navy) !important;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding: 2.5rem 0; font-size: 0.92rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-inner p { margin: 0; }
.footer-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.site-footer .logo-bizd { color: #fff; }
.footer-tagline { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .contact-inner, .area-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 22rem; }
  .benefit-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
}
/* Two-column contact layout gets tight here: stack e-mail and phone. */
@media (min-width: 901px) and (max-width: 1040px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .logo { font-size: 1.45rem; }
  .form-row, .benefit-grid { grid-template-columns: 1fr; }
  .benefit { padding-left: 0; border-left: 0; }
  .hero-visual { min-height: 0; padding-top: 5rem; }
  .bubble { width: 8.5rem; height: 8.5rem; font-size: 1.2rem; top: 0; right: -0.25rem; }
  .note { font-size: 1.4rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .service-grid { gap: 0.75rem; }
  .service { padding: 1.25rem 0.75rem; }
  .service h3 { font-size: 0.98rem; margin-top: 0.75rem; }
  .service p { font-size: 0.85rem; }
  .service-icon { width: 3.5rem; height: 3.5rem; }
  .service-icon svg { width: 1.8rem; height: 1.8rem; }
  .service-more { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
  .service-grid { grid-template-columns: 1fr; }
}
