/* =============================================
   TERRA MIND – Memory Atlas  |  styles.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --topbar-bg:  #fbe0cc;
  --salmon-btn: #d4836a;
  --nav-bg:     #d4876e;
  --hero-bg:    #f9d48a;
  --orange-txt: #c4521a;
  --brown-txt:  #8b3a10;
  --white:      #ffffff;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  background: var(--topbar-bg);
  overflow-x: hidden;
}

/* ══════════ TOP BAR ══════════ */
.topbar {
  display: flex; align-items: center;
  justify-content: space-between;
  background-color: var(--topbar-bg);
  padding: 16px 52px 16px 36px;
}
.topbar__logo { display: flex; align-items: center; gap: 14px; }
.logo-brain   { width: 90px; height: 90px; object-fit: contain; }
.logo-text    { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 2rem;
  letter-spacing: 0.06em; color: #1a1a1a;
}
.logo-sub {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.28em; color: #777; text-transform: uppercase;
}
.topbar__actions { display: flex; gap: 16px; }
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1rem;
  letter-spacing: 0.06em; cursor: pointer;
  transition: all 0.2s ease; text-transform: uppercase;
  border: none; border-radius: 10px;
  padding: 14px 44px;
  background-color: var(--salmon-btn); color: var(--white);
}
.btn:hover {
  background-color: #bf6e55;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(180,80,40,0.25);
}

/* ══════════ NAV ══════════ */
.navbar {
  display: flex;
  align-items: center;
  background-color: var(--nav-bg);
  padding: 13px 52px;
}
.navbar a {
  color: #5a220a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.13em; text-decoration: none;
  text-transform: uppercase;
  padding: 0 64px 0 0; white-space: nowrap;
  transition: color 0.2s;
}
.navbar a:last-child { padding-right: 0; }
.navbar a:hover { color: var(--white); }

/* ── Active nav indicator: underline sits right below the text ── */
.navbar a.nav-active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}


/* ══════════ HERO ══════════ */
.hero {
  display: flex; align-items: stretch;
  background-color: var(--hero-bg);
  min-height: 500px; overflow: hidden;
}

/* LEFT TEXT */
.hero__text {
  flex-shrink: 0; width: 400px;
  padding: 54px 0 54px 52px;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative; z-index: 5;
}
.t-because {
  font-family: 'Lora', serif; font-style: italic; font-weight: 400;
  font-size: 2.3rem; color: var(--brown-txt); line-height: 1.2;
}
.t-bold {
  font-family: 'Lora', serif; font-style: normal; font-weight: 700;
  font-size: 4.5rem; color: var(--orange-txt);
  line-height: 1.0; letter-spacing: -0.01em;
}
.t-italic {
  font-family: 'Lora', serif; font-style: italic; font-weight: 400;
  font-size: 2.3rem; color: var(--brown-txt); line-height: 1.2;
}

/* ══════════ SCENE ══════════ */
.hero__scene {
  position: relative; flex: 1;
  min-height: 500px; overflow: hidden;
}

/* Lady */
.lady {
  position: absolute; z-index: 4;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  height: 102%; width: auto;
  object-fit: contain; object-position: bottom;
}

/* ══════════ BUBBLES ══════════ */
.bubble { position: absolute; z-index: 5; }

/* SVG bubbles scale based on container */
.bubble-svg {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(160,90,20,0.13));
}

/* Desktop sizes */
.b-photo    .bubble-svg { width: 130px; height: auto; }
.b-map      .bubble-svg { width: 140px; height: auto; }
.b-notes    .bubble-svg { width: 110px; height: auto; }
.b-calendar .bubble-svg { width: 130px; height: auto; }
.b-bag      .bubble-svg { width: 130px; height: auto; }
.b-person   .bubble-svg { width: 150px; height: auto; }

/* Positions — desktop: tight around lady, all aligned vertically */
.b-photo    { top: 20px;   left: 18%; }
.b-map      { top: -6px;   left: 50%; transform: translateX(-52%); }
.b-calendar { top: 20px;   right: 18%; }
.b-notes    { top: 50%;    right: 14%; transform: translateY(-60%); }
.b-bag      { bottom: 80px; left: 14%; }
.b-person   { bottom: 70px; right: 14%; }

