:root {
  --nim-ink: #111821;
  --nim-ink-soft: #39424f;
  --nim-cream: #f6f1e8;
  --nim-paper: #ffffff;
  --nim-brand: #0d5a68;
  --nim-brand-deep: #083c47;
  --nim-brand-tint: #e7f2f4;
  --nim-accent: #d9822b;
  --nim-accent-ink: #8a4a10;
  --nim-line: #ded7cb;
  --nim-danger: #b3261e;
  --nim-radius-sm: 10px;
  --nim-radius: 18px;
  --nim-radius-lg: 28px;
  --nim-shadow-sm: 0 6px 18px rgba(17, 24, 33, 0.07);
  --nim-shadow: 0 18px 48px rgba(17, 24, 33, 0.12);
  --nim-ring: 0 0 0 4px rgba(13, 90, 104, 0.22);
  --nim-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nim-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nim-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

body {
  margin: 0;
  font-family: var(--nim-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--nim-ink);
  background-color: var(--nim-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--nim-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--nim-ink);
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--nim-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--nim-brand-deep);
}

img {
  max-width: 100%;
  height: auto;
}

.nim-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.nim-section--tint {
  background-color: var(--nim-cream);
}

.nim-section--dark {
  background-color: var(--nim-brand-deep);
  color: #e6f1f3;
}

.nim-section--dark h1,
.nim-section--dark h2,
.nim-section--dark h3,
.nim-section--dark h4 {
  color: #ffffff;
}

.nim-section--dark p,
.nim-section--dark li {
  color: #d3e6e9;
}

.nim-section--dark a {
  color: #ffd9a8;
}

.nim-section--dark a:hover {
  color: #ffffff;
}

.nim-section--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nim-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--nim-accent-ink);
  margin-bottom: 1rem;
}

.nim-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background-color: var(--nim-accent);
  display: inline-block;
}

.nim-section--dark .nim-eyebrow {
  color: #ffd9a8;
}

.nim-lead {
  font-size: 1.125rem;
  color: var(--nim-ink-soft);
  max-width: 62ch;
}

.nim-section--dark .nim-lead {
  color: #d3e6e9;
}

.nim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--nim-ease), background-color 0.25s var(--nim-ease),
    color 0.25s var(--nim-ease), box-shadow 0.25s var(--nim-ease);
}

.nim-btn--primary {
  background-color: var(--nim-brand);
  color: #ffffff;
  box-shadow: var(--nim-shadow-sm);
}

.nim-btn--primary:hover,
.nim-btn--primary:focus-visible {
  background-color: var(--nim-brand-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--nim-shadow);
}

.nim-btn--accent {
  background-color: var(--nim-accent);
  color: #23160a;
}

.nim-btn--accent:hover,
.nim-btn--accent:focus-visible {
  background-color: #efb069;
  color: #23160a;
  transform: translateY(-2px);
}

.nim-btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.nim-btn--ghost:hover,
.nim-btn--ghost:focus-visible {
  background-color: #ffffff;
  color: var(--nim-brand-deep);
  border-color: #ffffff;
}

.nim-btn--outline {
  background-color: transparent;
  border-color: var(--nim-brand);
  color: var(--nim-brand);
}

.nim-btn--outline:hover,
.nim-btn--outline:focus-visible {
  background-color: var(--nim-brand);
  color: #ffffff;
}

.nim-btn:focus-visible {
  outline: none;
  box-shadow: var(--nim-ring);
}

.nim-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--nim-ease), border-color 0.3s var(--nim-ease),
    backdrop-filter 0.3s var(--nim-ease);
}

.nim-header.is-stuck {
  box-shadow: 0 10px 30px rgba(17, 24, 33, 0.09);
  border-bottom-color: var(--nim-line);
  backdrop-filter: blur(10px);
}

.nim-header__meta {
  font-size: 0.875rem;
  color: var(--nim-ink-soft);
}

.nim-header__meta a {
  color: var(--nim-brand);
  font-weight: 600;
  text-decoration: none;
}

.nim-header__meta a:hover {
  text-decoration: underline;
}

.nim-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--nim-ink);
  text-decoration: none;
}

