:root {
  --maxw: 1140px;
  --hero-cover-image: url("/assets/hero/main_page_hero_image_cropped.webp");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 8% -10%, #f4dfcf 0%, transparent 55%),
    radial-gradient(1000px 520px at 100% 0%, #efe7db 0%, transparent 48%),
    linear-gradient(180deg, var(--bg-main), var(--bg-soft));
  line-height: 1.5;
}

.shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.45;
  pointer-events: none;
}

.shape-1 {
  width: 360px;
  height: 360px;
  background: #efcfb9;
  left: -120px;
  bottom: 10%;
}

.shape-2 {
  width: 280px;
  height: 280px;
  background: #d7e1d8;
  right: -70px;
  top: 20%;
}

.container {
  width: min(var(--maxw), 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 245, 0.86);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
}

.brand-note {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.93rem;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: inherit;
}

.hero {
  padding: 4rem 0 2.8rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  font-weight: 800;
  background: #e5f0e9;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.hero-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(139, 110, 91, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 1;
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 0.95rem;
  background-color: #5e4a40;
  background-image: var(--hero-cover-image) !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right,
    rgba(20, 15, 10, 0.72) 0%,
    rgba(20, 15, 10, 0.45) 32%,
    rgba(20, 15, 10, 0.10) 52%,
    transparent 65%);
}

.hero-cover > div {
  max-width: 64ch;
}

.hero-cover h1 {
  color: #fff7f1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.hero-cover .lead {
  color: #f0dfd2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn-main {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(183, 95, 58, 0.32);
}

.btn-alt {
  background: transparent;
  border-color: #c9b3a5;
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  animation: floatIn 760ms ease both;
}

.placeholder {
  border: 1px dashed #cfb7a7;
  background: linear-gradient(135deg, #f6e6db 0%, #fdf4ec 45%, #f4e7dc 100%);
  border-radius: calc(var(--radius-lg) - 8px);
  min-height: 330px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #7f6657;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 1rem;
}

.section {
  padding: 0.8rem 0 1.6rem;
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  margin-bottom: 0.72rem;
}

.tag-main {
  background: #f2dfd4;
  color: #8e4729;
}

.tag-secondary {
  background: #ece9e4;
  color: #65574d;
}

.card h3 {
  margin: 0 0 0.48rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
}

.service-link:hover {
  text-decoration: underline;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.price-box {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.price-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.price-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.price-link:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Story / promo card */
.card-story {
  padding: 1.8rem 2.2rem;
  line-height: 1.72;
}

.card-story .story-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.card-story .story-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.card-story h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  margin: 1.8rem 0 0.4rem;
}

.card-story p {
  color: var(--text);
  font-size: 0.98rem;
  margin: 0 0 0.8rem;
}

.card-story ol,
.card-story ul {
  padding-left: 1.5rem;
  margin: 0.2rem 0 1rem;
}

.card-story li {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.card-story li strong {
  color: var(--text);
}

/* process section (moved from o-mne) */
.section-head {
  margin-bottom: 0.78rem;
  max-width: 60ch;
}

.section-head h2 {
  margin: 0 0 0.75rem;
}

.section-lead {
  margin: 0.42rem 0 0;
  color: var(--muted);
}

.section-bridge {
  margin: 0;
  padding: 0.6rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.85rem;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1.05rem;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f4e4d9;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.step-card h3 { margin: 0 0 0.45rem; font-size: 1.06rem; }
.step-card p  { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 720px) {
  .process-grid { grid-template-columns: 1fr; }
}

.card-story .promo-cta {
  margin-top: 2rem;
  border-top: 1px solid var(--line, #ebdfd6);
  padding-top: 1.4rem;
}

.card-story .promo-cta:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-story .promo-cta-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card-story .promo-cta .btn {
  margin-top: 1rem;
}

.card-story .promo-cta p:first-child {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 640px) {
  .card-story {
    padding: 1.2rem 1.3rem;
  }
}

.contact {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
  box-shadow: var(--shadow);
}

.contact ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact li {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #6d3723;
}

.contact-label {
  color: var(--text);
  font-weight: 800;
}

.contact-link {
  display: inline;
  color: #6d3723;
  text-decoration: none;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(183, 95, 58, 0.45);
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.contact-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.contact li.address-item {
  color: #6d3723;
}

.contact-value {
  font-weight: 700;
}

.contact-map {
  border: 1px solid #d9c7ba;
  border-radius: 12px;
  overflow: hidden;
  background: #f4eee8;
  align-self: stretch;
  height: 100%;
  min-height: 286px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 286px;
  border: 0;
}

.contact-map-placeholder {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top left, rgba(183, 95, 58, 0.08), transparent 55%);
  color: var(--text);
}

.contact-map-placeholder strong {
  display: block;
  font-size: 1rem;
}

.contact-map-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.9rem;
  font-size: 0.88rem;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(27, 41, 61, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.social-wa {
  background: #25D366;
  border-color: #1cae53;
  box-shadow: 0 8px 22px rgba(28, 174, 83, 0.28);
}

.social-fb {
  background: #1877F2;
  border-color: #0f5fd5;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.3);
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.social-wa:hover {
  box-shadow: 0 10px 24px rgba(28, 174, 83, 0.36);
}

.social-fb:hover {
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.38);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact .placeholder {
  min-height: 200px;
}


.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 700ms ease forwards;
}

.d1 { animation-delay: 60ms; }
.d2 { animation-delay: 140ms; }
.d3 { animation-delay: 220ms; }
.d4 { animation-delay: 300ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    justify-content: flex-start;
  }
  .brand-note {
    display: none;
  }
}

/* mobile-tweaks-v1 */
@media (max-width: 520px) {
  .hero {
    padding: 0 0 1.8rem;
    gap: 1rem;
  }
  .hero-cover {
    /* let height grow with content so text isn't clipped */
    aspect-ratio: auto;
    margin-top: 4vw;
    padding: max(28%, 2.5rem) 1.35rem 1.35rem;
    background-image: url("/assets/hero/mobile-version-hero-box/main_page_hero_image_cropped-mobile.webp") !important;
    background-position: right top;
    background-size: auto 100%;
  }
  .hero-cover > div {
    /* keep text in gradient zone so it doesn't overlap the woman on the right */
    max-width: min(16rem, 62%);
  }
  .cta-row .btn {
    width: 100%;
    text-align: center;
  }
  .contact {
    padding: 0.9rem;
  }
  .contact ul {
    padding-left: 0.9rem;
  }
  .contact-actions {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0.55rem;
  }
  .contact-actions .btn {
    width: 100%;
    grid-column: 1 / -1;
  }
  .contact-actions .social-link {
    margin: 0;
  }
  .nav {
    gap: 0.55rem;
    font-size: 0.86rem;
  }
  .placeholder {
    min-height: 180px;
  }
  .contact-map,
  .contact-map iframe,
  .contact-map-placeholder {
    min-height: 220px;
  }
}
