:root {
  --a1: #E23A7E;
  --a2: #C0104E;
  --soft: #FCE7ED;
  --heading: #A2144F;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Mulish', system-ui, sans-serif;
  color: #6a4a58;
  background: #971542;
  overflow-x: hidden;
}

@keyframes floatA { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(10deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-22px) rotate(6deg); } }
@keyframes floatC { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-12px) rotate(-8deg); } }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252,231,237,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(162,20,79,0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.logo-img {
  height: 135px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: 6px;
  flex: 1;
}

.main-nav a {
  text-decoration: none;
  font: 600 15px 'Mulish', sans-serif;
  color: #8a5c6c;
  transition: color .2s;
}

.main-nav a:hover { color: var(--a1); }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}

.phone-link {
  text-align: right;
  text-decoration: none;
}

.phone-number {
  font: 700 24px 'Fredoka', sans-serif;
  color: var(--heading);
}

.phone-sub {
  font-size: 11px;
  color: #a97e8c;
  letter-spacing: .3px;
}

.btn-cta {
  display: inline-block;
  text-decoration: none;
  font: 600 15px 'Mulish', sans-serif;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 8px 18px rgba(162,20,79,0.28);
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.btn-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-cta-lg {
  font-size: 17px;
  padding: 16px 38px;
  box-shadow: 0 12px 26px rgba(162,20,79,0.32);
}

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--soft);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 32px 150px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font: 600 13px 'Mulish', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--a1);
  background: rgba(255,255,255,0.6);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 { margin: 0 0 22px; font-family: 'Fredoka', sans-serif; color: var(--heading); line-height: 1.02; letter-spacing: -.5px; }
.hero-line1 { display: block; font-weight: 500; font-size: 44px; opacity: .82; }
.hero-line2 { display: block; font-weight: 700; font-size: 62px; color: var(--a1); }
.hero-line3 { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 30px; margin-top: 6px; }

.hero-desc {
  max-width: 440px;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.6;
  color: #7d5b69;
}

.hero-actions { display: flex; align-items: center; gap: 18px; }

.hero-link {
  text-decoration: none;
  font: 600 16px 'Mulish', sans-serif;
  color: var(--heading);
  transition: color .2s;
}

.hero-link:hover { color: var(--a1); }

.hero-image { position: relative; }

.hero-image-glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.75), rgba(255,255,255,0));
  z-index: 0;
}

.hero-cake-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  border-radius: 28px;
}

.image-placeholder {
  background: linear-gradient(135deg, #fce7ed 0%, #fad4e0 100%);
  border: 2px dashed rgba(162,20,79,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a97e8c;
  font-size: 15px;
}

.image-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(162,20,79,0.18);
}

.hero-wave {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
  transform: scaleY(-1);
}

/* ── FEATURES ── */
.features {
  background: #ffffff;
  padding: 34px 32px 60px;
  scroll-margin-top: 90px;
}

.features-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font: 600 18px 'Fredoka', sans-serif;
  color: var(--heading);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: #8a6a77;
}

/* ── PRODUCTS ── */
.products {
  background: #ffffff;
  padding: 20px 32px 84px;
  scroll-margin-top: 90px;
}

.section-heading {
  text-align: center;
  margin: 0 0 8px;
  font: 700 40px 'Fredoka', sans-serif;
  color: var(--heading);
  line-height: 1.1;
}

.section-sub {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 520px;
  font-size: 16px;
  color: #8a6a77;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.tab-btn {
  border: none;
  cursor: pointer;
  font: 600 15px 'Mulish', sans-serif;
  padding: 11px 24px;
  border-radius: 999px;
  transition: all .2s;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(162,20,79,0.26);
}

.tab-btn:not(.active) {
  background: rgba(162,20,79,0.06);
  color: #8a5c6c;
}

.tab-btn:not(.active):hover {
  background: rgba(162,20,79,0.12);
}

.products-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 195px;
  gap: 16px;
}

.product-cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(162,20,79,0.10);
}

.product-cell .image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform .3s;
}

.product-cell:hover .product-img {
  transform: scale(1.05);
}

.no-images {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #a97e8c;
  font-size: 16px;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--heading);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-nav {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--heading);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: background .2s, transform .2s;
  z-index: 1001;
}

