/**
 * MAC Construction — global layout, nav, footer, home hero, project listing UI.
 * Project case-study pages also load project-page.css for gallery/meta layout.
 */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400&display=swap");

:root,
[data-bs-theme="light"] {
  --bs-body-font-family: Fredoka, sans-serif;
  --bs-border-color: #ffffff;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.custom-navbar {
  background-color: #686868;
}

.custom-navbar .nav-link {
  color: white !important;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400 !important;
  font-size: 0.875rem;
  margin-left: 15px;
  margin-right: 15px;
  transition: opacity 0.3s ease;
}

.custom-navbar .nav-link:hover {
  opacity: 0.7;
}

@media (min-width: 992px) {
  .custom-navbar .nav-item-login {
    margin-left: 2.25rem;
  }
}

@media (max-width: 991.98px) {
  .custom-navbar .nav-item-login {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.projects-btn {
  border-width: 2px;
  border-radius: 46px;
  font-family: 'Fredoka', sans-serif;
}

body {
  padding-top: 70px;
}

.video-header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 30rem;
  width: 100%;
  overflow: hidden;
}

.video-header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.video-header .container {
  position: relative;
  z-index: 2;
}

.welcome-bar {
  background-color: #686868;
  color: white;
  padding: 30px 0;
}

.welcome-bar h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Home hero — replaces fixed inline height / type on index */
.page-home .video-header .masthead-hero-row {
  min-height: min(85vh, 53.1875rem);
  align-items: center;
}

.page-home .video-header .site-heading {
  text-align: center;
}

.page-home .video-header .site-heading h1 {
  font-family: 'Fredoka', sans-serif;
  color: #fff;
}

/* Home — intro under welcome stripe + full-bleed photo row */
.home-intro-section {
  background: #fff;
}

.home-intro-text,
.home-services-title,
.home-services-list {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a4a4a;
}

.home-intro-text strong,
.home-services-title strong {
  color: #1a1a1a;
  font-weight: 700;
}

.home-services-list {
  padding-left: 1.25rem;
  margin: 0;
}

.home-services-list li {
  margin-bottom: 0.35rem;
}

.home-services-list li:last-child {
  margin-bottom: 0;
}

.home-photo-strip {
  width: 100%;
  overflow: hidden;
  background: #e8e8e8;
}

.home-photo-strip-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  min-height: clamp(9rem, 22vw, 17.5rem);
}