.nim-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--nim-accent);
  transition: width 0.3s var(--nim-ease);
}

.nim-nav__link:hover::after,
.nim-nav__link:focus-visible::after {
  width: 100%;
}

.nim-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.nim-hero__kicker {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.nim-hero h1,
.nim-hero h2 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.nim-hero p {
  color: #eef4f5;
  max-width: 56ch;
}

.nim-hero__rule {
  width: 72px;
  height: 3px;
  background-color: var(--nim-accent);
  margin: 1.75rem 0;
}

.nim-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  animation: nim-bob 2.4s ease-in-out infinite;
}

@keyframes nim-bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 9px);
  }
}

.nim-slider .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.45);
  border: 0;
  opacity: 1;
}

.nim-slider .carousel-indicators .active {
  background-color: var(--nim-accent);
}

.nim-slider .carousel-control-prev-icon,
.nim-slider .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
}

.nim-card {
  background-color: var(--nim-paper);
  border: 1px solid var(--nim-line);
  border-radius: var(--nim-radius);
  padding: 1.9rem 1.6rem;
  height: 100%;
  transition: transform 0.35s var(--nim-ease), box-shadow 0.35s var(--nim-ease),
    border-color 0.35s var(--nim-ease);
}

.nim-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nim-shadow);
  border-color: rgba(13, 90, 104, 0.35);
}

.nim-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: var(--nim-brand-tint);
  color: var(--nim-brand);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.nim-card h3 {
  margin-bottom: 0.6rem;
}

.nim-card p:last-child {
  margin-bottom: 0;
  color: var(--nim-ink-soft);
}

.nim-service-card {
  position: relative;
  display: block;
  border-radius: var(--nim-radius-lg);
  overflow: hidden;
  background-color: #0b1117;
  color: #ffffff;
  text-decoration: none;
  min-height: 380px;
  box-shadow: var(--nim-shadow-sm);
  transition: transform 0.4s var(--nim-ease), box-shadow 0.4s var(--nim-ease);
}

.nim-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nim-shadow);
  color: #ffffff;
}

.nim-service-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.8s var(--nim-ease), opacity 0.4s var(--nim-ease);
}

.nim-service-card:hover .nim-service-card__media {
  transform: scale(1.06);
  opacity: 0.55;
}

.nim-service-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 380px;
  padding: 1.75rem;
  background-image: linear-gradient(to top, rgba(6, 22, 26, 0.92) 12%, rgba(6, 22, 26, 0.15) 72%);
}

.nim-service-card__body h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.nim-service-card__body p {
  color: #dfecee;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.nim-service-card__more {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd9a8;
}

.nim-stat {
  border-left: 3px solid var(--nim-accent);
  padding-left: 1.25rem;
}

.nim-stat__value {
  display: block;
  font-family: var(--nim-font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--nim-brand);
}

.nim-section--dark .nim-stat__value {
  color: #ffd9a8;
}

.nim-stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.925rem;
  color: var(--nim-ink-soft);
}

.nim-section--dark .nim-stat__label {
  color: #cfe3e6;
}

.nim-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem 1.7rem;
  border-radius: var(--nim-radius);
  background-color: var(--nim-paper);
  border: 1px solid var(--nim-line);
  height: 100%;
}

.nim-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--nim-brand-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.nim-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.nim-step p {
  margin-bottom: 0;
  color: var(--nim-ink-soft);
  font-size: 0.975rem;
}

.nim-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--nim-radius);
  background-color: #0b1117;
  min-height: 240px;
}

.nim-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--nim-ease);
}

.nim-gallery__item:hover img {
  transform: scale(1.07);
}

.nim-gallery__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem 1.1rem;
  background-image: linear-gradient(to top, rgba(6, 22, 26, 0.94), rgba(6, 22, 26, 0));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.nim-quote {
  background-color: var(--nim-paper);
  border-radius: var(--nim-radius);
  border: 1px solid var(--nim-line);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nim-quote__stars {
  color: var(--nim-accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}

.nim-quote__text {
  font-size: 1.03rem;
  color: var(--nim-ink);
  margin-bottom: 0;
}

.nim-quote__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.nim-quote__author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.nim-quote__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nim-ink);
  display: block;
}

