/* =========================================================
   CSS CUSTOM PROPERTIES — ALMOOSA DESIGN SYSTEM
========================================================= */
:root {
  --color-bg:         #f5f1e7;
  --color-dark:       #0f4954;
  --color-darker:     #1b3646;
  --color-accent:     #b6dadb;
  --color-rust:       #9f463e;
  --color-white:      #ffffff;
  --color-text-dark:  #0f4954;
  --color-text-light: #f5f1e7;

  --font-heading:     'DM Sans', sans-serif;
  --font-body:        'Lora', serif;

  --site-width:       90rem;
  --site-margin:      clamp(1rem, 0.428rem + 2.86vw, 3rem);
  --gutter:           1rem;

  --pad-v-main:       7rem;
  --pad-v-small:      5rem;
  --pad-v-large:      10rem;

  --radius:           0.625rem;
  --radius-sm:        0.5rem;

  --header-height:    80px;
  --transition:       0.4s ease;
}

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

html {
  font-size: 16px;
}

/* Lenis overrides */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--color-text-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ol, ul {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY UTILITIES
========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1em;
}

.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-label--light {
  color: var(--color-accent);
}

.section-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.section-heading--light {
  color: var(--color-text-light);
}

.section-pull {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-dark);
  opacity: 0.75;
  max-width: 48ch;
}

/* =========================================================
   LAYOUT WRAPPERS
========================================================= */
.section-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: var(--pad-v-main) var(--site-margin);
  position: relative;
  z-index: 2;
}

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

/* =========================================================
   NOISE TEXTURE OVERLAY (matches 42np.com)
========================================================= */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* =========================================================
   SECTION SEPARATORS (thin horizontal rules)
========================================================= */
.section-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(15, 73, 84, 0.2), transparent);
}

/* =========================================================
   SCROLL REVEAL — staggered slide-up (like 42np)
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-dark);
  min-height: var(--header-height);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
  overflow: hidden;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--site-margin);
  width: 100%;
}

.header-logo img {
  width: 218px;
  height: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  opacity: 0.75;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background-color: var(--color-darker);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-nav.open {
  max-height: 400px;
  padding: 0.75rem 0 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 0.85rem var(--site-margin);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity var(--transition);
  display: block;
  width: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  opacity: 1;
}

/* =========================================================
   HERO — Animated geometric shapes
========================================================= */
.hero {
  min-height: 100vh;
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

/* ── Ambient background gradient ───────────────────────── */
.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(182,218,219,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(159,70,62,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Floating geometric shapes (HeroGeometric style) ───── */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 9999px;
  border: 2px solid rgba(182,218,219,0.18);
  box-shadow: 0 8px 32px 0 rgba(182,218,219,0.08);
  background: radial-gradient(circle at 50% 50%, rgba(182,218,219,0.12) 0%, transparent 70%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  animation:
    shapeEnter 2.4s cubic-bezier(0.23,0.86,0.39,0.96) var(--enter-delay, 0s) forwards,
    shapeFloat 12s ease-in-out var(--float-delay, 0s) infinite;
}

.shape-1 {
  width: 600px; height: 140px;
  left: -5%; top: 20%;
  background: radial-gradient(circle at 50% 50%, rgba(182,218,219,0.18) 0%, transparent 70%);
  border-color: rgba(182,218,219,0.22);
  --enter-delay: 0.3s; --float-delay: 2.7s; --rotate-deg: 12deg;
  transform: rotate(12deg);
}

.shape-2 {
  width: 500px; height: 120px;
  right: 0%; top: 75%;
  background: radial-gradient(circle at 50% 50%, rgba(159,70,62,0.15) 0%, transparent 70%);
  border-color: rgba(159,70,62,0.2);
  --enter-delay: 0.5s; --float-delay: 2.9s; --rotate-deg: -15deg;
  transform: rotate(-15deg);
}

.shape-3 {
  width: 300px; height: 80px;
  left: 10%; bottom: 10%;
  background: radial-gradient(circle at 50% 50%, rgba(182,218,219,0.12) 0%, transparent 70%);
  border-color: rgba(182,218,219,0.16);
  --enter-delay: 0.4s; --float-delay: 2.8s; --rotate-deg: -8deg;
  transform: rotate(-8deg);
}

.shape-4 {
  width: 200px; height: 60px;
  right: 20%; top: 15%;
  background: radial-gradient(circle at 50% 50%, rgba(159,70,62,0.1) 0%, transparent 70%);
  border-color: rgba(159,70,62,0.15);
  --enter-delay: 0.6s; --float-delay: 3s; --rotate-deg: 20deg;
  transform: rotate(20deg);
}

.shape-5 {
  width: 150px; height: 40px;
  left: 25%; top: 10%;
  background: radial-gradient(circle at 50% 50%, rgba(182,218,219,0.1) 0%, transparent 70%);
  border-color: rgba(182,218,219,0.14);
  --enter-delay: 0.7s; --float-delay: 3.1s; --rotate-deg: -25deg;
  transform: rotate(-25deg);
}

@keyframes shapeEnter {
  from { opacity: 0; transform: translateY(-150px) rotate(calc(var(--rotate-deg) - 15deg)); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--rotate-deg)); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0)    rotate(var(--rotate-deg)); }
  50%       { transform: translateY(15px) rotate(var(--rotate-deg)); }
}


