/* ============================================================
   Corentin B Photographie — style.css?v=1
   Dark #0d1117 | Orange #f97316 | Sports Energy
   ============================================================ */

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

:root {
  --bg:       #0d1117;
  --bg2:      #161b22;
  --bg3:      #1c2330;
  --orange:   #f97316;
  --orange2:  #ea6c0a;
  --text:     #e6edf3;
  --muted:    #8b949e;
  --border:   #30363d;
  --white:    #ffffff;
  --font:     'Inter', 'Segoe UI', Arial, sans-serif;
  --font-h:   'Bebas Neue', 'Anton', Impact, sans-serif;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange2); }

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

h1, h2, h3, h4 {
  font-family: var(--font-h);
  letter-spacing: .04em;
  line-height: 1.1;
  color: var(--white);
}

/* ---------- TYPOGRAPHY SCALE ---------- */
.text-xs  { font-size: .75rem; }
.text-sm  { font-size: .875rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }
.text-5xl { font-size: 3.5rem; }
.text-6xl { font-size: 5rem; }

.font-h   { font-family: var(--font-h); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(249,115,22,.1);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: .5rem 1.25rem !important;
}

.nav-cta:hover {
  background: var(--orange2) !important;
  color: var(--bg) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ---------- HERO — VIDEO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,.88) 0%, rgba(30,20,10,.45) 50%, rgba(13,17,23,.92) 100%);
  z-index: 1;
}

.hero-video {
  background-color: #0d1117;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: .45;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 68px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.35);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.hero-title span { color: var(--orange); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(230,237,243,.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.hero-stat-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

/* Hero — image fallback */
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-sport.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: .45;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--orange2);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .8rem;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-title span { color: var(--orange); }

.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 1rem auto 0;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  border-color: var(--orange);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-tag {
  display: inline-block;
  background: rgba(249,115,22,.15);
  color: var(--orange);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.card-text {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ---------- PORTFOLIO GRID ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.portfolio-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-label {
  font-family: var(--font-h);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}

/* ---------- TWO-COL FEATURE ---------- */
.feature-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-2col.reverse .feature-img { order: 2; }
.feature-2col.reverse .feature-text { order: 1; }

.feature-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  border: 3px solid var(--orange);
  border-radius: var(--radius);
}

.feature-text-tag {
  display: inline-block;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.feature-text h2 span { color: var(--orange); }

.feature-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--muted);
}

.feature-list li::before {
  content: '▸';
  color: var(--orange);
  font-size: .85rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

/* ---------- BANNER / CSS BG ---------- */
.banner-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('/images/press-sport.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,17,23,.92) 0%, rgba(13,17,23,.6) 60%, rgba(13,17,23,.3) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.banner-content h2 span { color: var(--orange); }

.banner-content p {
  color: rgba(230,237,243,.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---------- BLOG CARDS ---------- */
.blog-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  border-color: var(--orange);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: .75rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: .65rem;
  color: var(--white);
  line-height: 1.3;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-title a:hover { color: var(--orange); }

.blog-card-excerpt {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.blog-card-link:hover { gap: .7rem; }

/* ---------- ARTICLE PAGE ---------- */
.article-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,23,.2) 0%, rgba(13,17,23,.8) 100%);
}

.article-hero-content {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 2;
}

.article-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}

.article-body h3 {
  font-size: 1.35rem;
  margin: 2rem 0 .75rem;
  color: var(--orange);
}

.article-body p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body strong { color: var(--text); }

.article-body img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  font-size: .875rem;
  color: var(--muted);
}

.article-meta-author {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-weight: 600;
}

.article-tag-pill {
  display: inline-block;
  background: rgba(249,115,22,.15);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-control {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .2s;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
}

textarea.form-control { resize: vertical; min-height: 150px; }

/* ---------- INFO BOXES ---------- */
.info-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.info-box h4 {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.info-box p, .info-box a {
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1rem;
}

.stat-num {
  font-family: var(--font-h);
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .35rem;
  display: block;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

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

.footer-brand img {
  height: 38px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h5 {
  font-family: var(--font-h);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.footer-col ul li a {
  color: var(--muted);
  font-size: .875rem;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-tag {
  display: inline-block;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.page-header h1 span { color: var(--orange); }

.page-header p {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--orange); }

/* ---------- TAGS ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.tag {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .75rem;
  padding: .25rem .65rem;
  border-radius: 3px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-h);
  font-size: 5rem;
  color: var(--orange);
  opacity: .15;
  line-height: 1;
}

.testimonial-text {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: .875rem;
  color: var(--text);
}

.testimonial-role {
  font-size: .8rem;
  color: var(--orange);
}

/* ---------- SERVICES ---------- */
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .25s, transform .25s;
}

.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.service-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-family: var(--font-h);
  font-size: 10rem;
  color: var(--orange);
  opacity: .15;
  line-height: 1;
  display: block;
}

.error-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.error-text {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ---------- SITEMAP ---------- */
.sitemap-section h3 {
  color: var(--orange);
  font-size: 1.2rem;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
}

.sitemap-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.sitemap-section ul li a {
  color: var(--muted);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.sitemap-section ul li a:hover { color: var(--orange); }

.sitemap-section ul li a::before {
  content: '→';
  color: var(--orange);
  font-size: .75rem;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(249,115,22,.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section h2 span { color: var(--orange); }

.cta-section p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ---------- GALLERY MASONRY HINT ---------- */
.gallery-grid {
  columns: 3;
  column-gap: .75rem;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: .75rem;
  border-radius: var(--radius);
  break-inside: avoid;
  transition: opacity .25s;
}

.gallery-grid img:hover { opacity: .85; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-2col { gap: 2.5rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 2fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(13,17,23,.97); padding: 1.5rem; gap: .5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none !important; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .feature-2col { grid-template-columns: 1fr; gap: 2rem; }
  .feature-2col.reverse .feature-img { order: 0; }
  .feature-2col.reverse .feature-text { order: 0; }
  .feature-img img { height: 280px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.tall { grid-row: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .banner-section { background-attachment: scroll; }

  .gallery-grid { columns: 2; }

  .article-hero { height: 300px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 3rem; }
}
