/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose: #C9696B;
  --rose-dark: #A84D4F;
  --chocolate: #5C3A2E;
  --cream: #FDF8F3;
  --cream-dark: #F5EDE3;
  --warm-white: #FFFBF7;
  --text: #2C2416;
  --text-light: #6B5E4E;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Playfair Display', 'Book Antiqua', serif;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: 2.1rem; line-height: 1.25; margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section { padding: 5rem 0; }
.section-subtitle { color: var(--text-light); max-width: 560px; margin-bottom: 2rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--rose-dark); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--chocolate);
  padding: 0.65rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid var(--chocolate);
  transition: 0.2s;
}
.btn-secondary:hover { background: var(--chocolate); color: #fff; }

.btn-wide { width: 100%; padding: 0.85rem; font-size: 1rem; cursor: pointer; border: none; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 58, 46, 0.08);
}
.header__inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.header__brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.header__logo {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; font-family: var(--serif);
}
.header__name strong { display: block; font-size: 0.95rem; }
.header__name small { display: block; font-size: 0.73rem; color: var(--text-light); }
.header__nav { display: flex; gap: 1.5rem; }
.header__nav a { text-decoration: none; color: var(--text); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.header__nav a:hover { color: var(--rose); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background: url('images/hero-cake.png') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(170deg, rgba(253,248,243,0.88) 0%, rgba(253,248,243,0.65) 55%, rgba(255,251,247,0.8) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 640px; margin: 0 auto; }
.hero__kicker { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; }
.hero h1 { font-size: 2.8rem; margin-bottom: 1.25rem; line-height: 1.2; }
.hero__subtitle { font-size: 1.05rem; color: var(--text-light); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--rose); }
.hero__stat { font-size: 0.82rem; color: var(--text-light); }

/* ===== ABOUT ===== */
.about { background: var(--warm-white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about__text h2 { margin-bottom: 1rem; }
.about__text p { color: var(--text-light); margin-bottom: 1rem; }
.about__features { display: flex; flex-direction: column; gap: 1.25rem; background: var(--cream); padding: 2rem; border-radius: 16px; }
.about__feature { display: flex; gap: 1rem; align-items: flex-start; }
.about__feature-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--rose); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.about__feature strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.about__feature p { font-size: 0.85rem; color: var(--text-light); }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--warm-white); }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 0.5rem; }
.portfolio__item {
  margin: 0;
  border-radius: 14px; overflow: hidden;
  background: var(--cream);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.portfolio__item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(92, 58, 46, 0.12); }
.portfolio__img {
  width: 100%; height: 260px; object-fit: cover;
  display: block;
}
.portfolio__caption {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text); text-align: center;
}
.portfolio__note { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: var(--text-light); font-style: italic; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(44, 36, 22, 0.92);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox__content img { max-width: 90vw; max-height: 85vh; border-radius: 12px; display: block; }
.lightbox__close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; line-height: 1; padding: 0.25rem; opacity: 0.8; transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 2rem; cursor: pointer; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0.8; transition: opacity 0.2s, background 0.2s;
}
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; background: rgba(255,255,255,0.25); }
.lightbox__prev { left: -4rem; }
.lightbox__next { right: -4rem; }

/* ===== SERVICES ===== */
.services { background: var(--cream-dark); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--warm-white); padding: 1.75rem; border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(92, 58, 46, 0.06);
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(92, 58, 46, 0.08); }
.service-card__icon { color: var(--rose); margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; }
.service-card__price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--chocolate); }

/* ===== PROCESS ===== */
.process { background: var(--warm-white); }
.process__timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.process-step { display: flex; gap: 2rem; align-items: flex-start; }
.process-step__num {
  flex-shrink: 0; font-family: var(--serif); font-size: 2.5rem; font-weight: 700;
  color: var(--rose); line-height: 1; opacity: 0.7;
}
.process-step__body h3 { margin-bottom: 0.3rem; }
.process-step__body p { color: var(--text-light); font-size: 0.95rem; }

