/* ═══════════════════════════════════════════
   IRON HILLS — BUREAU DE CHANGE
   Palette: #051F20 / #0B2B26 / #163832 /
            #235347 / #8EB69B / #DAF1DE
   ═══════════════════════════════════════════ */

:root {
  /* Core palette */
  --black:    #050809;
  --ink:      #0a0f0e;
  --deep:     #051F20;
  --dark:     #0B2B26;
  --mid:      #163832;
  --forest:   #235347;
  --sage:     #8EB69B;
  --mist:     #DAF1DE;

  /* Functional */
  --bg:       #07090a;
  --bg2:      #0d1210;
  --bg3:      #121a18;
  --bg4:      #182320;
  --border:   rgba(142, 182, 155, 0.08);
  --border2:  rgba(142, 182, 155, 0.15);
  --border3:  rgba(142, 182, 155, 0.25);

  --text:     #e8ede9;
  --muted:    #6b8070;
  --muted2:   #445550;

  --green:    #235347;
  --greenl:   #8EB69B;
  --greenll:  #DAF1DE;

  --up:       #5dcf8a;
  --dn:       #e05252;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(142,182,155,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--sage);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}
body:hover .cursor { border-color: rgba(142,182,155,0.7); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(7, 9, 10, 0.9);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem); height: 72px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none; user-select: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--forest), var(--mid));
  border: 1px solid var(--border3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--mist); letter-spacing: 0.05em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--text); letter-spacing: 0.02em;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-sub {
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 300;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  font-size: 0.83rem; font-weight: 400; letter-spacing: 0.05em;
  color: var(--muted); cursor: pointer; text-decoration: none;
  transition: color 0.2s; text-transform: uppercase;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { color: var(--sage); }

.nav-cta {
  background: var(--forest); color: var(--mist);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 22px; border-radius: 6px; border: 1px solid var(--border3);
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--mid); color: var(--mist); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--sage);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

.mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 1rem clamp(1.5rem, 5vw, 3.5rem);
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 0.9rem; color: var(--muted); padding: 0.6rem 0;
  cursor: pointer; text-decoration: none; transition: color 0.2s;
  border-bottom: 1px solid var(--border);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--text); }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── CONTAINER ── */
.container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 2rem;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1280px; margin: 0 auto;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-noise {
  position: fixed; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(35,83,71,0.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(5,31,32,0.4) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
.hero-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(142,182,155,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,182,155,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage); font-weight: 500; margin-bottom: 2rem;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-title {
  font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300; line-height: 0.95; letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.hero-title em { font-style: italic; color: var(--sage); }
.hero-title-outline {
  -webkit-text-stroke: 1px rgba(142,182,155,0.4);
  color: transparent; display: block;
}
.hero-desc {
  font-size: 1rem; color: var(--muted); line-height: 1.8; font-weight: 300;
  max-width: 440px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hstat-n { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--sage); }
.hstat-l { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 2px; }
.hstat-sep { width: 1px; height: 40px; background: var(--border2); }

/* GLOBE VISUAL */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  height: 420px;
}
.globe-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid; animation: spin 30s linear infinite;
}
.ring1 {
  width: 320px; height: 320px; border-color: rgba(35,83,71,0.4);
  animation-duration: 25s;
}
.ring2 {
  width: 240px; height: 240px; border-color: rgba(142,182,155,0.2);
  animation-duration: 18s; animation-direction: reverse;
}
.ring3 {
  width: 160px; height: 160px; border-color: rgba(35,83,71,0.3);
  animation-duration: 12s;
}
@keyframes spin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.globe-center {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--dark));
  border: 1px solid var(--border3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 2; box-shadow: 0 0 40px rgba(35,83,71,0.3);
}
.globe-icon { font-family: var(--font-display); font-size: 2rem; color: var(--sage); }
.globe-label { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

.orbit-node {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  color: var(--sage); letter-spacing: 0.05em;
  transition: all 0.3s;
}
.orbit-node:hover { background: var(--forest); border-color: var(--sage); color: var(--mist); }
.on1 { top: 20px; left: 50%; transform: translateX(-50%); }
.on2 { right: 40px; top: 50%; transform: translateY(-50%); }
.on3 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.on4 { left: 40px; top: 50%; transform: translateY(-50%); }

/* ── TICKER ── */
.ticker-bar {
  display: flex; align-items: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 44px; overflow: hidden;
}
.ticker-label {
  background: var(--forest); color: var(--mist);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  padding: 0 18px; height: 100%; display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0; border-right: 1px solid var(--border3);
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-inner {
  display: inline-flex; gap: 2.5rem; padding: 0 1rem;
  animation: tickerMove 30s linear infinite;
  white-space: nowrap;
}
@keyframes tickerMove { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.tick-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--muted);
}
.tick-item strong { color: var(--text); font-weight: 500; }
.tick-item .up { color: var(--up); font-size: 0.72rem; }
.tick-item .dn { color: var(--dn); font-size: 0.72rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--forest), var(--mid));
  color: var(--mist); font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 6px; border: 1px solid var(--border3);
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--mid), var(--forest));
  box-shadow: 0 0 30px rgba(35,83,71,0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--sage);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; padding: 13px 28px; border-radius: 6px;
  border: 1px solid var(--border2); cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--sage); color: var(--mist); background: rgba(35,83,71,0.1); }