/* ══════════ ANIMATIONS ══════════ */
@keyframes floatA {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-12px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0px) rotate(-0.5deg); }
  50%     { transform: translateY(-16px) rotate(0.5deg); }
}
@keyframes floatC {
  0%,100% { transform: translateY(0px) rotate(0.5deg); }
  50%     { transform: translateY(-10px) rotate(-0.5deg); }
}

.float-a { animation: floatA 4.0s ease-in-out infinite; }
.float-b { animation: floatB 4.6s ease-in-out infinite; }
.float-c { animation: floatC 3.8s ease-in-out infinite; }

/* Map centered: combine translateX with float */
@keyframes floatMapCenter {
  0%,100% { transform: translateX(-52%) translateY(0px); }
  50%     { transform: translateX(-52%) translateY(-16px) rotate(0.5deg); }
}
/* Notes middle-right: combine translateY with float */
@keyframes floatNotesMiddle {
  0%,100% { transform: translateY(-60%) rotate(0.5deg); }
  50%     { transform: translateY(calc(-60% - 10px)) rotate(-0.5deg); }
}

.b-map   { animation: floatMapCenter    4.6s ease-in-out infinite 0.5s; }
.b-notes { animation: floatNotesMiddle  4.0s ease-in-out infinite 1.0s; }