/* ===== PRICE ===== */
.price { background: var(--cream-dark); }
.price__table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 4px 24px rgba(92, 58, 46, 0.06); }
.price__table { width: 100%; border-collapse: collapse; background: var(--warm-white); border-radius: 14px; overflow: hidden; }
.price__table thead { background: var(--chocolate); color: #fff; }
.price__table th { padding: 1rem 1.25rem; text-align: left; font-weight: 600; font-size: 0.88rem; }
.price__table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--cream-dark); font-size: 0.93rem; }
.price__table tbody tr:last-child td { border-bottom: none; }
.price__table tbody td:last-child { font-family: var(--serif); font-weight: 600; color: var(--chocolate); white-space: nowrap; }
.price__note { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-light); }

/* ===== FAQ ===== */
.faq { background: var(--warm-white); }
.faq__list { max-width: 700px; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { background: var(--cream); border-radius: 12px; padding: 1.25rem 1.5rem; border: 1px solid rgba(92, 58, 46, 0.05); }
.faq__item summary { font-weight: 600; cursor: pointer; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__item summary::after { content: '+'; font-size: 1.3rem; color: var(--rose); font-weight: 400; margin-left: 1rem; }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { margin-top: 0.75rem; font-size: 0.93rem; color: var(--text-light); }

/* ===== CONTACT FORM ===== */
.contact-form { background: var(--cream-dark); }
.contact-form__card { max-width: 600px; margin: 0 auto; background: var(--warm-white); padding: 2.5rem; border-radius: 16px; text-align: center; box-shadow: 0 4px 24px rgba(92, 58, 46, 0.05); }
.contact-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; text-align: left; }
.contact-form__fields label span { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-form__fields input, .contact-form__fields textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--cream-dark);
  border-radius: 10px; font-size: 0.93rem; font-family: var(--sans);
  transition: border-color 0.2s; background: var(--warm-white);
}
.contact-form__fields input:focus, .contact-form__fields textarea:focus {
  outline: none; border-color: var(--rose);
}
.contact-form__full { grid-column: 1 / -1; }
.contact-form__fields button { grid-column: 1 / -1; margin-top: 0.5rem; }

/* ===== CONTACTS ===== */
.contacts { background: var(--warm-white); text-align: center; }
.contacts__grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.contact-card {
  background: var(--cream); padding: 1.5rem; border-radius: 14px;
  min-width: 220px; text-align: center; transition: transform 0.2s;
  text-decoration: none; color: var(--text);
}
.contact-card--link:hover { transform: translateY(-2px); }
.contact-card__icon { color: var(--rose); margin-bottom: 0.5rem; }
.contact-card__label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-card__value { font-weight: 600; font-size: 0.95rem; }
.contacts__note { margin-top: 2rem; font-size: 0.88rem; color: var(--text-light); }
.contacts__note p { margin-bottom: 0.25rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--chocolate); color: rgba(255,251,247,0.75);
  text-align: center; padding: 1.5rem; font-size: 0.83rem;
}
.footer__inner { max-width: 1100px; margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__prev { left: -2rem; }
  .lightbox__next { right: -2rem; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .header__inner { padding: 0.65rem 1rem; }
  .header__name strong { font-size: 0.85rem; }
  .header__cta { font-size: 0.8rem; padding: 0.5rem 1rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero__stats { gap: 1.25rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 3rem 0; }
  .services__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__img { height: 220px; }
  .process-step { gap: 1.25rem; }
  .process-step__num { font-size: 2rem; }
  .contact-form__card { padding: 1.75rem; }
  .contact-form__fields { grid-template-columns: 1fr; }
  .contacts__grid { flex-direction: column; align-items: center; }
  .contact-card { min-width: 0; width: 100%; max-width: 300px; }
  .lightbox__prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__next { right: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__close { top: -2rem; font-size: 1.5rem; }
}