.btn-outline-green {
  background: transparent; color: var(--sage);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 10px 22px; border-radius: 6px; border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.2s; align-self: flex-end;
}
.btn-outline-green:hover { border-color: var(--sage); color: var(--mist); }

/* ── SECTIONS ── */
section { padding: clamp(5rem, 10vw, 8rem) 0; }

.section-tag {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--sage); font-weight: 600; margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sage); }
.section-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.7; font-weight: 300; max-width: 480px; }

/* RATES PREVIEW */
.rates-preview { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
}
.rates-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  background: var(--border);
}
.rate-card {
  background: var(--bg3); padding: 1.5rem;
  cursor: pointer; transition: all 0.25s; position: relative;
  overflow: hidden;
}
.rate-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,83,71,0.08), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.rate-card:hover { background: var(--bg4); }
.rate-card:hover::after { opacity: 1; }
.rate-card:hover .rc-pair { color: var(--sage); }

.rc-flag { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.rc-pair {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem; transition: color 0.2s;
}
.rc-rate { font-size: 1.4rem; font-weight: 300; color: var(--sage); margin-bottom: 0.25rem; }
.rc-world { font-size: 0.72rem; color: var(--muted); }
.rc-trend { font-size: 0.72rem; margin-top: 0.5rem; font-weight: 500; }
.rc-trend.up { color: var(--up); }
.rc-trend.dn { color: var(--dn); }

/* FEATURES */
.features { background: var(--bg); }
.features-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.features-right {
  display: flex; flex-direction: column; gap: 2.5rem;
}
.feat-item {
  display: flex; gap: 1.5rem;
}
.feat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--sage); flex-shrink: 0; line-height: 1;
}
.feat-body h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}
.feat-body p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
}

/* CTA BAND */
.cta-band {
  position: relative; padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center; overflow: hidden;
}
.cta-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(35,83,71,0.15), rgba(5,31,32,0.15));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band-inner {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto;
}
.cta-band-inner h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300; color: var(--text); margin-bottom: 1rem;
}
.cta-band-inner p {
  font-size: 1rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7;
}

/* FOOTER */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4rem) 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-top: 1rem;
}
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--text); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--muted);
  text-decoration: none; margin-bottom: 0.75rem; transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--sage); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: var(--muted);
}

/* PAGE HERO (SMALL) */
.page-hero-sm {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative; overflow: hidden;
}
.page-hero-sm .hero-noise { opacity: 0.2; }
.page-hero-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300; color: var(--text); margin-bottom: 0.5rem;
}
.page-hero-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 500px;
}

/* RATES PAGE */
.rates-tabs {
  display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap;
}
.rtab {
  background: transparent; color: var(--muted);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 10px 18px; border-radius: 6px; border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.rtab:hover { border-color: var(--sage); color: var(--sage); }
.rtab.active { background: var(--forest); color: var(--mist); border-color: var(--forest); }

.table-section { margin-bottom: 2rem; }
.table-label {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin-bottom: 1rem;
}
.rates-table-wrap {
  overflow-x: auto;
}
.rates-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.rates-table thead {
  background: var(--bg4); border-bottom: 1px solid var(--border2);
}
.rates-table th {
  padding: 1rem; text-align: left;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.rates-table td {
  padding: 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text);
}
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table tbody tr:hover { background: var(--bg4); }
.cur-cell {
  display: flex; align-items: center; gap: 10px;
}
.cur-flag { font-size: 1.3rem; }
.cur-name { font-weight: 500; color: var(--text); }
.cur-code { font-size: 0.8rem; color: var(--muted); }
.our-rate { color: var(--sage); font-weight: 500; }
.world-rate { color: var(--muted); }
.spread-badge {
  display: inline-block; padding: 4px 8px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(142,182,155,0.1); color: var(--sage);
}
.spread-badge.up { background: rgba(93,207,138,0.1); color: var(--up); }
.spread-badge.dn { background: rgba(224,82,82,0.1); color: var(--dn); }
.trend-cell { font-size: 0.8rem; font-weight: 500; }
.trend-cell.up { color: var(--up); }
.trend-cell.dn { color: var(--dn); }

/* CONTACT PAGE */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start; padding: 3rem 0;
}
.contact-h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300; color: var(--text); margin-bottom: 1rem;
}
.contact-h2 em { font-style: italic; color: var(--sage); }
.contact-intro {
  font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem;
}
.contact-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.cdetail {
  display: flex; gap: 1rem;
}
.cdetail-icon { font-size: 1.5rem; flex-shrink: 0; }
.cdetail-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cdetail-val { font-size: 0.95rem; color: var(--text); margin-top: 0.25rem; }
.whatsapp-link { color: var(--sage); text-decoration: none; transition: all 0.2s; }
.whatsapp-link:hover { color: var(--mist); text-decoration: underline; }
.phone-sep { color: var(--muted); }
.phone-alt { color: var(--muted); }