/* ── Hero content ──────────────────────────────────────── */
.hero-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--site-margin);
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(182, 218, 219, 0.2);
  background: rgba(182, 218, 219, 0.05);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-badge-dot {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: var(--color-rust);
  opacity: 0.85;
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 231, 0.6);
}

.hero-content {
  max-width: 900px;
  padding-bottom: var(--pad-v-main);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1em;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.hero-line {
  display: block;
  opacity: 0;
}

.hero-line-1 {
  background: linear-gradient(to bottom, #f5f1e7 0%, rgba(245,241,231,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-line-2 {
  background: linear-gradient(to right, var(--color-accent) 0%, rgba(245,241,231,0.9) 50%, rgba(159,70,62,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(245, 241, 231, 0.45);
  margin-bottom: 3rem;
  max-width: 50ch;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.btn-primary {
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
}

/* Top/bottom vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,73,84,0.55) 0%,
    transparent 20%,
    transparent 75%,
    rgba(15,73,84,0.6) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Top/bottom vignette overlay */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 73, 84, 0.55) 0%,
    transparent 20%,
    transparent 75%,
    rgba(15, 73, 84, 0.6) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: var(--site-margin);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
  opacity: 0.5;
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.3); }
}

/* Shared fade-up keyframe */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-text-light);
  color: var(--color-dark);
  border-color: var(--color-text-light);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-text-light);
}

.btn-submit {
  background-color: var(--color-text-light);
  color: var(--color-dark);
  border: 2px solid var(--color-text-light);
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  transition: all 0.25s ease;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--color-text-light);
}

/* =========================================================
   SECTORS SECTION
========================================================= */
.sectors {
  background-color: var(--color-bg);
}

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

.sector-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 73, 84, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 73, 84, 0.15);
}

.sector-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.sector-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-card-image img {
  transform: scale(1.04);
}

.sector-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-dark);
  color: var(--color-text-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.sector-card-body {
  padding: 2rem;
}

.sector-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.sector-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-rust);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.sector-description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2c5058;
  margin-bottom: 1.5rem;
}

.sector-insight {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-dark);
  opacity: 0.85;
}

/* =========================================================
   ABOUT US SECTION
========================================================= */
.about {
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-paragraph {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-light);
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.about-rule {
  width: 60px;
  height: 1px;
  background-color: var(--color-accent);
  margin-bottom: 2rem;
}

.about-sub-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  min-width: 28px;
  padding-top: 2px;
}

.about-point p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  opacity: 0.88;
}

/* =========================================================
   TEAM SECTION
========================================================= */
.team {
  background-color: var(--color-bg);
}

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

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 3px rgba(15, 73, 84, 0.07);
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 30px rgba(15, 73, 84, 0.13);
}

.team-photo-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
  flex-shrink: 0;
  background-color: #f5f1e7;
  position: relative;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  background-color: var(--color-dark);
}

.team-card-body {
  width: 100%;
}

.team-name-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.team-name .name-first {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  margin-right: 0.25em;
}

.team-name .name-last {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
}

.team-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-rust);
}

.team-linkedin {
  color: var(--color-dark);
  opacity: 0.5;
  transition: opacity var(--transition);
  flex-shrink: 0;
  margin-top: 4px;
}

.team-linkedin:hover {
  opacity: 1;
}

.team-rule {
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  margin-bottom: 1.25rem;
  opacity: 0.5;
}

.team-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #2c5058;
  margin-bottom: 1rem;
}

.team-honors {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.7;
  font-style: italic;
}

