/* ===== L&Com — CSS Principal ===== */
/* Palette L&Com: mint / teal / graphite */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --opale-deep:    #0f1115;
  --opale-navy:    #112820;
  --opale-steel:   #16a085;
  --opale-mid:     #41c9b0;
  --opale-light:   #94eed8;
  --opale-pale:    #d9f6ee;
  --opale-pearl:   #f7f9fa;
  --opale-white:   #ffffff;
  --sand-warm:     #6fe5c5;
  --sand-mid:      #41c9b0;
  --amber-accent:  #0b6b5e;
  --text-dark:     #11151b;
  --text-mid:      #2f3a46;
  --text-light:    #6b7280;
  --font-display:  'Manrope', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
  --brand-gradient: linear-gradient(135deg, #7decd1 0%, #41c9b0 45%, #0b6b5e 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--opale-pearl);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== HOME: fixed background (sticky image) ===== */
body.page-home {
  background: transparent;
}

body.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('lcom.jpeg') center bottom / cover no-repeat;
  z-index: -2;
}

body.page-home::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 21, 0.25) 0%,
    rgba(15, 17, 21, 0.10) 45%,
    rgba(15, 17, 21, 0.25) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* On home, the hero must not "carry" its own scrolling background.
   We keep the fixed background on body.page-home instead. */
body.page-home .hero-bg-img {
  background: none;
}

body.page-home .hero-bg-img::after {
  content: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== CONTAINERS ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 21, 27, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.16);
}

.page-home .navbar {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-home .navbar.scrolled {
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.page-home .navbar:not(.scrolled) .nav-inner {
  justify-content: center;
}

.page-home .navbar:not(.scrolled) .nav-links {
  justify-content: center;
}

.page-home .navbar:not(.scrolled) .logo--home {
  display: none;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: white;
  position: relative;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
}

.logo-l, .logo-com {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-amp {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sand-mid);
}

.logo-sub {
  position: absolute;
  bottom: -14px;
  left: 0;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 238, 216, 0.8);
  font-weight: 300;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--brand-gradient) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  filter: brightness(1.04);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.burger span {
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('lcom.jpeg') center bottom / cover no-repeat;
  filter: none;
}

.hero-bg-img::after {
  content: none;
}

.hero-diag-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 4rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.hero-logo-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.hero-logo-img {
  max-width: 460px;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.35));
}

.hero-text-side {
  justify-self: end;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--opale-light);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

body.page-home .hero-logo-side .hero-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin-bottom: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--sand-warm);
  font-weight: 700;
}

.hero-desc {
  max-width: 560px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

body.page-home .hero-actions {
  margin-bottom: 1.5rem;
}

.hero-locs {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

body.page-home .hero-locs {
  grid-column: 1 / -1;
  justify-self: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.25rem;
}

body.page-home .hero-locs span {
  white-space: nowrap;
  word-spacing: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}

body.page-home .hero-scroll-hint {
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.85rem 2rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 10px 25px rgba(11, 107, 94, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.03); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-white {
  background: white;
  color: var(--opale-deep);
  font-weight: 600;
}
.btn-white:hover { background: #ecfdf8; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--amber-accent);
  border: 1.5px solid #90d8c8;
}
.btn-outline:hover { background: var(--opale-pale); }

/* ===== INTRO STRIP ===== */
.intro-strip {
  background: #11151b;
  padding: 1.2rem 0;
}

body.page-home .intro-strip {
  background: rgba(17, 21, 27, 0.78);
  backdrop-filter: blur(8px);
}

.intro-text {
  text-align: center;
  color: #b5f3e3;
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 300;
}

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}

/* ===== COMPETENCES CARDS ===== */
.competences {
  padding: 6rem 0;
  background: var(--opale-pearl);
}

body.page-home .competences {
  background: transparent;
  backdrop-filter: none;
  padding-top: 1.75rem;
}

/* Home: transparent sections need white text */
body.page-home .competences .section-tag,
body.page-home .territory .section-tag {
  color: rgba(255, 255, 255, 0.88);
}

body.page-home .competences .section-header h2,
body.page-home .territory-text h2 {
  color: rgba(255, 255, 255, 0.97);
}

body.page-home .competences .section-header h2 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.05;
}

body.page-home .territory-text p {
  color: rgba(255, 255, 255, 0.9);
}

body.page-home .territory-text strong {
  color: rgba(148, 238, 216, 1);
}

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

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  border: 1px solid #e6e9ee;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--opale-steel));
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(17, 21, 27, 0.1);
  border-color: transparent;
}

