@font-face { font-family: "Satisfy"; src: url("fonts/Satisfy-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-Variable.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --royal: #1C64D4;
  --sky: #79AEE3;
  --ink: #14254D;
  --blush: #F4C6D3;
  --rose: #C21E6A;
  --white: #FFFFFF;
  --mist: #EEF4FC;
  --petal: #FCEFF3;
  --muted: #4A5878;
  --line: #D6E2F5;
  --bg: #FFFFFF;
  --text: #14254D;
  --accent: #1C64D4;
  --accent-text: #FFFFFF;
  --script: #C21E6A;
  --eyebrow: #C21E6A;
  --px: 120px;
  --logo-intro: min(72vmin, 520px);
  --logo-nav: 72px;
  --header-h: 92px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body { font-family: "DM Sans", sans-serif; min-height: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
button, a { font-family: inherit; }

/* ========== INTRO ========== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.intro.is-fading { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-gone { display: none; }

.skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 8px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  z-index: 5;
}
.skip:hover, .skip:focus-visible { color: var(--ink); outline: 2px solid var(--royal); outline-offset: 2px; border-radius: 4px; }

.logo-trigger {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: var(--logo-intro);
  height: var(--logo-intro);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}
.logo-trigger:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 8px;
}

.logo-stage {
  width: 100%;
  height: 100%;
  display: block;
  line-height: 0;
}
.logo-stage svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Shimmer on the intro rose — a soft glow pulse */
.logo-trigger.is-intro::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(121, 174, 227, 0.0);
  animation: cue-glow 2.8s ease-in-out infinite;
}
@keyframes cue-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(121, 174, 227, 0.0); }
  50% { box-shadow: 0 0 36px 6px rgba(121, 174, 227, 0.22); }
}

.cue {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  animation: cue-fade 2.4s ease-in-out infinite;
  z-index: 2;
}
@keyframes cue-fade {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

body.is-playing-intro .cue,
body.is-playing-intro .skip,
body.is-playing-intro .logo-trigger.is-intro::after {
  opacity: 0;
  animation: none;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Fixed flight layer — JS pins pixel geometry */
.logo-stage.is-flying {
  position: fixed;
  z-index: 60;
  margin: 0;
  will-change: left, top, width, height;
}

/* Static header mark — not the looping home */
.nav-logo {
  width: var(--logo-nav);
  height: var(--logo-nav);
  flex: 0 0 var(--logo-nav);
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
}
.nav-logo img { width: 100%; height: 100%; display: block; }

/* ========== SITE ========== */
.site {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
.site.is-visible { opacity: 1; pointer-events: auto; }
body.is-ready .site { opacity: 1; pointer-events: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name { font-family: "Satisfy", cursive; font-size: 26px; color: var(--royal); line-height: 1; }
.brand-tag { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: var(--muted); }
.links { display: flex; gap: 36px; align-items: center; }
.links a { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--royal); }
.actions { display: flex; gap: 16px; align-items: center; }
.toggle {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white);
}
.toggle button {
  border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 12px; color: var(--muted);
  padding: 5px 10px; border-radius: 999px;
}
.toggle button[aria-pressed="true"] {
  background: var(--royal); color: var(--white); font-weight: 700;
}
.menu-btn {
  display: none;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  padding: 14px 22px; border: 1.5px solid transparent;
  background: none; color: inherit;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--royal); color: var(--white); border-color: var(--royal); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn-outline:hover { background: var(--mist); }
.btn-on-dark { background: var(--white); color: var(--royal); border-color: var(--white); }

/* HERO */
.hero {
  display: flex; align-items: center; gap: 64px;
  padding: 72px var(--px) 96px;
  background: var(--white);
}
.hero-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.script {
  font-family: "Satisfy", cursive;
  font-size: 34px;
  color: var(--script);
  line-height: 1.1;
}
h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 36ch; }
.cta-group { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
}
.chip-mist { background: var(--mist); }
.chip-petal { background: var(--petal); }

.collage { position: relative; width: 540px; height: 620px; flex: 0 0 540px; }
.wash {
  position: absolute; left: 90px; top: 40px; width: 450px; height: 450px;
  border-radius: 50%; background: var(--blush); opacity: 0.55;
}
.sky-ring {
  position: absolute; left: 20px; top: 120px; width: 470px; height: 470px;
  border-radius: 50%; border: 2px solid var(--sky);
}
.hero-photo {
  position: absolute; left: 110px; top: 0; width: 400px; height: 540px;
  border-radius: 200px 200px 28px 28px;
  border: 8px solid var(--white);
  object-fit: cover; object-position: center 30%;
  background: var(--mist);
}
.logo-badge {
  position: absolute; left: 10px; top: 430px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 10px 28px rgba(20, 37, 77, 0.14);
  overflow: hidden;
}
.logo-badge .logo-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.logo-badge .logo-stage svg,
.logo-badge img { width: 100%; height: 100%; display: block; }
.photo-credit {
  position: absolute; left: 330px; top: 560px;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}

/* SECTIONS */
.section { padding: 112px var(--px); }
.section.tight-top { padding-top: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 2.4px;
  color: var(--eyebrow); text-transform: uppercase;
}
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600; font-size: 52px; line-height: 1.05;
  color: var(--ink);
}
.intro-copy { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 70ch; }

