/* ================================================================
   CENTRO HARMONÍA — Premium Design System
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }

/* ----------------------------------------------------------------
   Design Tokens
   ---------------------------------------------------------------- */
:root {
  --c-dark:       #182219;
  --c-green:      #2c4433;
  --c-sage:       #8fa88c;
  --c-gold:       #5aa5a0;
  --c-gold-lt:    #bde3e1;
  --c-cream:      #f5f2ec;
  --c-cream-2:    #edeadf;
  --c-white:      #ffffff;
  --c-text:       #1e2621;
  --c-muted:      #6a7a6d;
  --c-border:     #ddd8ce;

  --f-display: 'PT Serif', Georgia, serif;
  --f-body:    'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:      0.5s;
  --dur-fast: 0.22s;

  --nav-h:  80px;
  --max-w:  1280px;
  --pad:    clamp(1.5rem, 5vw, 5rem);
}

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--c-dark);
}

h1 { font-size: clamp(3.2rem, 7.5vw, 8rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }

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

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--c-text);
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 520px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-white);
  border: 1px solid var(--c-gold);
}
.btn-gold:hover { background: transparent; color: var(--c-gold); }

.btn-dark {
  background: var(--c-dark);
  color: var(--c-white);
  border: 1px solid var(--c-dark);
}
.btn-dark:hover { background: transparent; color: var(--c-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-outline-white:hover { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.65); color: var(--c-white); }

.link-arrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: gap var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: 0.85rem; }

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

#nav.scrolled {
  background: var(--c-white);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 68px;
  width: auto;
  transition: filter var(--dur) var(--ease);
}
#nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
#nav.scrolled .nav-links a { color: var(--c-text); }
#nav.scrolled .nav-links a:hover { color: var(--c-dark); }

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

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

#nav.scrolled .btn-outline-white {
  color: var(--c-dark);
  border-color: rgba(0,0,0,0.3);
}
#nav.scrolled .btn-outline-white:hover {
  background: var(--c-dark);
  color: var(--c-white);
  border-color: var(--c-dark);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  position: relative;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-white);
  transition: all var(--dur-fast) var(--ease);
}
#nav.scrolled .hamburger span { background: var(--c-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3rem);
  color: rgba(255,255,255,0.85);
  transition: color var(--dur-fast) var(--ease);
}
.mobile-menu a:hover { color: var(--c-gold); }

.mobile-menu .btn {
  font-family: var(--f-body);
  font-size: 0.72rem;
  margin-top: 0.5rem;
}

.mobile-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 1rem 0;
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
#hero {
  position: relative;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--pad) 0;
  overflow: hidden;
}

#hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  margin-bottom: 1.25rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(24,34,25,0.82) 0%,
    rgba(24,34,25,0.55) 55%,
    rgba(24,34,25,0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 1.75rem;
  display: block;
}

.hero-content h1 {
  color: var(--c-white);
  font-weight: 300;
  max-width: 860px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--c-gold-lt);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.hero-scroll {
  position: absolute;
  bottom: clamp(2rem, 5vh, 4rem);
  right: var(--pad);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: pulse-down 2.2s var(--ease) infinite;
}
@keyframes pulse-down {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ----------------------------------------------------------------
   Trust Bar
   ---------------------------------------------------------------- */
#trust {
  background: var(--c-dark);
  padding: 2.75rem var(--pad);
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .trust-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .trust-divider { display: none; }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.trust-num {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--c-gold);
  line-height: 1;
  font-weight: 400;
}

.trust-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  max-width: 120px;
  text-align: center;
  line-height: 1.4;
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  justify-self: center;
}

/* ----------------------------------------------------------------
   Philosophy
   ---------------------------------------------------------------- */
#philosophy {
  background: var(--c-cream);
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

@media (max-width: 900px) {
  .philosophy-inner {
    grid-template-columns: 1fr;
  }
  .philosophy-image { order: -1; max-height: 55vw; }
}

.philosophy-text h2 { margin-bottom: 2rem; }
.philosophy-text .lead { margin-bottom: 1.5rem; }
.philosophy-text p { margin-bottom: 1.25rem; }

blockquote {
  border-left: 2px solid var(--c-gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-style: italic;
  color: var(--c-green);
  line-height: 1.55;
}

.philosophy-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.philosophy-image::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  border: 1px solid var(--c-gold-lt);
  z-index: 0;
  pointer-events: none;
}
.philosophy-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.philosophy-image:hover img { transform: scale(1.04); }

