/* =========================================================
Bricks Du Lac — Design system
========================================================= */

:root {
  --color-primary-black: #000000;
  --color-primary-red: #FF0000;
  --color-primary-white: #FFFFFF;
  --color-secondary-blue: #66CCFF;
  --color-secondary-green: #129A39;
  --color-accent-gold: #DEAA62;

  --color-bg: #FFFFFF;
  --color-surface: #111111;
  --color-surface-soft: #151515;
  --color-border-soft: rgba(255, 255, 255, 0.06);

  --color-text: #111111;
  --color-text-muted: rgba(0, 0, 0, 0.6);
  --color-text-soft: rgba(0, 0, 0, 0.8);
  --color-text-on-color: #FFFFFF;
  --color-text-on-color-muted: rgba(255, 255, 255, 0.75);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 40px rgba(0, 0, 0, 0.18);
  --shadow-subtle: 0 1px 0 rgba(0, 0, 0, 0.04);

  --container-width: min(1080px, 100% - 40px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Archivo', 'Raleway', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92), rgba(102, 204, 255, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 14px;
  flex: 1;
}

.nav-link,
.lang-toggle {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid transparent;
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-link:hover,
.lang-toggle:hover {
  border-color: var(--color-accent-gold);
  background: var(--color-accent-gold);
  color: #000;
}

.header-menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header-menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  margin: 4px 0;
}

.lang-switcher {
  position: relative;
  margin-left: 4px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lang-toggle-icon {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.lang-toggle-chevron::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 30;
}

.lang-menu-item {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
}

.lang-menu-item:hover {
  background: var(--color-accent-gold);
  color: #000;
}

.lang-menu-item--active {
  background: var(--color-secondary-blue);
  color: #000;
}

.lang-switcher--open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* First section */
.section-company-intro {
  padding-top: 40px;
  padding-bottom: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.section-inner--company {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  flex: 0 0 auto;
}

.company-intro-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-intro-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-name {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-primary-red);
  line-height: 1.02;
  text-transform: uppercase;
}

.company-connect {
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-secondary-blue);
  line-height: 1.05;
  text-transform: uppercase;
}

.company-tagline {
  margin: 6px 0 0;
  font-size: 20px;
  color: var(--color-text-muted);
}

.company-intro-logo {
  display: flex;
  justify-content: flex-end;
}

.company-logo-frame {
  max-width: 220px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
}

.company-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.company-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
}

/* Title positioned between upper logo/title block and mascot */
.company-feature-title {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 0 4px;
  text-align: center;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--color-primary-black);
}

/*
  Mascot: the image itself is shifted so its right edge is aligned
  with the exact centre of the viewport. The surrounding container is
  viewport-wide, which prevents horizontal overflow and keeps the
  alignment stable at every desktop size.
*/
.company-mascot {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: -28px;
}

.company-mascot-img {
  width: min(767px, 59vw);
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(-50%);
}

/* Values */
.values-banner {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  border-radius: 999px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #E05142 0%, #435A9C 50%, #2756A5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .4);
  position: relative;
}

.values-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.values-emoji {
  font-size: 29px;
  line-height: 1;
}

.values-emoji--grey {
  filter: grayscale(100%) brightness(1.4);
}

.values-location-btn .values-emoji {
  font-size: 15px;
}

.values-separator {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, .4);
}

.values-location {
  margin-left: auto;
  position: relative;
}

.values-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: 6px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.values-location-btn:hover {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: #000;
}

.values-flag {
  font-size: 15px;
  line-height: 1;
}

.map-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.map-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease;
}

.map-option:hover {
  background: rgba(222, 170, 98, .18);
}

.map-option-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Summary */
.section-summary {
  background: #F7F5F2;
  padding: 48px 0;
}

.section-title.section-title--dark {
  color: #000;
  text-align: center;
  font-size: 26px;
  margin-bottom: 28px;
}

.cards-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.card-summary {
  border-radius: 20px;
  padding: 22px 16px 20px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.card-summary-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E05142, #2756A5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-summary-icon svg {
  width: 30px;
  height: 30px;
}

.card-summary-title {
  font-size: 15px;
  margin: 6px 0 2px;
  color: #111;
}

.card-summary-text {
  font-size: 13px;
  margin: 0 0 6px;
  color: #444;
}

.card-summary-btn {
  margin-top: 2px;
}

/* Main sections */
.section {
  padding: 56px 0;
}

.section-hero {
  padding-top: 24px;
  padding-bottom: 34px;
}

.section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 28px;
}

