/* ==========================================================================
   Women in CRC — carthage-consulting.com
   Distinct identity: deep navy + old gold + warm cream
   ========================================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  --navy: #1a2846;
  --navy-2: #0f1a30;
  --gold: #b48a3f;
  --gold-2: #cea256;
  --cream: #f6f2e9;
  --cream-2: #ede6d6;
  --ink: #1c1e26;
  --ink-2: #3d4152;
  --muted: #6a6f80;
  --line: #d8cfbc;
  --white: #ffffff;

  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;

  --radius: 2px;
  --shadow: 0 6px 24px rgba(26, 40, 70, 0.08);
  --max: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--sans); font-weight: 600; color: var(--gold); margin-bottom: 0.8rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
  display: inline-block;
}

p {
  margin-bottom: 1.1rem;
  color: var(--ink-2);
}

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto 0;
}

/* Narrow blocks that follow a centered section-title should keep text left-aligned for readability */
.narrow .section-title { text-align: center; }
.narrow p { text-align: left; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 780px;
  margin: 0 auto;
}

section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

section.tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.nav-brand img {
  height: 42px;
  width: auto;
  background: var(--white);
  padding: 4px 6px;
  border-radius: 2px;
}

.nav-brand:hover { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.current {
  color: var(--gold-2);
}

.nav-links a.current::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.8rem var(--gutter); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 26, 48, 0.35) 0%, rgba(15, 26, 48, 0.10) 40%, rgba(15, 26, 48, 0.00) 65%, rgba(180, 138, 63, 0.06) 100%),
    url('assets/images/hero-tunis.webp') 30% center/cover no-repeat,
    url('assets/images/hero-tunis.png') 30% center/cover no-repeat;
  padding: 6rem 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--gold-2);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero .actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-secondary {
  min-height: 40vh;
  padding: 4rem 0;
}

.hero-secondary h1 {
  max-width: 30ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Intro block ---------- */
.intro {
  background: var(--cream);
  padding-top: clamp(4rem, 8vw, 6rem);
}

.intro-block {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.intro-block h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 1.5rem;
  white-space: nowrap;
  max-width: none;
}

.intro-block p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .intro-block h2 { white-space: normal; font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

.intro-block p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

/* ---------- Three-column cards ---------- */
.three-cards {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  padding: 2.2rem 1.8rem;
  background: var(--cream);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--ink-2);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Split section (image + text) ---------- */
.split {
  background: var(--cream);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-grid .text { order: 1; }
.split-grid .image { order: 2; }
.split-grid.reverse .text { order: 2; }
.split-grid.reverse .image { order: 1; }

@media (max-width: 800px) {
  .split-grid,
  .split-grid.reverse {
    grid-template-columns: 1fr;
  }
  .split-grid.reverse .text,
  .split-grid.reverse .image { order: initial; }
}

.split-grid .image {
  position: relative;
}

.split-grid .image img {
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.split-grid .text h2 {
  margin-bottom: 1.2rem;
}

.split-grid .text p {
  font-size: 1.05rem;
}

/* ---------- Dark section ---------- */
.dark {
  background: var(--navy);
  color: var(--cream);
}

.dark h2,
.dark h3 {
  color: var(--white);
}

.dark h4 {
  color: var(--gold-2);
}

.dark p {
  color: rgba(246, 242, 233, 0.88);
}

.dark blockquote {
  color: var(--white);
  border-left-color: var(--gold);
}

.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-top-color: var(--gold);
}

.dark .card h3 { color: var(--white); }
.dark .card p { color: rgba(246, 242, 233, 0.85); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  text-align: center;
}

.cta-banner .eyebrow {
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  margin-bottom: 1.6rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1.6rem;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.cta-banner .btn {
  padding: 0.95rem 1.8rem;
  font-size: 0.9rem;
}

/* ---------- Streams / list rows ---------- */
.stream {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.stream:last-child { border-bottom: none; }

.stream h3 {
  font-family: var(--serif);
  color: var(--navy);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.stream h3 .tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink-2);
}

.contact-info address strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.contact-principles {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
}

.contact-principles li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.contact-principles li:last-child { border-bottom: none; }

.contact-principles strong {
  color: var(--gold);
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.3rem;
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.contact-form h3 {
  margin-bottom: 0.6rem;
}

.contact-form p.form-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.form-field {
  margin-bottom: 1.2rem;
}

.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Editorial standards list ---------- */
.standards-list {
  list-style: none;
  padding: 0;
  counter-reset: standard;
}

.standards-list li {
  padding: 1.5rem 0 1.5rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  counter-increment: standard;
}

.standards-list li::before {
  content: "0" counter(standard);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 500;
}

.standards-list li:last-child { border-bottom: none; }

.standards-list h4 {
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.dark .standards-list h4 { color: var(--white); }
.dark .standards-list li { border-bottom-color: rgba(255,255,255,0.12); }

/* ---------- Regional list ---------- */
.region-strip {
  background: var(--navy);
  padding: 1.2rem 0;
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.region-strip span {
  color: var(--gold-2);
  margin: 0 0.8rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-2);
  color: rgba(246, 242, 233, 0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.3rem;
}

.footer-brand img {
  height: 40px;
  background: var(--white);
  padding: 4px 6px;
  border-radius: 2px;
}

.site-footer h4 {
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.site-footer p,
.site-footer address {
  color: rgba(246, 242, 233, 0.75);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(246, 242, 233, 0.85);
}

.site-footer a:hover { color: var(--gold-2); }

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(246, 242, 233, 0.55);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');
