/* ============================================
   Doubly — shared styles
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;0,900;1,600;1,700;1,900&family=Baloo+2:wght@700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --pink: #e8929b;
  --pink-deep: #dd7c87;
  --cream: #f5f0e0;
  --navy: #1b1b2b;
  --card-cream: #fffbe8;
  --tan: #c9a98c;
  --dark-mock: #160d12;
  --lavender: #e1e3f0;
  --blue: #1878f0;
  --yellow: #f3e34e;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bubble: "Baloo 2", var(--font-display);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

/* ---------- Top nav bar ---------- */
.topbar {
  background: var(--pink);
  padding: 14px 28px;
  border-bottom: 2px solid var(--navy);
}

.topbar__link {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero-stage {
  position: relative;
  height: 180vh;
  min-height: 900px;
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(180deg, #e9e2cf 0%, #d9cfb6 55%, #cabf9f 100%);
  z-index: 1;
}

.hero__columns {
  position: absolute;
  inset: 0;
  display: flex;
  width: 200%;
  animation: pillarWalk 22s linear infinite;
}

.hero__col {
  flex: 0 0 calc(100% / 24);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(255, 255, 255, 0.45) 12%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(255, 255, 255, 0.2) 78%,
    rgba(0, 0, 0, 0.12) 100%
  );
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes pillarWalk {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero__col:nth-child(even) {
  filter: brightness(0.96);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0) 35%,
    rgba(90, 70, 50, 0.35) 100%
  );
  pointer-events: none;
}

.hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-bubble);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 8rem);
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 0 #e9e9e9,
    0 2px 0 #dcdcdc,
    0 4px 6px rgba(0, 0, 0, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.06);
  margin: 0;
  z-index: 3;
}

.heart {
  position: absolute;
  width: 44px;
  height: 40px;
  z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
  animation: float 6s ease-in-out infinite;
}

.heart svg {
  width: 100%;
  height: 100%;
}

.heart--1 {
  top: 18%;
  left: 20%;
  width: 60px;
  height: 54px;
  animation-delay: 0s;
}
.heart--2 {
  top: 12%;
  left: 78%;
  width: 40px;
  height: 36px;
  animation-delay: 1.2s;
}
.heart--3 {
  top: 46%;
  left: 6%;
  width: 50px;
  height: 46px;
  animation-delay: 2.4s;
}
.heart--4 {
  top: 78%;
  left: 40%;
  width: 56px;
  height: 50px;
  animation-delay: 0.8s;
}
.heart--5 {
  top: 85%;
  left: 65%;
  width: 44px;
  height: 40px;
  animation-delay: 1.8s;
}
.heart--6 {
  top: 4%;
  left: 42%;
  width: 34px;
  height: 30px;
  animation-delay: 3s;
}

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

@media (prefers-reduced-motion: reduce) {
  .heart {
    animation: none;
  }
  .hero__columns {
    animation: none;
  }
}

/* ---------- Section shell ---------- */
.section {
  padding: 90px 28px;
}

/* The next section slides up over the pinned hero as you scroll.
   .hero-stage is taller than the hero itself, so the hero (sticky,
   top: 0) stays pinned for that extra scroll distance — and this
   section, pulled up by margin-top equal to the hero's height and
   given a higher z-index, rides up over it during that window.
   No JS needed. */
.section--cover {
  position: relative;
  z-index: 2;
  background: var(--cream);
  margin-top: -100vh;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 700px) {
  .hero-stage {
    height: 150vh;
    min-height: 760px;
  }
  .section--cover {
    margin-top: -100vh;
  }
}

.section--tight {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  margin: 0 0 60px;
}

.section__heading em {
  font-style: normal;
  font-weight: 900;
}

/* ---------- Welcome section ---------- */
.welcome {
  display: grid;
  grid-template-columns: 340px 340px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 1080px) {
  .welcome {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.phone-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.phone-shot {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 340px;
}

.phone-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-card--light {
  background: #fdf3f5;
  color: var(--navy);
}

.phone-card--dark {
  background: var(--dark-mock);
  color: #fff;
}

.phone-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.phone-card__body {
  padding: 0 18px 18px;
}

.search-pill {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 10px 16px;
  color: #8a8a8a;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.chip--active {
  background: var(--pink);
  color: #fff;
}

.place-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.place-row__name {
  font-weight: 600;
  font-size: 0.95rem;
}
.place-row__meta {
  font-size: 0.78rem;
  color: #8a8a8a;
}

.tag-pill {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
}

.show-more {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #5c2a3a;
  color: #fff;
  font-weight: 600;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #333;
  margin: 8px auto 10px;
  display: block;
}

.profile-name {
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 4px 0 2px;
}
.profile-sub {
  text-align: center;
  color: #b8b0b4;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.profile-stars {
  text-align: center;
  color: var(--pink);
  margin-bottom: 4px;
}
.profile-ratings {
  text-align: center;
  color: #7a7278;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.edit-profile-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--pink);
  color: #2b1218;
  font-weight: 700;
}

.partner-card {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px;
}

.partner-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cfc4c9;
  margin-bottom: 10px;
}

.partner-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #444;
}

.partner-name {
  font-weight: 700;
}
.partner-meta {
  font-size: 0.78rem;
  color: #b8b0b4;
}

.tabbar {
  display: flex;
  justify-content: space-around;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-card--dark .tabbar {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.tab-icon {
  width: 22px;
  height: 22px;
  opacity: 0.6;
}
.tab-icon--active {
  opacity: 1;
}

.welcome__copy h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  margin: 0 0 20px;
}

.welcome__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c2c3a;
}

/* ---------- What We Fixed ---------- */
.fixed-band {
  position: relative;
  padding: 70px 28px;
  background: var(--tan);
  overflow: hidden;
}

.fixed-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 40% 60% at 10% 30%,
      rgba(0, 0, 0, 0.28),
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 70% at 85% 70%,
      rgba(0, 0, 0, 0.22),
      transparent 70%
    );
}

.fixed-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.fixed-card {
  background: var(--card-cream);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.fixed-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 18px;
}

.fixed-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2c2c3a;
  margin: 0;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 80px 28px 50px;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 28px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.pill-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--lavender);
  border-radius: 22px;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 44px 48px 48px;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0 0 30px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
}

.form-status--ok {
  color: #1b7a3d;
}
.form-status--err {
  color: #b3261e;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 26px 28px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer a.is-current {
  color: var(--yellow);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 70px 28px 20px;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: var(--pink);
  font-size: clamp(3rem, 9vw, 6rem);
  margin: 0;
  line-height: 1;
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 28px 90px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-body h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin: 34px 0 12px;
}

.legal-body h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  margin: 22px 0 8px;
}

.legal-body p {
  margin: 0 0 14px;
}
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-body li {
  margin-bottom: 6px;
}

.legal-placeholder {
  border: 1.5px dashed var(--pink-deep);
  border-radius: 12px;
  padding: 20px 22px;
  color: #6a5a5e;
  font-style: italic;
}