.nim-quote__role {
  font-size: 0.85rem;
  color: var(--nim-ink-soft);
  display: block;
}

.nim-team__card {
  text-align: center;
  background-color: var(--nim-paper);
  border: 1px solid var(--nim-line);
  border-radius: var(--nim-radius);
  padding: 1.5rem 1.25rem;
  height: 100%;
}

.nim-team__photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid var(--nim-brand-tint);
}

.nim-team__name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--nim-ink);
}

.nim-team__role {
  display: block;
  font-size: 0.88rem;
  color: var(--nim-ink-soft);
  margin-top: 0.25rem;
}

.nim-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid rgba(13, 90, 104, 0.25);
}

.nim-timeline li {
  position: relative;
  padding: 0 0 1.9rem 1.9rem;
}

.nim-timeline li:last-child {
  padding-bottom: 0;
}

.nim-timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--nim-accent);
  border: 3px solid var(--nim-paper);
}

.nim-timeline__year {
  display: block;
  font-family: var(--nim-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nim-brand);
  margin-bottom: 0.2rem;
}

.nim-section--dark .nim-timeline {
  border-left-color: rgba(255, 255, 255, 0.28);
}

.nim-section--dark .nim-timeline li::before {
  border-color: var(--nim-brand-deep);
}

.nim-section--dark .nim-timeline__year {
  color: #ffd9a8;
}

.nim-faq .accordion-item {
  border: 1px solid var(--nim-line);
  border-radius: var(--nim-radius-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
  background-color: var(--nim-paper);
}

.nim-faq .accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--nim-ink);
  background-color: var(--nim-paper);
  padding: 1.15rem 1.25rem;
  box-shadow: none;
}

.nim-faq .accordion-button:not(.collapsed) {
  background-color: var(--nim-brand-tint);
  color: var(--nim-brand-deep);
}

.nim-faq .accordion-button:focus {
  box-shadow: var(--nim-ring);
}

.nim-faq .accordion-body {
  color: var(--nim-ink-soft);
  padding: 0 1.25rem 1.35rem;
}

.nim-form {
  background-color: var(--nim-paper);
  border: 1px solid var(--nim-line);
  border-radius: var(--nim-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--nim-shadow-sm);
}

.nim-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nim-ink);
  margin-bottom: 0.4rem;
}

.nim-form .form-control,
.nim-form .form-select {
  border-radius: 12px;
  border: 1px solid var(--nim-line);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--nim-ink);
  background-color: #ffffff;
}

.nim-form .form-control::placeholder {
  color: #7b8494;
}

.nim-form .form-control:focus,
.nim-form .form-select:focus {
  border-color: var(--nim-brand);
  box-shadow: var(--nim-ring);
}

.nim-form .form-control.is-invalid,
.nim-form .form-select.is-invalid {
  border-color: var(--nim-danger);
}

.nim-form__note {
  font-size: 0.9rem;
  color: var(--nim-danger);
  margin-top: 0.85rem;
}

.nim-form__consent {
  font-size: 0.88rem;
  color: var(--nim-ink-soft);
}

.nim-form.is-sending .nim-btn {
  opacity: 0.7;
  pointer-events: none;
}

.nim-price {
  background-color: var(--nim-paper);
  border: 1px solid var(--nim-line);
  border-radius: var(--nim-radius);
  padding: 1.9rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nim-price--featured {
  border-color: var(--nim-brand);
  box-shadow: var(--nim-shadow);
  position: relative;
}

.nim-price__tag {
  position: absolute;
  top: -13px;
  right: 1.5rem;
  background-color: var(--nim-accent);
  color: #23160a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.nim-price__amount {
  font-family: var(--nim-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--nim-brand);
  line-height: 1;
  margin: 0.6rem 0 0.4rem;
}

.nim-price__amount small {
  font-size: 0.95rem;
  font-family: var(--nim-font-body);
  font-weight: 500;
  color: var(--nim-ink-soft);
}

.nim-price ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
}

.nim-price ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
  color: var(--nim-ink-soft);
}

