@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ==============================================
   BIOTYS — styles.css
   Global · Variables · Nav · Buttons · Footer
   Settings Panel · Dark Mode · Typography
   ============================================== */

/* ——— LIGHT MODE TOKENS ——— */
:root {
  /* Paleta canónica */
  --green:        #5cb644;
  --green-dk:     #3d8a2c;
  --green-lt:     #e8f5e1;
  --green-subtle: #f2f9ee;
  --charcoal:     #222820;
  --gray-dk:      #3a3d38;
  --gray-mid:     #6b7069;
  --gray-lt:      #b8bdb6;
  --gray-border:  #e2e6df;

  /* Fondos */
  --bg:      #ffffff;
  --bg-off:  #f6f8f4;
  --bg-dark: #1a1e18;
  --bg-white: #ffffff; /* distinto a --bg en dark mode */
  --nav-bg:  rgba(255, 255, 255, 0.97);
  --card-bg: #ffffff;

  /* Tipografía */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;

  /* Transiciones */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.28s;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1); /* usado en secciones de páginas internas */

  /* Sombras */
  --sh-sm: 0 2px 12px rgba(34, 40, 32, 0.07);
  --sh-md: 0 8px 32px rgba(34, 40, 32, 0.10);
  --sh-lg: 0 24px 64px rgba(34, 40, 32, 0.14);

  /* Aliases legacy (apuntan a las canónicas) */
  --green-primary: var(--green);
  --green-dark:    var(--green-dk);
  --green-light:   var(--green-lt);
  --gray-dark:     var(--gray-dk);
  --gray-light:    var(--gray-lt);
  --font-display:  var(--font-serif);
  --font-body:     var(--font-sans);
  --shadow-sm:     var(--sh-sm);
  --shadow-md:     var(--sh-md);
  --shadow-lg:     var(--sh-lg);
}

/* ——— DARK MODE TOKENS ——— */
html[data-theme="dark"] {
  --bg: #1c2018;
  --bg-off: #242820;
  --bg-dark: #0f120e;
  --charcoal: #e8ede5;
  --gray-dk: #c0c7bd;
  --gray-mid: #8a9188;
  --gray-lt: #4a5048;
  --gray-border: #353930;
  --green-lt: #1a2e15;
  --green-subtle: #152412;
  --nav-bg: rgba(16, 20, 14, 0.97);
  --card-bg: #1c2018;
  --bg-white: #242820;
  --sh-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --sh-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  /* --shadow-* se actualizan automáticamente via aliases en :root */
}

/* ——— FONT SIZE LEVELS ——— */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html[data-font-size="sm"] {
  font-size: 14px;
}

html[data-font-size="md"] {
  font-size: 16px;
}

html[data-font-size="lg"] {
  font-size: 18px;
}

html[data-font-size="xl"] {
  font-size: 20px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

/* ——— TYPOGRAPHY ——— */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  line-height: 1.18;
  font-weight: 600;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  font-size: 1rem;
  color: var(--gray-dk);
  line-height: 1.78;
}

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

.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-family: var(--font-sans);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  overflow: hidden;
}

.page-content {
  padding-top: 66px;
}

/* ——— DIVIDER ——— */
.divider {
  width: 40px;
  height: 3px;
  background: var(--green);
  margin: 1rem 0 0;
  border-radius: 2px;
}

.section-header--center .divider {
  margin: 1rem auto 0;
}

/* ——— SECTION HEADER ——— */
.section-header {
  margin-bottom: 4rem;
}

.section-header--center {
  text-align: center;
}

.section-header .label {
  display: block;
  margin-bottom: .75rem;
}

.section-header h2 {
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
  color: var(--gray-dk);
}

.section-header--center p {
  margin: 0 auto;
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
}