.b-photo    { animation-delay: 0.0s; }
.b-calendar { animation-delay: 0.3s; }
.b-bag      { animation-delay: 1.2s; }
.b-person   { animation-delay: 0.7s; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */

/* 1025 – 1280px */
@media (max-width: 1280px) {
  .hero__text { width: 355px; padding-left: 36px; }
  .t-bold     { font-size: 3.8rem; }
  .t-because, .t-italic { font-size: 2rem; }
  .logo-brain { width: 78px; height: 78px; }
  .logo-name  { font-size: 1.75rem; }
  .btn        { padding: 12px 32px; font-size: 0.9rem; }

  .b-photo    .bubble-svg { width: 112px; }
  .b-map      .bubble-svg { width: 120px; }
  .b-notes    .bubble-svg { width: 96px;  }
  .b-calendar .bubble-svg { width: 112px; }
  .b-bag      .bubble-svg { width: 112px; }
  .b-person   .bubble-svg { width: 130px; }
}

/* 768 – 1024px */
@media (max-width: 1024px) {
  .topbar  { padding: 12px 28px; }
  .navbar  { padding: 11px 28px; }
  .navbar a { font-size: 0.68rem; padding-right: 36px; }
  .hero__text { width: 292px; padding-left: 22px; }
  .t-bold     { font-size: 3.2rem; }
  .t-because, .t-italic { font-size: 1.75rem; }
  .logo-brain { width: 64px; height: 64px; }
  .logo-name  { font-size: 1.45rem; }
  .btn        { padding: 10px 20px; font-size: 0.8rem; border-radius: 8px; }
  .hero, .hero__scene { min-height: 420px; }

  .b-photo    .bubble-svg { width: 96px;  }
  .b-map      .bubble-svg { width: 104px; }
  .b-notes    .bubble-svg { width: 82px;  }
  .b-calendar .bubble-svg { width: 96px;  }
  .b-bag      .bubble-svg { width: 96px;  }
  .b-person   .bubble-svg { width: 110px; }

  .b-photo    { top: 14px;  left: 16%; }
  .b-map      { top: -4px;  }
  .b-calendar { top: 14px;  right: 16%; }
  .b-notes    { right: 12%; }
  .b-bag      { bottom: 60px; left: 12%; }
  .b-person   { bottom: 50px; right: 12%; }
}

/* 600 – 767px  tablet portrait → stacked */
@media (max-width: 767px) {
  .topbar { padding: 10px 18px; }
  .logo-brain { width: 52px; height: 52px; }
  .logo-name  { font-size: 1.18rem; }
  .logo-sub   { font-size: 0.52rem; }
  .topbar__actions { gap: 10px; }
  .btn { padding: 8px 16px; font-size: 0.72rem; border-radius: 8px; }

  .navbar { flex-direction: column; align-items: flex-start; padding: 8px 18px; }
  .navbar a {
    padding: 5px 0; font-size: 0.63rem; letter-spacing: 0.09em;
    border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%;
  }
  .navbar a:last-child { border-bottom: none; }

  .hero { flex-direction: column; min-height: auto; }
  .hero__text { width: 100%; padding: 30px 20px 18px 22px; }
  .t-bold     { font-size: 3rem; }
  .t-because, .t-italic { font-size: 1.6rem; }
  .hero__scene { width: 100%; min-height: 320px; }

  /* On mobile scene: 3 cols across top, 2 cols across bottom */
  .b-photo    .bubble-svg { width: 82px; }
  .b-map      .bubble-svg { width: 88px; }
  .b-notes    .bubble-svg { width: 72px; }
  .b-calendar .bubble-svg { width: 82px; }
  .b-bag      .bubble-svg { width: 84px; }
  .b-person   .bubble-svg { width: 94px; }

  /* Reset map/notes to normal positioning on mobile */
  .b-map   { animation: floatB 4.6s ease-in-out infinite 0.5s; }
  .b-notes { animation: floatC 4.0s ease-in-out infinite 1.0s; }

  .b-photo    { top: 16px;    left: 12%; transform: none; }
  .b-map      { top: 8px;     left: 50%; transform: translateX(-50%); }
  .b-calendar { top: 16px;    right: 12%; transform: none; }
  .b-notes    { top: 50%;     right: 10%; transform: translateY(-55%); }
  .b-bag      { bottom: 50px; left: 10%; }
  .b-person   { bottom: 44px; right: 10%; }
}

/* 430 – 599px  mobile */
@media (max-width: 599px) {
  .topbar { padding: 8px 14px; }
  .logo-brain { width: 44px; height: 44px; }
  .logo-name  { font-size: 1rem; }
  .topbar__actions { gap: 8px; }
  .btn { padding: 7px 13px; font-size: 0.66rem; }

  .hero__text { padding: 22px 14px 12px 15px; }
  .t-bold     { font-size: 2.55rem; }
  .t-because, .t-italic { font-size: 1.42rem; }
  .hero__scene { min-height: 280px; }

  /* Hide notes — tight space */
  .b-notes { display: none; }

  .b-photo    .bubble-svg { width: 72px; }
  .b-map      .bubble-svg { width: 80px; }
  .b-calendar .bubble-svg { width: 72px; }
  .b-bag      .bubble-svg { width: 74px; }
  .b-person   .bubble-svg { width: 84px; }

  .b-photo    { top: 12px; left: 8%; }
  .b-map      { top: 4px;  left: 50%; transform: translateX(-50%); }
  .b-calendar { top: 12px; right: 8%; }
  .b-bag      { bottom: 40px; left: 6%; }
  .b-person   { bottom: 36px; right: 6%; }
}

/* 0 – 430px  mobile XS */
@media (max-width: 430px) {
  .logo-name  { font-size: 0.9rem; }
  .logo-sub   { font-size: 0.44rem; letter-spacing: 0.14em; }
  .logo-brain { width: 38px; height: 38px; }
  .btn        { padding: 12px 17px; font-size: 0.62rem; }

  .t-bold     { font-size: 2.1rem; }
  .t-because, .t-italic { font-size: 1.18rem; }
  .hero__scene { min-height: 235px; }

  /* Only 3 bubbles on XS: map top, bag bottom-left, person bottom-right */
  .b-photo    { display: none; }
  .b-calendar { display: none; }

  .b-map      .bubble-svg { width: 70px; }
  .b-bag      .bubble-svg { width: 66px; }
  .b-person   .bubble-svg { width: 76px; }

  .b-map    { top: 10px; left: 65%; transform: translateX(-50%); }
  .b-bag    { bottom: 30px; left: 5%; }
  .b-person { bottom: 26px; right: 5%; }
}

/* ══════════════════════════════════
   HERO ENHANCEMENTS – modern look
══════════════════════════════════ */

/* Wave clip at bottom of hero */
.hero {
  padding-bottom: 60px;
  clip-path: ellipse(120% 89% at 50% 0%);
}

/* Organic background blobs */
.hero__scene::before,
.hero__scene::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.hero__scene::before {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,200,140,0.45) 0%, transparent 70%);
  top: -60px; left: 10%;
}
.hero__scene::after {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(230,140,90,0.30) 0%, transparent 70%);
  bottom: 20px; right: 8%;
}

