/* Administratiekantoor Sinnige — static clone of sinnigeadministratie.nl */

@font-face {
  font-family: "Nationale";
  src: url("../fonts/nationale-regular-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nationale";
  src: url("../fonts/nationale-demibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nationale";
  src: url("../fonts/nationale-extrabold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #009c39;
  --green-hover: #00bb44;
  --green-light: #1dff6f;
  --green-dark: #006926;
  --text: #333333;
  --white: #ffffff;
  --max: 1170px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-hover);
}

ul {
  padding-left: 1.25em;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 15px;
}

/* —— Top bar —— */
.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.topbar a:hover {
  color: #e8ffe8;
}

.topbar .icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* —— Header / nav —— */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 90px;
}

.logo img {
  display: block;
  max-width: 240px;
  width: 65%;
  min-width: 140px;
}

.nav-toggle {
  display: none;
  background: var(--green);
  color: var(--white);
  border: 0;
  padding: 0.55rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 300;
  font-size: 15px;
  padding: 0.35em 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--green);
}

.nav-links .nav-cookies {
  display: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: var(--green);
  color: var(--white) !important;
  border: 0;
  padding: 0.65em 1.15em;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.3;
}

.btn:hover {
  background: var(--green-hover);
  color: var(--white) !important;
}

.btn::before {
  content: "»";
  font-weight: 700;
  line-height: 1;
}

/* —— Home hero —— */
.hero {
  position: relative;
  background: #1a2a3a center / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 15px;
  text-align: center;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  width: 100%;
  padding: 2rem 2.25rem 2.25rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 0.35em;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25em;
  color: var(--text);
}

.hero .btn {
  margin-top: 0.25em;
}

/* —— Home intro —— */
.home-intro {
  background: url("../images/pattern.png") repeat;
  padding: 3.5rem 15px;
  text-align: center;
}

.home-intro .inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.home-intro h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}

/* —— Home CTA columns —— */
.home-ctas {
  background: #fff url("../images/shadow-home.png") bottom center / 100% auto no-repeat;
  padding: 3rem 0 4rem;
}

.home-ctas .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home-ctas h2 {
  font-size: 28px;
  margin-bottom: 0.75em;
}

.home-ctas p {
  margin-bottom: 1.25em;
}

/* —— Page banner —— */
.page-banner {
  background: center / cover no-repeat;
  height: 100px;
  width: 100%;
}

.page-banner--default {
  background-image: url("../images/banner.jpg");
}

/* —— Content layout —— */
.page-section {
  padding: 2.5rem 0 3.5rem;
}

.page-section--pattern {
  background: url("../images/pattern.png") repeat;
}

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

.content-grid--equal {
  grid-template-columns: 1fr 1fr;
}

.headline {
  font-size: 30px;
  font-weight: 700;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.25em;
  margin-bottom: 1em;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.subtitle {
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
  margin: 1.5em 0 0.75em;
}

.sidebar-box {
  border: 2px solid var(--green);
  padding: 1.25rem 1.35rem 1.5rem;
  background: var(--white);
}

.sidebar-box h3 {
  font-size: 22px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.35em;
  margin-bottom: 0.75em;
}

.sidebar-box p {
  margin-bottom: 1.25em;
}

/* —— Service cards —— */
.service-band {
  background: radial-gradient(ellipse at center, var(--green-light) 0%, var(--green-dark) 100%);
  background-color: var(--green);
  padding: 2.5rem 0 3rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: block;
  min-height: 220px;
  background: center / cover no-repeat #222;
  color: var(--white) !important;
  overflow: hidden;
}

.service-card:hover {
  color: var(--white) !important;
  opacity: 0.95;
}

.service-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.75rem 1rem;
  font-size: 18px;
  font-weight: 600;
}

.service-card span::before {
  content: "»\00a0";
}

/* —— Over ons people —— */
.person {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
  align-items: start;
}

.person img {
  width: 100%;
  max-width: 140px;
  display: block;
}

