:root {
  /* Palette solaire — orange chaud + ivoire + ardoise douce */
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fb923c;
  --white: #ffffff;

  /* Fonds lumineux */
  --cream: #faf8f4;
  --cream-2: #f4ede1;
  --slate-50: #f7f4ef;
  --slate-100: #ede8df;
  --slate-200: #d9d0c4;

  /* Texte */
  --slate-900: #1e1a14;

  /* Zones sombres : bleu ardoise chaud (pas noir pur) */
  --slate-950: #1f2d3d;
  --dark-warm: #1f2d3d;
  --dark-grad-end: #2a3c50;

  --navy: #1f2d3d;
  --banner-height: 58px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--slate-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

body.home {
  padding-top: var(--banner-height);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2rem 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home .site-header {
  top: var(--banner-height);
}

.site-header.scrolled,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
  padding: 1.5rem 3rem;
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 1002;
}

.logo img,
.custom-logo {
  height: 50px;
  width: auto;
  transition: all 0.3s;
}

body.home .logo img,
body.home .custom-logo {
  filter: brightness(0) invert(1);
}

body.home .site-header.scrolled .logo img,
body.home .site-header.scrolled .custom-logo,
body:not(.home) .logo img,
body:not(.home) .custom-logo {
  filter: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

body.home .nav-links a {
  color: var(--white);
}

body:not(.home) .nav-links a,
.site-header.scrolled .nav-links a {
  color: var(--slate-900);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.mobile-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1002;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  position: absolute;
  left: 3px;
  transition: all 0.3s;
}

body.home .mobile-menu-btn span {
  background: var(--white);
}

body:not(.home) .mobile-menu-btn span,
.site-header.scrolled .mobile-menu-btn span {
  background: var(--slate-900);
}

.mobile-menu-btn span:nth-child(1) {
  top: 8px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 15px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 22px;
}

.mobile-menu-btn.active span {
  background: var(--white) !important;
}

.mobile-menu-btn.active span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #1f2d3d;
  padding: 8rem 2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu a {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.lead-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  min-height: var(--banner-height);
  background: rgba(31, 45, 61, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-banner-inner {
  max-width: 1600px;
  margin: 0 auto;
  min-height: var(--banner-height);
  padding: 0.7rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lead-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.lead-banner a {
  flex-shrink: 0;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.22);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-content {
  position: relative;
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.hero h1,
.section-title,
.company-text h2,
.careers-text h2,
.contact-wrapper h2,
.cta-section h2,
.page-hero h1,
.generic-title,
.single-post-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: var(--orange);
  display: block;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-button,
.careers-cta,
button[type="submit"] {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  padding: 1.2rem 3rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  border: none;
}

.stats {
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  padding: 6rem 3rem;
  color: var(--white);
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--slate-100);
  font-weight: 300;
}

.lead-strip,
.priority-services,
.news-section,
.services,
.company,
.careers,
.testimonials,
.contact,
.projects,
.form-section,
.editorial-wrapper,
.news-archive-section,
.generic-page,
.single-post-layout,
.partners,
.cta-section {
  padding: 6rem 3rem;
}

.stats {
  padding: 5rem 3rem;
}

.lead-strip {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.services,
.priority-services,
.news-section,
.company,
.careers,
.testimonials,
.contact {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.news-section {
  background: var(--cream);
}

.priority-services {
  background: var(--white);
}

.company {
  background: var(--white);
}

.lead-strip-inner,
.company-content,
.careers-content,
.page-hero.contact-page-hero .hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.lead-main,
.lead-side,
.priority-card,
.news-card,
.project-card,
.testimonial-card,
.editorial-card,
.post-card,
.contact-wrapper,
.generic-page-inner,
.single-post-inner,
.company-image,
.team-member,
.service-card,
.exit-popup-card {
  border-radius: 28px;
}

.lead-main {
  padding: 2rem;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.22), transparent 32%), linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  box-shadow: 0 20px 60px rgba(31, 45, 61, 0.18);
}

.lead-main h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.lead-main p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
  line-height: 1.7;
}

.lead-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.lead-point {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.conversion-point,
.rgpd-notice {
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: var(--slate-50);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.lead-actions,
.contact-buttons,
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lead-side {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.07);
}

.lead-side h3,
.partners-header h2,
.project-title,
.news-card-main h3,
.news-card-secondary h3,
.editorial-card h3,
.footer-section h4,
.contact-info-item h3,
.page-hero .subtitle,
.post-card h3,
.service-category,
.project-badge,
.eyebrow,
.news-tag,
.post-meta-line {
  font-family: 'Manrope', sans-serif;
}

.lead-side h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.08;
}

.lead-side ul,
.editorial-card ul,
.footer-section ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.lead-side li,
.editorial-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(15, 23, 42, 0.82);
}

.lead-side li::before,
.editorial-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.section-header {
  max-width: 1400px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--slate-950);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1rem;
}

.partners {
  background: var(--white);
  overflow: hidden;
}

.partners-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

.partners-slider {
  overflow: hidden;
  padding: 2.5rem 0;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 32s linear infinite;
  will-change: transform;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-shrink: 0;
  padding-right: 5rem;
}

.partner-logo {
  flex-shrink: 0;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: partners-scroll 24s linear infinite;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-shrink: 0;
}

@keyframes partners-scroll-dup {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.priority-grid,
.news-grid,
.services-grid,
.testimonials-grid,
.projects-grid,
.post-grid,
.conversion-points,
.team-grid,
.contact-info-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.priority-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.priority-card,
.news-card,
.post-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.priority-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

.priority-card,
.news-card-secondary,
.post-card-inner,
.editorial-card,
.project-info,
.testimonial-card,
.contact-wrapper,
.generic-page-inner,
.single-post-inner,
.news-card-main {
  padding: 1.6rem;
}

.priority-card h3,
.news-card-secondary h3,
.post-card h3,
.project-title,
.editorial-card h3 {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.news-card-main {
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
}

.news-card-main h3 {
  font-size: 2rem;
}

.news-tag,
.post-meta-line,
.page-hero .subtitle,
.eyebrow,
.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.news-card-main .news-tag,
.page-hero .subtitle,
.eyebrow {
  background: rgba(249, 115, 22, 0.18);
  color: #ffd4b2;
}

.news-card-secondary .news-tag,
.post-meta-line {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
}

.post-card-featured {
  min-height: 100%;
}

.post-card-featured p,
.post-card .post-card-inner p {
  color: rgba(15, 23, 42, 0.78);
}

.news-card-main.post-card-featured p {
  color: rgba(255, 255, 255, 0.82);
}

.services {
  background: var(--cream);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.service-card {
  position: relative;
  height: 550px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  inset: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-list {
  max-height: 320px;
}

.service-category {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card[data-category="renovation-ext"] .service-overlay {
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.2) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.service-card[data-category="renovation-int"] .service-overlay {
  background: linear-gradient(to bottom, rgba(91, 33, 182, 0.2) 0%, rgba(91, 33, 182, 0.95) 100%);
}

.service-card[data-category="chauffage"] .service-overlay {
  background: linear-gradient(to bottom, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.95) 100%);
}

.service-card[data-category="fermetures"] .service-overlay {
  background: linear-gradient(to bottom, rgba(5, 150, 105, 0.2) 0%, rgba(5, 150, 105, 0.95) 100%);
}

.service-card[data-category="electricite"] .service-overlay {
  background: linear-gradient(to bottom, rgba(8, 145, 178, 0.2) 0%, rgba(8, 145, 178, 0.95) 100%);
}

.service-card[data-category="amenagement"] .service-overlay {
  background: linear-gradient(to bottom, rgba(244, 63, 94, 0.2) 0%, rgba(244, 63, 94, 0.95) 100%);
}

.service-card[data-category="renovation-ext"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.35) 0%, rgba(30, 41, 59, 0.98) 100%);
}

.service-card[data-category="renovation-int"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(91, 33, 182, 0.35) 0%, rgba(91, 33, 182, 0.98) 100%);
}

.service-card[data-category="chauffage"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(249, 115, 22, 0.35) 0%, rgba(249, 115, 22, 0.98) 100%);
}

.service-card[data-category="fermetures"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(5, 150, 105, 0.35) 0%, rgba(5, 150, 105, 0.98) 100%);
}

.service-card[data-category="electricite"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(8, 145, 178, 0.35) 0%, rgba(8, 145, 178, 0.98) 100%);
}