/* Extra blobs via pseudo on hero text */
.hero__text::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,120,60,0.18) 0%, transparent 70%);
  bottom: -40px; right: -60px;
  pointer-events: none;
  z-index: 0;
}

/* CTA Button */
.hero__cta {
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d45a20 0%, #e8855a 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 15px 36px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200,80,30,0.30);
  transition: all 0.25s ease;
  text-decoration: none;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(200,80,30,0.40);
  background: linear-gradient(135deg, #c04e18 0%, #de7248 100%);
}
.cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.cta-btn:hover svg {
  transform: translateX(4px);
}

/* Decorative dots pattern bottom-left of scene */
.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
}

/* ── CTA responsive ── */
@media (max-width: 1024px) {
  .cta-btn { font-size: 0.84rem; padding: 13px 28px; }
  .hero { padding-bottom: 50px; }
  .b-bag    { bottom: 60px; }
  .b-person { bottom: 50px; }
}
@media (max-width: 767px) {
  .hero { clip-path: ellipse(110% 96% at 50% 0%); padding-bottom: 40px; }
  .cta-btn { font-size: 0.78rem; padding: 11px 22px; }
  .hero__cta { margin-top: 20px; }
  .b-bag    { bottom: 50px; }
  .b-person { bottom: 44px; }
}
@media (max-width: 599px) {
  .hero { clip-path: none; border-radius: 0 0 40px 40px; padding-bottom: 0px; }
  .cta-btn { font-size: 0.72rem; padding: 10px 18px; }
  .b-bag    { bottom: 40px; }
  .b-person { bottom: 36px; }
}
@media (max-width: 430px) {
  .b-bag    { bottom: 30px; }
  .b-person { bottom: 26px; }
}

/* ══════════════════════════════════════════════
   LOGO AS LINK (reset to hero)
══════════════════════════════════════════════ */
a.topbar__logo {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
a.topbar__logo:hover { opacity: 0.85; }

/* ══════════════════════════════════════════════
   NAV ACTIVE INDICATOR  (fixed alignment)
══════════════════════════════════════════════ */


/* ══════════════════════════════════════════════
   NAV VIEWS  (replace hero)
══════════════════════════════════════════════ */
.nav-view {
  display: none;
  background: var(--hero-bg);
  min-height: 420px;
  padding: 48px 52px 60px;
  animation: none;
}

.nav-view.view-anim {
  animation: viewFadeIn 0.35s ease both;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shared card inside view */
.panel__card {
  background: rgba(255,255,255,0.40);
  border: 2px solid rgba(210,170,80,0.30);
  border-radius: 14px;
  padding: 48px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.panel__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--brown-txt);
  margin-bottom: 28px;
}

.panel__card > p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #3a2010;
  text-align: justify;
  margin-bottom: 24px;
}
.panel__card > p:last-child { margin-bottom: 0; }

/* Tips */
.panel__lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3a2010;
  line-height: 1.75;
  margin-bottom: 10px !important;
  text-align: left !important;
}

.panel__sublead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #3a2010;
  line-height: 1.75;
  margin-bottom: 32px !important;
  text-align: left !important;
}

.panel__lead--center {
  text-align: center !important;
  margin-bottom: 32px !important;
  font-weight: 600;
}

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

.tips-card {
  border-radius: 10px;
  padding: 28px 26px;
}

.tips-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #3a1a08;
  text-align: justify;
  margin-bottom: 0;
}

.tips-card--light {
  background: rgba(255,255,255,0.55);
  border: 2px solid rgba(210,170,80,0.30);
}

.tips-card--dark {
  background: var(--salmon-btn);
  border: 2px solid rgba(180,100,60,0.20);
}

