:root {
  --ink: #141516;
  --muted: #6e737b;
  --paper: #ffffff;
  --soft: #f6f2ea;
  --cream: #fbf7ef;
  --line: #e8e1d4;
  --gold: #d99b35;
  --orange: #ef7d2d;
  --blue: #0a73c9;
  --navy: #0a2e46;
  --teal: #0ba79b;
  --green: #12a06d;
  --shadow: 0 22px 70px rgba(20, 21, 22, 0.12);
  --container: min(1180px, calc(100% - 32px));
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 18px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid rgba(232, 225, 212, 0.9);
  backdrop-filter: blur(18px);
}

.promo-bar {
  background: #111;
  color: #fff;
  font-size: 0.88rem;
}

.promo-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.promo-inner a {
  color: #fff2cf;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand span:last-child {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  color: var(--orange);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #383b40;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-menu a:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 21, 22, 0.08);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.mega-strip {
  border-top: 1px solid rgba(232, 225, 212, 0.75);
  background: rgba(255, 255, 255, 0.62);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.mega-grid a {
  padding: 15px 16px;
  border-left: 1px solid rgba(232, 225, 212, 0.9);
}

.mega-grid a:last-child {
  border-right: 1px solid rgba(232, 225, 212, 0.9);
}

.mega-grid strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.mega-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 58px;
  background:
    linear-gradient(rgba(20, 21, 22, 0.58), rgba(20, 21, 22, 0.62)),
    url("https://istanbulwelcomecard.com/static/ayasofya.webp?v=20260211") center/cover;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--cream));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.ask-box {
  max-width: 760px;
  margin-top: 28px;
}

.ask-box label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
}

.ask-box div {
  display: flex;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.ask-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.ask-box button,
.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.ask-box button {
  min-height: 46px;
  padding: 0 24px;
  background: var(--orange);
  color: #fff;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-topics a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.hero-side {
  display: grid;
  gap: 16px;
}

.spotlight-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.esim-spotlight {
  background:
    radial-gradient(circle at top right, rgba(11, 167, 155, 0.45), transparent 45%),
    rgba(10, 46, 70, 0.72);
}

.iwc-spotlight {
  background:
    radial-gradient(circle at top right, rgba(217, 155, 53, 0.42), transparent 45%),
    rgba(17, 17, 17, 0.72);
}

.trust-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff8e7;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotlight-card h2 {
  margin-top: 16px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.spotlight-card p,
.rating-line {
  color: rgba(255, 255, 255, 0.82);
}

.spot-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.spot-price strong {
  font-size: 2.45rem;
}

.spot-price small {
  color: rgba(255, 255, 255, 0.72);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  box-shadow: 0 14px 32px rgba(239, 125, 45, 0.32);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.text-link {
  color: #fff;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.content-block p,
.split-section p,
.practical-grid p,
.contact-card p {
  color: var(--muted);
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card,
.editorial-card,
.iwc-card,
.product-card,
.beyond-grid article,
.lifestyle-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(20, 21, 22, 0.07);
}

.number-card {
  min-height: 210px;
  padding: 24px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.number-card:hover,
.editorial-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 125, 45, 0.42);
}

.number-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.number-card.highlight span {
  background: var(--teal);
}

.number-card p {
  color: var(--muted);
}

.number-card em {
  color: var(--orange);
  font-style: normal;
  font-weight: 950;
}

.content-section,
.tickets-section,
.products-section,
.contact-section {
  background: #fff;
}

.content-block + .content-block {
  margin-top: 72px;
}

.block-head,
.group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.block-head a,
.group-head a,
.editorial-card a,
.image-card a,
.iwc-card a,
.link-list a span,
.lifestyle-grid a {
  color: var(--orange);
  font-weight: 950;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.editorial-card {
  min-height: 190px;
  padding: 22px;
  box-shadow: none;
}

.editorial-card p {
  min-height: 72px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.image-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.82)),
    url("https://cdn.istanbulwelcomecard.com/products/bosphorus-cruise-670w.webp") center/cover;
  box-shadow: var(--shadow);
}

.image-card.hammam {
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.82)),
    url("https://cdn.istanbulwelcomecard.com/products/turkish-bath-istanbul-670w.webp") center/cover;
}

.image-card.dervish {
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.82)),
    url("https://cdn.istanbulwelcomecard.com/products/whirling-dervish-spiritual-dance-istanbul-670w.webp") center/cover;
}

