/* ============================================================
   FOOTHILL ALLIANCE — Master Stylesheet
   Brand: Deep Navy + Warm Gold + Cream
   Pages: page1 (home) / page2 (help) / page3 (work) /
          page4 (experience) / page5 (ecosystem) / page6 (contact)
   ============================================================ */

:root {
  --navy:        #0E2A4D;
  --navy-deep:   #0A1F38;
  --gold:        #B8902A;
  --gold-light:  #C9A84A;
  --cream:       #F5F1E8;
  --white:       #FFFFFF;
  --text:        #2A2A2A;
  --text-soft:   #555;
  --text-muted:  #7A7A7A;
  --border:      #E5DFD3;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ============================================================
   ARABIC (RTL) LANGUAGE SUPPORT
   ============================================================ */
:root {
  --font-arabic: 'Cairo', sans-serif;
}
html[lang="ar"] {
  direction: rtl;
  font-family: var(--font-arabic);
}
html[lang="ar"] body {
  font-family: var(--font-arabic);
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] p, html[lang="ar"] li,
html[lang="ar"] a, html[lang="ar"] span, html[lang="ar"] button {
  font-family: var(--font-arabic);
}
/* Mirror key layout elements for RTL */
html[lang="ar"] .lang-switcher { margin-left: 0; margin-right: 14px; }
html[lang="ar"] .lang-switcher .lang-menu {
  right: auto;
  left: 0;
}
html[lang="ar"] .lang-option {
  text-align: right;
}
html[lang="ar"] .section-title .ico {
  left: auto;
  right: -60px;
}
html[lang="ar"] .p1-block .p1-image {
  margin-right: 0;
  margin-left: -60px;
}
html[lang="ar"] .p1-block.flip .p1-image {
  margin-left: 0;
  margin-right: -60px;
}
html[lang="ar"] .flow-strip .flow-arrow {
  transform: scaleX(-1);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   HEADER — sticky, identical on every page
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-logo {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img { width: 100%; height: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text .name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1.5px;
}
.brand-text .name span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-top: 2px;
}
.brand-text .tagline {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}
.main-nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}

/* Language dropdown switcher */
.lang-switcher {
  position: relative;
  margin-left: 14px;
}
.lang-switcher .lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(184, 144, 42, 0.4);
  border-radius: 4px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-switcher .lang-btn:hover {
  border-color: var(--gold);
  background: rgba(184, 144, 42, 0.08);
}
.lang-switcher .lang-flag { font-size: 14px; }
.lang-switcher .lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-switcher .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  background: var(--white);
  border: 1px solid rgba(184, 144, 42, 0.3);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(14, 42, 77, 0.15);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 1000;
  display: none;
}
.lang-switcher.open .lang-menu {
  display: block;
}
.lang-switcher .lang-option {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.lang-switcher .lang-option:hover {
  background: rgba(184, 144, 42, 0.1);
}
.lang-switcher .lang-option.active {
  background: rgba(184, 144, 42, 0.15);
  font-weight: 600;
}

/* ============================================================
   PAGE TITLE / SECTION TITLE pattern
   ============================================================ */
.page-title-bar {
  padding: 50px 0 36px;
  background: var(--cream);
}
.page-title-bar h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.title-underline {
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: block;          /* block, not flex — so title text starts at padding edge, not after icon */
  min-height: 44px;
  position: relative;
}
.section-title > span:not(.ico) {
  display: block;
  padding-left: 0;
}
.section-title .ico {
  position: absolute;
  left: -60px;
  top: 0;
  width: 44px;
  height: 44px;
  /* No border / circle wrapper — the design's circle is baked into the icon image itself. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-title .ico img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.section-title .ico svg { width: 22px; height: 22px; }
.title-underline-small {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0 14px;
}

/* ============================================================
   CONTENT BLOCK (left text + right image, 60/40 or 40/60)
   ============================================================ */
.page-block {
  background: var(--cream);
  padding: 60px 0;
}
.page-block > .inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-block.flip > .inner {
  grid-template-columns: 40% 60%;
}
.page-block.flip .text-col { order: 1; }
.page-block.flip .image-col { order: 2; }
.page-block.white { background: var(--white); }

/* PAGE 2 LAYOUT — single section: left = all 5 text blocks, right = ONE big image */
/* PAGE 4 LAYOUT — same as page2/3: left = 3 text blocks, right = 3x3 collage */
.page-block.page4-layout { background: var(--cream); padding: 40px 0 60px; }
.page-block.page4-layout > .inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-block.page4-layout .text-col {
  padding: 20px 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-block.page4-layout .image-col {
  display: flex;
  align-items: stretch;
}
.page-block.page4-layout .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}

/* NAVY STRIP — page4 / page5 bottom band */
.navy-strip {
  background: var(--navy);
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.navy-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  padding: 0 60px;
  flex-wrap: wrap;
}
.navy-strip .ico {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
}
.navy-strip .ico img {
  width: 100%;
  height: auto;
}
.navy-strip .strip-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  max-width: 1100px;
  text-align: left;
  line-height: 1.4;
  white-space: nowrap;
}
.navy-strip .strip-text span:first-child { color: var(--white); }
.navy-strip .strip-text span:not(:first-child) { color: var(--gold); }
@media (max-width: 900px) {
  .page-block.page4-layout > .inner { grid-template-columns: 1fr; padding: 0 20px; }
  .page-block.page4-layout .text-col { padding: 20px 0; }
  .page-block.page4-layout .image-col img { height: 320px; }
  .navy-strip .container { flex-direction: column; gap: 16px; padding: 0 20px; }
  .navy-strip p.bold { font-size: 18px; text-align: center; }
}

/* PAGE 5 LAYOUT — same as page2/3/4: left = 3 text blocks, right = 3x3 labelled collage */
.page-block.page5-layout { background: var(--cream); padding: 40px 0 60px; }
.page-block.page5-layout > .inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-block.page5-layout .text-col {
  padding: 20px 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-block.page5-layout .image-col {
  display: flex;
  align-items: stretch;
}
.page-block.page5-layout .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}

/* FLOW STRIP — page5 bottom band: 5 separate icon+label images + HTML tagline */
.flow-strip {
  background: var(--navy);
  padding: 30px 0 40px;
  text-align: center;
}
.flow-strip .container {
  max-width: 1400px;
  padding: 0 40px;
}
.flow-strip .flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 30px;
}
.flow-strip .flow-item {
  flex: 1 1 0;
  min-width: 0;
}
.flow-strip .flow-item img {
  height: 70px;
  width: 100%;
  display: block;
  object-fit: contain;
}
.flow-strip .flow-tagline {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.flow-strip .flow-tagline .accent {
  color: var(--gold);
}
@media (max-width: 900px) {
  .flow-strip .container { padding: 0 16px; }
  .flow-strip .flow-row { gap: 10px; }
  .flow-strip .flow-item img { height: 50px; }
  .flow-strip .flow-tagline { font-size: 16px; }
}

.page-block.page2-layout { background: var(--cream); padding: 40px 0 80px; }

/* PAGE 3 LAYOUT — same as page2: left = all text blocks, right = ONE big image */
.page-block.page3-layout { background: var(--cream); padding: 40px 0 80px; }
.page-block.page3-layout > .inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-block.page3-layout .text-col {
  padding: 20px 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-block.page3-layout .image-col {
  display: flex;
  align-items: stretch;
}
.page-block.page3-layout .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}
/* Ground-icons strip (7 icons + labels) */
.page-block.page3-layout .ground-icons {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.page-block.page3-layout .ground-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.3;
  gap: 6px;
}
.page-block.page3-layout .ground-item img {
  width: auto;
  height: 60px;
  object-fit: contain;
}
.page-block.page3-layout .bullet-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}
@media (max-width: 900px) {
  .page-block.page3-layout > .inner { grid-template-columns: 1fr; padding: 0 20px; }
  .page-block.page3-layout .text-col { padding: 20px 0; gap: 22px; }
  .page-block.page3-layout .image-col img { height: 320px; }
  .page-block.page3-layout .ground-icons { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .page-block.page3-layout .bullet-list.two-col { grid-template-columns: 1fr; }
}
.page-block.page2-layout > .inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-block.page2-layout .text-col {
  padding: 20px 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-block.page2-layout .block {
  /* one text block — title + paragraphs + bold */
}
.page-block.page2-layout .image-col {
  display: flex;
  align-items: stretch;
}
.page-block.page2-layout .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}
@media (max-width: 900px) {
  .page-block.page2-layout > .inner { grid-template-columns: 1fr; padding: 0 20px; }
  .page-block.page2-layout .text-col { padding: 20px 0; gap: 28px; }
  .page-block.page2-layout .image-col img { height: 320px; }
}

.text-col {
  padding-left: 60px;   /* align body text past the icon */
}
.text-col p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 6px;
}
.text-col p.bold,
.text-col strong {
  font-weight: 700;
  color: var(--navy);
}
.text-col ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 12px;
}
.text-col ul li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.75;
}
.text-col ul li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.text-col h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 16px;
}
.text-col h3:first-child { margin-top: 0; }

