/* =========================================================
   Rain Lab: one layout system for every page
   All sizes come from the tokens below, so sections stay
   aligned and in proportion at any screen width.
   ========================================================= */
:root {
  /* Colour */
  --blue: #0095df;
  --blue-dark: #007ab8;
  --grey: #dbdbd6;
  --ink: #000;
  --white: #fff;

  /* Type */
  --font: "Jost", "Futura PT", Futura, "Century Gothic", sans-serif;
  --fs-display: clamp(2.1rem, 3.4vw, 6rem);     /* every section heading */
  --fs-title:   clamp(1.15rem, 1.3vw, 2.1rem);   /* service names, FAQ questions */
  --fs-lead:    clamp(1.05rem, 1.1vw, 1.8rem);   /* form labels, feature text */
  --fs-body:    clamp(1rem, 0.95vw, 1.5rem);     /* paragraphs */
  --fs-small:   clamp(0.9rem, 0.75vw, 1.2rem);   /* chips, FAQ answers, hints */

  /* Layout */
  --gutter: clamp(1.25rem, 2vw, 3rem);                         /* page edge */
  --container: min(100% - 2 * var(--gutter), max(66vw, 58rem)); /* main content width */
  --section-y: clamp(4.5rem, 8vw, 12rem);                       /* section top/bottom */
  --gap: clamp(2rem, 4vw, 7rem);                                /* column gap */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--grey);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.blue { color: var(--blue); }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.grey { background: var(--grey); }

