/* ==========================================================================
   LAYOUT — announcement bar, sticky header, navigation, page hero, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Announcement bar
   -------------------------------------------------------------------------- */
.announce {
  background: var(--grad-rose);
  color: var(--white);
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}
.announce__inner {
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.announce__msgs { position: relative; height: 20px; overflow: hidden; flex: 1; }
.announce__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--t-base), transform var(--t-base);
}
.announce__msg.is-active { opacity: 1; transform: none; }
.announce__msg svg { width: 15px; height: 15px; }

.announce__social { display: flex; align-items: center; gap: var(--sp-3); }
.announce__social span { opacity: 0.85; }
.announce__social a { color: var(--white); display: grid; place-items: center; transition: opacity var(--t-fast), transform var(--t-fast); }
.announce__social a:hover { color: var(--white); opacity: 0.75; transform: translateY(-2px); }
.announce__social svg { width: 15px; height: 15px; fill: currentColor; }

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.header.is-stuck {
  box-shadow: var(--sh-sm);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-5);
}

.header__logo { display: block; }
.header__logo { display: flex; align-items: center; }
.header__logo img { width: 172px; height: auto; }

/* ---------- Primary navigation ---------- */
.nav { justify-self: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 2rem); }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--deep-rose);
  border-radius: var(--r-pill);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}
.nav__link:hover,
.nav__item.is-current > .nav__link { color: var(--deep-rose); }
.nav__link:hover::after,
.nav__item.is-current > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link svg { width: 13px; transition: transform var(--t-base); }
.nav__item--has-menu:hover .nav__link svg { transform: rotate(180deg); }

/* ---------- Dropdown ---------- */
.nav__item--has-menu { position: relative; }
.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  min-width: 220px;
  padding: var(--sp-3);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base);
}
.nav__menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__menu a {
  display: block;
  padding: 0.6rem var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.nav__menu a:hover {
  background: var(--blush-50);
  color: var(--deep-rose);
  padding-left: calc(var(--sp-3) + 6px);
}

/* ---------- Header actions ---------- */
.header__actions { display: flex; align-items: center; gap: var(--sp-1); }

.header__burger { display: none; }

/* --------------------------------------------------------------------------
   3. Mobile navigation drawer
   -------------------------------------------------------------------------- */
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-4) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.mobile-nav__link svg { width: 16px; color: var(--deep-rose); transition: transform var(--t-base); }
.mobile-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base);
}
.mobile-nav__sub > div { overflow: hidden; }
.mobile-nav__sub.is-open { grid-template-rows: 1fr; }
.mobile-nav__sub a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.mobile-nav__sub a:hover { color: var(--deep-rose); }
.mobile-nav__foot { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   4. Inner-page hero banner
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-blush);
  overflow: hidden;
  text-align: center;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 70%);
  pointer-events: none;
}
.page-hero::before { top: -110px; left: -60px; }
.page-hero::after { bottom: -140px; right: -50px; }

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title {
  font-size: var(--fs-3xl);
  color: var(--deep-rose);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--sp-3);
}
.page-hero__text { max-width: 560px; margin: 0 auto var(--sp-4); }
.page-hero .breadcrumb { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--grad-footer);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-7);
  padding-block: var(--sp-9) var(--sp-7);
}

/* The brand lockup is rose-on-transparent, so it sits on a white panel
   to keep contrast against the deep-rose footer. */
.footer__logo {
  display: inline-block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.footer__logo img { width: 190px; height: auto; }
.footer p { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm); }

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--white);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer__links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  width: fit-content;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer__links a:hover { color: var(--white); transform: translateX(4px); }

.footer__contact { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__contact li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); }
.footer__contact svg { width: 17px; flex: none; margin-top: 3px; color: var(--blush); }
.footer__contact a { color: rgba(255, 255, 255, 0.82); }
.footer__contact a:hover { color: var(--white); }

.footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover { background: var(--white); color: var(--deep-rose); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
}
.footer__pay { display: flex; align-items: center; gap: var(--sp-2); }
.footer__pay span {
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.06em;
}
