:root {
  --color-foreground: #47251d;
  --color-background: #fffaf5;
  --color-primary: #f04a18;
  --color-primary-deep: #df2b5b;
  --color-secondary: #ff9f43;
  --color-tertiary: #fff1e7;
  --color-foreground-alt: #7a554a;
  --color-border: #f6d2c2;
  --shadow-soft: 0 20px 50px rgba(131, 63, 36, 0.1);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid rgba(246, 210, 194, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner,
.hero-layout,
.split-layout,
.cta-panel {
  display: flex;
  gap: 2rem;
}

.header-inner {
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem 0 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: #8f1239;
  box-shadow: 0 12px 24px rgba(240, 74, 24, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  max-width: 16rem;
  font-size: 0.9rem;
}

.brand-text small,
.site-nav a,
.lead,
.section-heading p,
.split-copy p,
.feature-item p,
.card p,
.service-card p,
.cta-panel p,
.footer-inner p {
  color: var(--color-foreground-alt);
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  align-items: center;
  order: 3;
  width: 100%;
  gap: 0.5rem;
  min-width: 0;
  justify-content: center;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(246, 210, 194, 0.85);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--color-foreground);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(18, 140, 82, 0.14);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--color-border);
  color: var(--color-foreground);
}

.header-actions .button {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .brand-text small {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    grid-template-columns: repeat(6, max-content);
    justify-content: flex-start;
    gap: 0.45rem;
    overflow-x: visible;
    padding-bottom: 0.15rem;
  }

  .site-nav a {
    font-size: 0.86rem;
  }
}

.hero,
.section {
  padding: 4.5rem 0;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 159, 67, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(223, 43, 91, 0.16), transparent 24%),
    linear-gradient(180deg, #fff8f3 0%, #fffaf5 100%);
}

.hero-subpage {
  padding-bottom: 4rem;
}

.hero-layout,
.split-layout,
.cta-panel {
  align-items: center;
}

.hero-copy,
.split-copy {
  flex: 1 1 0;
}

.hero-gallery,
.feature-list {
  flex: 1 1 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-primary-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  max-width: 12ch;
  color: #5b2419;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 14ch;
  color: #5b2419;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 62ch;
  font-size: 1.1rem;
  margin: 1.5rem 0 0;
}

.hero-script {
  display: inline;
  color: var(--color-primary-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-points li::before {
  content: "❤";
  color: var(--color-primary-deep);
  margin-right: 0.6rem;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-width: 320px;
  justify-self: center;
  align-self: center;
  padding: 0.7rem;
  background: linear-gradient(135deg, rgba(143, 18, 57, 1), rgba(223, 43, 91, 1));
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.hero-logo-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.16);
}

.hero-gallery img:nth-child(2),
.hero-gallery img:nth-child(4),
.hero-logo-card {
  transform: translateY(16px);
}

.hero-note {
  display: grid;
  gap: 0.35rem;
  max-width: 32rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.hero-note strong {
  color: var(--color-primary-deep);
}

.brand-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.brand-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-primary-deep);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 159, 67, 0.85) 0 18%, transparent 19%),
    radial-gradient(circle at 32% 30%, rgba(240, 74, 24, 0.7) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 24%, rgba(223, 43, 91, 0.72) 0 16%, transparent 17%),
    linear-gradient(180deg, transparent 0 35%, var(--color-tertiary) 36% 100%);
  opacity: 0.5;
}

.section-soft {
  background: var(--color-tertiary);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-actions {
  margin-top: 1.5rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--color-primary-deep);
  font-weight: 700;
}

.section-heading h2,
.split-copy h2,
.cta-panel h2 {
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-deep), var(--color-secondary));
}

.featured-price {
  border-color: rgba(223, 43, 91, 0.35);
  transform: translateY(-0.35rem);
}

.price-value {
  margin: 1rem 0 0.25rem;
  color: var(--color-primary-deep);
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
}

.price-subline {
  margin: 0 0 1rem;
  color: var(--color-foreground-alt);
  font-weight: 700;
}

.guestbook-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.guestbook-entries {
  display: grid;
  gap: 1rem;
}

.guestbook-card,
.guestbook-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.guestbook-card {
  padding: 1.5rem;
}

.guestbook-card p {
  margin: 0.75rem 0 1rem;
  color: var(--color-foreground);
}

.guestbook-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--color-foreground-alt);
}

.guestbook-stars {
  color: var(--color-primary);
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.guestbook-form {
  padding: 1.5rem;
}

.contact-card .button {
  margin-top: 0.25rem;
}

.compact-heading {
  margin-bottom: 1rem;
}

.guestbook-form h3 {
  margin-bottom: 0.75rem;
  color: #5b2419;
}

.guestbook-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.guestbook-form input,
.guestbook-form select,
.guestbook-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fffaf7;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--color-foreground);
}

.guestbook-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--color-foreground-alt);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--color-primary-deep);
  font-weight: 700;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.service-card,
.feature-item,
.testimonial,
.cta-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.service-card,
.feature-item {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.card::before,
.service-card::before,
.feature-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-deep), var(--color-secondary));
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.section-quote {
  padding: 3.5rem 0;
}

.testimonial {
  max-width: 760px;
  padding: 2rem;
  background: linear-gradient(180deg, #fff 0%, #fff6ef 100%);
}

.testimonial p {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #59241a;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--color-foreground-alt);
}

.cta-panel {
  justify-content: space-between;
  padding: 2rem;
  background: linear-gradient(135deg, #fff5ed 0%, #fff 100%);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-foreground-alt);
}

.story-copy {
  flex: 1 1 0;
  color: var(--color-foreground-alt);
}

.story-copy p {
  margin-top: 0;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, transparent 0%, #fff1e7 100%);
}

.footer-inner {
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 960px) {
  .header-inner,
  .hero-layout,
  .split-layout,
  .cta-panel,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    grid-template-columns: repeat(3, max-content);
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .three-up,
  .two-up,
  .price-grid,
  .guestbook-layout {
    grid-template-columns: 1fr;
  }

  .featured-price {
    transform: none;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .hero,
  .section {
    padding: 3.5rem 0;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-gallery img:nth-child(2),
  .hero-gallery img:nth-child(4),
  .hero-logo-card {
    transform: none;
  }

  .hero-logo-card {
    max-width: none;
    min-height: 180px;
  }

  .button,
  .site-nav {
    width: 100%;
  }

  .header-actions .button {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .site-nav {
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-start;
    gap: 0.8rem;
  }
}
