:root {
  --ink: #332720;
  --muted: #786b62;
  --paper: #fffaf5;
  --cream: #f8eddc;
  --terracotta: #c9755f;
  --terracotta-dark: #a85d4b;
  --peach: #f2caa3;
  --sage: #d7e4cf;
  --lilac: #ddd4e8;
  --aqua: #d3e9ea;
  --rose: #e9bcc5;
  --line: rgba(48, 35, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  height: 88px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 20;
  width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border: 1px solid var(--terracotta);
  border-radius: 50% 50% 45% 55%; display: grid; place-items: center;
  font: italic 600 18px "Playfair Display"; color: var(--terracotta);
  transform: rotate(-5deg);
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: .9; }
.brand strong { font: 600 20px "Playfair Display"; letter-spacing: .12em; }
.brand small { color: var(--terracotta); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-cta):hover { color: var(--terracotta); }
.nav-cta { border: 1px solid var(--ink); padding: 12px 20px; border-radius: 100px; transition: .25s; }
.nav-cta:hover { color: #fff; background: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }

.hero {
  min-height: 760px;
  padding: 140px clamp(24px, 6vw, 96px) 70px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 5vw;
  background:
    radial-gradient(circle at 8% 82%, rgba(221, 212, 232, .66) 0 9%, transparent 9.2%),
    radial-gradient(circle at 46% 18%, rgba(211, 233, 234, .5) 0 8%, transparent 8.2%),
    linear-gradient(108deg, #fffaf5 0 51%, #f4ddc8 51% 100%);
  position: relative;
}
.hero-copy { max-width: 640px; position: relative; z-index: 2; }
.eyebrow { color: var(--terracotta-dark); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; }
h1, h2 { font-family: "Playfair Display"; font-weight: 600; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(50px, 5.5vw, 84px); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--terracotta); font-weight: 600; }
.hero-text { max-width: 540px; color: var(--muted); line-height: 1.75; font-size: 16px; margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  padding: 15px 23px; border-radius: 100px; border: 0; font-weight: 700;
  cursor: pointer; transition: transform .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: #fff; }
.button-primary:hover { background: var(--terracotta-dark); }
.text-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.hero-note { display: flex; gap: 12px; align-items: center; margin-top: 54px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.mini-balloons { width: 58px; height: 45px; position: relative; }
.mini-balloons i { width: 27px; height: 34px; border-radius: 50%; position: absolute; background: var(--peach); }
.mini-balloons i:nth-child(2) { left: 20px; top: -8px; background: var(--sage); }
.mini-balloons i:nth-child(3) { left: 36px; top: 8px; background: var(--lilac); }
.hero-visual { position: relative; z-index: 2; }
.hero-visual > img { border-radius: 52% 48% 48% 52% / 43% 53% 47% 57%; box-shadow: 0 28px 70px rgba(100, 61, 43, .16); }
.hero-visual::before { content: ""; position: absolute; inset: -22px 18% 30% -22px; border: 1px solid rgba(198,111,81,.4); border-radius: 50%; z-index: -1; }
.floating-card {
  position: absolute; left: -35px; bottom: 8%; background: rgba(255,250,244,.94);
  padding: 18px 24px; border-radius: 14px; box-shadow: 0 12px 35px rgba(51,41,33,.12);
  display: grid; grid-template-columns: auto 1fr; gap: 1px 10px;
}
.floating-card .sparkle { grid-row: 1 / 3; color: var(--terracotta); font-size: 25px; }
.floating-card strong { font: 600 16px "Playfair Display"; }
.floating-card small { color: var(--muted); font-size: 10px; }
.hero-flower { position: absolute; color: rgba(198,111,81,.4); font-size: 28px; }
.flower-one { left: 4%; top: 35%; }.flower-two { left: 43%; bottom: 8%; }

.section-pad { padding: 110px clamp(24px, 7vw, 110px); }
.intro { padding-bottom: 45px; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 10vw; align-items: end; }
h2 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.025em; }
.section-heading p, .portfolio-title > p { color: var(--muted); line-height: 1.75; max-width: 480px; }

.services { padding-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 360px; padding: 30px; border-radius: 180px 180px 22px 22px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.service-card.peach { background: var(--peach); }.service-card.sage { background: var(--sage); }
.service-card.lilac { background: var(--lilac); }.service-card.cream { background: var(--aqua); }
.service-number { position: absolute; top: 23px; right: 24px; font-size: 10px; opacity: .55; }
.service-icon { font: 400 58px "Playfair Display"; margin: 35px 0 12px; color: var(--terracotta-dark); }
.service-card h3 { font: 600 22px "Playfair Display"; margin: 0 0 12px; }
.service-card p { color: #675b52; line-height: 1.6; font-size: 13px; margin: 0; }
.service-card a { margin-top: auto; font-size: 12px; font-weight: 700; border-bottom: 1px solid; padding-bottom: 4px; }

.portfolio { background: #3a302d; color: #fffaf4; }
.portfolio-title { display: grid; grid-template-columns: 1fr .45fr; align-items: end; gap: 8vw; margin-bottom: 48px; }
.portfolio .eyebrow { color: #e7b08c; }
.portfolio-title > p { color: #d8cbc3; }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 330px 330px; gap: 18px; }
.gallery-link { position: relative; display: block; min-height: 0; outline-offset: 5px; }
.gallery-link:hover .gallery-item img, .gallery-link:focus-visible .gallery-item img { transform: scale(1.035); }
.gallery-link:hover .gallery-item small, .gallery-link:focus-visible .gallery-item small { opacity: 1; transform: translateY(0); }
.gallery-item { height: 100%; margin: 0; position: relative; overflow: hidden; border-radius: 4px; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(28,20,16,.82)); }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-kids { grid-row: 1 / 3; }
.gallery-detail img { object-position: center 62%; }
.gallery-item figcaption { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: flex; flex-direction: column; }
.gallery-item figcaption span { color: #e7b08c; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.gallery-item figcaption strong { font: 600 21px "Playfair Display"; margin-top: 4px; }
.gallery-item figcaption small { color: #fff; font-size: 12px; font-weight: 700; margin-top: 12px; opacity: .78; transform: translateY(2px); transition: .25s; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; background: #fbf0e4; }
.about-art { min-height: 560px; position: relative; }
.big-circle { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: #ecd1bb; top: 0; left: 0; }
.about-photo { position: absolute; width: 68%; height: 74%; right: 0; top: 12%; border-radius: 48% 48% 8px 8px; overflow: hidden; box-shadow: 0 18px 50px rgba(70,48,36,.2); }
.about-photo img { height: 100%; object-fit: cover; object-position: 70% center; }
.line-flower { position: absolute; font-size: 70px; left: 5%; bottom: 8%; color: var(--terracotta); z-index: 2; }
.experience-badge { position: absolute; z-index: 3; bottom: 3%; right: -4%; width: 135px; height: 135px; border-radius: 50%; background: var(--terracotta); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.experience-badge strong { font: 600 28px "Playfair Display"; }
.experience-badge span { font-size: 10px; line-height: 1.35; }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; max-width: 530px; }
.check-list { list-style: none; padding: 5px 0 20px; }
.check-list li { margin: 14px 0; font-size: 14px; }
.check-list span { display: inline-grid; place-items: center; width: 23px; height: 23px; background: #f3d9bd; border-radius: 50%; color: var(--terracotta-dark); margin-right: 10px; }
.button-outline { border: 1px solid var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: white; }

.steps { text-align: center; }
.steps > h2 { margin-bottom: 55px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 30px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; width: 35%; border-top: 1px dashed #c7b8ac; top: 23px; right: -18%; }
.step > span { display: inline-grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: var(--peach); color: var(--terracotta-dark); font-size: 12px; font-weight: 700; }
.step h3 { font: 600 21px "Playfair Display"; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.estimator {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 7vw;
  align-items: center;
  background:
    radial-gradient(circle at 90% 20%, rgba(233, 188, 197, .3), transparent 26%),
    linear-gradient(135deg, #fbefdf, #eef7f3);
}
.estimator-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; max-width: 530px; }
.estimator-panel {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  align-items: stretch;
}
.estimator-form,
.estimator-result {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(71, 49, 38, .1);
}
.estimator-form { padding: 30px; }
.estimator-form label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 8px;
}
.estimator-form input[type="number"],
.estimator-form select {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid #ead8ca;
  border-radius: 8px;
  padding: 13px 12px;
  background: #fffaf4;
  color: var(--ink);
  outline: none;
}
.estimator-form input:focus,
.estimator-form select:focus { border-color: var(--terracotta); }
.estimator-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.estimator-options label {
  min-height: 58px;
  margin: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff4e7;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.estimator-options input { accent-color: var(--terracotta); }
.estimator-result {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #3a302d;
  color: #fffaf4;
}
.estimator-result > span {
  color: #e7b08c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.estimator-result strong {
  font: 600 clamp(34px, 4vw, 50px) "Playfair Display";
  line-height: 1;
  margin: 16px 0;
}
.estimator-result p { color: #d8cbc3; line-height: 1.6; margin: 0 0 24px; font-size: 13px; }

.contact { display: grid; grid-template-columns: 1fr .75fr; gap: 9vw; background: #fff8f1; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; max-width: 530px; }
.contact-lines { display: flex; gap: 32px; margin-top: 35px; flex-wrap: wrap; }
.contact-lines a, .contact-data { display: flex; align-items: center; gap: 10px; }
.contact-lines a > span, .contact-data > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--peach); }
.contact-lines div { display: flex; flex-direction: column; }
.contact-lines small { color: var(--muted); font-size: 10px; }
.contact-lines strong { font-size: 12px; margin-top: 3px; }
.contact-form { padding: 38px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(83,55,39,.08); }
.contact-form label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 8px; border: 0; border-bottom: 1px solid #d8cbc0; padding: 11px 2px; background: transparent; outline: none; color: var(--ink); resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--terracotta); }
.contact-form .button { width: 100%; }
.form-status { color: #58704d; text-align: center; font-size: 12px; min-height: 16px; }

.legal-page .site-header { position: relative; background: #fffaf5; }
.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 75px 24px 100px;
}
.legal-content .back-link { margin-bottom: 34px; }
.legal-content h1 { font-size: clamp(46px, 6vw, 76px); }
.legal-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 720px;
  margin: 24px 0 52px;
}
.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.legal-content section h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 14px;
}
.legal-content section p {
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0;
}

footer { padding: 55px clamp(24px, 7vw, 110px) 28px; background: #332a24; color: #f8eee6; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand .brand-mark { color: #e7a88f; border-color: #e7a88f; }
.footer-brand small { color: #e7a88f; }
footer > p { color: #beafa4; font: italic 600 18px "Playfair Display"; }
.footer-main > p { color: #beafa4; font: italic 600 18px "Playfair Display"; margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border: 1px solid #6b5b50; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.footer-legal {
  width: 100%;
  max-width: 980px;
  padding: 22px 0;
  border-top: 1px solid #4a3e36;
  border-bottom: 1px solid #4a3e36;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  text-align: left;
}
.footer-legal div { display: flex; flex-wrap: wrap; gap: 9px 16px; align-content: start; }
.footer-legal strong,
.footer-legal span,
.footer-legal a {
  color: #cbbdb4;
  font-size: 11px;
  line-height: 1.5;
}
.footer-legal strong { color: #f8eee6; }
.footer-legal a { border-bottom: 1px solid rgba(231,168,143,.45); }
footer > small { color: #84746a; border-top: 1px solid #4a3e36; padding-top: 22px; width: 100%; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 0; background: #fff8f1; flex-direction: column; justify-content: center; font-size: 22px; transform: translateX(100%); transition: transform .3s; }
  .main-nav.open { transform: translateX(0); }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle span { display: block; width: 25px; border-top: 2px solid; margin: 6px; transition: .25s; }
  .menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 130px; background: linear-gradient(165deg, #fffaf5 0 58%, #f4ddc8 58%); }
  .hero-visual { max-width: 650px; margin: 0 auto; }
  .section-heading, .portfolio-title, .about, .estimator, .contact { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .portfolio-title { gap: 20px; }
  .about-art { max-width: 650px; width: 100%; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 0; }
  .step:nth-child(2)::after { display: none; }
  .estimator-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; padding: 0 20px; }
  .brand-mark { width: 37px; height: 37px; }
  .hero { min-height: auto; padding: 115px 20px 70px; gap: 55px; }
  h1 { font-size: 49px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-note { margin-top: 35px; }
  .floating-card { left: 5px; bottom: -25px; }
  .section-pad { padding: 80px 20px; }
  .intro { padding-bottom: 35px; }
  .section-heading { gap: 20px; }
  .services { grid-template-columns: 1fr; padding-top: 0; }
  .service-card { min-height: 330px; max-width: 380px; width: 100%; margin: 0 auto; }
  .portfolio-title { margin-bottom: 35px; }
  .gallery { display: block; }
  .gallery-link { margin-bottom: 16px; }
  .gallery-item { height: 420px; }
  .gallery-wedding, .gallery-detail { height: 330px; }
  .about-art { min-height: 430px; }
  .experience-badge { width: 110px; height: 110px; right: 0; }
  .line-flower { font-size: 50px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .estimator-form, .estimator-result { padding: 24px 20px; }
  .estimator-options { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .contact-lines { flex-direction: column; gap: 18px; }
  .footer-legal { grid-template-columns: 1fr; text-align: center; }
  .footer-legal div { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