.nim-price ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--nim-brand);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.nim-cta-band {
  border-radius: var(--nim-radius-lg);
  padding: clamp(2rem, 4vw, 3.4rem);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.nim-cta-band h2 {
  color: #ffffff;
}

.nim-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nim-contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--nim-line);
}

.nim-contact-list li:last-child {
  border-bottom: 0;
}

.nim-contact-list i {
  color: var(--nim-brand);
  font-size: 1.1rem;
  margin-top: 0.3rem;
  width: 22px;
  text-align: center;
}

.nim-map-frame {
  border-radius: var(--nim-radius);
  overflow: hidden;
  border: 1px solid var(--nim-line);
  line-height: 0;
}

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

.nim-footer {
  background-color: #0a1a1f;
  color: #c6d7da;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

.nim-footer h4 {
  color: #ffffff;
  font-size: 1.02rem;
  font-family: var(--nim-font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.nim-footer p,
.nim-footer li {
  color: #b9cccf;
  font-size: 0.94rem;
}

.nim-footer a {
  color: #b9cccf;
  text-decoration: none;
}

.nim-footer a:hover {
  color: #ffd9a8;
  text-decoration: underline;
}

.nim-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nim-footer__menu li {
  margin-bottom: 0.55rem;
}

.nim-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  font-size: 0.86rem;
  color: #9db4b8;
}

.nim-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nim-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.05rem;
  transition: background-color 0.25s var(--nim-ease), border-color 0.25s var(--nim-ease);
}

.nim-social:hover {
  background-color: var(--nim-accent);
  border-color: var(--nim-accent);
  color: #23160a;
}

.nim-article-body h2 {
  margin-top: 2.4rem;
}

.nim-article-body ul {
  padding-left: 1.1rem;
}

.nim-article-body li {
  margin-bottom: 0.5rem;
}

.nim-badge-soft {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background-color: var(--nim-brand-tint);
  color: var(--nim-brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nim-cookie {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(1000px, calc(100% - 2rem));
  z-index: 1080;
  background-color: #0a1a1f;
  color: #e9f3f4;
  border: 1px solid rgba(255, 217, 168, 0.35);
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
  padding: 1.25rem 1.4rem;
  animation: nim-cookie-in 0.5s var(--nim-ease) both;
}

@keyframes nim-cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 26px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.nim-cookie.is-leaving {
  animation: nim-cookie-out 0.4s var(--nim-ease) forwards;
}

@keyframes nim-cookie-out {
  to {
    opacity: 0;
    transform: translate(-50%, 26px);
  }
}

.nim-cookie__inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nim-cookie__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  background-color: rgba(217, 130, 43, 0.16);
  color: #ffc785;
  font-size: 1.3rem;
}

.nim-cookie__copy {
  flex: 1 1 320px;
  min-width: 240px;
}

.nim-cookie__title {
  font-family: var(--nim-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.nim-cookie__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c3d6d9;
}

.nim-cookie__link {
  color: #ffd9a8;
  font-weight: 600;
  text-decoration: underline;
}

.nim-cookie__link:hover {
  color: #ffffff;
}

.nim-cookie__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.nim-cookie__btn {
  border-radius: 999px;
  padding: 0.68rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--nim-ease), color 0.25s var(--nim-ease),
    border-color 0.25s var(--nim-ease);
}

.nim-cookie__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 168, 0.55);
}

.nim-cookie__btn--decline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #e9f3f4;
}

.nim-cookie__btn--decline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.nim-cookie__btn--accept {
  background-color: #ffd9a8;
  color: #23160a;
  border-color: #ffd9a8;
}

.nim-cookie__btn--accept:hover {
  background-color: #ffffff;
  border-color: #ffffff;
}

.nim-to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background-color: var(--nim-brand);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--nim-ease), transform 0.3s var(--nim-ease),
    visibility 0.3s var(--nim-ease);
  z-index: 1030;
}

.nim-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nim-to-top:hover {
  background-color: var(--nim-brand-deep);
}

