/* Kola Reina site styles. Palette: pink, aqua, orange, yellow, navy. Fonts: Prata, Lato, Libre Franklin (Google Fonts, open license). */

:root {
  --pink: #FF55BF;
  --yellow: #FEEE1C;
  --aqua: #4FE5EC;
  --aqua-dark: #19D2E0;
  --aqua-pale: #E0FDFF;
  --orange: #F4AF27;
  --navy: #201C4C;
  --ink: #404041;
  --text: #555559;
  --rule: #DADADA;
  --soft: #F9F9F9;
  --white: #FFFFFF;
  --error: #C2185B;

  --serif: "Prata", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --label: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Rounded photo with a white frame — used throughout the original */
.framed { border: 6px solid var(--white); border-radius: 27px; box-shadow: 0 10px 30px rgba(32, 28, 76, .12); }

/* Small pink kicker over a Prata heading */
.kicker {
  font-family: var(--label); font-weight: 700; color: var(--pink);
  font-size: 1.1rem; letter-spacing: 1.2px; margin: 0 0 .25rem;
}
.h-serif { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.3; letter-spacing: 1.2px; margin: 0; }
.h-serif.lg { font-size: clamp(2rem, 4vw, 2.8rem); }

/* The slashed divider from the original */
.slashes {
  height: 20px; margin: 1.25rem 0 1.5rem;
  background: repeating-linear-gradient(-45deg, transparent 0 9px, var(--rule) 9px 10px);
}

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--label); font-weight: 700; letter-spacing: .5px;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-size: 1rem; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-white { background: var(--white); color: var(--pink); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--aqua-dark) url("../img/bg-hero.svg") center / cover no-repeat;
  padding: 3rem 0 7rem;
  min-height: 760px;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 2rem; }
.hero-logo { width: 190px; }
.hero-logo img { border: 6px solid var(--white); border-radius: 17px; background: var(--white); }
.hero .tag {
  font-family: var(--label); font-weight: 800; color: var(--yellow);
  font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: 1.2px; margin: 2rem 0 0;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(55px, 9.4vw, 128px); line-height: 1.05; white-space: nowrap; margin: .25rem 0 0;
}
.hero .sub {
  font-family: var(--sans); font-weight: 300; font-style: italic; color: var(--white);
  font-size: clamp(36px, 4.6vw, 62px); line-height: 1.1; margin: 0 0 1.5rem;
}
.hero .uses { color: var(--white); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin: 0 0 2rem; }
.hero .uses::before { content: "» "; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 609 / 972; }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--pink);
  width: 135%; aspect-ratio: 1; left: 50%; top: 28%; transform: translate(-50%, -50%);
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }

/* Top nav (sits on the hero / on the order page band) */
.topnav { position: relative; z-index: 3; display: flex; justify-content: flex-end; gap: 1.25rem; padding-top: 1rem; }
.topnav a { color: var(--white); font-family: var(--label); font-weight: 700; text-decoration: none; letter-spacing: .5px; }
.topnav a:hover { color: var(--yellow); }

/* ---------- Photos + testimonials ---------- */
.reviews { position: relative; margin-top: -5rem; z-index: 3; padding-bottom: 3rem; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.carousel { position: relative; aspect-ratio: 1; border: 6px solid var(--white); border-radius: 34px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .15); background: var(--soft); }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.carousel img.on { opacity: 1; }
.quote-bubble {
  position: relative; background: var(--aqua-pale); border-radius: 48px; padding: 50px;
  font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.15rem; line-height: 1.7;
  min-height: 250px; display: flex; align-items: center; text-align: center;
}
.quote-bubble p { margin: 0; transition: opacity .5s; }
.quote-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.quote-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: var(--rule); cursor: pointer; }
.quote-dots button.on { background: var(--pink); }

/* ---------- History ---------- */
.history { position: relative; padding: 4rem 0 6rem; overflow: hidden; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.history p { font-size: 1.1rem; line-height: 1.7; }
.history-photo { position: relative; padding-top: 2rem; }
.history-photo::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--aqua);
  width: 115%; aspect-ratio: 1; left: 55%; top: 45%; transform: translate(-50%, -50%);
}
.history-photo img { position: relative; }
.history::after {
  content: ""; position: absolute; left: -55px; top: 52%; width: 110px; height: 110px; border-radius: 50%; background: var(--pink);
}

/* ---------- Pull quote ---------- */
.pull { background: var(--soft); padding: 7rem 0 5rem; text-align: center; }
.pull .mark { font-family: var(--serif); color: var(--pink); font-size: 4rem; line-height: 1; height: 2.5rem; }
.pull blockquote { margin: 1rem auto 0; max-width: 760px; font-family: var(--serif); font-style: italic; color: var(--ink); font-size: clamp(1.25rem, 2.2vw, 1.8rem); letter-spacing: .6px; line-height: 1.6; }
.pull cite { display: block; margin-top: 1.25rem; font-style: italic; font-family: var(--serif); color: var(--ink); font-size: 1.2rem; }

