/* ============================================================
   Otelbi — brand landing page v3 ("Şefkatli Ev Sahibi")
   Archetype: Caregiver + Lover → soft, warm, embracing, playful-elegant.
   Light pastel world: blush + aqua color-field panels, organic blobs,
   squircle cards, rounded type. Coral = warmth/invitation (primary
   actions), turquoise = trust/care (safety messages), sun = tiny joys.
   Palette anchored to the logo pack; text tones derived for WCAG AA.
   Type: Quicksand (display, rounded) + Nunito (body, rounded)
   ============================================================ */

:root {
  /* canvas & panels */
  --paper: #FFFBF7;        /* warm white base */
  --blush: #FFEAF0;        /* pink color-field */
  --blush-deep: #FFD9E3;
  --aqua: #E6F5F1;         /* teal color-field */
  --sunlight: #FFF3D4;     /* yellow color-field (sparingly) */
  --line: #F0DFE0;         /* warm hairline */

  /* ink (warm plum-brown neutrals — friendlier than gray) */
  --ink: #33272E;          /* 12.9:1 on paper */
  --ink-soft: #6B5A62;     /* 6.0:1 on paper */

  /* brand (logo pack) */
  --coral: #F07C97;        /* warmth — fills, blobs, button bg */
  --coral-light: #F79DB0;
  --coral-text: #C74868;   /* coral as TEXT on light — 4.7:1 */
  --coral-deep: #B03A59;   /* small/bold text on blush — 4.7:1 */
  --plum: #4A1220;         /* text on coral fills — 6.2:1 on #F07C97 */
  --teal: #17A79C;         /* trust — icons, decorative */
  --teal-text: #0C766C;    /* teal as TEXT on light — 5.2:1 */
  --teal-deep: #0B3F3A;
  --sun: #FBD24E;
  --sun-text: #8A6D1E;     /* amber text on sunlight chip */

  --radius-xl: 36px;       /* section panels */
  --radius-lg: 26px;       /* cards — generous, huggable */
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* soft, pink-tinted shadows — nothing harsh in this house */
  --shadow-card: 0 2px 4px rgb(240 124 151 / .06), 0 14px 34px rgb(179 96 118 / .12);
  --shadow-pop: 0 4px 10px rgb(179 96 118 / .10), 0 24px 60px rgb(179 96 118 / .18);

  --font-display: "Quicksand", "Quicksand Fallback", -apple-system, sans-serif;
  --font-body: "Nunito", "Nunito Fallback", -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: rgb(240 124 151 / .3); color: var(--plum); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Accessibility ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--coral-text);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--coral-text);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

/* awning-underlined emphasis — a tiny scalloped valance beneath the word,
   echoing the hotel illustration's striped awnings */
h1 em {
  font-style: normal;
  color: var(--coral-text);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 0 h14 v5 a7 7 0 0 1 -14 0 Z' fill='%23F07C97'/%3E%3Cpath d='M14 0 h14 v5 a7 7 0 0 1 -14 0 Z' fill='%23F79DB0'/%3E%3C/svg%3E") left bottom / 21px 9px repeat-x;
  padding-bottom: .16em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: var(--blush);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin-bottom: 20px;
}
.kicker::before {
  /* mini bougainvillea: sun center + four coral petals (logo motif) */
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 -6px 0 -1px var(--coral),
    0 6px 0 -1px var(--coral),
    -6px 0 0 -1px var(--coral),
    6px 0 0 -1px var(--coral);
  margin-inline: 3px;
}