.home-photo-strip-inner > .home-photo-strip-link {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-photo-strip-inner img {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: clamp(9rem, 22vw, 17.5rem);
  object-fit: cover;
  display: block;
}

.home-photo-strip-inner > .home-photo-strip-link img {
  width: 100%;
  height: clamp(9rem, 22vw, 17.5rem);
  flex: none;
}

@media (max-width: 767.98px) {
  .home-photo-strip-inner {
    flex-wrap: wrap;
  }

  .home-photo-strip-inner img {
    flex: 1 1 50%;
    width: 50%;
    height: clamp(7rem, 28vw, 11rem);
  }

  .home-photo-strip-inner > .home-photo-strip-link {
    flex: 1 1 50%;
    width: 50%;
  }

  .home-photo-strip-inner > .home-photo-strip-link img {
    width: 100%;
    height: clamp(7rem, 28vw, 11rem);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-photo-strip-inner img {
    height: clamp(8rem, 20vw, 13rem);
  }

  .home-photo-strip-inner > .home-photo-strip-link img {
    height: clamp(8rem, 20vw, 13rem);
  }
}

.masthead {
  margin-bottom: 0 !important;
}

.video-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

.footer-custom {
  background-color: #686868;
  color: white;
  position: relative;
  font-family: "Nunito Sans", sans-serif;
  /* Angled top edge: shallow slope from left, low point ~75% across, steep rise to top-right */
  /* Generous top padding below the cut (do not use Bootstrap py-* on footer — it overrides this) */
  padding-top: clamp(3.75rem, 8vw, 5.25rem);
  padding-bottom: 25px;
  clip-path: polygon(
    0 0,
    75% 2.35rem,
    100% 0,
    100% 100%,
    0 100%
  );
  -webkit-clip-path: polygon(
    0 0,
    75% 2.35rem,
    100% 0,
    100% 100%,
    0 100%
  );
}

@media (min-width: 992px) {
  .footer-custom {
    clip-path: polygon(
      0 0,
      75% 2.75rem,
      100% 0,
      100% 100%,
      0 100%
    );
    -webkit-clip-path: polygon(
      0 0,
      75% 2.75rem,
      100% 0,
      100% 100%,
      0 100%
    );
  }
}

/* Home only: flat top edge (angled clip-path clashes with the full-bleed photo strip above) */
.page-home .footer-custom {
  clip-path: none;
  -webkit-clip-path: none;
  padding-top: 2.5rem;
}

@media (min-width: 992px) {
  .page-home .footer-custom {
    clip-path: none;
    -webkit-clip-path: none;
  }
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 0.65rem;
  font-size: 2rem;
  line-height: 1.2;
}

.footer-link {
  color: white;
  text-decoration: underline;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  opacity: 0.9;
}

.footer-link:hover {
  color: white;
  opacity: 1;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.1;
  opacity: 0.9;
}

.nhbc-logo-img {
  max-height: 108px;
  width: auto;
  vertical-align: middle;
}

.footer-logo-mac {
  max-width: 160px;
  height: auto;
}

.cookie-preferences-btn {
  position: absolute;
  bottom: 0;
  left: 30px;
  background-color: white;
  color: #333;
  border: none;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Project category index: square thumb + left-aligned title (grid) */
.project-grid {
  --project-grid-gap: 1.5rem;
}

.project-grid .row {
  --bs-gutter-x: var(--project-grid-gap);
  --bs-gutter-y: var(--project-grid-gap);
}

.project-grid-item {
  display: block;
  text-align: left;
  text-decoration: none;
  color: #000;
}

.project-grid-item:hover {
  color: #000;
}

.project-grid-item:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.project-grid-thumb {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 0 0.5rem;
  border-radius: 0;
}

.project-grid-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  display: block;
}

.project-type-card {
  text-align: center;
  margin-bottom: 30px;
}

.project-type-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.pill-outline-btn {
  display: inline-block;
  border: 2px solid black;
  border-radius: 50px;
  padding: 10px 30px;
  color: black;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-width: 200px;
}

.pill-outline-btn:hover {
  background-color: black;
  color: white;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}

/* Projects hub, category grids, case studies — scroll-triggered soft fade (project-fade-in.js) */
.fade-in-on-view {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-in-on-view.fade-in-on-view--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-on-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* Our Customers — intro + logo grid */
.customers-page-main {
  background-color: #fafafa;
}

.customers-intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.customers-intro-lead {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 0;
}

/* Terms, Privacy Policy, FAQs — same visual language as Our Customers intro */
.static-page-main {
  background-color: #fafafa;
}

.static-page-inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.static-page-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 1.75rem;
  color: #333;
}

.static-page-prose p,
.static-page-prose li {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.static-page-prose p {
  margin-bottom: 1rem;
}

.static-page-prose p:last-child {
  margin-bottom: 0;
}

.static-page-prose h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: #333;
}

.static-page-prose h2:first-child {
  margin-top: 0;
}

.static-page-prose ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.static-page-prose a {
  color: #2a4a6e;
  text-decoration: underline;
}

.static-page-prose a:hover {
  color: #1a3550;
}

.static-page-meta {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}

.customers-logos-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid #e8e8e8;
}

.customers-logos-heading {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 1.75rem;
  color: #333;
}

.customer-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.customer-logo-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.customer-logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Contact page — main area with background image */
.contact-page-content {
  position: relative;
  background-color: #d8d8d8;
  /* contact-bg.jpg — no spaces in filename (avoids broken bg on strict Linux/nginx hosts) */
  background-image: url("../img/contact-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Extra vertical space so more of the image shows around the cards */
  min-height: min(72vh, 56rem);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .contact-page-content {
    min-height: min(78vh, 60rem);
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
}

/* Light veil only — keeps gutters readable; panels stay solid white */
.contact-page-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 0;
}

.contact-page-content > .container {
  position: relative;
  z-index: 1;
}

.contact-form-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e4e4e4;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.contact-form-panel-head {
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, #f7f7f7 0%, #fff 55%);
  border-bottom: 1px solid #ececec;
}

.contact-form-panel-head h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
  letter-spacing: 0.01em;
}

.contact-form-panel-head p {
  font-family: "Nunito Sans", sans-serif;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

.contact-form-panel-head strong {
  font-weight: 700;
  color: #333;
}

.contact-form-panel-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

@media (min-width: 576px) {
  .contact-form-panel-head {
    padding: 1.75rem 2rem 1.35rem;
  }

  .contact-form-panel-body {
    padding: 1.75rem 2rem 2rem;
  }
}

.contact-details-body {
  padding-top: 1.35rem;
}

.contact-detail-block {
  margin-bottom: 1.35rem;
}

.contact-detail-block:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.35rem;
}

.contact-detail-value {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 0;
}

.contact-detail-link {
  color: #686868;
  font-weight: 600;
  text-decoration: none;
}

.contact-detail-link:hover {
  color: #4a4a4a;
  text-decoration: underline;
}

.contact-form-panel .alert {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 8px;
}

.contact-form-panel .form-floating > .form-control {
  border-radius: 8px;
  border: 2px solid #b0b0b0;
  font-family: "Nunito Sans", sans-serif;
}

.contact-form-panel .form-floating > .form-control:focus {
  border-color: #686868;
  box-shadow: 0 0 0 3px rgba(104, 104, 104, 0.15);
}

.contact-form-panel .form-floating > label {
  font-family: "Nunito Sans", sans-serif;
  color: #666;
}

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

.btn-contact-submit {
  background-color: #686868 !important;
  border-color: #686868 !important;
  color: #fff !important;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 2rem;
  border-radius: 9px;
  letter-spacing: 0.03em;
}

.btn-contact-submit:hover,
.btn-contact-submit:focus-visible {
  background-color: #5a5a5a !important;
  border-color: #5a5a5a !important;
  color: #fff !important;
}

.btn-contact-submit-outline {
  background-color: #fff !important;
  border-color: #686868 !important;
  color: #686868 !important;
}

.btn-contact-submit-outline:hover,
.btn-contact-submit-outline:focus-visible {
  background-color: #f3f3f3 !important;
  border-color: #5a5a5a !important;
  color: #5a5a5a !important;
}

/* Login page — same shell as contact; panel uses contact-form-panel */
.login-page-content {
  padding-top: 2.75rem;
}

.login-page-content .login-intro {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.login-form-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.login-form-check-label {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  color: #444;
}

.login-form-forgot {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.88rem;
  white-space: nowrap;
}

.login-form-footnote {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ececec;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #666;
}

.login-panel .form-check-input:focus {
  border-color: #686868;
  box-shadow: 0 0 0 0.2rem rgba(104, 104, 104, 0.12);
}

.login-panel .form-check-input:checked {
  background-color: #686868;
  border-color: #686868;
}

@media (max-width: 767.98px) {
  .footer-custom {
    padding-bottom: 60px;
  }

  .cookie-preferences-btn {
    left: 50%;
    transform: translateX(-50%);
  }
}

.about-showcase {
  padding: 120px 0 70px;
}

.about-showcase-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
}

.about-showcase-copy {
  max-width: 760px;
}

.about-showcase-copy p {
  margin-bottom: 1.1rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

.about-showcase-media {
  position: relative;
  min-height: 330px;
}

.about-photo {
  position: absolute;
  object-fit: cover;
  width: min(92%, 360px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.about-photo-top {
  top: 0;
  right: 0;
  z-index: 2;
}

.about-photo-bottom {
  width: min(82%, 300px);
  left: 0;
  top: 170px;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .about-showcase-grid {
    grid-template-columns: 1fr;
  }

  .about-showcase-media {
    min-height: 260px;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .about-showcase {
    padding-top: 105px;
  }

  .about-showcase-copy p {
    font-size: 1rem;
  }
}

/* Cookie consent banner + modal */
.cookie-preferences-btn {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  border-top: 1px solid #161616;
  padding: 1rem 0.75rem;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.cookie-banner-text {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  color: #212121;
  font-size: 0.74rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.cookie-banner-btn {
  border: 1px solid #1d1d1d;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.74rem 1.05rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-banner-btn-dark {
  background: #fff;
  color: #111;
}

.cookie-banner-btn-dark:hover,
.cookie-banner-btn-dark:focus-visible {
  background: #111;
  color: #fff;
  border-color: #111;
}

#cookie-manage-btn {
  border: 1px solid #111;
  border-radius: 0;
  padding: 0.74rem 0.95rem;
  min-width: unset;
}

#cookie-manage-btn:hover,
#cookie-manage-btn:focus-visible {
  background: #111;
  color: #fff;
  border-color: #111;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1260;
  display: none;
}

.cookie-overlay.open {
  display: block;
}

.cookie-modal {
  position: fixed;
  z-index: 1270;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #fff;
  border: 1px solid #111;
  padding: 1.55rem 1.45rem 1.35rem;
  display: none;
  overflow: auto;
}

.cookie-modal.open {
  display: block;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-modal-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.1;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}

.cookie-modal-close {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 3rem;
  line-height: 1;
  padding: 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  cursor: pointer;
}

.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem 1.25rem;
  padding: 1.45rem 0 1.3rem;
  border-bottom: 1px solid #bbb;
}

.cookie-row:last-of-type {
  border-bottom: 0;
}

.cookie-row h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}

.cookie-row p {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  color: #333;
  font-size: 0.96rem;
  line-height: 1.48;
  max-width: 800px;
}

.cookie-state-text {
  align-self: center;
  font-family: "Fredoka", sans-serif;
  font-size: 1.02rem;
  color: #222;
}

.cookie-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: center;
}

.cookie-toggle-label {
  font-family: "Fredoka", sans-serif;
  font-size: 1.02rem;
}

.cookie-toggle {
  position: relative;
  width: 58px;
  height: 30px;
  appearance: none;
  border-radius: 999px;
  background: #e6e6e6;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cookie-toggle:checked {
  background: #111;
}

.cookie-toggle:checked::before {
  transform: translateX(28px);
}

.cookie-modal-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
}

.cookie-save-btn {
  border: 2px solid #111;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.96rem 1.75rem;
  font-size: 0.88rem;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .cookie-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .cookie-banner-actions {
    width: auto;
    justify-content: flex-end;
  }

  .cookie-banner-text {
    flex: 1 1 100%;
    font-size: 0.63rem;
  }

  .cookie-modal {
    padding: 1rem 0.9rem 1.05rem;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
}