/* ---------- Gallery ---------- */
.gallery { background: url("../img/bg-gallery.svg") center / cover no-repeat; padding: 6rem 0; }
.masonry { columns: 3 260px; column-gap: 20px; }
.masonry img { width: 100%; margin: 0 0 20px; break-inside: avoid; border: 6px solid var(--white); border-radius: 25px; }

/* ---------- Order band ---------- */
.order-band { background: var(--pink); color: var(--white); text-align: center; padding: 4rem 0; }
.order-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .5rem; color: var(--white); }
.order-band p { font-size: 1.15rem; margin: 0 auto 1.75rem; max-width: 640px; }
.order-band .menu-line { font-family: var(--label); font-weight: 600; letter-spacing: .5px; margin-bottom: 1.75rem; }
.order-band .row { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

/* ---------- Delivery & groups ---------- */
.groups { padding: 6% 0; text-align: left; }
.groups .h-serif { text-align: center; }
.groups p { font-size: 1.1rem; line-height: 1.7; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 1rem; }
.checks li { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.checks li::before { content: "✓"; color: var(--pink); font-weight: 900; font-size: 1.3rem; }

.crest { padding: 1rem 0 3rem; display: flex; justify-content: center; }
.crest img { width: 325px; }

.footer { background: var(--pink); color: var(--white); text-align: center; padding: 12px 16px; font-size: 12px; font-weight: 300; letter-spacing: 2.1px; }
.footer a { color: var(--white); }

/* ---------- Order + custom pages ---------- */
.band {
  background: var(--aqua-dark) url("../img/bg-hero.svg") center / cover no-repeat;
  padding: 1rem 0 5rem; color: var(--white);
}
.band-inner { display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.band-logo { width: 130px; flex: none; }
.band-logo img { border: 5px solid var(--white); border-radius: 14px; background: var(--white); }
.band h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 0; color: var(--white); }
.band .sub { font-weight: 300; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: .25rem 0 0; }

.sheet {
  position: relative; z-index: 2; margin-top: -3.5rem; background: var(--white);
  border-radius: 28px; box-shadow: 0 16px 40px rgba(32, 28, 76, .12); padding: clamp(1.25rem, 4vw, 3rem);
}
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: step; }
.howto li { background: var(--aqua-pale); border-radius: 18px; padding: 1rem 1.1rem; color: var(--ink); counter-increment: step; }
.howto li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: var(--white); font-weight: 700; margin-right: .5rem; }

.product { border-top: 1px solid #ececec; padding: 2rem 0 .5rem; }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem; }
.product h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 1.7rem; margin: 0; }
.price-note { font-family: var(--label); font-weight: 700; color: var(--pink); letter-spacing: .5px; }
.product .desc { margin: 0 0 1rem; }