.nav.scrolled {
  border-color: var(--gray-border);
  box-shadow: var(--sh-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 66px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  gap: .75rem;
}

/* Logo pill — pure black background frames the black-bg JPEG logos */
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
  border-radius: 7px;
  padding: 5px 16px 5px 12px;
  text-decoration: none;
  transition: box-shadow var(--t) var(--ease);
}

html[data-theme="dark"] .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__logo:hover {
  box-shadow: 0 0 0 2px var(--green);
}

.nav__logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* Right cluster */
.nav__right {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 0;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav__links li {
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 0 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color var(--t) var(--ease);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--green);
}

/* Hablemos — leaf CTA */
.nav__cta-leaf {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: .46rem 1.3rem .46rem 1.4rem !important;
  background: var(--green) !important;
  color: #fff !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  border-radius: 50px 10px 50px 50px !important;
  transition: background var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease) !important;
  white-space: nowrap;
}

.nav__cta-leaf:hover {
  background: var(--green-dk) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(92, 182, 68, .32) !important;
}

/* Meta links (LinkedIn + email) */
.nav__meta {
  display: flex;
  align-items: center;
  margin-left: .5rem;
  padding-left: .65rem;
  border-left: 1px solid var(--gray-border);
}

.nav__meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 0 .6rem;
  font-size: .79rem;
  font-weight: 400;
  color: var(--gray-mid);
  white-space: nowrap;
  transition: color var(--t) var(--ease);
}

/* Icons always green */
.nav__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--green);
}

/* On hover: text turns green */
.nav__meta-item:hover {
  color: var(--green);
}

/* Language selector */
.nav__lang-wrap {
  position: relative;
  margin-left: .5rem;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: .28rem .65rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 5px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-mid);
  background: transparent;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}

.nav__lang:hover,
.nav__lang.open {
  border-color: var(--green);
  color: var(--green);
}

.nav__lang .lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

.nav__lang .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--t) var(--ease);
  flex-shrink: 0;
}

.nav__lang.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 162px;
  background: var(--bg);
  border: 1px solid var(--gray-border);
  border-radius: 7px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  z-index: 200;
}

.nav__lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .62rem 1rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-dk);
  font-family: var(--font-sans);
  text-align: left;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.lang-option:hover {
  background: var(--bg-off);
  color: var(--green);
}

.lang-option.active {
  color: var(--green);
  font-weight: 600;
  background: var(--green-subtle);
}

.lang-option img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

.lang-option .check {
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--t);
}

.lang-option.active .check {
  opacity: 1;
}

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--t) var(--ease);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  padding: .78rem 1.9rem;
  cursor: pointer;
  border: none;
  letter-spacing: .01em;
  transition: all var(--t) var(--ease);
  text-decoration: none;
}

/* Primary — leaf */
.btn--primary {
  background: var(--green);
  color: #fff;
  border-radius: 50px 10px 50px 50px;
}

.btn--primary:hover {
  background: var(--green-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 182, 68, .3);
}

/* Rounded outline */
.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  border-radius: 50px;
}

.btn--outline:hover {
  background: var(--charcoal);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Outline white */
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 50px;
}

.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* Outline green */
.btn--outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50px;
}

.btn--outline-green:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

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

/* ================================================
   SCROLL TO TOP
   ================================================ */
#scrollTop {
  position: fixed;
  bottom: 5.6rem;
  right: 1.7rem;
  z-index: 980;
  width: 46px;
  height: 46px;
  background: var(--green);
  border: none;
  border-radius: 50% 8px 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t) var(--ease),
    transform var(--t) var(--ease),
    background var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  box-shadow: 0 4px 18px rgba(92, 182, 68, .35);
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#scrollTop:hover {
  background: var(--green-dk);
  box-shadow: 0 8px 24px rgba(92, 182, 68, .45);
  transform: translateY(-2px);
}

#scrollTop svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* ================================================
   SETTINGS GEAR BUTTON
   ================================================ */