.lead {
  font-size: clamp(1.1rem, 1.9vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.section {
  position: relative;
  padding-block: clamp(76px, 9.5vw, 120px);
}
.section--tight-top { padding-top: 0; }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section-head .lead { margin-top: 14px; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }

/* floating pastel panel sections — soft "sheets" that hug their content */
.panel {
  background: var(--aqua);
  border-radius: var(--radius-xl);
  margin-inline: clamp(8px, 1.4vw, 20px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:active { transform: scale(.96); }

.btn-primary {
  background: var(--coral);
  color: var(--plum);
  box-shadow: 0 6px 20px rgb(240 124 151 / .4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--coral-light);
  box-shadow: 0 10px 30px rgb(240 124 151 / .5);
}

.btn-ghost {
  border-color: rgb(23 167 156 / .5);
  color: var(--teal-text);
  background: #FFFFFF;
}
.btn-ghost:hover { border-color: var(--teal); background: var(--aqua); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 251 247 / .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(179 96 118 / .08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo { height: 66px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--coral-text); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: #FFFFFF;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--coral);
  color: var(--plum);
}

.nav .btn { padding: 11px 22px; font-size: .9rem; }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: var(--ink); }

/* ---------- Hero (pastel morning) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* organic pastel blobs — slow, breathing morph */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  animation: blob 18s ease-in-out infinite alternate;
}
.hero::before {
  width: 640px; height: 620px;
  right: -140px; top: -180px;
  background: var(--blush);
  border-radius: 43% 57% 52% 48% / 55% 44% 56% 45%;
}
.hero::after {
  width: 480px; height: 460px;
  left: -150px; bottom: -170px;
  background: var(--aqua);
  border-radius: 55% 45% 48% 52% / 46% 57% 43% 54%;
  animation-delay: -9s;
}
@keyframes blob {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(24px, 18px, 0) rotate(6deg) scale(1.06); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(80px, 10.5vw, 140px);
}

.hero .lead { margin-top: 22px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- Hero mockup (app card in a warm frame) ---------- */

.mockup {
  position: relative;
}

/* scene slider: grid-stacked slides — frame sized by the tallest scene */
.mock-slider {
  display: grid;
  transform: rotate(1.2deg); /* a friendly tilt — set with care, like a picture frame */
}
.mock-slider .slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.mock-slider .slide.is-active {
  opacity: 1;
  visibility: visible;
}

.mock-card {
  position: relative; /* anchors the per-scene chip */
  background: #FFFFFF;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  border: 1px solid #FFE3EA;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.mock-card > :last-child { margin-top: auto; }
.mock-card .mock-grid { margin-block: auto; } /* centers the calendar in the stretched frame */

/* dot nav: active dot blooms into a bougainvillea; left-aligned, clear of the chip */
.mock-nav {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding-left: 10px;
}
.mock-nav button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blush-deep);
  cursor: pointer;
  transition: background-color .2s ease;
}
.mock-nav button.is-active {
  background: var(--sun);
  box-shadow:
    0 -9px 0 -3px var(--coral),
    0 9px 0 -3px var(--coral),
    -9px 0 0 -3px var(--coral),
    9px 0 0 -3px var(--coral);
}

/* --- scene entrance animations (replay each time a slide activates) --- */

.slide.is-active .booking-bar {
  animation: sceneBar .5s ease both;
  transform-origin: left center;
}
.slide.is-active .booking-bar:nth-of-type(2) { animation-delay: .15s; }
.slide.is-active .booking-bar:nth-of-type(3) { animation-delay: .3s; }
.slide.is-active .booking-bar:nth-of-type(4) { animation-delay: .45s; }
@keyframes sceneBar {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* calendar scene footer: occupancy bar fills the frame's bottom */
.mock-occupancy {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 12px;
  font-size: .8rem;
  color: var(--ink-soft);
}
.occ-bar {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #FFF1E9;
  overflow: hidden;
}
.occ-bar i {
  display: block;
  height: 100%;
  width: var(--p, 50%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--teal), var(--coral));
}
.slide.is-active .occ-bar i { animation: occGrow .9s ease both .4s; }
@keyframes occGrow {
  from { width: 0; }
}

/* payments scene */
.pay-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF8F3;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .85rem;
}
.slide.is-active .pay-row { animation: rowIn .45s ease both; }
.slide.is-active .pay-row:nth-child(2) { animation-delay: .15s; }
.slide.is-active .pay-row:nth-child(3) { animation-delay: .3s; }
@keyframes rowIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.pay-name { font-weight: 700; }
.pay-amt { margin-left: auto; font-weight: 700; font-family: var(--font-display); }
.pay-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.slide.is-active .pay-badge { animation: badgePop .4s ease both .5s; }
.pay-badge.is-paid { background: var(--aqua); color: var(--teal-text); }
.pay-badge.is-dep  { background: var(--blush); color: var(--coral-deep); }
.pay-badge.is-pend { background: var(--sunlight); color: var(--sun-text); }
@keyframes badgePop {
  from { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.15); }
  to   { transform: scale(1); opacity: 1; }
}
.pay-total {
  display: flex;
  align-items: center;
  gap: 12px; /* amount leads on the left, clear of the floating chip */
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 12px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.pay-total strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.slide.is-active .pay-total { animation: rowIn .45s ease both .55s; }

/* rooms & availability scene */
.room-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.room-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF8F3;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .85rem;
}
.slide.is-active .room-row { animation: rowIn .45s ease both; }
.slide.is-active .room-row:nth-child(2) { animation-delay: .15s; }
.slide.is-active .room-row:nth-child(3) { animation-delay: .3s; }
.room-no { font-weight: 700; font-family: var(--font-display); }
.room-cat { color: var(--ink-soft); }
.room-row .pay-badge { margin-left: auto; }

.mock-switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.mock-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgb(0 0 0 / .2);
}
.mock-switch.is-on { background: var(--teal); }
.mock-switch.is-on::after { transform: translateX(16px); }
.mock-switch.is-off { background: var(--blush-deep); }
/* the story beat: Deluxe switches flip off after the rows settle */
.slide.is-active .mock-switch.is-off { animation: switchBg .35s ease both .9s; }
.slide.is-active .mock-switch.is-off::after { animation: knobOff .35s ease both .9s; }
@keyframes switchBg {
  from { background: var(--teal); }
  to   { background: var(--blush-deep); }
}
@keyframes knobOff {
  from { transform: translateX(16px); }
  to   { transform: translateX(0); }
}