/* ----------------------------------------------------------------
   Services
   ---------------------------------------------------------------- */
#services {
  background: var(--c-white);
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
}

.section-hd {
  max-width: var(--max-w);
  margin: 0 auto 3.5rem;
}

.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--c-border);
  border: 2px solid var(--c-border);
}

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--c-cream-2);
}

.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.svc-card:hover img { transform: scale(1.07); }

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24,34,25,0.95) 0%,
    rgba(24,34,25,0.45) 45%,
    rgba(24,34,25,0.08) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background var(--dur) var(--ease);
}
.svc-card:hover .svc-overlay {
  background: linear-gradient(
    to top,
    rgba(24,34,25,1) 0%,
    rgba(24,34,25,0.78) 55%,
    rgba(24,34,25,0.25) 100%
  );
}

.svc-name {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--c-white);
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.2;
}

.svc-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin-top var(--dur) var(--ease);
}
.svc-card:hover .svc-desc {
  max-height: 72px;
  opacity: 1;
  margin-top: 0.5rem;
}

.svc-desc, .svc-link { display: none; }

.svc-link {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-top: 0;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), margin-top var(--dur) var(--ease);
  display: block;
}
.svc-card:hover .svc-link {
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.75rem;
}

/* CTA card */
.svc-cta {
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-cta::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(196,164,107,0.2);
  pointer-events: none;
  transition: border-color var(--dur) var(--ease);
}
.svc-cta:hover { background: var(--c-green); }
.svc-cta:hover::before { border-color: rgba(196,164,107,0.5); }

.svc-cta h3 {
  color: var(--c-white);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-bottom: 0.75rem;
}
.svc-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
  max-width: 200px;
}

/* ----------------------------------------------------------------
   The Centre
   ---------------------------------------------------------------- */
#centre { background: var(--c-white); }

.centre-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
@media (max-width: 900px) { .centre-split { grid-template-columns: 1fr; } }

.centre-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 480px;
  gap: 2px;
}
.centre-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.centre-gallery img:hover { transform: scale(1.04); }

.centre-text {
  background: var(--c-cream);
  padding: clamp(3rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}
.centre-text h2 { margin-bottom: 0.25rem; }
.centre-text p { margin-bottom: 0; }

.centre-meta {
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.centre-meta-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 0.2rem;
  display: block;
}

.centre-meta p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ----------------------------------------------------------------
   Team
   ---------------------------------------------------------------- */
#team {
  background: var(--c-cream);
  padding: clamp(5rem, 8vw, 8rem) var(--pad) clamp(6rem, 10vw, 10rem);
}
#team .section-hd {
  max-width: 780px;
  text-align: center;
}
#team .section-sub { max-width: 100%; }

.team-grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 2rem;
  background: transparent;
  border: 2px solid var(--c-border);
}
@media (max-width: 700px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--c-white);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-3px); }

.team-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease);
  filter: grayscale(15%);
}
.team-card:hover .team-photo img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-info {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 2px solid var(--c-cream);
}
.team-info h3 {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--c-dark);
  margin-bottom: 0.25rem;
}
.team-specialty {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 0.6rem;
  display: block;
}
.team-info p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--c-muted);
}

/* ----------------------------------------------------------------
   Technologies
   ---------------------------------------------------------------- */
#technologies {
  background: var(--c-dark);
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
}

#technologies .section-hd { max-width: var(--max-w); margin: 0 auto 3.5rem; }
#technologies .eyebrow { color: var(--c-gold); }
#technologies h2 { color: var(--c-white); }

.tech-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
@media (max-width: 700px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-item {
  background: var(--c-dark);
  padding: 3rem 2.75rem;
  border-left: 2px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.tech-item:hover {
  border-color: var(--c-gold);
  background: rgba(255,255,255,0.025);
}

.tech-n {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  margin-bottom: 1.5rem;
  transition: color var(--dur) var(--ease);
  font-weight: 300;
}
.tech-item:hover .tech-n { color: rgba(196,164,107,0.18); }

.tech-item h3 {
  color: var(--c-white);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  margin-bottom: 1rem;
  font-weight: 400;
}
.tech-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
#contact {
  background: var(--c-white);
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { margin-bottom: 1.25rem; }

.contact-details {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

.c-detail-value {
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.65;
}
.c-detail-value a:hover { color: var(--c-gold); }

.contact-form-wrap {
  background: var(--c-cream);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.contact-form-wrap h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--c-dark);
  margin-bottom: 2rem;
  font-weight: 400;
}

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

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 0.9rem;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--c-gold); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a7a6d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 1.05rem;
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--c-dark);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  margin-top: 0.25rem;
  display: block;
  text-align: center;
}
.btn-submit:hover { background: transparent; color: var(--c-dark); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.form-success h4 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--c-dark);
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
footer {
  background: var(--c-dark);
  padding: 5rem var(--pad) 2.5rem;
}

