/*
Theme Name: Fatima Belkobly — Cabinet d'Avocats
Theme URI: https://maitrebelkobly.com
Author: Just Media Agency
Author URI: https://justmedia.ma
Description: Thème professionnel pour le cabinet d'avocats Maître Fatima Belkobly. Entièrement personnalisable depuis le tableau de bord WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fatima-belkobly
Tags: law, legal, professional, french
*/

/* ── ROOT VARIABLES ── */
:root {
  --red: #C0272D;
  --red-light: #D4758A;
  --black: #1C1C1C;
  --black-dark: #111111;
  --dark: #F2F1EF;
  --dark2: #EAEAE7;
  --dark3: #E4E3E0;
  --dark4: #DCDCD8;
  --mid: #FFFFFF;
  --white: #1A1A18;
  --muted: #6B6460;
  --border: rgba(192,39,45,0.18);
  --border-solid: #D5D0C8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1 { font-family: 'DM Sans', -apple-system, sans-serif; font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
h2, h3, h4 { font-family: 'DM Sans', -apple-system, sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
em { font-style: italic; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 72px;
  transition: top .5s cubic-bezier(.22,1,.36,1), left .5s cubic-bezier(.22,1,.36,1),
              width .5s cubic-bezier(.22,1,.36,1), border-radius .5s, box-shadow .4s;
}
nav.nav-scrolled {
  top: 3px; left: 10%; width: 80%;
  border-radius: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 52px; width: auto; display: block; }
.footer-logo-img { height: 64px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 11px; font-weight: 500; color: #1A1A1A; text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; transition: color .3s; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--red); }
.nav-cta {
  background: var(--red); color: #ffffff; font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; padding: 10px 26px;
  border: 1px solid var(--red); cursor: pointer; transition: all .35s;
  font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--red-light); border-color: var(--red-light); color: #fff; }

/* ── HAMBURGER & MOBILE MENU ── */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: #1A1A1A; transition: transform .3s, opacity .3s; transform-origin: center; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 8px 20px 28px; z-index: 998; transform: translateY(-10px); opacity: 0; transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .25s; pointer-events: none; }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; margin-bottom: 20px; }
.mobile-menu ul li a { display: block; padding: 14px 0; font-size: 11px; font-weight: 500; color: #1A1A1A; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.06); transition: color .3s; }
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover, .mobile-menu ul li a.nav-active { color: var(--red); }
.mobile-menu-cta { display: block; width: 100%; text-align: center; background: var(--red); color: #ffffff; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 13px 20px; border: none; cursor: pointer; margin-top: 4px; text-decoration: none; }

/* ── SHARED ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 64px; }
.section-tag {
  font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.section-tag::before { content: ''; width: 32px; height: 1px; background: var(--red); }
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); margin: 28px 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--red);
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 13px 30px; border: 1px solid var(--red);
  cursor: pointer; transition: all .35s; text-decoration: none;
}
.btn-primary::after { content: '→'; transition: transform .35s; }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-primary:hover::after { transform: translateX(5px); }

.btn-submit {
  background: var(--red); color: #ffffff; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 16px 40px; border: none; cursor: pointer; transition: all .35s;
  margin-top: 12px; display: inline-flex; align-items: center; gap: 12px;
  width: 100%; justify-content: center;
}
.btn-submit::after { content: '→'; transition: transform .35s; }
.btn-submit:hover { background: var(--red-light); }
.btn-submit:hover::after { transform: translateX(5px); }

.btn-tel {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--black); color: #F5F3EE;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 13px 30px; border: 1px solid rgba(192,39,45,0.3);
  cursor: pointer; transition: all .35s; text-decoration: none;
}
.btn-tel:hover { border-color: var(--red); background: rgba(192,39,45,0.1); color: var(--red); }

/* ── HERO ── */
.hero { position: relative; width: 100%; height: 100vh; overflow: hidden; min-height: 600px; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #1A1A1A;
  animation: heroReveal 1.6s cubic-bezier(.22,1,.36,1) forwards, heroKenBurns 20s 1.6s ease infinite alternate;
  opacity: 0;
}
@keyframes heroReveal { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.06); } }
@keyframes heroKenBurns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.slide-tag  { opacity: 0; animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .7s forwards; }
.hero h1    { opacity: 0; animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) 1s forwards; }
.slide-text { opacity: 0; animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) 1.25s forwards; }
.btn-hero   { opacity: 0; animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) 1.5s forwards; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,5,5,0.94) 0%, rgba(25,10,10,0.65) 52%, rgba(30,15,15,0.12) 100%); }
.slide-overlay-bottom { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,3,3,0.75) 0%, transparent 50%); }
.slide-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); z-index: 5; }
.slide-tag { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.slide-tag::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.hero h1 { font-family: 'DM Sans', -apple-system, sans-serif; font-size: clamp(60px, 7.5vw, 112px); line-height: 1.04; font-weight: 600; color: #F5F3EE; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero h1 em { color: var(--red); font-style: italic; }
.slide-text { font-size: 16px; color: rgba(207,200,188,0.78); line-height: 1.8; max-width: 520px; font-weight: 300; margin-bottom: 32px; letter-spacing: 0.2px; }
.btn-hero { display: inline-flex; align-items: center; gap: 14px; background: transparent; color: #F5F3EE; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 14px 34px; border: 1px solid rgba(192,39,45,0.5); cursor: pointer; transition: all .35s; text-decoration: none; }
.btn-hero::after { content: '→'; transition: transform .35s; }
.btn-hero:hover { border-color: var(--red); background: rgba(192,39,45,0.1); color: var(--red); }
.btn-hero:hover::after { transform: translateX(6px); }
.hero-line { position: absolute; left: 0; bottom: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); z-index: 10; }

/* ── PAGE HERO ── */
.page-hero { padding: 160px 0 80px; background: #14100F; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(192,39,45,0.07)' stroke-width='0.5'%3E%3Crect x='0.5' y='0.5' width='59' height='59'/%3E%3C/g%3E%3C/svg%3E"); background-size: 60px 60px; position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(to right, transparent, var(--red), transparent); }
.page-hero-tag { font-size:10px; font-weight:500; letter-spacing:3px; text-transform:uppercase; color:var(--red); display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.page-hero-tag::before { content:''; width:32px; height:1px; background:var(--red); }
.page-hero h1 { font-family:'DM Sans',sans-serif; font-size:clamp(44px,6vw,82px); font-weight:600; color:#F5F3EE; line-height:1.06; letter-spacing:-0.02em; margin-bottom:20px; }
.page-hero h1 em { color:var(--red); font-style:italic; }
.page-hero-sub { font-size:16px; color:rgba(207,200,188,0.7); line-height:1.8; font-weight:300; max-width:560px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--dark2); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 44px 24px; text-align: center; border-right: 1px solid var(--border); opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.stat-item:last-child { border-right: none; }
.stat-item.is-visible { opacity: 1; transform: translateY(0); }
.stat-number { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 44px; font-weight: 300; color: var(--white); line-height: 1; }
.stat-number span { color: var(--red); }
.stat-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(60,50,45,0.5); margin-top: 10px; font-weight: 400; }

/* ── MAÎTRE ── */
.maitre { background: var(--dark2); padding: 110px 0; }
.maitre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.maitre-content { opacity: 0; transform: translateX(-36px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.maitre-content h2 { font-size: clamp(34px, 3.5vw, 52px); line-height: 1.15; color: var(--white); margin-bottom: 28px; }
.maitre-content h2 em { color: var(--red); font-style: italic; }
.maitre-content p { font-size: 14px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 18px; }
.maitre-list { list-style: none; padding: 0; margin-bottom: 24px; }
.maitre-list li { font-size: 14px; color: var(--muted); line-height: 1.85; font-weight: 300; padding-left: 18px; position: relative; margin-bottom: 4px; }
.maitre-list li::before { content: '▸'; position: absolute; left: 0; color: var(--red); }
.maitre-divider { width: 48px; height: 1px; background: var(--red); margin: 32px 0; }
.maitre-img-wrap { position: relative; opacity: 0; transform: translateX(36px); transition: opacity .85s cubic-bezier(.22,1,.36,1) .18s, transform .85s cubic-bezier(.22,1,.36,1) .18s; }
.maitre-img-frame { position: relative; border: 1px solid rgba(192,39,45,0.25); padding: 0; }
.maitre-img-frame::before { content: ''; position: absolute; top: -1px; left: -1px; width: 60px; height: 60px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.maitre-img-frame::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 60px; height: 60px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }
.maitre-img { width: 100%; height: auto; display: block; filter: grayscale(15%) contrast(1.05); }
.maitre-badge { position: absolute; bottom: 16px; left: -32px; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(192,39,45,0.3); padding: 20px 24px; min-width: 180px; animation: badgeFloat 4s ease-in-out infinite; }
.maitre-badge-num { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 36px; font-weight: 300; color: var(--red); line-height: 1; }
.maitre-badge-text { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 6px; font-weight: 400; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.maitre-content.mc-visible { opacity: 1; transform: none; }
.maitre-img-wrap.mc-visible { opacity: 1; transform: none; }

/* ── INTRO SECTION (À PROPOS) ── */
.intro-section { background: #ffffff; padding: 110px 0; }

/* ── HISTOIRE / TIMELINE ── */
.histoire { background: var(--dark3); padding: 110px 0 0; position: relative; overflow: hidden; }
.histoire::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.histoire::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.histoire-inner { position: relative; z-index: 2; }
.histoire-head { margin-bottom: 64px; max-width: 720px; }
.histoire-head h2 { font-size: clamp(36px, 4vw, 58px); color: var(--white); margin-bottom: 28px; }
.histoire-head h2 em { color: var(--red); font-style: italic; }
.histoire-intro { font-size: 14px; color: var(--muted); line-height: 1.85; font-weight: 300; }
.histoire-body { display: flex; flex-direction: column; gap: 56px; margin-bottom: 56px; }
.histoire-timeline { position: relative; padding: 8px 0; }
.histoire-timeline::before { content: ''; position: absolute; left: 5px; top: 18px; bottom: 10px; width: 1px; background: linear-gradient(to bottom, var(--red) 75%, rgba(192,39,45,0.08)); transform: scaleY(0); transform-origin: top center; transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1); }
.histoire-timeline.tl-ready::before { transform: scaleY(1); }
.timeline-item { display: flex; align-items: flex-start; padding-bottom: 56px; opacity: 0; transform: translateX(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item.tl-visible { opacity: 1; transform: none; }
.timeline-year { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 38px; color: var(--red); font-weight: 200; line-height: 1; display: block; margin-bottom: 10px; }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(192,39,45,0.18); flex-shrink: 0; margin-top: 14px; position: relative; z-index: 1; transition: box-shadow 0.4s; }
.timeline-item.tl-visible .timeline-dot { box-shadow: 0 0 0 8px rgba(192,39,45,0.10); }
.timeline-content { padding-left: 28px; flex: 1; display: flex; flex-direction: column; }
.timeline-content h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.timeline-content p { font-size: 13px; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ── VALUE CARDS ── */
.histoire-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(192,39,45,0.1); }
.value-card { background: var(--black); padding: 44px 36px; border-bottom: 2px solid transparent; opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s; }
.value-card.vc-visible { opacity: 1; transform: none; }
.value-card:hover { border-color: var(--red); }
.value-card-icon { width: 52px; height: 52px; border: 1px solid rgba(192,39,45,0.35); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.value-card-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.value-card h4 { font-size: 15px; font-weight: 600; color: #F5F3EE; margin-bottom: 12px; }
.value-card p { font-size: 13px; color: rgba(207,200,188,0.7); line-height: 1.7; font-weight: 300; }

/* ── EXPERTISES ── */
.expertises { background: #ffffff; padding: 110px 0; }
.expertises-related { position: relative; }
.expertises-related::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(192,39,45,0.35), transparent); }
.expertises-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.expertises-header h2 { font-size: clamp(36px, 4vw, 56px); color: var(--white); }
.expertises-header h2 em { color: var(--red); font-style: italic; }
.expertises-intro { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-top: 20px; }
.expertises-cta { display: flex; justify-content: flex-end; align-items: flex-end; }
.carousel-wrapper { position: relative; }
.carousel-clip { overflow: hidden; position: relative; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(192,39,45,0.4); background: rgba(255,255,255,0.92); color: var(--red); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; backdrop-filter: blur(4px); }
.carousel-arrow:hover { background: rgba(192,39,45,0.1); border-color: var(--red); }
.carousel-arrow-prev { left: -22px; }
.carousel-arrow-next { right: -22px; }
.expertises-grid { display: flex; gap: 20px; will-change: transform; }
.expertise-card { flex-shrink: 0; background: var(--dark2); border: 1px solid var(--border-solid); border-bottom: 2px solid transparent; transition: border-color .4s, background .4s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.expertise-card:hover { background: var(--dark3); border-bottom-color: var(--red); }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.carousel-dot { height: 3px; width: 24px; border-radius: 2px; background: rgba(192,39,45,0.2); border: none; padding: 0; cursor: pointer; transition: background .35s, width .35s; }
.carousel-dot.is-active { background: var(--red); width: 44px; }
.expertise-img { height: 200px; position: relative; flex-shrink: 0; overflow: hidden; background: #111; }
.expertise-bg-svg { width: 100%; height: 100%; display: block; }
.expertise-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.25)); }
.expertise-icon { position: absolute; bottom: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; background: rgba(10,5,5,0.75); border: 1px solid rgba(192,39,45,0.45); display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.expertise-icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.expertise-card:hover .expertise-icon { border-color: var(--red); }
.expertise-body { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.expertise-num { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 11px; color: var(--red); font-weight: 300; opacity: 0.7; margin-bottom: 14px; display: block; letter-spacing: 1px; }
.expertise-name { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 10px; line-height: 1.25; }
.expertise-desc { font-size: 12px; color: rgba(60,50,45,0.55); line-height: 1.75; font-weight: 300; }
.expertise-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: gap .3s; margin-top: auto; padding-top: 18px; }
.expertise-link::after { content: '→'; }
.expertise-link:hover { gap: 14px; }
/* Whole card is clickable: the link is stretched over the card via ::before. */
.expertise-card .expertise-link::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.expertise-card:focus-within { border-bottom-color: var(--red); }

/* ── EXPERTISES PAGE GRID ── */
.expertises-page { background: var(--dark2); padding: 110px 0; }
.expertises-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-full-card { background: #ffffff; border: 1px solid var(--border-solid); border-bottom: 2px solid transparent; padding: 48px 40px; display: flex; flex-direction: column; opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), border-color .3s; }
.expertise-full-card.ec-visible { opacity: 1; transform: none; }
.expertise-full-card:hover { border-bottom-color: var(--red); }
.expertise-full-card .expertise-icon-lg { width: 64px; height: 64px; border: 1px solid rgba(192,39,45,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.expertise-full-card .expertise-icon-lg svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.expertise-full-card h3 { font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.expertise-full-card p { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.expertise-full-card ul { list-style: none; padding: 0; margin-bottom: 24px; }
.expertise-full-card ul li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; margin-bottom: 6px; line-height: 1.6; font-weight: 300; }
.expertise-full-card ul li::before { content: '▸'; position: absolute; left: 0; color: var(--red); font-size: 10px; top: 3px; }
.expertise-full-card .expertise-lead { font-size: 14px; color: var(--white); font-weight: 400; line-height: 1.75; margin-bottom: 20px; border-left: 2px solid var(--red); padding-left: 16px; }
.expertise-full-card .expertise-link { width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-solid); }

/* ── QUOTE BANNER ── */
.quote-banner { background: var(--black-dark); padding: 80px 0; position: relative; overflow: hidden; }
.quote-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(192,39,45,0.5), transparent); }
.quote-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(192,39,45,0.5), transparent); }
.quote-banner-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.quote-mark { font-family: 'DM Sans', -apple-system, sans-serif; font-size: 96px; line-height: 0.6; color: var(--red); opacity: 0.35; font-weight: 700; margin-bottom: 28px; user-select: none; }
.quote-text { font-family: 'DM Sans', -apple-system, sans-serif; font-size: clamp(22px, 2.8vw, 36px); font-weight: 300; font-style: italic; color: #F5F3EE; line-height: 1.5; max-width: 820px; letter-spacing: -0.01em; opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.quote-text em { color: var(--red); font-style: italic; }
.quote-text.qt-visible { opacity: 1; transform: none; }
.quote-divider { width: 40px; height: 1px; background: var(--red); margin: 32px auto; }
.quote-attribution { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(192,39,45,0.7); font-weight: 500; opacity: 0; transition: opacity .8s .25s; }
.quote-attribution.qt-visible { opacity: 1; }

/* ── BLOG ── */
section.blog { background: var(--dark2); padding: 110px 0; position: relative; overflow: hidden; }
section.blog::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.blog-header h2 { font-size: clamp(34px, 3.8vw, 54px); color: var(--white); }
.blog-header h2 em { color: var(--red); font-style: italic; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #ffffff; border: 1px solid var(--border-solid); border-bottom: 2px solid transparent; display: flex; flex-direction: column; opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s; }
.blog-card.bc-visible { opacity: 1; transform: none; }
.blog-card:nth-child(2) { transition-delay: .1s; }
.blog-card:nth-child(3) { transition-delay: .2s; }
.blog-card:hover { border-bottom-color: var(--red); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.blog-card-img { height: 200px; position: relative; overflow: hidden; background: #111; flex-shrink: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img svg { width: 100%; height: 100%; display: block; }
.blog-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.22)); }
.blog-card-tag { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--red); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; }
.blog-card-body { padding: 28px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 400; }
.blog-card-title { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.01em; }
.blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.75; font-weight: 300; flex: 1; }
.blog-card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: gap .3s; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-solid); }
.blog-card-link::after { content: '→'; }
.blog-card-link:hover { gap: 14px; }

/* ── CONTACT ── */
.contact { background: #ffffff; padding: 110px 0; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-left h2 { font-size: clamp(36px, 4vw, 54px); color: var(--white); margin-bottom: 20px; }
.contact-left h2 em { color: var(--red); font-style: italic; }
.contact-sub { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 48px; max-width: 400px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-item svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 1.5; margin-top: 2px; flex-shrink: 0; }
.contact-info-item span { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(60,50,45,0.55); }
.form-group input, .form-group select, .form-group textarea { background: var(--dark); border: 1px solid var(--border-solid); color: var(--white); padding: 14px 18px; font-family: 'Inter', sans-serif; font-size: 13px; outline: none; transition: border-color .3s, box-shadow .3s; width: 100%; box-shadow: inset 0 1px 3px rgba(0,0,0,0.04); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(60,50,45,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,39,45,0.08); }
.select-wrapper { position: relative; display: block; }
.select-wrapper::after { content: ''; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 10px; height: 6px; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C0272D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; transition: transform .25s; }
.select-wrapper:focus-within::after { transform: translateY(-50%) rotate(180deg); }
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.form-group select option { background: var(--mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; margin-bottom: 4px; }
.form-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--border-solid); background: var(--dark); flex-shrink: 0; margin-top: 2px; cursor: pointer; transition: border-color .25s, background .25s; position: relative; }
.form-consent input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.form-consent input[type="checkbox"]:checked::after { content: ''; position: absolute; left: 4px; top: 1px; width: 6px; height: 9px; border: 1.5px solid #fff; border-top: none; border-left: none; transform: rotate(45deg); }
.form-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.form-consent-text { font-size: 11px; color: var(--muted); line-height: 1.65; font-weight: 300; }
.form-consent-text a { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(192,39,45,0.3); transition: border-color .25s; }
.form-consent-text a:hover { border-color: var(--red); }
.contact-form { background: var(--dark2); border: 1px solid var(--border-solid); padding: 48px; box-shadow: 0 32px 80px rgba(0,0,0,0.12); }

/* ── CTA SECTION ── */
.cta-section { background: #ffffff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.cta-section h2 { font-size: clamp(32px, 4vw, 54px); color: var(--white); margin-bottom: 20px; }
.cta-section h2 em { color: var(--red); font-style: italic; }
.cta-section p { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; max-width: 520px; margin: 0 auto 40px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #ffffff; border-top: 1px solid rgba(0,0,0,0.08); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 60px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-desc { font-size: 13px; color: rgba(26,26,26,0.55); line-height: 1.8; font-weight: 300; max-width: 280px; }
.footer-col h5 { font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(26,26,26,0.5); margin-bottom: 24px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links li a { font-size: 13px; color: rgba(26,26,26,0.55); text-decoration: none; transition: color .3s; font-weight: 300; }
.footer-links li a:hover { color: var(--red); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--red); fill: none; stroke-width: 1.5; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 12px; color: rgba(26,26,26,0.55); line-height: 1.55; font-weight: 300; }
.footer-map-wrap { margin: 0 -64px; border-top: 1px solid rgba(0,0,0,0.08); overflow: hidden; filter: grayscale(1) contrast(1.05); }
.footer-map-wrap iframe { display: block; width: 100%; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 11px; color: rgba(26,26,26,0.4); font-weight: 300; letter-spacing: 0.5px; }
.footer-bottom span { color: var(--red); }

/* ── FAB ── */
.fab-contact { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-toggle { width: 58px; height: 58px; border-radius: 50%; background: var(--red); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(192,39,45,0.45), 0 2px 8px rgba(0,0,0,0.2); transition: transform .25s, box-shadow .25s; color: #ffffff; flex-shrink: 0; position: relative; }
.fab-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(192,39,45,0.6); }
.fab-toggle svg { width: 24px; height: 24px; position: absolute; transition: opacity .2s, transform .2s; }
.fab-icon-close { opacity: 0; transform: rotate(-90deg); }
.fab-icon-phone { opacity: 1; transform: rotate(0deg); }
.fab-contact.fab-open .fab-icon-close { opacity: 1; transform: rotate(0deg); }
.fab-contact.fab-open .fab-icon-phone { opacity: 0; transform: rotate(90deg); }
.fab-contact.fab-open .fab-toggle { background: var(--black); color: var(--red); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.fab-child { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 32px; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; box-shadow: 0 3px 14px rgba(0,0,0,0.18); opacity: 0; transform: translateY(12px) scale(0.92); pointer-events: none; transition: opacity .22s, transform .22s, box-shadow .2s; white-space: nowrap; }
.fab-child svg { width: 20px; height: 20px; flex-shrink: 0; }
.fab-call { background: var(--black); color: #ffffff; border: 1px solid rgba(192,39,45,0.3); }
.fab-call:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.35); }
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-whatsapp:hover { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
.fab-contact.fab-open .fab-child { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-contact.fab-open .fab-whatsapp { transition-delay: 0s; }
.fab-contact.fab-open .fab-call { transition-delay: 0.07s; }

/* ── SINGLE POST ── */
.single-post-hero { padding: 140px 0 60px; background: #14100F; position: relative; }
.single-post-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.single-post-meta { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(192,39,45,0.7); margin-bottom: 20px; font-weight: 500; }
.single-post-title { font-size: clamp(32px, 5vw, 64px); color: #F5F3EE; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; max-width: 800px; }
.single-post-content { background: #ffffff; padding: 80px 0 110px; }
.single-post-content .container { max-width: 840px; }
.single-post-content h2 { font-size: 28px; color: var(--white); margin: 40px 0 16px; }
.single-post-content h3 { font-size: 22px; color: var(--white); margin: 32px 0 12px; }
.single-post-content p { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 20px; font-weight: 300; }
.single-post-content ul, .single-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-post-content li { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .container { padding: 0 32px; }
  .maitre-grid { grid-template-columns: 1fr; gap: 56px; }
  .maitre-img-wrap { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .maitre-badge { left: 16px; }
  .histoire-values { grid-template-columns: repeat(2, 1fr); }
  .expertises-header { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-map-wrap { margin: 0 -32px; }
  .expertises-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  nav.nav-scrolled { top: 0; left: 0; width: 100%; border-radius: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .container { padding: 0 20px; }
  .maitre, .histoire, .expertises, .contact, .intro-section, .expertises-page { padding: 70px 0; }
  .histoire { padding-bottom: 0; }
  .quote-banner { padding: 56px 0; }
  footer { padding: 56px 0 0; }
  .slide-content { left: 5%; max-width: 90%; }
  .hero h1 { font-size: clamp(36px, 9vw, 64px); }
  .slide-text { font-size: 14px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 16px; }
  .stat-number { font-size: 36px; }
  .timeline-year { font-size: 28px; }
  .histoire-values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-map-wrap { margin: 0 -20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .maitre-img-wrap { max-width: 360px; }
  .maitre-badge { display: none; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .expertises-full-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons a { text-align: center; justify-content: center; }
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(30px, 8vw, 52px); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 12px; }
  .histoire-values { grid-template-columns: 1fr; }
  .timeline-year { font-size: 22px; }
  .value-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 20px 16px; }
  .fab-contact { bottom: 18px; right: 16px; }
  .fab-toggle { width: 52px; height: 52px; }
}

/* ── CONTACT FORM 7 — FULL SKIN ── */

.wpcf7 { width: 100%; }

/* CF7's own stylesheet is deregistered in functions.php, so these structural
   resets it normally provides have to live here. Without them the validation
   error list renders as visible bullets and the hidden-input <fieldset> shows
   the browser's default groove border above the first row.
   Values copied from contact-form-7/includes/css/styles.css. */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
  word-break: normal !important;
}
.wpcf7 .hidden-fields-container { display: none; }

/* Remove CF7 paragraph margins */
.wpcf7-form p { margin: 0 0 20px; padding: 0; }
.wpcf7-form p:last-of-type { margin-bottom: 0; }

/* Two-column rows */
.fb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.fb-form-col { display: flex; flex-direction: column; min-width: 0; }
.fb-form-col p { margin-bottom: 0; }
@media (max-width: 600px) { .fb-form-row { grid-template-columns: 1fr; } }

/* Span wrappers fill width */
.wpcf7-form-control-wrap { display: block; width: 100%; }

/* ── INPUTS / SELECT / TEXTAREA ──
   Using attribute selectors + type selectors for maximum specificity
   without relying on !important chains */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="number"],
.wpcf7 form select,
.wpcf7 form textarea {
  display: block;
  width: 100%;
  background: #F2F1EF;
  border: 1px solid #D5D0C8;
  color: #1A1A18;
  padding: 14px 18px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  border-color: #C0272D;
  box-shadow: 0 0 0 3px rgba(192,39,45,0.08);
  outline: none;
}

.wpcf7 form input[type="text"]::placeholder,
.wpcf7 form input[type="email"]::placeholder,
.wpcf7 form input[type="tel"]::placeholder,
.wpcf7 form textarea::placeholder { color: rgba(60,50,45,0.35); }

/* Select arrow */
.wpcf7 form select {
  cursor: pointer;
  padding-right: 44px;
  background-color: #F2F1EF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C0272D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 10px 6px;
  color: rgba(60,50,45,0.55);
}
.wpcf7 form select option { background: #fff; color: #1A1A18; }

/* Textarea */
.wpcf7 form textarea { resize: vertical; min-height: 140px; }

/* ── CHECKBOX / CONSENT ── */
.wpcf7 form .wpcf7-acceptance { margin: 0 0 16px; }
.wpcf7 form .wpcf7-acceptance p { margin: 0; }
.wpcf7 form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wpcf7 form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.wpcf7 form .wpcf7-acceptance input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #D5D0C8;
  background: #F2F1EF;
  margin: 3px 0 0 0;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  flex-shrink: 0;
  box-shadow: none;
  transition: border-color .25s, background .25s;
}
.wpcf7 form .wpcf7-acceptance input[type="checkbox"]:checked {
  background: #C0272D;
  border-color: #C0272D;
}
.wpcf7 form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 9px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.wpcf7 form .wpcf7-list-item-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #6B6460;
  line-height: 1.65;
  font-weight: 300;
}

/* ── SUBMIT BUTTON ── */
.wpcf7 form input[type="submit"] {
  display: block;
  width: 100%;
  background: #C0272D;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin-top: 12px;
  transition: background .35s;
}
.wpcf7 form input[type="submit"]:hover { background: #D4758A; }
.wpcf7 form input[type="submit"]:disabled { opacity: .65; cursor: not-allowed; }

/* ── RESPONSE OUTPUT ── */
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: none;
  border-left: 3px solid #C0272D;
  background: rgba(192,39,45,0.06);
  color: #1A1A18;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-left-color: #C0272D; color: #1A1A18; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-left-color: #C0272D; color: #C0272D; }

/* ── VALIDATION ── */
.wpcf7-not-valid-tip {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #C0272D;
  margin-top: 5px;
  font-weight: 400;
}
.wpcf7 form input.wpcf7-not-valid,
.wpcf7 form select.wpcf7-not-valid,
.wpcf7 form textarea.wpcf7-not-valid { border-color: #C0272D; }

/* Hide CF7 spinner */
.wpcf7-spinner { display: none; }

/* ── SINGLE EXPERTISE ── */
.expertise-single-hero { background: #14100F; padding: 140px 0 80px; position: relative; overflow: hidden; }
.expertise-single-hero.has-hero-media .container { position: relative; z-index: 1; }
.expertise-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.expertise-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.expertise-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,16,15,0.82) 0%, rgba(20,16,15,0.68) 35%, rgba(20,16,15,0.48) 62%, rgba(20,16,15,0.30) 100%), linear-gradient(to top, rgba(20,16,15,0.60) 0%, rgba(20,16,15,0) 45%); }
.expertise-single-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--red), transparent); }
.expertise-single-hero-tag { font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.expertise-single-hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--red); }
.expertise-single-hero h1 { font-size: clamp(42px, 6vw, 80px); color: #F5F3EE; font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 24px; }
.expertise-single-hero-icon { width: 64px; height: 64px; border: 1px solid rgba(192,39,45,0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.expertise-single-hero-icon svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.expertise-single-excerpt { font-size: 16px; color: rgba(207,200,188,0.75); line-height: 1.8; font-weight: 300; max-width: 640px; }
.expertise-single-body { background: #ffffff; padding: 100px 0; }
.expertise-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.expertise-single-content p { font-size: 15px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }
.expertise-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.expertise-sidebar-box { background: var(--dark2); border: 1px solid var(--border-solid); padding: 32px; }
.expertise-sidebar-box h4 { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.expertise-sidebar-box ul { list-style: none; padding: 0; margin: 0 0 24px; }
.expertise-sidebar-box ul li { font-size: 13px; color: var(--muted); padding: 8px 0 8px 18px; position: relative; border-bottom: 1px solid var(--border-solid); font-weight: 300; line-height: 1.5; }
.expertise-sidebar-box ul li:last-child { border-bottom: none; }
.expertise-sidebar-box ul li::before { content: '▸'; position: absolute; left: 0; color: var(--red); font-size: 10px; top: 10px; }
.expertise-nav { background: var(--dark2); border-top: 1px solid var(--border-solid); padding: 40px 0; }
.expertise-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.expertise-nav-item { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 20px 24px; border: 1px solid var(--border-solid); background: #fff; transition: border-color .3s, box-shadow .3s; }
.expertise-nav-item:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.expertise-nav-item.next { flex-direction: row-reverse; text-align: right; }
.expertise-nav-arrow { font-size: 22px; color: var(--red); flex-shrink: 0; }
.expertise-nav-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.expertise-nav-title { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.3; }
@media (max-width: 1024px) { .expertise-single-grid { grid-template-columns: 1fr; gap: 48px; } .expertise-sidebar { position: static; } }
@media (max-width: 768px) { .expertise-single-hero { padding: 120px 0 60px; } .expertise-single-body { padding: 60px 0; } .expertise-nav-grid { grid-template-columns: 1fr; }
  .expertise-hero-media::after { background: linear-gradient(to bottom, rgba(20,16,15,0.70) 0%, rgba(20,16,15,0.78) 100%); } }

/* ── WP ADMIN BAR OFFSET ── */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar nav { top: 46px; }
}
