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

:root {
  --orange: #D4813A;
  --orange-light: #E8A96A;
  --orange-dark: #B5651A;
  --cream: #F7EFE4;
  --brown: #2C1A0E;
  --brown-mid: #5C3D1E;
  --text-muted: #8A6A4A;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--brown);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,239,228,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,129,58,0.15);
  transition: box-shadow 0.3s;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-ge-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-ge-logo img {
  width: 100px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(212,129,58,0.35);
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.lang-switch-btn:hover:not(.is-active) {
  color: var(--brown-mid);
}

.lang-switch-btn.is-active {
  background: var(--orange);
  color: white;
  cursor: default;
  pointer-events: none;
}

.lang-switch-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212,129,58,0.35);
  background: rgba(247,239,228,0.95);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  display: block;
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}

.nav-toggle-line::before { top: -6px; }
.nav-toggle-line::after { top: 6px; }

nav a.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color 0.2s;
}

nav a.nav-link:hover { color: var(--orange); }

nav a.nav-cta {
  background: var(--orange);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

nav a.nav-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

footer {
  background: var(--brown);
  color: rgba(255,255,255,0.55);
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-app-logo {
  text-decoration: none;
  display: inline-block;
}

.footer-app-logo img {
  width: min(120px, 55vw);
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--orange-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contact-email:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 32px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy,
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit a:hover { color: rgba(255,255,255,0.85); }

.resources-modal {
  position: fixed;
  inset: 0;
  background: rgba(44,26,14,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.resources-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.resources-panel {
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #FBF7F0;
  border-radius: 20px;
  border: 1px solid rgba(212,129,58,0.2);
  box-shadow: 0 20px 50px rgba(44,26,14,0.22);
  padding: 28px 24px;
}

.resources-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.resources-title {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: #1E4A43;
  letter-spacing: -0.5px;
}

.resources-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(30,74,67,0.2);
  background: white;
  color: #1E4A43;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.resources-intro {
  font-size: 16px;
  color: #56625E;
  line-height: 1.6;
  margin-bottom: 24px;
}

.resources-section-title {
  font-size: clamp(17px, 3vw, 20px);
  font-weight: 800;
  color: #1E4A43;
  margin: 22px 0 10px;
  line-height: 1.3;
}

.resources-section-text {
  font-size: 16px;
  color: #56625E;
  line-height: 1.6;
  margin-bottom: 12px;
}

.resources-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(30,74,67,0.08);
  border-radius: 14px;
  text-decoration: none;
  padding: 14px;
  margin-bottom: 12px;
  transition: transform 0.15s, border-color 0.2s;
}

.resources-card:hover {
  transform: translateY(-1px);
  border-color: rgba(212,129,58,0.45);
}

.resources-card-icon {
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(30,74,67,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E4A43;
  font-size: 22px;
  flex-shrink: 0;
}

.resources-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resources-card-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1F2825;
  line-height: 1.3;
}

.resources-card-text {
  display: block;
  font-size: 14px;
  color: #616D69;
  line-height: 1.45;
}

.resources-card-link {
  font-size: 18px;
  color: #C2874B;
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 20px; position: relative; }
  .header-ge-logo img { width: 60px; }
  .nav-toggle { display: inline-flex; }
  nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    margin-left: 0;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(212,129,58,0.2);
    background: rgba(247,239,228,0.98);
    box-shadow: 0 10px 24px rgba(44,26,14,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  body.nav-open nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  nav .nav-link { display: block; padding: 10px 8px; }
  nav .lang-switch { align-self: flex-start; margin: 6px 8px; }
  nav a.nav-cta { text-align: center; margin-top: 4px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 75px 20px 75px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}