.card--comm   { --card-accent: #0b6b5e; }
.card--event  { --card-accent: #16a085; }
.card--digital { --card-accent: #35c8a7; }
.card--ia     { --card-accent: #23b99a; }
.card--strat  { --card-accent: #11806b; }
.card--proj   { --card-accent: #41c9b0; }

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.card-icon:empty {
  display: none;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--opale-steel);
  margin-top: 0.5rem;
  transition: var(--transition);
}

.card:hover .card-cta { color: var(--amber-accent); }

/* ===== TERRITORY ===== */
.territory {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
}

body.page-home .territory {
  background: transparent;
  backdrop-filter: none;
}

.territory-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.territory-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.territory-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.territory-text strong { color: var(--amber-accent); font-weight: 600; }

.territory-text .btn { margin-top: 1rem; }

.territory-visual {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.territory-carousel {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #def8f0;
  border: 1px solid #d8eee7;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 21, 27, 0.55);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: rgba(17, 21, 27, 0.85);
}

.carousel-btn.prev { left: 0.8rem; }
.carousel-btn.next { right: 0.8rem; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: white;
  transform: scale(1.12);
}

.admin-link {
  font-size: 0.82rem;
  color: var(--text-light);
  align-self: flex-end;
}

.admin-link:hover {
  color: var(--opale-steel);
}

.coast-art {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.coast-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #c9dfe8 0%, #7fb6d0 40%, #4a8fb5 60%, #2e6489 100%);
}

.coast-sea {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(180deg, #1a3a52 0%, #0d2233 100%);
}

.coast-wave {
  position: absolute;
  left: -10%;
  width: 120%;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.cw1 { height: 80px; top: -20px; animation: coastFloat 6s ease-in-out infinite; }
.cw2 { height: 60px; top: 10px; animation: coastFloat 9s ease-in-out infinite reverse; }

@keyframes coastFloat {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-20px) scaleX(1.02); }
}

.coast-dots {
  position: absolute;
  inset: 0;
}

.dot-city {
  position: absolute;
  transform: translate(-50%, -50%);
}

.dot-city::before {
  content: '';
  display: block;
  width: 10px; height: 10px;
  background: var(--sand-warm);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(232,213,183,0.3);
  animation: pulse 2s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,213,183,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(232,213,183,0.1); }
}

.dot-city span {
  display: block;
  font-size: 0.7rem;
  color: white;
  font-weight: 500;
  text-align: center;
  margin-top: 6px;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: rgba(247, 249, 250, 0.92);
  padding: 5rem 0;
  text-align: center;
}

body.page-home .cta-band {
  background: transparent;
}

body.page-home .cta-band h2 {
  color: rgba(255, 255, 255, 0.96);
}

body.page-home .cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.cta-band .btn-white {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 10px 25px rgba(11, 107, 94, 0.25);
}

.cta-band .btn-white:hover {
  background: var(--brand-gradient);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(145deg, #11151b 0%, #13342a 55%, #0b6b5e 100%);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.6);
}

body.page-home .footer { background: linear-gradient(145deg, #11151b 0%, #13342a 55%, #0b6b5e 100%); }

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

.logo-footer {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 0.8rem;
}

.logo-footer em {
  font-style: normal;
  color: var(--sand-mid);
  font-weight: 700;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col li, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--sand-warm); }

.footer-bottom {
  border-top: none;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== INNER PAGES ===== */
.page-hero {
  background: linear-gradient(165deg, #0f1115 0%, #13342a 55%, #0b6b5e 100%);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-diag-overlay {
  z-index: 0;
}

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

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--opale-pearl);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--opale-light);
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-hero-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-hero-icon:empty {
  display: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--sand-warm);
  font-weight: 700;
}

.page-hero-desc {
  max-width: 560px;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.page-content {
  padding: 5rem 0 6rem;
  background: var(--opale-pearl);
}

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

.service-item {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid #e6e9ee;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(17, 21, 27, 0.08);
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.angle-pub {
  background: linear-gradient(135deg, #13342a 0%, #11151b 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
  color: white;
}

.angle-pub h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--sand-warm);
  margin-bottom: 0.8rem;
}

.angle-pub p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-locs {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-loc {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid #e6e9ee;
}

.loc-dot {
  width: 10px; height: 10px;
  background: var(--opale-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid #e6e9ee;
  box-shadow: 0 4px 30px rgba(17, 21, 27, 0.06);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.form-success {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #e8f8f4;
  border: 1px solid #1a8a72;
  border-radius: 8px;
  color: #0d2233;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dce4ea;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fbfcfd;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--opale-mid);
  box-shadow: 0 0 0 3px rgba(111, 229, 197, 0.25);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ===== LOGO PLACEHOLDER ===== */
.logo-placeholder {
  width: 48px; height: 48px;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ===== ADMIN CAROUSEL ===== */
.admin-page {
  min-height: 100vh;
  background: var(--opale-pearl);
  padding: 8rem 0 4rem;
}

.admin-panel {
  max-width: 980px;
  margin: 0 auto;
  background: white;
  border: 1px solid #e6e9ee;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.admin-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.admin-panel p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.admin-form-card,
.admin-list-card {
  background: var(--opale-pearl);
  border: 1px solid #e6e9ee;
  border-radius: var(--radius);
  padding: 1.2rem;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  background: white;
  border: 1px solid var(--opale-pale);
  border-radius: 10px;
  padding: 0.55rem;
}

.admin-item img {
  width: 78px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-item-title {
  font-size: 0.82rem;
  color: var(--text-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  gap: 0.35rem;
}

.admin-mini-btn {
  border: 1px solid var(--opale-pale);
  background: white;
  color: var(--text-mid);
  font-size: 0.78rem;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
}

.admin-mini-btn:hover {
  background: var(--opale-pale);
}

.admin-status {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .territory-inner { grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
  .territory-visual { width: 100%; }
  .territory-carousel { max-width: 640px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-list { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 7rem 1.5rem 3rem;
  }
  .hero-logo-side {
    order: -1;
  }
  .hero-logo-img {
    max-width: 240px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--opale-deep);
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .burger { display: flex; z-index: 200; }
}

/* =========================
   Mobile polish — Home + Global
   (no desktop impact)
========================= */
@media (max-width: 768px) {
  /* HERO: improve readability and rhythm */
  .page-home .hero-text-side {
    justify-self: center;
    text-align: center;
  }

  .page-home .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .hero-actions {
    justify-content: center;
  }

  .page-home .hero-locs {
    justify-content: center;
  }

  .hero-bg-img::after {
    background: linear-gradient(
      135deg,
      rgba(125, 236, 209, 0.65) 0%,
      rgba(65, 201, 176, 0.55) 40%,
      rgba(11, 107, 94, 0.72) 100%
    );
  }

  .hero-diag-overlay {
    opacity: 0.85;
  }

  .hero-content.hero-split {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
  }

  .hero-logo-img {
    max-width: 220px;
  }

  .hero-eyebrow {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    line-height: 1.02;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    max-width: 34ch;
  }

  .hero-actions {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-locs {
    gap: 1rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    opacity: 0.9;
  }

  .hero-scroll-hint {
    bottom: 1rem;
    font-size: 1.05rem;
  }

  /* NAV mobile menu: nicer full-screen overlay */
  .nav-links {
    padding: 5rem 1.25rem 2rem;
  }

  .nav-links a {
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    width: min(520px, 92vw);
    text-align: center;
    background: rgba(255,255,255,0.04);
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.08);
  }

  .nav-links .nav-cta {
    width: min(520px, 92vw);
    justify-content: center;
    border-radius: 10px !important;
  }

  /* SECTIONS: spacing and typography */
  .page-home .intro-text,
  .page-home .section-header,
  .page-home .territory-text,
  .page-home .cta-band {
    text-align: center;
  }

  .page-home .territory-text .btn {
    width: 100%;
    justify-content: center;
  }

  .page-home .territory-inner {
    justify-items: center;
  }

  .page-home .territory-text {
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .territory-carousel {
    width: min(560px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .territory-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .competences {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .cards-grid {
    gap: 1rem;
  }

  .card {
    padding: 1.5rem 1.35rem;
    border-radius: 18px;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  /* Territory section: reduce density */
  .territory {
    padding: 4.5rem 0;
  }

  .territory-text h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
  }

  /* CTA band: make it punchy */
  .cta-band {
    padding: 4rem 0;
  }

  .cta-band .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer: better tap targets */
  .footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-col a {
    padding: 0.35rem 0;
    display: inline-block;
  }
}

/* Extra small phones */
@media (max-width: 420px) {
  .nav-inner {
    padding: 0 1.25rem;
  }

  .hero-content.hero-split {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-logo-img {
    max-width: 200px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }
}