.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  transition: color var(--dur-fast) var(--ease);
  line-height: 1.5;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-col address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.85;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--dur-fast) var(--ease);
}
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

.footer-langs {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-langs a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color var(--dur-fast) var(--ease);
}
.footer-langs a:hover { color: rgba(255,255,255,0.65); }

/* ----------------------------------------------------------------
   CTA Strips
   ---------------------------------------------------------------- */
.cta-strip {
  background: var(--c-dark);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  text-align: center;
}

.cta-strip--light {
  background: var(--c-cream);
}

.cta-strip-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-strip h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--c-white);
  line-height: 1.15;
}

.cta-strip--light h2 { color: var(--c-dark); }

.cta-strip p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 420px;
  line-height: 1.7;
}

.cta-strip--light p { color: var(--c-muted); }

.cta-strip .eyebrow { margin-bottom: 0; }

.cta-strip .btn { margin-top: 0.5rem; }

/* ----------------------------------------------------------------
   WhatsApp FAB
   ---------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.38);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.wa-fab svg { width: 27px; height: 27px; fill: #fff; }

/* ----------------------------------------------------------------
   Scroll Animations
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ----------------------------------------------------------------
   Utility
   ---------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ================================================================
   MOBILE OPTIMIZATIONS (max-width: 768px)
   ================================================================ */
@media (max-width: 768px) {

  /* --- Tokens --- */
  :root { --nav-h: 64px; }

  /* --- Nav --- */
  .nav-logo img { height: 48px; }

  .nav-inner { padding: 0 1.25rem; }

  /* --- Hero --- */
  #hero {
    padding: var(--nav-h) 1.25rem 4rem;
    align-items: flex-end;
  }

  #hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); }

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

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

  .hero-scroll { display: none; }

  /* --- Trust bar --- */
  #trust { padding: 2rem 1.25rem; }

  /* --- Philosophy --- */
  #philosophy { padding: 4rem 1.25rem; }

  .philosophy-image::before { display: none; }

  blockquote { font-size: 1rem; padding-left: 1rem; }

  /* --- Services --- */
  #services { padding: 4rem 1.25rem; }

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

  .svc-card { aspect-ratio: 16/9; }

  .svc-cta { aspect-ratio: unset; padding: 3rem 1.5rem; }

  /* --- Centre --- */
  .centre-text { padding: 2.5rem 1.25rem; }

  .centre-gallery { min-height: 280px; }

  /* --- Team --- */
  #team { padding: 4rem 1.25rem 6rem !important; }

  #team .section-hd { padding: 0 0.5rem; }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    max-width: 100%;
  }

  .team-info { padding: 0.75rem 1rem 1rem; }

  .team-info h3 { font-size: 0.95rem; }

  .team-specialty { font-size: 0.58rem; }

  .team-info p { display: none; }

  /* --- Technologies --- */
  #technologies { padding: 4rem 1.25rem; }

  .tech-item { padding: 2rem 1.5rem; }

  .tech-n { font-size: 2.5rem; margin-bottom: 1rem; }

  /* --- CTA Strips --- */
  .cta-strip { padding: 3.5rem 1.25rem; }

  .cta-strip h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

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

  /* --- Contact --- */
  #contact { padding: 4rem 1.25rem; }

  .contact-form-wrap { padding: 1.75rem 1.25rem; }

  /* --- Footer --- */
  footer { padding: 3rem 1.25rem 2rem; }

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

  .footer-legal { flex-wrap: wrap; gap: 1rem; }

  .footer-langs { gap: 0.75rem; }

  /* --- Section headings --- */
  h2 { font-size: clamp(2rem, 8vw, 2.8rem); }

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

  /* --- WhatsApp FAB --- */
  .wa-fab { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; }
  .wa-fab svg { width: 23px; height: 23px; }
}

/* Extra small phones */
@media (max-width: 380px) {
  .team-grid { grid-template-columns: 1fr; }
  #hero h1 { font-size: 1.5rem; }
}