.image-card.dinner {
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.82)),
    url("https://cdn.istanbulwelcomecard.com/products/first-class-bosphorus-dinner-cruise-and-oriental-show-670w.webp") center/cover;
}

.image-card span {
  margin-bottom: 10px;
  color: #ffe2a8;
  font-weight: 950;
}

.image-card p {
  color: rgba(255, 255, 255, 0.82);
}

.practical-section {
  background: var(--soft);
}

.practical-grid,
.esim-grid,
.split-section,
.contact-card {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
  align-items: center;
}

.practical-cards,
.link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.practical-cards a,
.link-list a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(20, 21, 22, 0.06);
}

.practical-cards strong,
.link-list strong {
  display: block;
}

.practical-cards span,
.link-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.esim-section {
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(11, 167, 155, 0.32), transparent 32%),
    linear-gradient(135deg, #071927, #0a2e46 58%, #082330);
}

.esim-section .eyebrow {
  color: #8df2e8;
}

.esim-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.trust-row span,
.benefit-grid span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.esim-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.esim-plans article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.esim-plans .popular-plan {
  background: linear-gradient(135deg, rgba(239, 125, 45, 0.34), rgba(11, 167, 155, 0.16));
}

.esim-plans span {
  color: #8df2e8;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.esim-plans h3 {
  margin-top: 12px;
  font-size: 2rem;
}

.esim-plans p,
.esim-plans small {
  color: rgba(255, 255, 255, 0.68);
}

.esim-plans strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ticket-grid a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  font-weight: 950;
}

.ticket-grid span {
  color: var(--orange);
}

.pass-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.iwc-card {
  padding: 24px;
}

.iwc-card .trust-badge {
  background: rgba(239, 125, 45, 0.12);
  color: var(--orange);
}

.iwc-card p {
  color: var(--muted);
}

.iwc-card div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0;
}

.iwc-card small {
  color: var(--muted);
  text-decoration: line-through;
}

.iwc-card strong {
  font-size: 1.8rem;
}

.transport-section {
  background: var(--cream);
}

.lifestyle-section {
  background: #fff;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lifestyle-grid article {
  padding: 28px;
  min-height: 280px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 155, 53, 0.16), transparent 34%),
    #fff;
}

.lifestyle-grid a {
  display: block;
  margin-top: 12px;
}

.product-tabs {
  position: sticky;
  top: 128px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 44px rgba(20, 21, 22, 0.08);
  backdrop-filter: blur(14px);
}

.product-tabs a {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: #383b40;
  font-size: 0.9rem;
  font-weight: 900;
}

.product-group {
  scroll-margin-top: 190px;
  margin-top: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 18px;
}

.product-card.hot {
  border-color: rgba(239, 125, 45, 0.42);
  background: linear-gradient(180deg, #fff, #fff6e8);
}

.product-card.esim-product {
  border-color: rgba(11, 167, 155, 0.36);
}

.product-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
}

.product-card p {
  color: var(--muted);
}

.product-card strong {
  margin-top: auto;
  font-size: 1.45rem;
}

.product-card a {
  display: inline-flex;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.beyond-section {
  background: var(--soft);
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.beyond-grid article {
  min-height: 190px;
  padding: 24px;
}

.beyond-grid p {
  color: var(--muted);
}

.contact-card {
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 0%, rgba(217, 155, 53, 0.22), transparent 34%),
    var(--cream);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 56px 0 22px;
  background: #111;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.75fr);
  gap: 34px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-logo {
  background: #fff;
  color: #111;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 1120px) {
  .hero-grid,
  .practical-grid,
  .esim-grid,
  .split-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .mega-grid,
  .editorial-grid,
  .experience-grid,
  .product-grid,
  .beyond-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tabs {
    top: 76px;
  }
}

@media (max-width: 760px) {
  .promo-inner,
  .legal {
    flex-direction: column;
  }

  .main-nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 102px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .mega-strip {
    display: none;
  }

  .hero {
    padding: 54px 0 46px;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .ask-box div {
    border-radius: 22px;
    flex-direction: column;
  }

  .ask-box input {
    min-height: 48px;
  }

  .start-grid,
  .ticket-grid,
  .pass-comparison,
  .lifestyle-grid,
  .practical-cards,
  .link-list,
  .esim-plans,
  .footer-grid,
  .mega-grid,
  .editorial-grid,
  .experience-grid,
  .product-grid,
  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .block-head,
  .group-head {
    align-items: start;
    flex-direction: column;
  }

  .product-tabs {
    position: relative;
    top: auto;
    border-radius: 20px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}
