:root{
  --bg:#fff9f7;
  --bg-light:#fffdfb;
  --accent:#a88173;
  --accent-soft:#f2d6c7;
  --text:#2c1f1a;
  --muted:#6b5a53;
  --border:rgba(0,0,0,0.06);
  --shadow:0 16px 50px rgba(33,25,20,0.10);
  --radius:18px;
  --max-width:1120px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;

  /* ✨ Soft blush → peach → white gradient */
  background: linear-gradient(
    180deg,
    #ffeceb 0%,     /* deeper blush at top */
    #fff5f2 50%,    /* peachy middle */
    #ffffff 100%    /* white bottom */
  );
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  z-index:0;
}
.hero-bg-main{
  background:linear-gradient(135deg,#ffe9e0,#fff9f7);
}
.hero-bg-flowers{
  background-image:url('hero-photo.jpg');
  mix-blend-mode:multiply;
  opacity:0.45;
}
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top left, rgba(255,255,255,0.9), transparent 55%);
  z-index:1;
}

/* NAV */
.nav{
  position:relative;
  z-index:3;
}
.nav-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:18px 20px 4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}
.logo-mark{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:600;
}
.logo-text{
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:11px;
}
.nav-links{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links a{
  text-decoration:none;
  font-size:14px;
  color:var(--muted);
}
.nav-links a:hover{
  color:var(--text);
}
.nav-toggle{
  display:none;
  border:none;
  background:transparent;
  font-size:24px;
  cursor:pointer;
}

/* HERO CONTENT */
.hero-content{
  position:relative;
  z-index:2;
  max-width:var(--max-width);
  margin:0 auto;
  padding:18px 20px 60px;
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr);
  gap:40px;
  align-items:center;
}
.hero-copy h1{
  font-size:40px;
  line-height:1.15;
  margin:26px 0 12px;
}
.hero-copy p{
  margin:0 0 18px;
  color:var(--muted);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:10px;
}
.btn-primary,
.btn-secondary,
.btn-ghost{
  border-radius:999px;
  padding:11px 20px;
  font-size:14px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 10px 30px rgba(168,129,115,0.4);
}
.btn-secondary{
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  color:var(--text);
}
.btn-ghost{
  background:transparent;
  border:1px solid rgba(168,129,115,0.5);
  color:var(--accent);
}
.btn-full{
  width:100%;
}
.hero-note{
  font-size:13px;
  color:var(--muted);
}
.hero-phone{
  display:flex;
  justify-content:flex-end;
}
.phone-frame{
  width:240px;
  height:460px;
  border-radius:40px;
  background:#111;
  padding:10px;
  box-shadow:var(--shadow);
}
.phone-screen{
  height:100%;
  border-radius:32px;
  background:#fff9f7;
  display:flex;
  flex-direction:column;
}
.phone-header{
  padding:14px 18px 10px;
  font-size:13px;
  font-weight:600;
}
.phone-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:13px;
}
.phone-body input[type="range"]{width:100%;}

/* Sections */
.section{padding:60px 18px;}
.section-light{background:var(--bg-light);}
.section-accent{background:linear-gradient(135deg,#fbe3d7,#fff9f7);}
.section-inner{max-width:var(--max-width);margin:0 auto;}
.section-header{text-align:center;margin-bottom:28px;}
.section-header p{color:var(--muted);}

/* About */
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr);
  gap:26px;
}
.about-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px 22px;
}
.about-card ul{list-style:none;margin:8px 0 0;padding-left:0;color:var(--muted);}
.about-card li{margin-bottom:6px;}

