:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #fce7f0;
  --text: #111827;
  --muted: #667085;
  --border: #e5e7eb;
  --background: #ffffff;
  --surface: #f8f9fc;
  --cream: #f4f2ec;
  --section-space: 96px;
  --section-space-sm: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
main { flex: 1; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.nav-links > a.is-active,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--text);
}
.nav-links > a.is-active:not(.nav-button)::after,
.nav-dropdown.is-active .nav-dropdown-toggle::after {
  right: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.04);
}
.navbar {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 750;
}
.logo-icon {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 1.15rem;
}
.nav-links > a:hover,
.nav-dropdown-toggle:hover { color: var(--text); }
.nav-links > a:not(.nav-button),
.nav-dropdown-toggle {
  position: relative;
  padding: 10px 0;
  font-weight: 650;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:not(.nav-button)::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: right .2s ease;
}
.nav-links > a:not(.nav-button):hover::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle .chevron {
  width: 0.85em;
  height: 0.85em;
  transition: transform .2s ease;
}
.nav-dropdown-menu {
  display: none;
}
@media (min-width: 1025px) {
  .nav-dropdown:hover .nav-dropdown-toggle .chevron,
  .nav-dropdown:focus-within .nav-dropdown-toggle .chevron { transform: rotate(180deg); }
  .nav-dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 120;
    min-width: 220px;
    padding: 8px;
    border: 1px solid rgba(233, 30, 99, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: .18s ease;
  }
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.nav-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(233, 30, 99, 0.24);
}
.nav-button:hover { background: var(--primary-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(233, 30, 99, 0.24);
}
.button-primary:hover { background: var(--primary-dark); }
.button-dark {
  background: #111827;
  color: #fff;
  border-radius: 999px;
}
.button-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.footer {
  padding: 72px 0 28px;
  background: #0f1218;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; color: #fff; }
.footer-brand p { max-width: 300px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.footer-col h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.68); }
.footer-col a:hover { color: #ff7aad; }
.footer-contact p { margin-bottom: 10px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}
.footer-bottom a { margin-right: 14px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #ff7aad; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 130;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
    color: var(--text);
    font-size: 1.12rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-button),
  .nav-dropdown {
    display: block;
    width: 100%;
  }
  .nav-links > a:not(.nav-button),
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links > a:not(.nav-button)::after,
  .nav-dropdown-toggle::after { display: none; }
  .nav-links.is-open {
    overflow-x: hidden;
  }
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 0 10px 8px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown.is-open .nav-dropdown-toggle .chevron {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu a {
    padding: 10px 8px;
    white-space: normal;
  }
  .nav-button {
    margin-top: 14px;
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, 1200px); }
  .logo-text { font-size: 1.05rem; }
  .logo-icon { height: 42px; }
}
@media (max-width: 600px) {
  :root {
    --section-space: 72px;
    --section-space-sm: 56px;
  }
}