#settingsBtn {
  position: fixed;
  bottom: 1.7rem;
  right: 1.7rem;
  z-index: 980;
  width: 46px;
  height: 46px;
  background: var(--bg-dark);
  border: 1.5px solid rgba(92, 182, 68, .35);
  border-radius: 50% 8px 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

#settingsBtn:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px) rotate(55deg);
  box-shadow: 0 8px 24px rgba(92, 182, 68, .4);
}

#settingsBtn svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, .85);
}

#settingsBtn:hover svg {
  color: #fff;
}

/* ================================================
   SETTINGS PANEL
   ================================================ */
#settingsPanel {
  position: fixed;
  bottom: 1.5rem;
  right: -320px;
  /* hidden */
  z-index: 979;
  width: 290px;
  background: var(--bg);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  /* Smooth slide from right */
  transition: right .36s var(--ease), opacity .32s var(--ease);
  opacity: 0;
}

#settingsPanel.open {
  right: 5.25rem;
  opacity: 1;
}

/* Header */
.sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-off);
  border-bottom: 1px solid var(--gray-border);
}

.sp-header__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-family: var(--font-sans);
}

.sp-header__title svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.sp-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 3px;
  transition: color var(--t), background var(--t);
}

.sp-close:hover {
  color: var(--charcoal);
  background: var(--gray-border);
}

.sp-close svg {
  width: 15px;
  height: 15px;
}

/* Sections */
.sp-section {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-border);
}

.sp-section:last-child {
  border-bottom: none;
}

.sp-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-lt);
  font-family: var(--font-sans);
  margin-bottom: .75rem;
}

/* Theme toggle */
.sp-theme-row {
  display: flex;
  border: 1.5px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}

.sp-theme-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  padding: .5rem .6rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--gray-mid);
  transition: background var(--t), color var(--t);
}

.sp-theme-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sp-theme-btn+.sp-theme-btn {
  border-left: 1.5px solid var(--gray-border);
}

.sp-theme-btn.active {
  background: var(--green);
  color: #fff;
}

.sp-theme-btn:not(.active):hover {
  background: var(--bg-off);
  color: var(--charcoal);
}

/* Font size */
.sp-font-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.sp-font-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-off);
  border: 1.5px solid var(--gray-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--green);
  transition: all var(--t);
  font-family: var(--font-sans);
}

.sp-font-btn:hover:not(:disabled) {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.sp-font-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.sp-font-btn svg {
  width: 14px;
  height: 14px;
}

.sp-font-label {
  flex: 1;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-mid);
  font-family: var(--font-sans);
}

/* Language */
.sp-lang-list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.sp-lang-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .52rem .7rem;
  background: none;
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-dk);
  font-family: var(--font-sans);
  width: 100%;
  text-align: left;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.sp-lang-btn:hover {
  background: var(--bg-off);
  color: var(--green);
  border-color: var(--gray-border);
}

.sp-lang-btn.active {
  background: var(--green-subtle);
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}

.sp-lang-btn img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

.sp-lang-check {
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
}

.sp-lang-btn.active .sp-lang-check {
  opacity: 1;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .72);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Bauhaus footer ornaments */
.footer::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(92, 182, 68, .05);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  top: 32px;
  right: 110px;
  width: 68px;
  height: 68px;
  background: rgba(92, 182, 68, .04);
  transform: rotate(45deg);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Footer logo: black pill for JPEG */

.footer__logo {
  display: inline-flex;
  background: transparent;
  border-radius: 5px;
  padding: 4px 14px 4px 10px;
  opacity: .82;
  transition: opacity var(--t);
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__logo img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: .84rem;
  color: rgba(255, 255, 255, .36);
  font-style: italic;
  font-family: var(--font-serif);
  line-height: 1.55;
}

.footer__social {
  display: flex;
  gap: .55rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .52);
  transition: background var(--t), color var(--t);
}