/* ================================================================
   TEAM — 2-column horizontal cards
   ================================================================ */
#team .section-hd {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.team2-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.team2-card {
  display: flex;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(24,34,25,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}

.team2-card:hover {
  box-shadow: 0 8px 32px rgba(24,34,25,0.13);
  transform: translateY(-2px);
}

.team2-photo {
  flex: 0 0 145px;
  width: 145px;
}

.team2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team2-info {
  flex: 1;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.team2-info h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0;
  line-height: 1.2;
}

.team2-specialty {
  display: block;
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.4rem;
}

.team2-info p {
  font-family: var(--f-body);
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(24,34,25,0.62);
  margin: 0;
}

@media (max-width: 768px) {
  .team2-grid { grid-template-columns: 1fr; gap: 1rem; }
  .team2-photo { flex: 0 0 110px; width: 110px; }
  .team2-info { padding: 1.1rem 1.1rem; }
  .team2-info h3 { font-size: 0.95rem; }
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
#how-it-works {
  background: var(--c-dark);
  padding: clamp(5rem, 8vw, 8rem) var(--pad);
  overflow: hidden;
}

#how-it-works .section-hd {
  text-align: center;
  margin-bottom: 5rem;
}

#how-it-works .section-hd .eyebrow { color: var(--c-gold); }

#how-it-works h2 { color: #fff; }

.hiw-steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hiw-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-gold);
  margin-bottom: 2rem;
  background: var(--c-dark);
  position: relative;
  z-index: 2;
  transition: background 0.3s, color 0.3s;
}

.hiw-step:hover .hiw-num {
  background: var(--c-gold);
  color: var(--c-dark);
}

.hiw-step h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hiw-step p {
  font-family: var(--f-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 220px;
}

.hiw-connector {
  flex: 0 0 auto;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold) 0%, rgba(90,165,160,0.2) 100%);
  margin-top: 36px;
  position: relative;
}

.hiw-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.5;
}

.hiw-cta {
  text-align: center;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hiw-step { padding: 0 1rem 2.5rem; }
  .hiw-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--c-gold) 0%, rgba(90,165,160,0.2) 100%);
    margin: 0 0 0 0;
  }
  .hiw-connector::after {
    right: -3px;
    bottom: -4px;
    top: auto;
  }
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
#testimonials {
  background: #fff;
  padding: clamp(5rem, 8vw, 8rem) var(--pad) clamp(5rem, 8vw, 8rem);
}

#testimonials .section-hd {
  max-width: var(--max-w);
  margin: 0 auto 3.5rem;
  text-align: center;
}

.testi-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.testi-card {
  background: var(--c-cream);
  border-radius: 6px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testi-mark {
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--c-gold);
  opacity: 0.35;
  user-select: none;
  display: block;
}

.testi-text {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--c-text);
  flex: 1;
}

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}

.testi-name {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-dark);
}

.testi-role {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}

.testi-cta {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  text-align: center;
}

.testi-cta a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.testi-cta a:hover { gap: 0.8rem; }

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 600px; }
}

/* ================================================================
   LANGUAGE SWITCHER FAB (bottom-left)
   ================================================================ */
.lang-switcher {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-dark);
  color: rgba(255,255,255,0.55);
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.lang-option:last-child {
  border-right: none;
}

.lang-option:hover {
  background: #2a3a2b;
  color: rgba(255,255,255,0.85);
}

.lang-active {
  background: var(--c-gold);
  color: var(--c-dark) !important;
}

@media (max-width: 768px) {
  .lang-switcher { bottom: 5rem; left: 1.25rem; }
  .lang-option { width: 40px; height: 40px; font-size: 0.68rem; }
}

/* ================================================================
   PASSWORD GATE
   ================================================================ */
.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pw-gate.hidden {
  display: none;
}

.pw-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 360px;
}

.pw-logo {
  height: 72px;
  width: auto;
}

.pw-label {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin: 0;
}

.pw-field-wrap {
  display: flex;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.pw-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  outline: none;
  padding: 0.85rem 1rem;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  color: #fff;
  caret-color: var(--c-gold);
}

.pw-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.pw-btn {
  background: var(--c-gold);
  color: var(--c-dark);
  border: none;
  padding: 0 1.5rem;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pw-btn:hover { opacity: 0.85; }

.pw-error {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  color: #e07070;
  letter-spacing: 0.02em;
  margin: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.pw-error.show { opacity: 1; }