.contact-form-card {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 8px; padding: 2rem;
}
.form-header {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--text); margin-bottom: 1.5rem;
}
#form-body {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.fgroup {
  display: flex; flex-direction: column;
}
.fgroup label {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.fgroup input,
.fgroup textarea {
  background: var(--bg); border: 1px solid var(--border2);
  color: var(--text); padding: 10px 12px; border-radius: 4px;
  font-size: 0.9rem; font-family: var(--font-body);
  transition: all 0.2s;
}
.fgroup input:focus,
.fgroup textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 2px rgba(142,182,155,0.1);
}
.fgroup textarea { resize: vertical; min-height: 100px; }
.form-actions {
  display: flex; gap: 1rem; margin-top: 1rem;
}
#form-success {
  display: none; text-align: center;
}
#form-success.show {
  display: block;
}
#form-success h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--sage); margin-bottom: 0.5rem;
}
#form-success p {
  font-size: 0.95rem; color: var(--muted); line-height: 1.7;
}

/* TOAST */
#toast {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 10000;
  background: var(--forest); color: var(--mist);
  padding: 1rem 1.5rem; border-radius: 6px; font-size: 0.9rem;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
#toast.show { opacity: 1; pointer-events: auto; }

/* ── ADMIN LOGIN MODAL ── */
.admin-login-modal {
  display: none; position: fixed; inset: 0; z-index: 10001;
  align-items: center; justify-content: center;
}
.admin-login-modal.show {
  display: flex;
}
.modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative; z-index: 2;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 12px; width: 90%; max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from { transform: scale(0.95) translateY(-20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; border-bottom: 1px solid var(--border2);
}
.modal-header h2 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--text); margin: 0;
}
.modal-close {
  background: none; border: none; font-size: 1.8rem; color: var(--muted);
  cursor: pointer; transition: color 0.2s; padding: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); }
.modal-body {
  padding: 1.5rem;
}
.modal-desc {
  font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6;
}
.form-group {
  display: flex; flex-direction: column; margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input {
  background: var(--bg); border: 1px solid var(--border2);
  color: var(--text); padding: 10px 12px; border-radius: 6px;
  font-size: 0.95rem; font-family: var(--font-body);
  transition: all 0.2s;
}
.form-group input:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 2px rgba(142,182,155,0.1);
}
.login-error {
  font-size: 0.85rem; color: var(--dn); margin-bottom: 1rem;
  min-height: 1.2rem;
}
.modal-footer {
  display: flex; gap: 1rem; justify-content: flex-end;
  padding: 1.5rem; border-top: 1px solid var(--border2);
}
.btn-cancel {
  background: transparent; color: var(--sage);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 10px 20px; border-radius: 6px; border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.btn-cancel:hover { border-color: var(--sage); background: rgba(35,83,71,0.1); }
.btn-login {
  background: var(--forest); color: var(--mist);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 10px 24px; border-radius: 6px; border: none;
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.btn-login:hover { background: var(--mid); }

/* ── ADMIN PANEL ── */
.admin-panel {
  display: none; position: fixed; top: 0; right: -400px; bottom: 0;
  width: 400px; background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 10000; transition: right 0.3s ease-out;
  box-shadow: -4px 0 20px rgba(0,0,0,0.5);
  overflow-y: auto;
}
.admin-panel.show {
  display: block; right: 0;
}
.admin-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.admin-panel-header h2 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin: 0;
}
.btn-logout {
  background: transparent; color: var(--dn);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 8px 12px; border-radius: 4px; border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.btn-logout:hover { border-color: var(--dn); background: rgba(224,82,82,0.1); }
.admin-panel-content {
  padding: 1.5rem;
}
.admin-section h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}
.admin-section p {
  font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem;
}
.edit-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem;
}
.efield {
  display: flex; flex-direction: column;
}
.efield label {
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.efield input {
  background: var(--bg); border: 1px solid var(--border2);
  color: var(--text); padding: 8px 10px; border-radius: 4px;
  font-size: 0.85rem; font-family: var(--font-body);
  transition: all 0.2s;
}
.efield input:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 2px rgba(142,182,155,0.1);
}
.admin-actions {
  display: flex; gap: 1rem; margin-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { height: 300px; }
  .features-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .admin-panel { width: 100%; right: -100%; }
  .modal-content { width: 95%; }
}