.footer__social a:hover {
  background: var(--green);
  color: #fff;
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

.footer__col h5 {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 1.2rem;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: .55rem;
}

.footer__col ul li a {
  font-size: .87rem;
  color: rgba(255, 255, 255, .55);
  transition: color var(--t);
}

.footer__col ul li a:hover {
  color: var(--green);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
  font-size: .87rem;
  color: rgba(255, 255, 255, .55);
}

.footer__contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--green);
}

.footer__contact-item a {
  color: rgba(255, 255, 255, .55);
  transition: color var(--t);
}

.footer__contact-item a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .77rem;
  color: rgba(255, 255, 255, .22);
  position: relative;
  z-index: 1;
}

/* ================================================
   ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

/* ================================================
   UTILITIES
   ================================================ */
.text-green {
  color: var(--green);
}

.text-white {
  color: #fff;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.flag-img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .nav__meta {
    display: none;
  }

  .nav__lang-wrap {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {

  /* Mobile nav */
  .nav__links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--sh-md);
    padding: 1rem 0;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    padding: .8rem 2rem;
    width: 100%;
  }

  .nav__cta-leaf {
    margin: .5rem 2rem !important;
    width: calc(100% - 4rem) !important;
    justify-content: center !important;
    border-radius: 50px 10px 50px 50px !important;
  }

  .nav__toggle {
    display: flex;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  /* Floating buttons */
  #scrollTop {
    bottom: 5.2rem;
    right: 1.25rem;
  }

  #settingsBtn {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  #settingsPanel.open {
    right: 4.4rem;
  }
}

/* NEW SERVICIOS CSS */
/* =====================
   PAGE HERO
   ===================== */
.page-hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-off);
  border-bottom: 1px solid var(--gray-border);
}

.page-hero__bauhaus {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__bauhaus svg {
  width: 100%;
  height: 100%;
}

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

.page-hero .label {
  display: block;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--green-primary);
  font-weight: 400;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 540px;
  color: var(--gray-mid);
}

/* =====================
   SERVICES NAV
   ===================== */