.room-note {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 12px;
  font-size: .8rem;
  color: var(--ink-soft);
}
.slide.is-active .room-note { animation: rowIn .45s ease both 1.2s; }
.room-note::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 -5px 0 -1px var(--coral),
    0 5px 0 -1px var(--coral),
    -5px 0 0 -1px var(--coral),
    5px 0 0 -1px var(--coral);
  margin-inline: 2px;
}

/* seasonal pricing scene */
.price-bars {
  display: grid;
  gap: 10px;
}
.pbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: var(--w, 100%);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .85rem;
  transform-origin: left center;
}
.pbar strong { font-family: var(--font-display); }
.slide.is-active .pbar { animation: sceneBar .55s ease both; }
.slide.is-active .pbar:nth-child(2) { animation-delay: .18s; }
.slide.is-active .pbar:nth-child(3) { animation-delay: .36s; }
.pbar-a { background: var(--aqua); color: var(--teal-deep); }
.pbar-b { background: var(--blush-deep); color: var(--coral-deep); }
.pbar-c { background: var(--coral); color: var(--plum); }
.pbar-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-text);
  background: var(--aqua);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.slide.is-active .pbar-chip { animation: badgePop .4s ease both .6s; }
.pbar-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 -5px 0 -1px var(--coral),
    0 5px 0 -1px var(--coral),
    -5px 0 0 -1px var(--coral),
    5px 0 0 -1px var(--coral);
  margin-inline: 2px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.mock-dots span:first-child { background: var(--coral); }
.mock-dots span:nth-child(2) { background: var(--sun); }

.mock-grid {
  display: grid;
  /* minmax(0,1fr): nowrap guest names must not widen tracks past the viewport */
  grid-template-columns: 48px repeat(7, minmax(0, 1fr));
  gap: 6px;
  font-size: .72rem;
}
.mock-grid > * { min-width: 0; }
.mock-grid .cell {
  height: 34px;
  border-radius: 10px;
  background: #FFF4F0;
}
.mock-grid .rowlabel {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink-soft);
  background: transparent;
}
.mock-grid .daylabel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: var(--ink-soft);
  background: transparent;
}