.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem 1.25rem; }
.line {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border: 1px solid #ececec; border-radius: 14px; padding: .55rem .6rem .55rem .9rem; background: var(--white);
}
.line.has { border-color: var(--pink); background: #FFF6FC; }
.line .name { color: var(--ink); font-weight: 600; line-height: 1.3; }
.line .each { display: block; font-weight: 400; font-size: .85rem; color: #8a8a8f; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; flex: none; background: var(--white); }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--pink); font-size: 1.25rem; font-weight: 700; cursor: pointer; line-height: 1; }
.stepper button:hover { background: #FFF0F9; }
.stepper input { width: 38px; height: 34px; border: 0; text-align: center; font: 600 1rem var(--sans); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.subhead { font-family: var(--label); font-weight: 700; color: var(--ink); margin: 1.5rem 0 .5rem; font-size: 1rem; letter-spacing: .3px; }
.mixbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; background: var(--soft); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .75rem; }
.mixbar .count { font-weight: 700; color: var(--ink); }
.mixbar .count.ok { color: #1a8f4c; }
.mixbar .count.over { color: var(--error); }
.choice { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); font-size: .95rem; }
.choice input { accent-color: var(--pink); }
.choice label:has(input:checked) { border-color: var(--pink); color: var(--pink); font-weight: 700; }
.muted { color: #8a8a8f; font-size: .92rem; }
[hidden] { display: none !important; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--pink); }
.field input, .field textarea, .field select {
  font: 1rem var(--sans); color: var(--ink); padding: .7rem .85rem; border: 1px solid var(--rule);
  border-radius: 12px; background: var(--white); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .stepper input:focus { outline: 2px solid var(--aqua-dark); outline-offset: 1px; }
.field .hint { font-size: .85rem; color: #8a8a8f; }
.field .err, .form-err { color: var(--error); font-size: .9rem; font-weight: 600; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--error); }
.checkset { display: flex; flex-wrap: wrap; gap: .4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary {
  position: sticky; bottom: 0; z-index: 5; margin-top: 2rem; background: var(--navy); color: var(--white);
  border-radius: 20px; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
}
.summary .total { font-family: var(--serif); font-size: 1.6rem; }
.summary .items { font-size: .92rem; opacity: .85; }
.summary .quote-flag { color: var(--yellow); font-size: .9rem; font-weight: 700; }

.done { text-align: center; padding: 1rem 0 2rem; }
.done h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 2.2rem; margin: .5rem 0; }
.done .oid { display: inline-block; font-family: var(--label); font-weight: 800; letter-spacing: 1px; color: var(--pink); background: #FFF0F9; padding: .35rem .9rem; border-radius: 999px; }
.receipt { text-align: left; max-width: 520px; margin: 1.5rem auto; border: 1px solid #ececec; border-radius: 18px; padding: 1.25rem 1.5rem; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt td { padding: .3rem 0; vertical-align: top; }
.receipt td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.receipt tr.tot td { border-top: 1px solid #ececec; font-weight: 700; color: var(--ink); padding-top: .6rem; }
.next { max-width: 560px; margin: 0 auto; text-align: left; background: var(--aqua-pale); border-radius: 18px; padding: 1.1rem 1.4rem; color: var(--ink); }
.next ol { margin: .5rem 0 0; padding-left: 1.2rem; }

/* Floating "Order Here" button on the home page */
.float-order { position: fixed; right: 20px; bottom: 64px; z-index: 20; font-size: 1.05rem; padding: 1rem 1.6rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 6rem; }
  .hero-inner, .reviews-grid, .history-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(300px, 80%); }
  .hero h1 { white-space: normal; }
  .reviews { margin-top: -3rem; }
  .history-grid { gap: 3rem; }
  .history-photo { max-width: 460px; margin-inline: auto; }
  .checks { grid-template-columns: 1fr 1fr; }
  .howto { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topnav { justify-content: center; gap: .9rem; font-size: .9rem; }
  .topnav a { white-space: nowrap; }
  .summary { flex-wrap: nowrap; padding: .7rem .9rem; border-radius: 16px; margin-inline: -.25rem; }
  .summary .total { font-size: 1.3rem; }
  .summary .items { display: none; }
  .summary .btn { padding: .7rem 1.1rem; white-space: nowrap; }
  .hero-logo { width: 140px; }
  .quote-bubble { padding: 32px 26px; border-radius: 32px; }
  .fields { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; text-align: center; }
  .band-logo { width: 110px; }
  .line { padding-left: .75rem; }
}
.receipt td[colspan] { text-align: left; }

/* ---------- Kola Reina shapes (original treatment) ---------- */
/* dotted pink divider instead of a slashed line */
.slashes {
  height: 14px; margin: 1.1rem 0 1.5rem;
  background: radial-gradient(circle, var(--pink) 2.2px, transparent 2.7px) 0 50% / 16px 14px repeat-x;
}
/* hero and order bands finish with a curve */
.hero { border-radius: 0 0 50% 50% / 0 0 60px 60px; }
.band { border-radius: 0 0 50% 50% / 0 0 44px 44px; }
/* logo sits on a tilted white card with a pink offset */
.hero-logo img, .band-logo img {
  border: 0; border-radius: 22px; padding: 10px;
  box-shadow: 6px 6px 0 var(--pink); transform: rotate(-3deg);
}
.band-logo img { box-shadow: 4px 4px 0 var(--pink); }
/* photos: arch-topped frames with a soft ring instead of plain rounded boxes */
.history-photo img.framed { border: 0; border-radius: 220px 220px 26px 26px; box-shadow: 0 0 0 8px #fff, 0 14px 34px rgba(32, 28, 76, .18); }
.carousel { border: 0; border-radius: 34px 120px 34px 120px; box-shadow: 0 0 0 7px #fff, 0 14px 34px rgba(0, 0, 0, .15); }
.masonry img { border: 0; border-radius: 22px; box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(32, 28, 76, .15); }
.masonry img:nth-child(odd) { transform: rotate(-1.5deg); }
.masonry img:nth-child(even) { transform: rotate(1.5deg); }
.masonry { padding: 6px; }
/* review bubble becomes a card with a pink edge and tail */
.quote-bubble { background: #fff; border-radius: 28px; border-left: 10px solid var(--pink); box-shadow: 0 10px 30px rgba(32, 28, 76, .12); }
.quote-bubble::after { content: ""; position: absolute; left: 40px; bottom: -16px; width: 32px; height: 32px; background: #fff; transform: rotate(45deg); box-shadow: 8px 8px 14px rgba(32, 28, 76, .06); }
/* pull quote on a soft pink wash */
.pull { background: #FFF3FB; }
/* order band gets a dot texture */
.order-band { background: var(--pink) radial-gradient(circle, rgba(255, 255, 255, .22) 2px, transparent 2.6px) 0 0 / 28px 28px; }
/* cards on the order pages */
.sheet { border-radius: 36px 36px 28px 28px; }
.howto li { border-radius: 24px 24px 24px 6px; }

/* Checkboxes and radios inside form fields keep their natural size
   (the general .field input rule would otherwise stretch them full width). */
.field input[type="checkbox"], .field input[type="radio"] { width: auto; padding: 0; border: 0; border-radius: 0; flex: none; }
.choice label { white-space: nowrap; }
.checkset { gap: .5rem .5rem; }