/* Flower grid */
.flower-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
}
.flower-card{
  background:#fff;
  border-radius:var(--radius);
  padding:16px 16px 18px;
  box-shadow:var(--shadow);
}
.flower-photo{
  height:150px;
  border-radius:14px;
  background-size:cover;
  background-position:center;
  margin-bottom:10px;
}
.flower-photo-orchid{background-color:#f6e3ff;}
.flower-photo-daffodil{background-color:#fff4cc;}
.flower-photo-rose{background-color:#ffe0e5;}
.flower-photo-sunflower{background-color:#ffeaa6;}
.flower-photo-peony{background-color:#ffd9e6;}
.flower-photo-tulip{background-color:#ffd8b1;}
.tag{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--accent);
  margin-bottom:6px;
}

/* Builder */
.builder-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1.1fr);
  gap:30px;
  align-items:flex-start;
}
.builder-form{
  background:rgba(255,255,255,0.95);
  border-radius:var(--radius);
  padding:18px 18px 20px;
  box-shadow:0 14px 40px rgba(168,129,115,0.35);
}
.builder-block{margin-bottom:18px;}
.builder-block h3{
  margin:0 0 10px;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.field{
  display:flex;
  flex-direction:column;
  margin-bottom:10px;
  font-size:14px;
}
.field span{margin-bottom:4px;}
.slider-row{display:flex;align-items:center;gap:8px;}
.slider-row span{font-size:12px;}
.field-note{font-size:12px;color:var(--muted);}
.emoji-row{display:flex;gap:6px;}
.emoji-row button{
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.08);
  background:#fff;
  padding:6px 10px;
  cursor:pointer;
  font-size:18px;
}
.emoji-row button.active{border-color:var(--accent);}
.field input[type="text"],
.field select,
.field input[type="date"]{
  border-radius:12px;
  border:1px solid var(--border);
  padding:9px 11px;
  font-size:14px;
}
.addon-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
  color:var(--muted);
}
.addon-row label{display:flex;align-items:center;gap:4px;}
.bouquet-preview{
  margin-top:10px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff7f3;
  font-size:13px;
}

/* Builder layout */
.builder-visual {
  display: flex;
  flex-direction: column;    /* phone above bouquet on small screens */
  align-items: center;
  gap: 24px;
}

/* Phone block */
.builder-phone {
  max-width: 260px;
  width: 100%;
}

/* Large screens: phone LEFT, bouquet RIGHT */
@media (min-width: 900px) {
  .builder-visual {
    flex-direction: row;     /* side-by-side */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
  }

  .builder-phone {
    order: 1;                /* phone first */
    margin: 0;
  }

  .bouquet-card {
    order: 2;                /* bouquet second */
  }
}

  .builder-phone {
    margin-right: 32px;
  }
}

.bouquet-card{
  max-width:360px;
  background:#fff;
  border-radius:26px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.bouquet-image{
  height:210px;
  background:#ffd9e1;
}
.bouquet-info{padding:18px 18px 20px;}
.bouquet-name{margin:0 0 4px;font-weight:600;}
.bouquet-tagline{margin:0 0 10px;color:var(--muted);font-size:13px;}
.bouquet-price{margin:0 0 10px;font-weight:600;}
.bouquet-tags{
  list-style:none;
  padding-left:0;
  margin:0 0 12px;
  font-size:12px;
  color:var(--muted);
}
.bouquet-tags li::before{content:'• ';}

/* Delivery */
.delivery-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);
  gap:26px;
  align-items:flex-start;
}
.delivery-list{
  list-style:none;
  margin:10px 0 0;
  padding-left:0;
  color:var(--muted);
}
.delivery-list li{margin-bottom:4px;}
.delivery-card{
  background:#fff;
  border-radius:var(--radius);
  padding:18px 18px 20px;
  box-shadow:var(--shadow);
}
.progress-wrapper{margin-top:14px;}
.progress-label{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.progress-bar{
  height:10px;
  border-radius:999px;
  background:#f4dfd2;
  overflow:hidden;
}
.progress-fill{
  height:100%;
  width:0%;
  background:var(--accent);
  transition:width 0.4s ease;
}

/* Footer */
footer{
  padding:24px 18px 30px;
  border-top:1px solid rgba(0,0,0,0.03);
  background:#fffaf7;
}
.footer-inner{max-width:var(--max-width);margin:0 auto;text-align:center;}
.footer-brand{
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:12px;
}
.footer-note{margin:6px 0 4px;}
.footer-small{margin:0;font-size:11px;color:var(--muted);}

/* Utilities */
.muted{color:var(--muted);}
.tiny-note{font-size:11px;color:var(--muted);}

/* Responsive */
@media(max-width:900px){
  .hero-content{grid-template-columns:1fr;padding-bottom:40px;}
  .hero-phone{justify-content:center;}
  .about-grid,
  .builder-grid,
  .delivery-grid{grid-template-columns:1fr;}
  .builder-visual{justify-content:center;}
}
@media(max-width:720px){
  .nav-toggle{display:block;}
  .nav-links{
    position:absolute;
    right:18px;
    top:54px;
    background:#fff9f7;
    border-radius:16px;
    box-shadow:0 16px 40px rgba(0,0,0,0.18);
    padding:10px 14px;
    flex-direction:column;
    gap:8px;
    display:none;
  }
  .nav-links.open{display:flex;}
}

/* --- HERO LAYOUT TWEAKS --- */

.hero-content {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-content {
    align-items: stretch;
  }

  .hero-bouquet-wrapper {
    max-width: 380px;
    margin-left: auto;
    margin-right: 40px;
    position: relative;
  }

  .hero-bouquet {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    object-fit: cover;
  }

  .hero-phone {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-35%);
    max-width: 260px;
  }
}

@media (max-width: 899px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-bouquet-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-phone {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* FLOATING FLORAL BLOBS */
.hero::before,
.section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,200,200,0.35), transparent 70%);
  border-radius: 50%;
  top: -120px;
  left: -120px;
  z-index: 0;
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,170,170,0.25), transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
}

/* FOOTER GRADIENT */
footer {
  background: linear-gradient(
    180deg,
    #fff7f7 0%, 
    #fdecec 50%,
    #f8dede 100%
  );
  padding: 40px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* WAVY SECTION DIVIDERS */
.section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

.section.wave-top::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('images/wave-top.svg') repeat-x;
  background-size: cover;
  z-index: 1;
}

.section.wave-bottom::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('images/wave-bottom.svg') repeat-x;
  background-size: cover;
  z-index: 1;
}