.service-card[data-category="amenagement"]:hover .service-overlay {
  background: linear-gradient(to bottom, rgba(244, 63, 94, 0.35) 0%, rgba(244, 63, 94, 0.98) 100%);
}

.company {
  background: var(--white);
}

.company-content,
.careers-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.company-text h2,
.careers-text h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.company-text p,
.careers-text p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: rgba(15, 23, 42, 0.82);
}

.company-image {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.company-image img,
.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 20px;
}

.company-badge-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}

.careers {
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
}

.careers .careers-text p {
  color: rgba(255, 255, 255, 0.88);
}

.careers-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.team-grid {
  grid-template-columns: 1fr 1fr;
}

.team-member {
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-member img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover img {
  transform: scale(1.05);
}

.testimonials {
  background: var(--cream);
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stars {
  color: var(--orange);
  margin-bottom: 1rem;
}

.contact {
  background: var(--cream-2);
}

.contact-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
}

.contact-wrapper h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.contact-wrapper>p {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(15, 23, 42, 0.82);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

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

.contact-btn-secondary {
  background: var(--white);
  color: var(--slate-950);
  border: 2px solid var(--slate-200);
}

.contact-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  text-align: left;
}

.contact-info-item a,
.priority-card a,
.news-link,
.project-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
}

.page-hero {
  padding: 12rem 3rem 6rem;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.contact-page-hero {
  text-align: left;
}

.contact-page-hero .hero-content {
  min-height: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badges span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.contact-info-list {
  display: grid;
  gap: 1.25rem;
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.conversion-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

form {
  display: grid;
  gap: 1.2rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--slate-200);
  border-radius: 14px;
  background: var(--slate-50);
  font: inherit;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 0.15rem;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 6px;
  background: var(--white);
  accent-color: var(--orange);
}

.form-checkbox label {
  font-size: 0.92rem;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  width: auto;
}

.page-realisations .page-hero,
.page-template-page-realisations .page-hero,
.realisations-hero {
  text-align: center;
}

.projects {
  background: var(--cream);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-image {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--orange);
  color: var(--white);
}

.project-title {
  margin-bottom: 1rem;
}

.project-details {
  display: grid;
  gap: 0.5rem;
}

.project-detail {
  display: flex;
  gap: 0.8rem;
}

.project-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.82);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
}