.lightbox-nav:hover {
  background: #fff;
  transform: scale(1.08);
}

.lightbox-prev { margin-right: 16px; }
.lightbox-next { margin-left: 16px; }

@media (max-width: 700px) {
  .lightbox { padding: 20px; }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: 12px; margin: 0; }
  .lightbox-next { right: 12px; margin: 0; }
  .lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
}

.product-cell:nth-child(1) { grid-column: 1/3; grid-row: 1/3; }
.product-cell:nth-child(2) { grid-column: 3/4; grid-row: 1/2; }
.product-cell:nth-child(3) { grid-column: 3/4; grid-row: 2/3; }
.product-cell:nth-child(4) { grid-column: 1/2; grid-row: 3/4; }
.product-cell:nth-child(5) { grid-column: 2/4; grid-row: 3/4; }

/* ── INGREDIENTS ── */
.ingredients {
  position: relative;
  background: var(--soft);
  padding: 96px 32px 90px;
  scroll-margin-top: 40px;
}

.ingredients-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}

.ingredients-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ingredients-left { text-align: right; }
.ingredients-right { text-align: left; }

.ingredients-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ing-title {
  font: 600 17px 'Fredoka', sans-serif;
  color: var(--heading);
}

.ing-desc {
  font-size: 13.5px;
  color: #8a6a77;
  line-height: 1.45;
}

.ingredients-cta {
  text-align: center;
  margin-top: 64px;
}

.ingredients-cta h3 {
  margin: 0 0 8px;
  font: 600 26px 'Fredoka', sans-serif;
  color: var(--heading);
}

.ingredients-cta p {
  margin: 0 auto 24px;
  max-width: 440px;
  font-size: 15px;
  color: #8a6a77;
}

/* ── REVIEWS ── */
.reviews {
  background: #ffffff;
  padding: 84px 32px;
  scroll-margin-top: 90px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 46px;
}

.reviews-badge {
  font: 600 13px 'Mulish', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 10px;
}

.reviews-carousel {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-viewport {
  overflow: hidden;
  flex: 1;
  transition: height .4s ease;
}

.reviews-track {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  transition: transform .4s ease;
}

.reviews-nav {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--soft);
  color: var(--heading);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}

.reviews-nav:hover {
  background: var(--a1);
  color: #fff;
  transform: scale(1.08);
}

.reviews-nav:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
  background: var(--soft);
  color: var(--heading);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #e6c3ce;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.reviews-dot.active {
  background: var(--a1);
  transform: scale(1.25);
}

.review-card {
  flex: 0 0 100%;
  background: var(--soft);
  border-radius: 22px;
  padding: 30px 28px;
  box-sizing: border-box;
}

.review-stars {
  color: var(--a1);
  font-size: 36px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-align: center;
}

.review-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: #6a4a58;
  margin: 0 0 18px;
  font-style: italic;
  text-align: center;
}

.review-name {
  font: 600 15px 'Fredoka', sans-serif;
  color: var(--heading);
}

/* ── CONTACT ── */
.contact {
  background: var(--soft);
  padding: 84px 32px;
  scroll-margin-top: 60px;
}

.contact-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #7d5b69;
  margin: 0 0 30px;
  max-width: 420px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #6a4a58;
}

.contact-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  display: block;
  font-size: 12px;
  color: #a97e8c;
}

.contact-value {
  font: 600 16px 'Fredoka', sans-serif;
  color: var(--heading);
}

.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 44px rgba(162,20,79,0.12);
}

.form-label {
  display: block;
  font: 600 13px 'Mulish', sans-serif;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1.5px solid #f2d3dc;
  border-radius: 12px;
  font: 400 15px 'Mulish', sans-serif;
  background: #fffafb;
  color: #6a4a58;
  transition: border-color .2s;
}

.form-input:focus {
  border-color: var(--a1);
  outline: none;
}

.form-textarea { resize: vertical; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.form-checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--a1);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 13px;
  line-height: 1.45;
  color: #8a6a77;
}

.form-checkbox a {
  color: var(--a1);
  text-decoration: underline;
}

.cf-turnstile {
  margin-bottom: 18px;
}

.form-error {
  background: #fff0f0;
  color: #c0104e;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #f2d3dc;
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  font-size: 17px;
  padding: 16px;
}

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