.catalog { background: var(--white); }
.grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.product { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.product img { width: 100%; height: 260px; object-fit: cover; }
.product-body { padding: 16px 18px 20px; }
.cat {
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px;
  color: var(--rose); text-transform: uppercase; margin-bottom: 6px;
}
.pname { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-size: 16px; font-weight: 700; color: var(--royal); }
.pedir { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }

.occasions { background: var(--white); }
.occ-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }
.occ { border-radius: 20px; padding: 28px 24px 32px; min-height: 210px; }
.occ.petal { background: var(--petal); }
.occ.mist { background: var(--mist); }
.occ-accent { font-family: "Satisfy", cursive; font-size: 22px; color: var(--rose); margin-bottom: 14px; }
.occ h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 32px; color: var(--ink); margin-bottom: 8px; }
.occ p { font-size: 15px; line-height: 1.45; color: var(--muted); }

.how { background: var(--mist); }
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--sky);
  color: var(--royal);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 22px;
  margin-bottom: 16px; background: var(--white);
}
.step h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--muted); }

.about {
  display: flex; align-items: center; gap: 72px;
  padding: 112px var(--px);
  background: var(--white);
}
.about-photo {
  width: 500px; height: 560px; flex: 0 0 500px;
  object-fit: cover; border-radius: 32px;
}
.about-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.placeholder {
  border: 1.5px dashed var(--rose);
  background: var(--petal);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px; font-weight: 500; color: var(--rose); line-height: 1.4;
}

.cta-band {
  background: var(--royal);
  text-align: center;
  padding: 96px var(--px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-band .script { color: var(--blush); font-size: 36px; }
.cta-band h2 { color: var(--white); max-width: 18ch; }

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px var(--px) 40px;
}
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; background: var(--white); overflow: hidden; }
.footer-logo img { width: 100%; height: 100%; }
.footer-brand .name { font-family: "Satisfy", cursive; font-size: 28px; color: var(--white); }
.footer-brand .tag { font-size: 15px; color: var(--sky); }
.footer h3 { font-size: 12px; letter-spacing: 1.8px; color: var(--sky); margin-bottom: 8px; }
.footer p { font-size: 15px; line-height: 1.5; color: var(--white); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.75);
}

/* ========== PHONE ========== */
@media (max-width: 860px) {
  :root { --px: 20px; --logo-intro: min(78vmin, 360px); --logo-nav: 56px; --header-h: 72px; }
  .nav { padding: 12px var(--px); }
  .links { display: none; }
  .nav.is-open .links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 16px var(--px) 20px;
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { flex-wrap: nowrap; }
  .nav .actions > .btn { display: none; }
  .brand-tag { display: none; }
  .brand-name { font-size: 18px; line-height: 1.15; white-space: nowrap; }
  .hero { flex-direction: column; padding: 16px var(--px) 32px; gap: 12px; }
  .hero-copy { gap: 10px; }
  h1 { font-size: 38px; }
  .script { font-size: 24px; }
  .lead { font-size: 16px; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1 1 auto; }
  .chips .chip { font-size: 12px; padding: 6px 10px; }
  .collage { width: 100%; max-width: 350px; height: 340px; flex: none; align-self: center; }
  .wash { left: 50px; top: 16px; width: 280px; height: 280px; }
  .sky-ring { left: 8px; top: 56px; width: 300px; height: 300px; }
  .hero-photo { left: 70px; top: 0; width: 250px; height: 310px; border-radius: 125px 125px 28px 28px; }
  .logo-badge { left: 0; top: 140px; width: 128px; height: 128px; }
  .photo-credit { left: 200px; top: 318px; }
  .section { padding: 64px var(--px); }
  .section.tight-top { padding-top: 24px; }
  h2 { font-size: 34px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product img { height: 150px; }
  .occ-grid { grid-template-columns: 1fr; gap: 12px; }
  .occ { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .about { flex-direction: column; padding: 64px var(--px); gap: 32px; }
  .about-photo { width: 100%; height: 340px; flex: none; }
  .cta-band { padding: 64px var(--px); }
  .cta-band .script { font-size: 28px; }
  .footer { padding: 48px var(--px) 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cue, .logo-trigger.is-intro::after { animation: none !important; opacity: 1; }
  .intro, .site { transition: opacity 0.45s ease; }
  .logo-stage.is-flying { transition: none !important; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  :root { --px: 48px; }
  h1 { font-size: 58px; }
  .collage { width: 420px; height: 500px; flex-basis: 420px; }
  .hero-photo { left: 70px; width: 320px; height: 440px; }
}