.image-col {
  width: 100%;
  height: 100%;
}
.image-col img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* ============================================================
   PAGE 1 (HOME — MOBILE PORTRAIT STACK)
   ============================================================ */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0 50px;
  background: var(--cream);
}
.home-hero h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 22px;
}
.home-hero .lead {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 18px;
}
.home-hero .mission {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}
.home-hero .answer {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}
.home-hero .p1-list { list-style: none; padding: 0; margin: 0; }
.home-hero .p1-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--text);
}
.home-hero .p1-list li .ico {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.home-hero .p1-list li .ico svg { width: 22px; height: 22px; }
.home-hero-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
}

.home-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
  background: var(--cream);
}
.home-block.flip { /* text-right image-left for odd blocks */ }
.home-block-text h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 10px;
}
.home-block-text .check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.home-block-text .check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
}
.home-block-text .check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.home-block-text .bullet-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.home-block-text .bullet-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}
.home-block-text .bullet-list li::before {
  content: '—';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.home-block-text .cta-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin-top: 18px;
  font-weight: 600;
}
.home-block-text p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}
.home-block-text .icon-circle {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 14px;
}
.home-block-text .icon-circle svg { width: 22px; height: 22px; }
.home-block-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

/* ============================================================
   PAGE 3 — 7-icons row (the "ground" ecosystem icons)
   ============================================================ */