.tips-card--dark p { color: #fff; }

/* Help */
.help-boxes {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.help-box {
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(210,170,80,0.30);
  border-radius: 10px;
  padding: 28px 36px;
}

.help-box p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #3a2010;
  text-align: center;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   PERMANENT SCROLL SECTIONS
══════════════════════════════════════════════ */
.about-permanent { background: var(--topbar-bg); }

/* Mission */
.about-mission {
  padding: 70px 52px;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.about-mission__img-wrap {
  flex-shrink: 0;
  width: 420px;
  border: 6px solid var(--salmon-btn);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
}

.about-mission__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  min-height: 300px;
  background: linear-gradient(135deg, #f0d0b0 0%, #e8a880 100%);
}

.about-mission__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-mission__quote-main {
  font-family: 'Lora', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #2a1a0a;
  line-height: 1.35;
  text-align: center;
}

.about-mission__tagline {
  background: var(--salmon-btn);
  border: 4px solid #fff;
  border-radius: 10px;
  padding: 22px 36px;
  text-align: center;
}

.about-mission__tagline em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.5;
}

/* Cards */
.about-cards {
  padding: 0 52px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
}

.about-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(160,80,20,0.10);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(160,80,20,0.18);
}

.about-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #f0c890 0%, #d89060 100%);
}

.about-card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.about-card__body {
  background: var(--salmon-btn);
  padding: 22px 24px 28px;
  flex: 1;
}

.about-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #3a1a08;
  margin-bottom: 14px;
  text-align: center;
}

.about-card__body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #3a1a08;
  text-align: justify;
}

/* Team */
.about-team {
  padding: 70px 52px 80px;
  text-align: center;
}

.about-team__title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--orange-txt);
  margin-bottom: 52px;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.team-card__arch {
  width: 220px; height: 300px;
  border-radius: 110px 110px 0 0;
  border: 3px solid var(--orange-txt);
  overflow: hidden;
  background: #f0e0c8;
}

.team-card__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top; display: block;
}

.team-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 1.05rem;
  color: var(--orange-txt);
  line-height: 1.25; text-align: center;
}

.team-card__role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; color: #5a3010;
  line-height: 1.6; text-align: center;
  max-width: 200px;
}

/* Footer */
.site-footer {
  background: #3a1a08;
  padding: 40px 52px;
}

.site-footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}

.site-footer__logo {
  display: flex; align-items: center; gap: 14px;
}

.footer-brain {
  width: 50px; height: 50px;
  object-fit: contain;
  /* filter: brightness(0) invert(1) opacity(0.8); */
}

.site-footer__logo .logo-name { color: rgba(255,240,220,0.9); }
.site-footer__logo .logo-sub  { color: rgba(255,220,180,0.6); }

.site-footer__nav {
  display: flex; gap: 40px;
  flex-wrap: wrap; justify-content: center;
}

.site-footer__nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,220,180,0.7);
  text-decoration: none; transition: color 0.2s;
}

.site-footer__nav a:hover { color: #fff; }

.site-footer__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,200,150,0.45);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-view     { padding: 40px 32px 52px; }
  .panel__card  { padding: 36px 32px; }
  .about-mission { padding: 56px 32px; gap: 36px; }
  .about-mission__img-wrap { width: 320px; }
  .about-mission__quote-main { font-size: 1.5rem; }
  .about-cards  { padding: 0 32px 56px; gap: 20px; }
  .about-team   { padding: 56px 32px 64px; }
  .about-team__grid { gap: 22px; }
  .team-card__arch  { width: 180px; height: 245px; border-radius: 90px 90px 0 0; }
}

@media (max-width: 767px) {
  .nav-view    { padding: 28px 18px 40px; min-height: auto; }
  .panel__card { padding: 24px 20px; }
  .panel__title { font-size: 1.2rem; }
  .tips-grid   { grid-template-columns: 1fr; gap: 16px; }
  .about-mission { flex-direction: column; padding: 36px 18px; gap: 24px; }
  .about-mission__img-wrap { width: 100%; max-width: 380px; margin: 0 auto; }
  .about-mission__quote-main { font-size: 1.25rem; }
  .about-cards { grid-template-columns: 1fr; padding: 0 18px 44px; }
  .about-team  { padding: 40px 18px 52px; }
  .about-team__title { font-size: 1.9rem; margin-bottom: 32px; }
  .about-team__grid  { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .team-card__arch   { width: 140px; height: 190px; border-radius: 70px 70px 0 0; }
  .site-footer { padding: 28px 18px; }
  .site-footer__nav  { gap: 18px; }
}

@media (max-width: 430px) {
  .about-team__grid { gap: 14px; }
  .team-card__arch  { width: 115px; height: 158px; border-radius: 58px 58px 0 0; }
  .team-card__name  { font-size: 0.85rem; }
}