@media (max-width: 767.98px) {
  .nim-cookie {
    bottom: 0.85rem;
    padding: 1.1rem;
  }

  .nim-cookie__actions {
    width: 100%;
  }

  .nim-cookie__btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .nim-hero {
    min-height: 560px;
  }

  .nim-service-card,
  .nim-service-card__body {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ------------------------------------------------------------------
   Contrast / color-scheme fixes for light content inside dark blocks
   and dark content inside light cards placed over the hero image.
   ------------------------------------------------------------------ */

/* Hero card ("Με μια ματιά") sits on the photo background but has a
   white paper background, so its text must use the dark ink colors. */
.nim-hero .nim-card {
  color: var(--nim-ink);
}

.nim-hero .nim-card p.nim-eyebrow {
  color: var(--nim-accent-ink);
}

.nim-hero .nim-card li,
.nim-hero .nim-card span {
  color: var(--nim-ink);
}

.nim-hero .nim-card li i {
  color: var(--nim-brand);
}

/* Outline buttons placed over dark photo backgrounds need light colors. */
.nim-hero .nim-btn--outline,
.nim-section--photo .nim-btn--outline,
.nim-cta-band .nim-btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.nim-hero .nim-btn--outline:hover,
.nim-hero .nim-btn--outline:focus-visible,
.nim-section--photo .nim-btn--outline:hover,
.nim-section--photo .nim-btn--outline:focus-visible,
.nim-cta-band .nim-btn--outline:hover,
.nim-cta-band .nim-btn--outline:focus-visible {
  background-color: #ffffff;
  color: var(--nim-brand-deep);
  border-color: #ffffff;
}

/* The CTA band has no inline background image on every page, so give it a
   solid brand background to keep white text readable in all cases. */
.nim-cta-band {
  background-color: var(--nim-brand-deep);
}

.nim-cta-band .nim-eyebrow {
  color: #ffd9a8;
}

.nim-cta-band .nim-eyebrow::before {
  background-color: #ffd9a8;
}

/* Statistics placed on a dark photo section must not use the dark brand
   color for numbers/labels. */
.nim-section--photo .nim-stat__value {
  color: #ffd9a8;
}

.nim-section--photo .nim-stat__label {
  color: #e2eef0;
}

.nim-section--photo .nim-eyebrow {
  color: #ffd9a8;
}

.nim-section--photo .nim-eyebrow::before {
  background-color: #ffd9a8;
}

/* ==========================================================================
   Contrast / readability overrides
   ========================================================================== */

/* A card sitting on top of the dark hero image must keep dark text on white */
.nim-hero .nim-card,
.nim-hero .nim-card p,
.nim-hero .nim-card li,
.nim-hero .nim-card span,
.nim-hero .nim-card i {
  color: var(--nim-ink);
}

.nim-hero .nim-card p.nim-eyebrow {
  color: var(--nim-accent-ink);
}

/* Outline buttons rendered on dark photo / dark colour backdrops */
.nim-hero .nim-btn--outline,
.nim-section--dark .nim-btn--outline,
.nim-section--photo .nim-btn--outline,
.nim-cta-band .nim-btn--outline {
  border-color: #ffffff;
  color: #ffffff;
}

.nim-hero .nim-btn--outline:hover,
.nim-hero .nim-btn--outline:focus-visible,
.nim-section--dark .nim-btn--outline:hover,
.nim-section--dark .nim-btn--outline:focus-visible,
.nim-section--photo .nim-btn--outline:hover,
.nim-section--photo .nim-btn--outline:focus-visible,
.nim-cta-band .nim-btn--outline:hover,
.nim-cta-band .nim-btn--outline:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--nim-brand-deep);
}

/* CTA band without a background image needs a solid dark backdrop
   so the white headline and paragraph stay readable */
.nim-cta-band {
  background-color: var(--nim-brand-deep);
}

.nim-cta-band .nim-eyebrow {
  color: #ffd9a8;
}

.nim-cta-band .nim-eyebrow::before {
  background-color: #ffd9a8;
}

.nim-cta-band p {
  color: #e6f1f3;
}

/* ==========================================================================
   Contrast fixes (homepage) — scoped overrides only
   ========================================================================== */

/* Hero statistics sit on a dark photo background: use light colours so the
   numbers and labels stay readable instead of the dark brand ink. */
