:root {
  --purple: #8d469b;
  --purple-dark: #4a1958;
  --purple-soft: #f6eaf8;
  --pink-soft: #fff4fb;
  --ink: #2c1f31;
  --muted: #65536a;
  --white: #ffffff;
  --line: #ead9ef;
  --shadow: 0 22px 70px rgba(74, 25, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.55;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--purple-dark);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.top-bar {
  background: linear-gradient(90deg, var(--purple), #9e55aa);
  color: white;
  font-size: 0.9rem;
}

.top-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-inner strong {
  margin-left: auto;
  font-size: 0.85rem;
}

.main-header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 160px;
  height: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  padding: 36px 0;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--purple);
}

.header-button {
  background: var(--purple);
  color: white;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(141, 70, 155, 0.28);
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 1.9rem;
  color: var(--purple-dark);
}

.hero {
  min-height: 600px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.78) 36%, rgba(255,255,255,0.14) 70%),
    radial-gradient(circle at 82% 35%, rgba(255, 205, 120, 0.70), transparent 16%),
    linear-gradient(135deg, rgba(141,70,155,0.18), rgba(255,255,255,0.1)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(transparent, rgba(255,255,255,0.92));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow.light {
  color: #f7dcff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  color: var(--purple-dark);
  margin-bottom: 22px;
}

h1 span {
  color: var(--purple);
}

.hero-copy p {
  max-width: 520px;
  color: var(--ink);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--purple);
  box-shadow: 0 14px 30px rgba(141, 70, 155, 0.24);
}

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

.hero-logo {
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: min(480px, 90%);
  opacity: 0.82;
  filter: drop-shadow(0 24px 40px rgba(74,25,88,0.25));
}

.pillars {
  width: min(1120px, calc(100% - 40px));
  margin: -68px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pillars article {
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.pillars article:last-child {
  border-right: 0;
}

.icon {
  color: var(--purple);
  font-size: 2rem;
  margin-bottom: 10px;
}

.pillars h2 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--purple-dark);
}

.pillars p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.95fr;
  gap: 30px;
  align-items: stretch;
}

.image-card,
.news-card,
.service-grid article,
.contact-form {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(74,25,88,0.08);
  border-radius: 24px;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.photo-placeholder {
  min-height: 310px;
  height: 100%;
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
  background:
    linear-gradient(rgba(74,25,88,0.20), rgba(74,25,88,0.32)),
    radial-gradient(circle at 30% 70%, rgba(141,70,155,0.7), transparent 16%),
    linear-gradient(135deg, #d7c3e0, #86a978);
}

.about-copy {
  padding: 6px 0;
}

.about-copy h2,
.section-heading h2,
.contact-copy h2 {
  color: var(--purple-dark);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.about-copy p,
.service-grid p,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.news-card {
  background: var(--purple-soft);
  padding: 24px;
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.news-head h2 {
  font-size: 1.35rem;
  color: var(--purple-dark);
  margin-bottom: 0;
}

.news-head a {
  color: var(--purple);
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: underline;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.news-item h3 {
  color: var(--purple-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}

.news-item p {
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.news-item small {
  color: var(--muted);
}

.thumb {
  border-radius: 12px;
  min-height: 76px;
  background: linear-gradient(135deg, var(--purple), #d4a7df);
}

.thumb.flowers {
  background: linear-gradient(135deg, #6f9f73, #e0b0e6);
}

.thumb.purple {
  background: linear-gradient(135deg, #572463, #b977c6);
}

.thumb.people {
  background: linear-gradient(135deg, #cec1d3, #8d469b);
}

.services {
  padding-top: 30px;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-grid article {
  padding: 30px;
  background: linear-gradient(180deg, #fff, var(--pink-soft));
}

.service-grid h3 {
  color: var(--purple-dark);
  font-size: 1.35rem;
}

.involved {
  background:
    radial-gradient(circle at 8% 30%, rgba(255,255,255,0.18), transparent 16%),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: white;
  padding: 70px 0;
}

.involved-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
}

.involved h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.involved p {
  color: rgba(255,255,255,0.82);
}

.involved-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.involved-cards a {
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
}

.involved-cards strong,
.involved-cards span {
  display: block;
}

.involved-cards span {
  color: rgba(255,255,255,0.78);
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--purple-dark);
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

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

.footer {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: white;
  padding: 54px 0 24px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.24);
}

.footer img {
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.78);
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer h3 {
  margin-bottom: 12px;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 0;
  font-size: 0.9rem;
}

input:focus,
textarea:focus,
a:focus,
button:focus {
  outline: 3px solid rgba(141,70,155,0.28);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .top-inner strong,
  .header-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav {
    height: 86px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-inner,
  .about-block,
  .involved-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    display: none;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars article {
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .involved-cards,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 8px 0;
  }

  .brand img {
    width: 128px;
  }

  .hero,
  .hero-inner {
    min-height: 520px;
  }

  .hero {
    background:
      linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.82)),
      url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80");
    background-size: cover;
    background-position: center;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }
}


.contact-card h3 {
  color: var(--purple-dark);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--muted);
}

.contact-details {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-details a,
.top-bar a,
.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