.services-nav {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--gray-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.services-nav::-webkit-scrollbar {
  display: none;
}

.services-nav__inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-nav__item {
  display: inline-block;
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--gray-mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.services-nav__item:hover {
  color: var(--charcoal);
}

.services-nav__item.active {
  color: var(--green-primary);
  border-color: var(--green-primary);
}

/* =====================
   SERVICE SECTIONS
   ===================== */
.service-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}

.service-section--alt {
  background: var(--bg-off);
}

.service-section__bauhaus {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.service-section__bauhaus svg {
  width: 100%;
  height: 100%;
}

.service-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-section__grid--reverse {
  direction: rtl;
}

.service-section__grid--reverse>* {
  direction: ltr;
}

.service-section__text .label {
  display: block;
  margin-bottom: 0.75rem;
}

.service-section__text h2 {
  margin-bottom: 1.25rem;
}

.service-section__text h2 em {
  font-style: italic;
  color: var(--green-primary);
  font-weight: 400;
}

.service-section__text p {
  margin-bottom: 1rem;
}

/* Visual panels */
.service-section__visual {
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.service-section__visual::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

/* Bauhaus circle in visual panels */
.service-section__visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 20px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.service-section__visual--green {
  background: linear-gradient(135deg, #3d8a2c, #5cb644);
  color: white;
}

.service-section__visual--dark {
  background: linear-gradient(135deg, var(--bg-dark), #2a3825);
  color: white;
}

.service-section__visual--world {
  background: linear-gradient(135deg, #1a2e14, #2d4820);
  color: white;
}

.service-section__visual--neutral {
  background: linear-gradient(135deg, var(--gray-dark), var(--charcoal));
  color: white;
}

.visual-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  opacity: 0.1;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.service-section__visual h3 {
  color: white;
  font-size: 1.35rem;
}

.service-section__visual p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.visual-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.visual-tag-list span {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

/* Service items */
.service-section__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem;
  border-radius: 6px;
  transition: background var(--transition);
}

.service-item:hover {
  background: var(--green-subtle);
}

.service-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--green-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}

.service-item__icon svg {
  width: 15px;
  height: 15px;
}

.service-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.service-item span {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Detail grid */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-card {
  background: var(--bg-off);
  border-radius: 6px;
  padding: 1.2rem;
  border: 1px solid var(--gray-border);
  transition: border-color var(--transition);
}

.detail-card:hover {
  border-color: var(--green-primary);
}

.detail-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.detail-card p {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* World markets */
.world-markets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.world-market {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.world-market .flag-img {
  width: 22px;
  height: 15px;
}

/* Rep flags */
.rep-flags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rep-flag-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-off);
  border-radius: 6px;
  border: 1px solid var(--gray-border);
  transition: border-color var(--transition);
}

.rep-flag-item:hover {
  border-color: var(--green-primary);
}

.rep-flag-img {
  width: 32px;
  height: 22px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.rep-flag-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.rep-flag-item small {
  font-size: 0.76rem;
  color: var(--gray-mid);
}

/* =====================
   DEMAND GRID
   ===================== */
.demand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demand-card {
  background: var(--bg-white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.demand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.demand-card__icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  margin-bottom: 1.25rem;
}

.demand-card__icon svg {
  width: 22px;
  height: 22px;
}

.demand-card h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.demand-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demand-list li {
  font-size: 0.84rem;
  color: var(--gray-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.demand-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-primary);
}

.demand-card--cta {
  background: linear-gradient(135deg, #1a2e14, #3d8a2c);
  border: none;
  color: white;
}

.demand-card--cta h3 {
  color: white;
}

.demand-card--cta p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

/* =====================
   SIMPLE CTA BAND
   ===================== */
.cta-band-simple {
  padding: 6rem 0;
  background: var(--green-subtle);
  border-top: 1px solid var(--gray-border);
}

.cta-simple__inner {
  text-align: center;
}

.cta-simple__inner h2 {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.cta-simple__inner p {
  font-size: 1.02rem;
  color: var(--gray-mid);
  max-width: 500px;
  margin: 0 auto;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1000px) {
  .demand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .service-section__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-section__grid--reverse {
    direction: ltr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .demand-grid {
    grid-template-columns: 1fr;
  }

  .services-nav {
    display: none;
  }
}


/* NEW NOSOTROS CSS */
/* =====================
   BAUHAUS DECO POSITIONS
   ===================== */
.bauhaus-deco--mission {
  position: absolute;
  right: 0;
  top: 0;
  width: 35%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.bauhaus-deco--mission svg {
  width: 100%;
  height: 100%;
}

/* =====================
   MISSION SECTION
   ===================== */
.mission-section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.mission-main .label {
  display: block;
  margin-bottom: 0.75rem;
}

.mission-main h2 {
  margin-bottom: 1.25rem;
}

.mission-main p {
  margin-bottom: 1rem;
}

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-card {
  background: var(--bg-off);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--gray-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-primary);
}

.value-card__icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  margin-bottom: 1rem;
}

.value-card__icon svg {
  width: 20px;
  height: 20px;
}

.value-card h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.value-card p {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* =====================
   DIFFERENTIATORS
   ===================== */
.diff-section {
  padding: 7rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.diff-bauhaus {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.diff-bauhaus svg {
  width: 100%;
  height: 100%;
}

.diff-section .label {
  color: var(--green-primary);
}

.diff-section h2 {
  color: #fff;
}

.diff-section .divider {
  background: var(--green-primary);
}

.diff-section .section-header--center p {
  color: rgba(255, 255, 255, 0.52);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.diff-item {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  transition: border-color var(--transition);
}

.diff-item:hover {
  border-color: var(--green-primary);
}

.diff-item__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-primary);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 1rem;
}

.diff-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.diff-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}

/* =====================
   TEAM SECTION
   ===================== */
.team-section {
  padding: 7rem 0;
}

.team-section .section-header {
  margin-bottom: 3.5rem;
}

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

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Avatar con mejoras de encuadre */
.team-card__avatar {
  position: relative;
  /* En lugar de height: 200px, usamos una proporción */
  aspect-ratio: 1 / 1;
  /* Puedes usar 4/3 si las prefieres más rectangulares */
  width: 100%;
  overflow: hidden;
  background: var(--green-light);
  border-radius: 8px 8px 0 0;
  /* Opcional: para redondear las esquinas superiores */
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 'center 20%' ayuda a que no se corte la frente pero no baje demasiado */
  object-position: center 15%;
  display: block;
  transition: transform var(--transition), filter var(--transition);
}

/* LinkedIn overlay on hover */
.team-card__linkedin {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 20, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
  backdrop-filter: blur(2px);
}

.team-card__linkedin svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition);
}

.team-card:hover .team-card__avatar img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.team-card:hover .team-card__linkedin {
  opacity: 1;
}

.team-card__linkedin:hover svg {
  transform: scale(1.15);
  color: var(--green-primary);
}

/* LinkedIn icon badge bottom */
.team-card__linkedin::after {
  content: 'Ver perfil';
  position: absolute;
  bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
}

.team-card__info {
  padding: 1.5rem;
}

.team-card__info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.team-card__role {
  display: block;
  font-size: 0.72rem;
  color: var(--green-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card__info p {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team-card__tags span {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--green-subtle);
  color: var(--green-dark);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* =====================
   APPROACH
   ===================== */
.approach-section {
  padding: 7rem 0;
  background: var(--bg-off);
}

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

.approach-text .label {
  display: block;
  margin-bottom: 0.75rem;
}

.approach-text h2 {
  margin-bottom: 1.25rem;
}

.approach-text h2 em {
  font-style: italic;
  color: var(--green-primary);
  font-weight: 400;
}

.approach-text p {
  margin-bottom: 1rem;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.approach-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.approach-step h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.approach-step p {
  font-size: 0.86rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* =====================
   SECTORS
   ===================== */
.sectors-section {
  padding: 7rem 0;
}

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

.sector-card {
  background: var(--bg-off);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
}

.sector-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.sector-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {

  .mission-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 640px) {

  .team-grid,
  .sectors-grid,
  .mission-values {
    grid-template-columns: 1fr;
  }

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


/* NEW CONTACTO CSS */
/* =====================
   CONTACT HERO
   ===================== */
.contact-hero {
  padding: 5rem 0 6rem;
  background: var(--bg-off);
  border-bottom: 1px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}

.contact-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-hero__text .label {
  display: block;
  margin-bottom: 1rem;
}

.contact-hero__text h1 {
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.contact-hero__text h1 em {
  font-style: italic;
  color: var(--green-primary);
  font-weight: 400;
}

.contact-hero__text>p {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* Contact channel cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  color: inherit;
}

.contact-info-card:hover {
  border-color: var(--green-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  transition: background var(--transition);
}

.contact-info-card:hover .contact-info-card__icon {
  background: var(--green-primary);
  color: #fff;
}

.contact-info-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.2rem;
}

.contact-info-card__value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
}

/* =====================
   CONTACT FORM
   ===================== */
.contact-form-wrap {
  position: sticky;
  top: 82px;
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.contact-form-card>p {
  font-size: 0.87rem;
  color: var(--gray-mid);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--bg-off);
  border: 1.5px solid var(--gray-border);
  border-radius: 4px;
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7069' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(92, 182, 68, 0.12);
}

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

/* Error states */
.form-error {
  font-size: 0.76rem;
  color: #e53e3e;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e53e3e;
}

.form-group.error .form-error {
  display: block;
}

/* Checkbox */
.form-group--checkbox {
  flex-direction: column;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gray-border);
  border-radius: 3px;
  background: var(--bg-off);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.form-checkbox input:checked+.form-checkbox__box {
  background: var(--green-primary);
  border-color: var(--green-primary);
}

.form-checkbox input:checked+.form-checkbox__box::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg) translateY(-1px);
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  color: var(--charcoal);
  font-size: 1.3rem;
}

.form-success p {
  color: var(--gray-mid);
  font-size: 0.9rem;
}

/* =====================
   FAQ
   ===================== */
.faq-section {
  padding: 7rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-toggle:hover {
  background: var(--green-subtle);
}

.faq-toggle span {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
}

.faq-toggle svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--green-primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle {
  background: var(--green-subtle);
}

.faq-item.open .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 2rem 1.4rem;
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1000px) {
  .contact-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-wrap {
    position: static;
  }

  .contact-hero__text>p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.75rem;
  }
}

/* ================================================
   HOMEPAGE — index.css (merged)
   ================================================ */
/* ================================================
   BIOTYS — index.css  (homepage only)
   ================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#1a2e14 0%,#0f1e0b 45%,#172716 100%);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 68% 50%, rgba(92,182,68,.08) 0%, transparent 65%);
}
.hero__bauhaus {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: hidden;
}
.hero__bauhaus svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__container {
  position: relative; z-index: 1;
  padding-top: 5rem; padding-bottom: 5rem;
}
.hero__content { max-width: 640px; }

.hero__eyebrow {
  display: block; margin-bottom: 1.25rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); font-family: var(--font-sans);
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero__title {
  font-size: clamp(3rem,7vw,5.5rem);
  font-weight: 700; color: #fff; line-height: 1.04;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .8s .5s forwards;
}
.hero__title em { font-style: italic; color: var(--green); font-weight: 400; }
.hero__text {
  font-size: 1.06rem; color: rgba(255,255,255,.65);
  max-width: 500px; line-height: 1.82; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .8s .7s forwards;
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .9s forwards;
}
.hero__stats {
  display: flex; gap: 3.5rem; margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  opacity: 0; animation: fadeUp .8s 1.1s forwards;
}
.hero__stat-n { display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.hero__stat-l { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; }

.hero__scroll-hint {
  position: absolute; bottom: 2.5rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 1; opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.hero__scroll-hint span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.26); writing-mode: vertical-rl; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom,rgba(255,255,255,.18),transparent); animation: pulse 2s ease-in-out infinite; }

@keyframes fadeUp  { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes pulse   { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:.35;transform:scaleY(.6)} }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--bg-off); border-bottom: 1px solid var(--gray-border); padding: 1.35rem 0; }
.trust-bar__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-bar__orgs  { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.trust-org { display: flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 500; color: var(--gray-dk); }
.trust-org__dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.trust-sep  { width: 1px; height: 14px; background: var(--gray-border); }

/* ---- ABOUT INTRO ---- */
.about-intro { padding: 7rem 0; position: relative; overflow: hidden; }
.about-intro__deco {
  position: absolute; top: 0; right: 0;
  width: 42%; height: 100%; pointer-events: none; overflow: hidden;
}
.about-intro__deco svg { width: 100%; height: 100%; }
.about-intro__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.about-intro__text .label { display: block; margin-bottom: .75rem; }
.about-intro__text h2 { margin-bottom: 1.25rem; }
.about-intro__text p { margin-bottom: 1rem; }

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 2.4rem;
  box-shadow: var(--sh-lg);
  position: relative; z-index: 1;
}
.about-card__icon {
  width: 52px; height: 52px; background: var(--green-lt); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 1.5rem;
}
.about-card__icon svg { width: 32px; height: 32px; }
.about-card blockquote { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--charcoal); line-height: 1.68; margin-bottom: 1rem; }
.about-card cite { font-size: .78rem; color: var(--gray-mid); font-style: normal; letter-spacing: .06em; }

.about-intro__blob {
  position: absolute; top: -2rem; right: -2rem;
  width: 200px; height: 200px;
  background: var(--green-lt);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 0; opacity: .7;
}

/* ---- SERVICES PREVIEW ---- */
.services-preview {
  padding: 7rem 0; background: var(--bg-off);
  position: relative; overflow: hidden;
}
.services-preview__deco {
  position: absolute; inset: 0; pointer-events: none;
}
.services-preview__deco svg { width: 100%; height: 100%; }

.services-preview__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
  margin-bottom: 3rem; position: relative; z-index: 1;
}

.svc-card {
  background: var(--card-bg);
  border: 1px solid var(--gray-border);
  border-radius: 8px; padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--green); }
.svc-card__icon {
  width: 46px; height: 46px; background: var(--green-lt); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 1.2rem;
  transition: background var(--t), color var(--t);
}
.svc-card:hover .svc-card__icon { background: var(--green); color: #fff; }
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1rem; margin-bottom: .65rem; color: var(--charcoal); }
.svc-card p  { font-size: .86rem; color: var(--gray-mid); flex: 1; line-height: 1.65; margin-bottom: 1.2rem; }
.svc-card__arrow {
  display: flex; align-items: center; gap: .38rem;
  font-size: .78rem; font-weight: 700; color: var(--green); margin-top: auto;
}
.svc-card__arrow svg { width: 13px; height: 13px; transition: transform var(--t); }
.svc-card:hover .svc-card__arrow svg { transform: translateX(4px); }

.services-preview__cta { text-align: center; position: relative; z-index: 1; }

/* ---- AREAS ---- */
.areas { padding: 7rem 0; }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.areas__text .label { display: block; margin-bottom: .75rem; }
.areas__text h2 { margin-bottom: 1.25rem; }
.areas__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.area-tag {
  display: inline-block; padding: .36rem .9rem;
  border: 1.5px solid var(--green); border-radius: 100px;
  font-size: .79rem; color: var(--green-dk); font-weight: 500;
  background: var(--green-subtle);
  transition: all var(--t);
}
.area-tag:hover { background: var(--green); color: #fff; }

.org-cards { display: flex; flex-direction: column; gap: 1rem; }
.org-card {
  background: var(--bg-off);
  border-left: 3px solid var(--green); border-radius: 0 6px 6px 0;
  padding: 1.35rem 1.55rem;
  transition: transform var(--t), box-shadow var(--t);
}
.org-card:hover { transform: translateX(4px); box-shadow: var(--sh-md); }
.org-card__hd { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; }
.org-card__badge { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .17rem .5rem; background: var(--green-lt); color: var(--green-dk); border-radius: 100px; }
.org-card__hd strong { font-size: .97rem; font-weight: 600; color: var(--charcoal); font-family: var(--font-sans); }
.org-card p { font-size: .84rem; color: var(--gray-mid); line-height: 1.6; }

/* ---- MARKETS ---- */
.markets { padding: 3rem 0; background: var(--bg-off); border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.markets__inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.markets__flags { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.mflag { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.mflag__img { width: 38px; height: 26px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: transform var(--t), box-shadow var(--t); }
.mflag:hover .mflag__img { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.mflag span { font-size: .7rem; font-weight: 500; color: var(--gray-mid); letter-spacing: .04em; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--bg-dark); padding: 5.5rem 0;
  position: relative; overflow: hidden;
}
.cta-band__deco { position: absolute; inset: 0; pointer-events: none; }
.cta-band__deco svg { width: 100%; height: 100%; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; position: relative; z-index: 1;
}
.cta-band__text h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.4rem); }
.cta-band__text p  { color: rgba(255,255,255,.5); max-width: 480px; margin-top: .75rem; }
.cta-band__actions { display: flex; gap: 1rem; flex-shrink: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) { .services-preview__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
  .about-intro__grid, .areas__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__stats { gap: 2rem; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 5rem 0 4rem; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .services-preview__grid { grid-template-columns: 1fr; }
  .trust-bar__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .markets__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