.person-name {
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* —— Gallery on service pages —— */
.service-gallery {
  margin: 1.5rem 0;
}

.service-gallery img {
  display: block;
  max-width: 320px;
  width: 100%;
}

/* —— Contact —— */
.contact-block {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.contact-block a {
  color: var(--green);
}

.contact-form {
  margin-top: 1rem;
  max-width: 520px;
}

.contact-form .field {
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 0.7em 0.85em;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form .form-note {
  font-size: 13px;
  color: #666;
  margin-top: 0.75em;
}

.map-wrap {
  width: 100%;
  min-height: 360px;
  background: #e8e8e8;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--text);
  color: #ddd;
  padding: 2.5rem 0 1.5rem;
  font-size: 14px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 0.75em;
}

.site-footer a {
  color: #ddd;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.footer-address {
  line-height: 1.7;
  margin: 0;
}

.brand-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-size: 12px;
  color: #aaa;
}

.brand-footer img {
  height: 36px;
  width: auto;
  opacity: 0.85;
}

/* —— Cookie notice (simplified) —— */
.cookie-notice {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid #1e4d8c;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.5rem;
  display: none;
}

.cookie-notice.is-visible {
  display: block;
}

.cookie-notice .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-notice p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 14px;
}

.cookie-notice .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-notice .btn-outline {
  background: #fff;
  color: #1e4d8c !important;
  border: 1px solid #1e4d8c;
}

.cookie-notice .btn-outline::before {
  content: none;
}

.cookie-notice .btn-primary-blue {
  background: #1e4d8c;
}

.cookie-notice .btn-primary-blue::before {
  content: none;
}

.cookie-notice .btn-primary-blue:hover {
  background: #163a6b;
}

/* —— Responsive —— */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 40px;
  }

  .home-ctas .grid {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .content-grid--equal {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .person {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid #eee;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.25rem;
    border-bottom: 0;
  }

  .nav-links a[aria-current="page"] {
    background: #f5f5f5;
    border-left: 3px solid var(--green);
  }

  .nav-links .nav-cookies {
    display: list-item;
  }

  .hero {
    min-height: 320px;
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-panel {
    padding: 1.35rem 1.25rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .logo img {
    width: 55%;
  }
}

/* =========================================================
   Homepage redesign — closer to design mockup
   ========================================================= */

.page-home {
  --green: #009c39;
  --green-hover: #00b344;
  --green-soft: #e7f6ec;
  --green-ink: #062816;
  --green-band: #0b7a38;
  --text: #22282e;
  --muted: #667078;
  --surface: #eef3f0;
  --max: 1140px;
  font-family: "Plus Jakarta Sans", "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}

.page-home .container {
  max-width: var(--max);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-home .eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.page-home .btn::before {
  content: none;
}

.page-home .btn-home,
.page-home .btn-outline-green,
.page-home .btn-on-green {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  border-radius: 10px;
  padding: 0.85em 1.35em;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-home .btn-home::after,
.page-home .btn-outline-green::after,
.page-home .btn-on-green::after {
  content: "»";
  font-weight: 700;
}

.page-home .btn-home {
  background: var(--green);
  color: #fff !important;
  border: 2px solid var(--green);
  box-shadow: none;
}

.page-home .btn-home:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #fff !important;
}

.page-home .btn-outline-green {
  background: #fff;
  color: var(--green) !important;
  border: 2px solid var(--green);
  box-shadow: none;
}

.page-home .btn-outline-green:hover {
  background: var(--green-soft);
  color: var(--green-ink) !important;
}

.page-home .btn-on-green {
  background: #fff;
  color: var(--green-band) !important;
  border: 2px solid #fff;
  white-space: nowrap;
}

.page-home .btn-on-green:hover {
  background: var(--green-soft);
  color: var(--green-ink) !important;
}

/* Header */
.page-home .site-header--home {
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid rgba(15, 40, 25, 0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}

.page-home .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.page-home .logo img {
  width: auto;
  max-width: 210px;
  min-width: 0;
}

.page-home .header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.page-home .nav-links {
  gap: 1.5rem;
}

.page-home .nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 2px solid transparent;
  padding: 0.3em 0;
}

.page-home .nav-links a:hover,
.page-home .nav-links a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* —— Full-bleed hero with soft white curve (mockup) —— */
.hero-curve {
  position: relative;
  min-height: clamp(460px, 68vh, 620px);
  overflow: hidden;
  background: #fff;
}

.hero-curve__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-curve__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
  display: block;
}

/* White panel: gebogen vorm, rand vervaagt met gradient i.p.v. harde snede */
.hero-curve__panel {
  position: relative;
  z-index: 2;
  box-sizing: content-box;
  width: min(54rem, 68vw);
  min-height: clamp(460px, 68vh, 620px);
  display: flex;
  align-items: center;
  padding-left: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
  padding-right: 8rem;
  border-top-right-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 55%,
    rgba(255, 255, 255, 0.92) 68%,
    rgba(255, 255, 255, 0.55) 82%,
    rgba(255, 255, 255, 0.18) 92%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.85) 72%,
    rgba(0, 0, 0, 0.35) 88%,
    transparent 100%
  );
}

.hero-curve__content {
  max-width: 28rem;
  padding: 2.5rem 0;
}

.hero-curve__content h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-home .btn-outline-green {
  box-shadow: none;
}

/* Services */
.services-home {
  padding: 4rem 0 4.25rem;
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}

.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid rgba(15, 40, 25, 0.07);
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.45rem;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20, 40, 30, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-tile:hover {
  color: inherit;
  border-color: rgba(0, 156, 57, 0.35);
}

.service-tile h3 {
  margin: 0;
  font-size: 1.12rem;
}

.service-tile p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-tile__icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}

.service-tile__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.tile-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 0.25rem;
}