.form-success {
  text-align: center;
  padding: 40px 10px;
}

.success-emoji { font-size: 46px; margin-bottom: 12px; }
.success-title { font: 600 24px 'Fredoka', sans-serif; color: var(--heading); margin-bottom: 8px; }
.success-desc { font-size: 15px; color: #8a6a77; }

/* ── MAP ── */
.map-section { width: 100%; line-height: 0; }

.map-section iframe {
  border: 0;
  display: block;
  width: 100%;
  filter: saturate(1.05);
}

/* ── FOOTER ── */
.site-footer {
  background: #971542;
  color: #f6d9e2;
}

.footer-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 400px;
}

.footer-image {
  position: relative;
  overflow: hidden;
}

.footer-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  min-height: 400px;
}

.footer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px;
  background: transparent;
}

.footer-title {
  font: 700 36px 'Fredoka', sans-serif;
  color: #fff;
  margin: 0 0 6px;
}

.footer-author {
  font: 400 18px 'Mulish', sans-serif;
  color: #fff;
  margin: 0 0 40px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-address p {
  margin: 0;
  font: 400 17px 'Mulish', sans-serif;
  color: #fff;
}

.footer-address a {
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}

.footer-address a:hover { color: #fff; }

.footer-bottom {
  padding: 16px 32px;
  text-align: right;
  font-size: 13px;
  background: #3E1F0D;
}

.footer-bottom a {
  color: #d9a5b8;
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 24px 24px 100px;
    gap: 0;
  }
  .hero-image {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1;
  }
  .hero-cake-img {
    max-width: 360px;
  }
  .hero-text {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    align-self: end;
    background: linear-gradient(180deg, rgba(162, 20, 79, 0) 0%, rgba(162, 20, 79, 0.7) 38%, var(--heading) 100%);
    padding: 90px 24px 28px;
    margin: 0 -24px -100px;
  }
  .hero-badge { color: #fff; background: var(--a1); }
  .hero-actions .btn-cta {
    background: #fff;
    color: var(--a2);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }
  .hero-line1 { color: #fff; }
  .hero-line2 { color: #fff; }
  .hero-line3 { color: #fff; }
  .hero-line3 svg path { stroke: #fff; }
  .hero-link { color: #fff; }
  .hero-placeholder { height: 300px; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .products-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .product-cell:nth-child(1) { grid-column: 1/3; grid-row: 1/3; }
  .product-cell:nth-child(2) { grid-column: 1/2; grid-row: 3/4; }
  .product-cell:nth-child(3) { grid-column: 2/3; grid-row: 3/4; }
  .product-cell:nth-child(4) { grid-column: 1/2; grid-row: 4/5; }
  .product-cell:nth-child(5) { grid-column: 2/3; grid-row: 4/5; }
  .ingredients-layout { grid-template-columns: 1fr; gap: 40px; }
  .ingredients-left, .ingredients-right { text-align: center; }
  .ingredients-image { order: -1; }
  .hero-actions { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-layout {
    grid-template-columns: 1fr;
    background: url('../img/footer-cake.webp') center bottom / cover no-repeat;
    position: relative;
  }
  .footer-layout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(151, 21, 66, 0.82);
  }
  .footer-image { display: none; }
  .footer-info { padding: 40px 24px; text-align: center; position: relative; z-index: 1; }
  .footer-bottom { text-align: center; }
}


@media (max-width: 800px) {
  .logo-img { height: 85px; }
  .hero-badge { display: none; }
  .hero-image {
    justify-content: flex-end;
    align-items: flex-start;
  }
  .hero-cake-img {
    margin-right: -12%;
  }
}

@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; padding: 12px 16px; gap: 12px; }
  .main-nav { display: none; }
  .hero-line1 { font-size: 28px !important; }
  .hero-line2 { font-size: 34px !important; }
  .hero-line3 { font-size: 22px !important; }
  .section-heading { font-size: 30px; }
  .hero-inner { padding: 36px 16px 100px; }
  .products { padding: 20px 16px 60px; }
  .ingredients { padding: 60px 16px; }
  .reviews { padding: 60px 16px; }
  .contact { padding: 60px 16px; }
  .contact-form-wrap { padding: 24px 18px; }
  .image-circle { width: 240px; height: 240px; }
}