/* Bars carry white 11.5px text — every fill must clear 4.5:1 */
.booking-bar {
  display: flex;
  align-items: center;
  padding-inline: 10px;
  font-weight: 700;
  font-size: .72rem;
  color: #FFFFFF;
  border-radius: 10px;
  height: 34px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar-teal { background: var(--teal-text); grid-column: span 3; }
.bar-coral { background: var(--coral-text); grid-column: span 2; }
.bar-teal-deep { background: var(--teal-deep); grid-column: span 4; }

.mock-chip {
  position: absolute;
  right: -14px;
  bottom: -30px; /* hangs off the frame's corner — never covers scene content */
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #FFE3EA;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 14px 18px;
  font-size: .85rem;
}
.slide.is-active .mock-chip {
  animation: chipIn .5s ease both .9s, float 5s ease-in-out infinite 1.4s;
}
@keyframes chipIn {
  from { transform: translateY(14px) scale(.85); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.mock-chip .tick {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--aqua);
  display: flex; align-items: center; justify-content: center;
}
.mock-chip .tick svg { width: 16px; height: 16px; stroke: var(--teal-text); }
.mock-chip strong { display: block; font-size: .85rem; }
.mock-chip span { color: var(--ink-soft); font-size: .78rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Trust strip ---------- */

.trust {
  background: transparent;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: center;
  padding-block: 6px 10px;
  list-style: none;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  box-shadow: var(--shadow-card);
}
.trust-item svg { width: 17px; height: 17px; stroke: var(--teal-text); flex-shrink: 0; }

/* ---------- Bento features ---------- */

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

.tile {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover {
  transform: translateY(-4px) rotate(-.3deg);
  box-shadow: var(--shadow-pop);
}
.tile p { color: var(--ink-soft); font-size: .96rem; }

.tile-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.tile-icon svg { width: 22px; height: 22px; stroke: var(--teal-text); }
/* alternate pastel chips — a little variety, like rooms in a boutique hotel */
.tile:nth-child(3n) .tile-icon { background: var(--blush); }
.tile:nth-child(3n) .tile-icon svg { stroke: var(--coral-deep); }
.tile:nth-child(4n) .tile-icon { background: var(--sunlight); }
.tile:nth-child(4n) .tile-icon svg { stroke: var(--sun-text); }

.tile-lg { grid-column: span 4; }
.tile-sm { grid-column: span 2; }
.tile-md { grid-column: span 3; }

/* signature card: blush→aqua wash, the archetype in one surface */
.tile-feature {
  background: linear-gradient(135deg, var(--blush), #FFF3EC 45%, var(--aqua));
  border-color: var(--blush-deep);
}
.tile-feature .tile-icon { background: #FFFFFF; }
.tile-feature .tile-icon svg { stroke: var(--coral-deep); }

.tile-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--plum);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 28px 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--coral-text);
  display: block;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Deployment (aqua panel) ---------- */

.deploy {
  background: var(--aqua);
  border-radius: var(--radius-xl);
  margin-inline: clamp(8px, 1.4vw, 20px);
}
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.deploy-card {
  background: #FFFFFF;
  border: 1px solid rgb(23 167 156 / .18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 3.4vw, 40px);
}
.deploy-card.is-accent {
  background: linear-gradient(150deg, #FFFFFF, var(--blush));
  border-color: var(--blush-deep);
}
.deploy-card p { color: var(--ink-soft); margin-top: 8px; }
.deploy-card ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.deploy-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--ink-soft);
}
.deploy-card li svg {
  width: 18px; height: 18px;
  stroke: var(--teal-text);
  flex-shrink: 0;
  margin-top: 3px;
}
.deploy-card.is-accent li svg { stroke: var(--coral-deep); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 32px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.price-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.price-card p { color: var(--ink-soft); font-size: .96rem; }
.price-card .price-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--coral-text);
  font-size: .9rem;
  margin-bottom: 10px;
}
.pricing-note {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

#sss .wrap { position: relative; }

/* cute hotel keeps watch over the questions — wide screens only */
.faq-art {
  position: absolute;
  right: 0;
  top: 54%;
  transform: translateY(-50%);
  width: clamp(220px, 19vw, 300px); /* shrinks before it can slide under the cards */
  height: auto;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}
@media (max-width: 1180px) {
  .faq-art { display: none; }
}

.faq-list {
  max-width: 820px;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--coral-light); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 18px; height: 18px;
  stroke: var(--coral-text);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* ---------- CTA band (blush embrace) ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--blush), var(--blush-deep));
  border-radius: var(--radius-xl);
  color: var(--ink-soft);
  text-align: center;
  padding: clamp(60px, 8vw, 96px) clamp(24px, 5vw, 60px);
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.cta-band::before {
  width: 380px; height: 360px;
  left: -110px; bottom: -160px;
  background: var(--aqua);
  border-radius: 55% 45% 48% 52% / 46% 57% 43% 54%;
}
.cta-band::after {
  width: 320px; height: 300px;
  right: -100px; top: -130px;
  background: var(--sunlight);
  border-radius: 43% 57% 52% 48% / 55% 44% 56% 45%;
  opacity: .8;
}
.cta-band h2 { color: var(--ink); }
.cta-band .lead {
  color: var(--ink-soft);
  margin: 16px auto 0;
}
.cta-band .btn { margin-top: 34px; }
.cta-band .btn-primary {
  background: var(--coral-text);
  color: #FFFFFF;
  box-shadow: 0 8px 26px rgb(199 72 104 / .4);
}
.cta-band .btn-primary:hover { background: var(--coral-deep); }
.cta-band .cta-early {
  margin-top: 24px;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #FFFFFF;
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}
.footer-inner .brand-logo { height: 50px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-right: auto;
}
.footer-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--coral-text); }
.footer-copy { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .mockup { max-width: 560px; }
  .tile-lg, .tile-md { grid-column: span 6; }
  .tile-sm { grid-column: span 3; }
  .steps { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Collapse at 900px: below this the full nav row (logo + 5 links + toggle + CTA)
   no longer fits without clipping. */
@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: flex; }
  .brand-logo { height: 52px; }

  .nav.is-open {
    height: auto;
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 10;
    gap: 4px;
    padding-block: 10px;
  }
  .nav.is-open .nav-links a {
    display: block;
    padding: 12px 0; /* comfortable touch target */
    width: 100%;
  }
  .nav.is-open > .btn {
    display: inline-flex;
    order: 11;
  }
}

@media (max-width: 760px) {
  .tile-sm { grid-column: span 6; }
  .mock-chip { right: 4px; }
  .mock-card { transform: none; } /* the tilt crowds small screens */
}

/* ---------- Legal page (kvkk.html) ---------- */

.legal {
  max-width: 760px;
  padding-block: clamp(48px, 7vw, 80px);
}
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .legal-updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 1rem; }
.legal a { color: var(--teal-text); }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal .legal-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--aqua);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--ink-soft);
}