.tile-link::after {
  content: " ›";
}

/* About block: grey panel + white USP bar */
.about-home {
  padding: 3rem 0 2rem;
}

.about-block {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
}

.about-block__top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: center;
  padding: 2rem 2rem 2rem;
}

.about-block__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: #d5ddd8;
}

.about-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-block__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

.about-block__content > p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
  line-height: 1.65;
}

.usp-section {
  padding: 1.75rem 0 0.5rem;
}

.usp-bar {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  justify-items: center;
  background: transparent;
  border: 0;
}

.usp-bar li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.usp-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.usp-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* Footer: envelop — wit links/rechts, afgerond groen, onderkant tegen bodem */
.footer-home {
  background: #fff;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0 0;
  font-size: 0.92rem;
}

.footer-home__inner {
  background: var(--green);
  border-radius: 28px 28px 0 0;
  padding: 0 1.5rem 1.35rem;
  width: 100%;
}

.footer-home__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #fff;
  padding: 1.75rem 0.25rem 1.25rem;
  margin-bottom: 0;
  border-bottom: 0;
}

.cta-band__text p {
  margin: 0;
  line-height: 1.45;
}

.cta-band__title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.2rem !important;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.2rem;
}

.cta-phone svg {
  width: 1.2rem;
  height: 1.2rem;
}

.cta-phone:hover {
  color: #e8f7ee !important;
}

.footer-home a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-home a:hover {
  color: #fff;
}

.footer-home__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  align-items: start;
}

.footer-home h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
}

.footer-home ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-home li {
  margin: 0 0 0.45rem;
}

.footer-home__brand p {
  margin: 0;
  max-width: 18rem;
  line-height: 1.55;
}

.footer-home .footer-address {
  line-height: 1.7;
  margin: 0;
}

.footer-home__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem 0 0.5rem;
  border-top: 0;
  font-size: 0.85rem;
}

.footer-home__bottom p {
  margin: 0;
}

/* Motion */
.page-home .reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: home-rise 0.7s ease forwards;
}

.page-home .service-tile.reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.page-home .service-tile.reveal:nth-child(3) {
  animation-delay: 0.16s;
}
.page-home .service-tile.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes home-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .reveal,
  .page-home .service-tile.reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .page-home .btn-home,
  .page-home .service-tile {
    transition: none;
  }
}

@media (max-width: 991px) {
  .hero-curve {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-curve__bg {
    position: relative;
    min-height: 260px;
    order: 1;
  }

  .hero-curve__panel {
    width: auto;
    min-height: 0;
    order: 0;
    padding: 2.25rem 1.25rem 1.75rem;
    border-radius: 0;
    background: #fff;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-curve__content {
    max-width: none;
    padding: 0;
  }

  .service-tiles,
  .usp-bar,
  .footer-home__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-block__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-block__media {
    max-width: 380px;
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 767px) {
  .page-home .header-nav .btn-home {
    display: none;
  }

  .page-home .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
  }

  .service-tiles,
  .usp-bar,
  .footer-home__grid {
    grid-template-columns: 1fr;
  }

  .footer-home__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