.icon-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin: 22px 0 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.icon-strip .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.icon-strip .item .ico {
  width: 42px;
  height: 42px;
  color: var(--gold);
}
.icon-strip .item .ico svg { width: 100%; height: 100%; }
.icon-strip .item .label {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* ============================================================
   PAGE 4 / PAGE 5 — bottom navy strip
   ============================================================ */
.navy-strip {
  background: var(--navy-deep);
  color: var(--white);
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.navy-strip .ico {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
}
.navy-strip .ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.navy-strip p {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--white);
  line-height: 1.4;
}
.navy-strip .gold {
  color: var(--gold-light);
  font-weight: 700;
}

/* ============================================================
   PAGE 5 — 5-icon flow (farm → consumer)
   ============================================================ */
.flow-strip {
  background: var(--navy-deep);
  color: var(--white);
  padding: 30px 20px 22px;
}
.flow-strip-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  gap: 8px;
  max-width: 1300px;
  margin: 0 auto;
}
.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.flow-item .ico {
  width: 44px;
  height: 44px;
  color: var(--gold-light);
}
.flow-item .ico svg { width: 100%; height: 100%; }
.flow-item .label {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--white);
  line-height: 1.3;
}
.flow-arrow {
  color: var(--gold-light);
  font-size: 28px;
  text-align: center;
  font-weight: 300;
}
.flow-tagline {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--white);
}
.flow-tagline .gold { color: var(--gold-light); }

/* ============================================================
   PAGE 6 — full-bleed sunset + contact strip
   ============================================================ */
.feed-hero {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center 60%;
  background-image: url('../images/page6_01.webp');
  background-color: var(--navy-deep);
}
.feed-title {
  text-align: center;
  padding: 70px 20px 30px;
  background: var(--cream);
}
.feed-title h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
}
.feed-title .gold-line {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
}
.feed-contact {
  text-align: center;
  padding: 50px 20px 90px;
  background: var(--cream);
}
.feed-contact .label {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 12px 32px;
  font-size: 17px;
  color: var(--text);
}
.contact-item .ico {
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.contact-item .ico svg { width: 100%; height: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 28px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col p, .footer-col li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  list-style: none;
}
.footer-col ul li { padding: 3px 0; }
.footer-col ul li a { color: rgba(255,255,255,.85); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 10px; letter-spacing: 1px; }
  .brand-text .name { font-size: 17px; }
  .brand-text .tagline { display: none; }
  .page-block, .page-block.flip { padding: 40px 0; }
  .page-block > .inner, .page-block.flip > .inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .page-block.flip .text-col { order: 1; }
  .page-block.flip .image-col { order: 2; }
  .text-col { padding-left: 0; }
  .section-title .ico { position: static; margin-bottom: 8px; width: 36px; height: 36px; }
  .section-title .ico img { width: 36px; height: 36px; }
  .home-hero, .home-block { gap: 36px; }
  .home-hero h1 { font-size: 30px; }
  .home-block-text h2 { font-size: 26px; }
  .icon-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  
  /* Header: stack logo + lang switcher on top row, nav links wrap below */
  .nav-wrap { 
    flex-wrap: wrap; 
    gap: 8px;
    justify-content: space-between;
  }
  .brand-logo {
    width: 80px;
    height: 80px;
  }
  /* lang switcher moves to top right, BEFORE nav */
  .lang-switcher {
    margin-left: auto;
    order: 2;
    padding-left: 0;
  }
  /* nav wraps below logo + lang */
  .main-nav {
    order: 3;
    width: 100%;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(184, 144, 42, 0.2);
  }
  .main-nav a { 
    font-size: 10px; 
    white-space: nowrap; 
    letter-spacing: 0.5px;
    flex: 1 1 auto;
    text-align: center;
    min-width: 70px;
  }
  
  .page-block, .page-block.flip { padding: 40px 0; }
  .page-block > .inner, .page-block.flip > .inner { padding: 0 20px; }
  .home-hero, .home-block { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 26px; }
  .home-block-text h2 { font-size: 24px; }
  .page-title-bar h1 { font-size: 30px; }
  .feed-hero { height: 320px; }
  .feed-title h1 { font-size: 28px; }
  .icon-strip { grid-template-columns: repeat(3, 1fr); }
  .flow-strip-row { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .navy-strip { flex-direction: column; text-align: center; gap: 12px; padding: 22px 20px; }
  .contact-item { display: flex; margin: 8px 0; }
}
