/*
 * Next Kurye final responsive adjustments — v1.7.0
 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body .hero .hero-actions,
body .hero .fx-hero-actions-fixed {
  display: flex !important;
  flex-flow: row nowrap !important;
  width: 100% !important;
  max-width: 500px !important;
  align-items: stretch !important;
  gap: 10px !important;
}

body .hero .hero-actions > .button,
body .hero .fx-hero-actions-fixed > .button {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-self: stretch !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding-inline: 16px !important;
  white-space: nowrap !important;
}

.primary-navigation > ul {
  font-size: clamp(0.9rem, 1vw, 1.04rem);
}

.home-cta h2 {
  max-width: none;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.48);
  transition: color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: rgba(255, 255, 255, 0.92);
}

.footer-bottom > div {
  flex-wrap: wrap;
  row-gap: 10px;
}

.footer-contact {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Next Kurye brand, FAQ and experience-page refinements. */
.site-header .brand-name {
  gap: 0;
  color: var(--navy);
}

.footer-brand {
  width: max-content;
  max-width: 100%;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
  color: var(--navy);
}

.footer-brand:hover,
.footer-brand:focus-visible {
  background: rgba(255, 253, 248, 0.98);
}

.footer-brand .footer-brand-icon {
  display: block;
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 1.18em;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 1px 1px rgba(10, 38, 53, 0.12));
}

.brand .footer-brand-text {
  color: var(--navy);
}

/* The FAQ starter content uses a direct paragraph inside each details card. */
.fx-faq-list {
  width: min(900px, 100%);
  margin-inline: auto;
}

.fx-faq-item summary {
  position: relative;
  justify-content: center;
  padding-inline: 64px;
  text-align: center;
}

.fx-faq-item summary::after {
  position: absolute;
  right: 22px;
}

.fx-faq-item > p,
.fx-faq-item .fx-faq-answer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: center;
  text-wrap: pretty;
}

.footer-bottom .nx-cookie-settings-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-bottom .nx-cookie-settings-link:hover,
.footer-bottom .nx-cookie-settings-link:focus-visible {
  color: rgba(255, 255, 255, 0.92);
}

.nx-cookie-consent[hidden] {
  display: none !important;
}

.nx-cookie-consent {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(760px, calc(100% - 28px));
  padding: 16px 18px;
  border: 1px solid rgba(10, 38, 53, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 55px rgba(10, 38, 53, 0.2);
  color: var(--navy);
  gap: 22px;
  align-items: center;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.nx-cookie-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.nx-cookie-consent__copy p {
  max-width: 540px;
  margin: 0;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.55;
}

.nx-cookie-consent__copy a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(10, 38, 53, 0.3);
  text-underline-offset: 3px;
}

.nx-cookie-consent__actions {
  display: flex;
  gap: 8px;
}

.nx-cookie-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nx-cookie-button--secondary {
  border: 1px solid rgba(10, 38, 53, 0.2);
  background: transparent;
  color: var(--navy);
}

.nx-cookie-button--secondary:hover,
.nx-cookie-button--secondary:focus-visible {
  border-color: rgba(10, 38, 53, 0.42);
  background: rgba(10, 38, 53, 0.04);
}

.nx-cookie-button--primary {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
}

.nx-cookie-button--primary:hover,
.nx-cookie-button--primary:focus-visible {
  border-color: #c94f00;
  background: #c94f00;
}

.nx-experience-page .fx-page-hero-inner {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 34px;
}

.nx-experience-page .fx-page-hero h1 {
  max-width: none;
  font-size: clamp(1.45rem, 4.1vw, 4.45rem);
  white-space: nowrap;
}

.nx-experience-page .fx-satisfaction {
  text-align: center;
}

.nx-experience-page .fx-satisfaction-heading {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 46px;
  text-align: center;
}

.nx-experience-page .fx-satisfaction-heading h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(0.78rem, 3.35vw, 3.1rem);
  line-height: 1.05;
  white-space: nowrap;
}

.nx-experience-page .fx-satisfaction-heading p {
  width: min(1080px, 100%);
  max-width: none;
  margin: 20px auto 0;
  font-size: clamp(0.88rem, 1.25vw, 1.04rem);
  line-height: 1.75;
  text-align: center;
}

.nx-experience-page .fx-satisfaction-step {
  padding: 24px 14px 4px;
  text-align: center;
}

@media (max-width: 1180px) {
  .primary-navigation > ul {
    gap: 12px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1050px) {
  .primary-navigation > ul {
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .fx-faq-item summary {
    min-height: 70px;
    padding: 18px 56px;
  }

  .fx-faq-item summary::after {
    right: 16px;
  }

  .fx-faq-item > p,
  .fx-faq-item .fx-faq-answer {
    padding: 0 18px 20px;
  }

  .nx-cookie-consent {
    grid-template-columns: 1fr;
    width: min(520px, calc(100% - 22px));
    padding: 15px;
    border-radius: 16px;
    gap: 13px;
  }

  .nx-cookie-consent__copy p {
    max-width: none;
    font-size: 0.8rem;
  }

  .nx-cookie-consent__actions {
    width: 100%;
  }

  .nx-cookie-button {
    flex: 1 1 0;
  }

  .nx-experience-page .fx-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nx-experience-page .fx-page-hero h1 {
    font-size: clamp(1.15rem, 6.3vw, 2rem);
  }

  .nx-experience-page .fx-satisfaction {
    padding-inline: 18px;
  }

  .nx-experience-page .fx-satisfaction-heading {
    margin-bottom: 34px;
  }

  .home-cta {
    padding-inline: 20px;
  }

  .home-cta h2 {
    font-size: clamp(1.68rem, 7.4vw, 2.22rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
    white-space: normal;
  }

  .home-cta .button {
    width: 100%;
    max-width: 100%;
  }

  .footer-bottom,
  .footer-bottom > div {
    width: 100%;
  }

  .footer-bottom > div {
    column-gap: 18px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    order: 1;
  }

  .footer-bottom > span {
    order: 2;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body .hero .hero-actions,
  body .hero .fx-hero-actions-fixed {
    gap: 7px !important;
  }

  body .hero .hero-actions > .button,
  body .hero .fx-hero-actions-fixed > .button {
    min-height: 48px !important;
    gap: 6px !important;
    padding-inline: 7px !important;
    font-size: clamp(0.66rem, 3.15vw, 0.8rem) !important;
    letter-spacing: -0.01em;
  }

  body .hero .hero-actions > .button svg,
  body .hero .fx-hero-actions-fixed > .button svg {
    width: 14px;
    flex: 0 0 14px;
  }

  .home-cta {
    width: calc(100% - 24px);
    padding-inline: 16px;
  }

  .home-cta h2 {
    font-size: clamp(1.58rem, 7.6vw, 1.95rem);
  }

  footer {
    padding-inline: 18px;
  }

  .footer-bottom > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: start;
    text-align: left;
  }

  .footer-bottom > div > a,
  .footer-bottom .nx-cookie-settings-link {
    width: max-content;
    max-width: 100%;
    justify-self: start;
    text-align: left;
  }
}