.display {
  margin: 0 0 0.7em;
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.display span { white-space: nowrap; }

/* ---------- Header (fixed) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1rem, 1.8vw, 2.5rem) var(--gutter);
  pointer-events: none;
}
.site-header a { pointer-events: auto; }
.logo img { width: clamp(56px, 6.4vw, 150px); height: auto; }
.header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 3.5rem); }
.icon-btn {
  display: grid;
  place-items: center;
  width: clamp(32px, 2.5vw, 60px);
  aspect-ratio: 1;
  border: 2px solid var(--white);
  color: var(--white);
  transition: background 0.2s;
}
.icon-btn svg { width: 58%; height: 58%; }
.icon-btn:hover { background: rgba(0, 0, 0, 0.2); }
.inner .icon-btn { border-color: var(--ink); color: var(--ink); }
.inner .icon-btn:hover { background: rgba(0, 0, 0, 0.06); }
.pill-btn {
  display: grid;
  place-items: center;
  width: clamp(72px, 6vw, 140px);
  height: clamp(24px, 1.35vw, 32px);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.72rem, 0.6vw, 0.95rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}
.pill-btn:hover { background: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 11vw clamp(2.5rem, 4vw, 6rem);
  background: #2f3a24 url("images/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.3));
}
.hero h1 {
  position: relative;
  margin: 0;
  color: var(--white);
  text-align: right;
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* ---------- Intro (text | image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.intro-text { width: 92%; }
.intro-text p { margin: 0; }
.intro-image { justify-self: end; width: 89%; }
.intro-image img { width: 100%; aspect-ratio: 668 / 979; object-fit: cover; }

/* ---------- Services ---------- */
.services .display { text-align: center; margin-bottom: clamp(2.5rem, 4.5vw, 7rem); }
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(3rem, 5vw, 8rem);
}
.service-grid li { text-align: center; }
.service-grid img {
  width: 78%;
  aspect-ratio: 1;
  margin: 0 auto 1.1em;
  border-radius: 50%;
  object-fit: cover;
}
.service-grid h3 {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

/* ---------- Why choose ---------- */
.why {
  --why-w: clamp(18rem, 24vw, 40rem);
  position: relative;
  min-height: 65vw;
  display: flex;
  align-items: center;
  padding-block: var(--section-y);
  background: #8b929b url("images/why-choose.jpg") center / cover no-repeat;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.12), rgba(0,0,0,0) 55%);
}
.why-text {
  position: relative;
  width: var(--why-w);
  margin-left: max(var(--gutter), calc(25% - var(--why-w) / 2));
  text-align: center;
  color: var(--white);
}
.why .display { font-weight: 900; margin-bottom: 1em; }
.why p { margin: 0; font-size: var(--fs-lead); text-shadow: 0 1px 6px rgba(0,0,0,0.3); }

/* ---------- Contact (heading | form) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--gap);
  align-items: start;
}
.contact-title { font-weight: 600; letter-spacing: 0.01em; }
.enquiry-form { display: grid; gap: 2.2em; font-size: var(--fs-lead); }
.field { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; padding: 0; font-weight: 500; letter-spacing: 0.04em; }
.field small { font-size: var(--fs-small); font-weight: 400; margin-left: 0.3em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%;
  padding: 0.9em 0 0.4em;
  border: 0;
  border-bottom: 1px solid #555;
  border-radius: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  outline: none;
}
.field input:focus, .field select:focus { border-bottom: 2px solid var(--blue); }
.field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-top: 0.5em;
  font-size: var(--fs-small);
  color: #555;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 1em 0.6em no-repeat;
}
.hint { margin: 0.4em 0 0.9em; font-size: var(--fs-small); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.8em 0.9em; font-size: var(--fs-small); }
.chip-list label { cursor: pointer; }
.chip-list input { position: absolute; opacity: 0; pointer-events: none; }
.chip-list span {
  display: inline-block;
  padding: 0.25em 0.65em;
  border: 1px solid #333;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip-list label:hover span { border-color: var(--blue); }
.chip-list input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-list input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.submit-btn {
  justify-self: start;
  width: 53%;
  min-width: 14rem;
  margin-top: 1.5em;
  padding: 0.55em 1em;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-size: 1.15em;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--blue-dark); }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: -1em 0 0; min-height: 1.5em; font-size: var(--fs-small); }
.form-status.error { color: #b00020; }
.form-status.ok { color: #0a6b2c; }
.field.invalid > span, .field.invalid legend { color: #b00020; }
.field.invalid input { border-bottom-color: #b00020; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(9rem, 15vw, 22rem) var(--gutter) clamp(2rem, 2.5vw, 3.5rem);
  color: var(--white);
  background: #5d4b55 url("images/footer.jpg") center / cover no-repeat;
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.12); }
.wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 9vw;
  min-height: 50px;
  fill: var(--grey);
  z-index: 1;
}
.footer-inner, .copyright { position: relative; z-index: 1; }
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem var(--gap);
}
.footer-links { list-style: none; margin: 0; padding: 0; font-size: var(--fs-lead); line-height: 1.75; }
.footer-links a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.footer-info p { margin: 0; line-height: 1.75; }
.footer-info strong { font-weight: 600; }
.footer-info a { color: var(--blue); }
.copyright { margin: clamp(3rem, 5vw, 7rem) 0 0; text-align: center; }

/* ---------- FAQ page ---------- */
.faq-page, .faq-page main > .faq-section { background: var(--white); }
.faq-section { padding: clamp(7rem, 15vw, 20rem) var(--gutter) var(--section-y); }
.faq-section h1 { font-weight: 900; margin-bottom: clamp(2.5rem, 5vw, 8rem); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(3rem, 4.5vw, 7rem) clamp(1.5rem, 2.6vw, 4rem);
}
.faq-grid h2 {
  margin: 0 0 0.9em;
  font-size: var(--fs-title);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.faq-grid p { margin: 0; font-size: var(--fs-small); line-height: 1.7; }
.faq-grid a { color: var(--blue); }

/* ---------- Simple text page (privacy) ---------- */
.text-page { background: var(--white); padding: clamp(7rem, 15vw, 20rem) var(--gutter) var(--section-y); }
.text-page .container { max-width: 50rem; }
.text-page h1 { font-weight: 900; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .intro-text, .intro-image { width: 100%; justify-self: stretch; }
  .intro-image img { aspect-ratio: 4 / 5; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .why { min-height: 0; background-position: 62% center; }
  .why::before { background: rgba(0, 0, 0, 0.35); }
  .why-text { margin-inline: auto; width: min(26rem, 100%); }
  .submit-btn { width: 100%; }
}
@media (max-width: 560px) {
  .service-grid, .faq-grid { grid-template-columns: 1fr; }
  .service-grid img { width: 70%; }
  .hero { justify-content: center; padding-inline: var(--gutter); }
  .hero h1 { text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