.nim-hero .nim-stat__value {
  color: #ffd9a8;
}

.nim-hero .nim-stat__label {
  color: #e8f2f4;
}

/* Headings inside the white card placed over the hero photo must stay dark,
   the global `.nim-hero h1, .nim-hero h2 { color:#fff }` rule made them white
   on a white card background. */
.nim-hero .nim-card h1,
.nim-hero .nim-card h2,
.nim-hero .nim-card h3,
.nim-hero .nim-card h4,
.nim-hero .nim-card h5 {
  color: var(--nim-ink);
}

/* Outline buttons on dark photo areas get a solid white surface with dark
   text so the label never blends into the image behind it. */
.nim-hero .nim-btn--outline {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--nim-brand-deep);
}

.nim-hero .nim-btn--outline:hover,
.nim-hero .nim-btn--outline:focus-visible {
  background-color: var(--nim-brand-deep);
  border-color: #ffffff;
  color: #ffffff;
}

/* Accent buttons inside dark sections were recoloured by the
   `.nim-section--dark a { color:#ffd9a8 }` rule (light text on orange).
   Keep the dark ink on the orange surface. */
.nim-section--dark a.nim-btn--accent,
.nim-section--dark a.nim-btn--accent:hover,
.nim-section--dark a.nim-btn--accent:focus-visible {
  color: #23160a;
}

/* Carousel captions sit on top of photos: give the caption panel its own
   opaque dark surface so the white headline/paragraph is always readable. */
.nim-slider .carousel-caption {
  inset-inline: 1rem;
  bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background-color: #08242a;
  text-align: left;
}

.nim-slider .carousel-caption h3,
.nim-slider .carousel-caption p {
  color: #ffffff;
}

/* Placeholder text needs a darker grey (>=4.5:1 on white). */
.nim-form .form-control::placeholder {
  color: #5b6472;
  opacity: 1;
}

/* Slightly deeper accent eyebrow colour for extra headroom on cream/white. */
.nim-slider .nim-eyebrow,
.nim-section--tint .nim-eyebrow {
  color: #6f3a0a;
}

@media (max-width: 575.98px) {
  .nim-slider .carousel-caption {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem 1rem;
  }
}

/* ==========================================================================
   Thank-you page contrast fixes (scoped overrides, appended)
   ========================================================================== */

/* Ghost buttons are white-on-transparent by default (meant for dark photo
   backdrops). Inside the light content sections they must use the brand
   colours so the label stays readable on white / cream. */
main .nim-section .nim-btn--ghost,
main .nim-section--tint .nim-btn--ghost {
  background-color: #ffffff;
  border-color: var(--nim-brand);
  color: var(--nim-brand-deep);
}

main .nim-section .nim-btn--ghost:hover,
main .nim-section .nim-btn--ghost:focus-visible,
main .nim-section--tint .nim-btn--ghost:hover,
main .nim-section--tint .nim-btn--ghost:focus-visible {
  background-color: var(--nim-brand);
  border-color: var(--nim-brand);
  color: #ffffff;
}

/* Eyebrow labels rendered inside the dark overlay of the service cards need
   a light accent colour instead of the deep brown used on cream sections. */
.nim-service-card .nim-service-card__body .nim-eyebrow,
.nim-section--tint .nim-service-card .nim-service-card__body .nim-eyebrow {
  color: #ffd9a8;
}

.nim-service-card .nim-service-card__body .nim-eyebrow::before,
.nim-section--tint .nim-service-card .nim-service-card__body .nim-eyebrow::before {
  background-color: #ffd9a8;
}

/* ==========================================================================
   Footer map frame sizing fix (appended)
   The base `.nim-map-frame iframe { height: 420px }` rule overrode the
   inline `height="160"` attribute, so the small footer map rendered as a
   tall dark block whose bottom edge collided with the "Άνοιγμα στους χάρτες"
   button. Constrain the embedded map inside the footer only.
   ========================================================================== */
footer .nim-map-frame iframe {
  width: 100%;
  height: 160px;
  border: 0;
  display: block;
}

@media (max-width: 767.98px) {
  footer .nim-map-frame iframe {
    height: 180px;
  }
}