.cta-section p {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

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

.cta-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.news-archive-section,
.editorial-wrapper,
.generic-page,
.single-post-layout {
  background: var(--cream);
}

.featured-news-section {
  padding: 4rem 3rem 0;
  background: var(--cream);
}

.featured-news-card {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.4rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 28%),
    linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
  box-shadow: 0 26px 80px rgba(31, 45, 61, 0.18);
}

.featured-news-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.featured-news-date {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.featured-news-card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.featured-news-card p {
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.6rem;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  border-radius: 28px;
  overflow: hidden;
}

.post-card-inner,
.editorial-card,
.generic-page-inner,
.single-post-inner {
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.generic-page-inner,
.single-post-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}

.post-card h3 a {
  text-decoration: none;
  color: var(--slate-950);
}

.post-card h3 {
  margin-top: 0.3rem;
}

.post-card p {
  margin-bottom: 1rem;
}

.archive-pagination {
  max-width: 1400px;
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin: 0 0.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.archive-pagination .page-numbers.current {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.single-post-cta {
  margin-top: 2rem;
}

.single-post-premium {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 40%, var(--cream) 100%);
}

.single-hero {
  position: relative;
  padding: 10rem 3rem 4rem;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.25), transparent 28%),
    linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
  overflow: hidden;
}

.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
  pointer-events: none;
}

.single-hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.single-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.single-kicker,
.single-read-time,
.single-side-eyebrow,
.single-meta-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-kicker,
.single-read-time,
.single-side-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.single-kicker {
  background: rgba(249, 115, 22, 0.22);
  color: #ffd7ba;
}

