/* Portrait day for parents (/portrait-day/). Builds on /assets/style.css: nav, hero, buttons,
   FAQ, CTA band and footer come from there; only this page's pieces are here. */

/* ─── HERO: short, so the steps show without scrolling far ─── */
.pd-hero { padding: 56px 24px 52px; }
.pd-hero .hero-sub { margin-bottom: 26px; }
.pd-jump { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pd-jump a {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.pd-jump a:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-light); }

/* ─── STEP BY STEP: six cards, an arrow in each gap ─── */
.pd-steps-section .section-title { margin-bottom: 44px; }
.flow {
  --gap: 36px;
  --arrow: 28px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
  max-width: 1280px;
  margin: 0 auto;
}
.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid #e3e4e8;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
/* The arrow sits in the gap, level with the middle of the square picture. A percentage
   margin is a share of the card's WIDTH, which is also the picture's height. */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  margin-top: calc(50% - var(--arrow) / 2);
  left: calc(100% + (var(--gap) - var(--arrow)) / 2);
  width: var(--arrow);
  height: var(--arrow);
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.flow-pic {
  aspect-ratio: 1;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: var(--light-bg);
}
.flow-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.flow-contain { display: flex; align-items: center; justify-content: center; background: var(--white); }
.flow-contain img { height: auto; max-height: 100%; object-fit: contain; padding: 10px; }
.flow-poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.flow-poses img { object-position: center 30%; }
.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-light), var(--teal));
}
.flow-icon svg { width: 52%; height: 52%; }
.flow-text { padding: 16px 16px 20px; }
.flow-num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--darker);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.flow-text h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
.flow-text p { font-size: 0.92rem; line-height: 1.55; color: var(--muted); font-weight: 400; }

.pd-rule {
  max-width: 860px;
  margin: 44px auto 0;
  background: #eaf3f7;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 18px 24px;
  line-height: 1.65;
  color: var(--text);
}
.pd-rule strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }

/* ─── PRICES ─── */
.pd-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pd-price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e3e4e8;
  border-radius: 10px;
  padding: 30px 28px 26px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.pd-digital { border: 2px solid var(--accent); }
.pd-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pd-price-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pd-price-big {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 10px;
}
.pd-price-big span { font-family: 'Source Sans 3', sans-serif; font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.pd-deal { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.pd-price-note { color: var(--muted); line-height: 1.6; font-size: 0.95rem; margin-bottom: 12px; }
.pd-price ul { list-style: none; }
.pd-free ul li { position: relative; padding: 7px 0 7px 28px; line-height: 1.45; }
.pd-free ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pd-units { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-bottom: 14px; font-size: 0.92rem; color: var(--muted); }
.pd-units b { color: var(--accent); margin-right: 6px; }
.pd-example {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #cfd1d6;
  font-size: 0.93rem;
  color: var(--muted);
}
.pd-example b { color: var(--text); }
.pd-after { text-align: center; color: var(--muted); line-height: 1.65; max-width: 640px; margin: 36px auto 0; }

/* ─── RESPONSIVE ─── */
/* Three across: the arrow after card 3 would point off the edge, so it goes. */
@media (max-width: 1100px) {
  .flow { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
  .flow-step:nth-child(3)::after { display: none; }
}
@media (max-width: 900px) {
  .pd-prices { grid-template-columns: 1fr; max-width: 520px; }
}
/* Phone: one column, picture beside the words, arrows pointing down. */
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; --gap: 30px; }
  .flow-step { display: grid; grid-template-columns: 112px 1fr; align-items: center; }
  .flow-pic { border-radius: 10px 0 0 10px; height: 100%; aspect-ratio: auto; min-height: 112px; }
  .flow-text { padding: 14px 16px; }
  .flow-num { width: 26px; height: 26px; line-height: 26px; font-size: 0.9rem; top: 8px; left: 8px; }
  .flow-step:not(:last-child)::after,
  .flow-step:nth-child(3)::after {
    display: block;
    margin-top: 0;
    top: calc(100% + (var(--gap) - var(--arrow)) / 2);
    left: calc(56px - var(--arrow) / 2);
    transform: rotate(90deg);
  }
  .pd-rule { margin-top: 32px; padding: 16px 18px; }
  .pd-price { padding: 26px 22px 22px; }
}