/* =========================================================
   CONTACT SECTION
========================================================= */
.contact {
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-light);
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 36ch;
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.office-region {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.office-cities {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  opacity: 0.85;
}

.contact-email-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}

.contact-email-link:hover {
  opacity: 0.7;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  opacity: 0.7;
}

.required {
  color: var(--color-accent);
}

.form-input,
.form-textarea {
  background-color: rgba(245, 241, 231, 0.08);
  border: 1px solid rgba(182, 218, 219, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-light);
  transition: border-color 0.25s ease, background-color 0.25s ease;
  width: 100%;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(245, 241, 231, 0.3);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  background-color: rgba(245, 241, 231, 0.12);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-rust);
}

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

.form-success,
.form-error {
  display: none;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-success {
  background-color: rgba(182, 218, 219, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(182, 218, 219, 0.3);
}

.form-error {
  background-color: rgba(159, 70, 62, 0.15);
  color: #f08078;
  border: 1px solid rgba(159, 70, 62, 0.3);
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background-color: var(--color-darker);
  color: var(--color-text-light);
}

.footer-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 5rem var(--site-margin) 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand img {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
  opacity: 0.55;
  transition: opacity var(--transition);
}

.footer-link:hover {
  opacity: 1;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background-color: rgba(245, 241, 231, 0.12);
  margin-bottom: 2.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-presence {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-presence p {
  font-size: 0.8125rem;
  opacity: 0.5;
}

.footer-right {
  text-align: right;
}

.footer-copyright {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  opacity: 0.45;
  margin-bottom: 0.35rem;
}

.footer-motto {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0.7;
}


/* =========================================================
   SCROLL PROGRESS BAR
========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--color-accent), var(--color-rust));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* =========================================================
   TEAM — 2-column grid, photo top, info below, left-aligned
========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 3px rgba(15, 73, 84, 0.07);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.team-card:hover {
  box-shadow: 0 16px 48px rgba(15, 73, 84, 0.12);
  transform: translateY(-3px);
}

.team-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f5f1e7;
  position: relative;
  flex-shrink: 0;
}

.team-card-body {
  width: 100%;
}

.team-name-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.team-rule {
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  margin-bottom: 1.25rem;
  opacity: 0.5;
}

.team-linkedin {
  margin-top: 0.5rem;
  color: var(--color-dark);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.team-linkedin:hover { opacity: 1; }

/* =========================================================
   ACTIVE NAV STATE
========================================================= */
.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  width: 100%;
}

/* =========================================================
   MAGNETIC BUTTON WRAPPER
========================================================= */
.magnetic {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

/* =========================================================
   PARALLAX IMAGE
========================================================= */
.sector-card-image {
  overflow: hidden;
}

.sector-card-image img {
  will-change: transform;
  transition: transform 0.1s linear;
}


/* =========================================================
   RESPONSIVE — TABLET (max 1024px)
========================================================= */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-sub {
    max-width: none;
  }

  /* Team: 1 column on tablet */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Shapes: scale down */
  .shape-1 { width: 400px; height: 100px; }
  .shape-2 { width: 350px; height: 90px; }
  .shape-3 { width: 220px; height: 65px; }
}

/* =========================================================
   RESPONSIVE — MOBILE (max 768px)
========================================================= */
@media (max-width: 768px) {
  :root {
    --pad-v-main: 4rem;
    --pad-v-small: 3rem;
    --pad-v-large: 5rem;
  }

  /* Header */
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-logo img {
    width: 184px;
  }

  /* Hero */
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  /* Hide large shapes on mobile, keep small ones */
  .shape-1 { display: none; }
  .shape-2 { display: none; }
  .shape-3 { width: 200px; height: 55px; }
  .shape-4 { width: 150px; height: 45px; }
  .shape-5 { width: 110px; height: 35px; }

  /* Sectors grid */
  .sectors-grid {
    grid-template-columns: 1fr;
  }

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

  .team-card {
    padding: 2rem 1.5rem;
  }

  .team-photo-wrap {
    width: 150px;
    height: 150px;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand img {
    width: 160px;
  }

  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-right {
    text-align: left;
  }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
========================================================= */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-badge {
    margin-bottom: 1.25rem;
  }

  .section-heading {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .sector-card-image {
    height: 200px;
  }

  .sector-card-body {
    padding: 1.5rem;
  }

  .team-photo-wrap {
    width: 130px;
    height: 130px;
  }

  .team-name {
    font-size: 1.25rem;
  }

  .about-point {
    gap: 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
  }

  .header-logo img {
    width: 161px;
  }
}