.single-read-time {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.single-post-title {
  max-width: 980px;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.single-intro {
  max-width: 760px;
  font-size: 1.18rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.single-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
}

.single-meta-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-meta-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 0.5rem;
}

.single-meta-card strong {
  font-size: 1rem;
  color: var(--white);
}

.single-content-shell {
  padding: 0 3rem 7rem;
}

.single-content-grid {
  max-width: 1200px;
  margin: -3rem auto 0;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.single-side-rail {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.single-side-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.single-side-card-primary {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 35%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.single-side-card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 0.9rem;
}

.single-side-card p {
  color: rgba(15, 23, 42, 0.78);
  margin-bottom: 1rem;
}

.single-side-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.single-side-card li {
  position: relative;
  padding-left: 1rem;
  color: rgba(15, 23, 42, 0.8);
}

.single-side-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.single-post-inner {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.single-content-topline {
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(249, 115, 22, 0.18) 100%);
  margin-bottom: 1.5rem;
}

.single-post-content {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  padding: 3rem;
}

.single-post-content>*:first-child {
  margin-top: 0;
}

.single-post-content>*:last-child {
  margin-bottom: 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--slate-950);
  margin: 2.25rem 0 1rem;
}

.single-post-content h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.single-post-content h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.single-post-content p,
.single-post-content li {
  font-size: 1.06rem;
  line-height: 1.95;
  color: rgba(15, 23, 42, 0.84);
}

.single-post-content p {
  margin: 0 0 1.15rem;
}

.single-post-content ul,
.single-post-content ol {
  margin: 0 0 1.5rem 1.4rem;
  padding: 0;
}

.single-post-content li {
  margin-bottom: 0.7rem;
  padding-left: 0.2rem;
}

.single-post-content strong {
  color: var(--slate-950);
}

.single-post-content a {
  color: var(--orange-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--orange);
  background: var(--cream);
  border-radius: 0 20px 20px 0;
}

.single-post-content blockquote p {
  margin: 0;
  font-size: 1.14rem;
  color: var(--slate-950);
}

.single-post-cta {
  margin-top: 1.6rem;
}

.single-post-cta-card {
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 32%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.single-post-cta-card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.7rem 0 0.8rem;
}

.single-post-cta-card p {
  margin-bottom: 1.2rem;
  color: rgba(15, 23, 42, 0.8);
}

.single-post-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

footer {
  background: linear-gradient(135deg, #1f2d3d 0%, #2a3c50 100%);
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-section a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.76);
}

.footer-section a {
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(31, 45, 61, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(31, 45, 61, 0.22);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  white-space: nowrap;
}

.sticky-call {
  background: var(--white);
  color: var(--slate-950);
}

.sticky-whatsapp {
  background: #1fa855;
  color: var(--white);
}

.sticky-quote {
  background: var(--orange);
  color: var(--white);
}

.wa-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 6.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fa855;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  box-shadow: 0 18px 40px rgba(31, 168, 85, 0.3);
}

.floating-whatsapp .wa-icon {
  width: 28px;
  height: 28px;
}

.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1200;
}

.exit-popup.active {
  display: flex;
}

.exit-popup-card {
  width: min(100%, 560px);
  background: var(--white);
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 80px rgba(2, 6, 23, 0.25);
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.exit-popup-card h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.exit-popup-card p {
  color: rgba(15, 23, 42, 0.78);
  margin-bottom: 1.4rem;
}

.exit-form {
  display: grid;
  gap: 1rem;
}

@media (max-width: 1024px) {

  .lead-strip-inner,
  .company-content,
  .careers-content,
  .page-hero.contact-page-hero .hero-content,
  .featured-news-card,
  .news-grid,
  .post-grid,
  .contact-info-grid,
  .conversion-points,
  .footer-content {
    grid-template-columns: 1fr;
  }

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

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

  .single-meta-grid,
  .single-content-grid {
    grid-template-columns: 1fr;
  }

  .single-side-rail {
    position: static;
    order: 2;
  }
}

@media (max-width: 768px) {
  :root {
    --banner-height: 86px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn,
  .mobile-menu {
    display: flex;
  }

  .site-header {
    padding: 1.5rem 1.5rem;
  }

  .site-header.scrolled {
    padding: 1rem 1.5rem;
  }

  .lead-banner-inner,
  .hero-content,
  .stats,
  .lead-strip,
  .featured-news-section,
  .partners,
  .priority-services,
  .news-section,
  .services,
  .company,
  .careers,
  .testimonials,
  .contact,
  .projects,
  .cta-section,
  .page-hero,
  .form-section,
  .news-archive-section,
  .editorial-wrapper,
  .generic-page,
  .single-post-layout,
  .single-hero,
  .single-content-shell,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lead-banner-inner {
    min-height: auto;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .priority-grid,
  .lead-points,
  .team-grid,
  .testimonials-grid,
  .projects-grid,
  .post-grid,
  .contact-info-grid,
  .conversion-points,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 420px;
  }

  .contact-buttons,
  .cta-buttons,
  .lead-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta {
    width: calc(100% - 1rem);
    left: 0.5rem;
    right: 0.5rem;
    transform: none;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .sticky-cta a {
    flex: 1;
    text-align: center;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    font-size: 0.86rem;
  }

  .floating-whatsapp {
    bottom: 7.2rem;
  }

  .single-post-title {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .featured-news-card {
    padding: 1.8rem 1.4rem;
    border-radius: 24px;
  }

  .featured-news-card h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .single-post-content {
    padding: 2rem 1.35rem;
    border-radius: 24px;
  }

  .single-post-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