.hero-content {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background:
    radial-gradient(circle at -10% -10%, rgba(255, 0, 0, .18), transparent 52%),
    radial-gradient(circle at 110% -10%, rgba(102, 204, 255, .16), transparent 52%),
    linear-gradient(to bottom, #151515, #050505);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}

.hero-title {
  font-size: clamp(28px, 4vw, 34px);
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: #fff;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--color-text-on-color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-footnote {
  font-size: 13px;
  color: var(--color-text-on-color-muted);
}

.section-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}

.section-subtitle {
  font-size: 16px;
  margin: 0 0 8px;
  color: #fff;
}

.section-intro {
  font-size: 14px;
  margin: 0 0 18px;
  color: var(--color-text-on-color-muted);
}

.section-text {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--color-text-on-color-muted);
}

.section-card .section-inner {
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background:
    radial-gradient(circle at -10% -10%, rgba(222, 170, 98, .16), transparent 52%),
    linear-gradient(to bottom, #111, #050505);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.split-block {
  border-radius: var(--radius-md);
  padding: 16px 14px;
  background: rgba(10, 10, 10, .95);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-subtle);
  color: #fff;
}

.card-title {
  font-size: 15px;
  margin: 0 0 8px;
  color: #fff;
}

.card-text {
  font-size: 13px;
  margin: 0;
  color: var(--color-text-on-color-muted);
}

.split-block {
  padding: 18px 16px;
}

.split-block--accent {
  background:
    radial-gradient(circle at -10% -10%, rgba(102, 204, 255, .18), transparent 52%),
    radial-gradient(circle at 110% 110%, rgba(18, 154, 57, .14), transparent 52%),
    rgba(8, 8, 8, .98);
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--color-text-on-color-muted);
  margin-bottom: 6px;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--color-primary-red), var(--color-secondary-blue));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.contact-form,
.contact-details {
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(7, 7, 7, .98);
  border: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--color-text-on-color-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(5, 5, 5, .9);
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 1px rgba(222, 170, 98, .4);
}

.form-helper {
  font-size: 11px;
  color: var(--color-text-on-color-muted);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.btn-primary {
  background: #fff;
  color: #111;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, .3);
  background: var(--color-accent-gold);
  color: #000;
}

.btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, .08);
}

.btn-secondary:hover {
  background: var(--color-accent-gold);
  color: #000;
  border-color: var(--color-accent-gold);
}

.btn-full {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.section-breadcrumb {
  padding-top: 16px;
  padding-bottom: 10px;
}

.breadcrumb-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.breadcrumb-nav {
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb-nav a,
.breadcrumb-current {
  color: var(--color-text-soft);
}

.breadcrumb-nav a:hover {
  color: var(--color-accent-gold);
}

.breadcrumb-separator {
  margin: 0 6px;
}

.site-footer {
  margin-top: 8px;
  background: linear-gradient(to right, rgba(0, 0, 0, .96), rgba(102, 204, 255, .9));
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  color: #fff;
  opacity: .85;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-links a,
.footer-legal a {
  color: #fff;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-accent-gold);
}

.footer-meta {
  font-size: 12px;
  color: #fff;
  opacity: .85;
}

.footer-legal {
  font-size: 12px;
  color: #fff;
  opacity: .75;
}

@media (max-width: 1024px) {
  .cards-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 16px;
    background: linear-gradient(to right, rgba(0, 0, 0, .96), rgba(102, 204, 255, .9));
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .site-header.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding-inline: 4px;
  }

  .section-company-intro {
    padding-top: 28px;
    gap: 14px;
  }

  .section-inner--company,
  .section-inner--split,
  .cards-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-intro-text,
  .company-intro-heading {
    align-items: center;
    text-align: center;
  }

  .company-intro-logo {
    justify-content: center;
  }

  .company-feature-title {
    padding-bottom: 2px;
  }

  .company-mascot {
    margin-bottom: -16px;
  }

  .company-mascot-img {
    width: min(413px, 87vw);
  }

  .values-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
  }

  .values-location {
    margin-left: 0;
  }

  .values-separator {
    width: 100%;
    height: 1px;
  }

  .map-popover {
    right: auto;
    left: 50%;
    transform: translate(-50%, 6px);
  }

  .map-popover.is-open {
    transform: translate(-50%, 0);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .hero-content {
    padding: 24px 20px;
  }

  .section-card .section-inner {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .cards-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --container-width: min(100% - 24px, 420px);
  }

  .brand-text {
    font-size: 13px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
  }
}
