/* ============================================================
   STRAGTA — styles.css
   Manrope font, warm cream palette.
   ============================================================ */

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

:root {
  --bg:      #F2F0EA;
  --bg2:     #E9E7E1;
  --card:    #FFFFFF;
  --border:  rgba(28, 28, 20, 0.09);
  --border2: rgba(28, 28, 20, 0.15);
  --text:    #1A1A17;
  --muted:   #67665F;
  --muted2:  #9A9891;
  --dark:    #131311;
  --cream:   #F2F0EA;
  --accent:  #B8F020;
  --f: 'Manrope', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 69px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(242, 240, 234, 0.95);
  border-bottom: 0px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 20px rgba(28, 28, 20, 0.07); }

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  color: var(--text);
}

.nav-logo-name {
  font-family: var(--f);
  font-size: 1 rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-logo-tagline {
  margin-top: 0.2rem;
  font-family: var(--f);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(28, 28, 20, 0.56);
  line-height: 1.15;
}

@media (max-width: 768px) {
  .nav-logo-tagline {
    display: none;
  }
}

.nav-right { display: flex; align-items: center; gap: 1.4rem; }

.nav-lang {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--muted); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-lang:hover { color: var(--text); }

.nav-cta {
  padding: 0.44rem 1.2rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--text); color: var(--cream);
  text-decoration: none; text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.8; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 6vw 6rem;
  overflow: visible;
  background: transparent;
}

h1.hero-title {
  font-size: clamp(2rem, 7.2vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin-bottom: 2.8rem;
  color: var(--text);
}

h1.hero-title em {
  display: block;
  margin-top: 0.3em;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

.hero-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-sub {
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.9;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-shrink: 0;
  align-items: left;
}

.btn-primary {
  padding: 0.78rem 1.9rem;
  background: var(--text);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.8; }

.btn-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.btn-text:hover { color: var(--text); }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-globe-bg {
  position: absolute;
  left: 50%;
  top: 18vh;
  transform: translateX(-6%);
  width: min(72vw, 980px);
  height: min(72vw, 980px);
  z-index: 0;
  pointer-events: none;
}

.hero-globe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-globe-wrap canvas,
#globe-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-globe-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(242, 240, 234, 0) 0%,
      rgba(242, 240, 234, 0) 58%,
      rgba(242, 240, 234, 0) 78%,
      rgba(242, 240, 234, 0.48) 100%);
}

#globe-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.35);
}

.hero-services-shell {
  position: relative;
  overflow: hidden;
  background: #f2f0ea;
}

#hero,
#services {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* ── SHARED ── */
.section-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Opcional: que services suba visualmente sobre el globo */
#services {
  z-index: 2;
  padding-top: 6rem;
}

@media (max-width: 1400px) {
  .hero-globe-bg {
    left: 50%;
    top: 38vh;
    transform: translateX(-5%);
    width: min(85vw, 760px);
    height: min(85vw, 760px);
  }
}

@media (max-width: 768px) {
  .hero-globe-bg {
    display: none !important;
  }
}

/* ── SERVICES ── */
#services {
  padding: 7rem 10%;
  background: rgba(0, 0, 0, 0.936);
}
.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.services-top .section-label {
  color: rgba(242,240,234,.3);
}
.services-top .section-title {
  color: var(--cream);
}
.services-desc {
  font-size: 0.94rem;
  color: rgba(242,240,234,.42);
  font-weight: 400;
  line-height: 1.85;
  max-width: 400px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(242,240,234,.08);
}
.srv {
  background: rgba(242,240,234,.03);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.srv:hover {
  background: rgba(242,240,234,.07);
}
.srv::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s;
}
.srv:hover::after {
  width: 100%;
}
.srv-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(242,240,234,.2);
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}
.srv-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 1.2rem;
  opacity: 0.4;
  color: var(--cream);
}
.srv-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  color: var(--cream);
}
.srv-desc {
  font-size: 0.84rem;
  color: rgba(242,240,234,.42);
  line-height: 1.82;
}
.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 1.4rem;
}
.srv-tag {
  padding: 0.16rem 0.58rem;
  border: 1px solid rgba(242,240,234,.15);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(242,240,234,.32);
  text-transform: uppercase;
  border-radius: 99px;
  transition: all 0.2s;
}
.srv-tag:hover {
  border-color: rgba(242,240,234,.35);
  color: rgba(242,240,234,.65);
}


/* ── PHILOSOPHY ── */
#philosophy { padding: 8rem 5%; border-bottom: 1px solid var(--border); }
.phil-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.phil-quote {
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.03em; margin: 1.8rem 0;
}
.phil-quote em { font-style: italic; color: var(--muted); font-weight: 700; }

/* ── PROCESS ── */
#process { padding: 7rem 5%; }
.process-header { margin-bottom: 3.5rem; }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.proc-step {
  padding: 2.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proc-n {
  font-size: 3rem; font-weight: 800;
  color: var(--border2); line-height: 1;
  margin-bottom: 1.2rem; letter-spacing: -0.04em;
}
.proc-title {
  font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 0.68rem;
}
.proc-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.82; }

/* ── NEWS ── */
#news { padding: 6rem 5%; background: var(--bg2); }

.news-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap;
}

.news-badge {
  display: inline-flex; align-items: center; gap: 0.48rem;
  padding: 0.24rem 0.7rem;
  background: rgba(184, 240, 32, 0.12);
  border: 1px solid rgba(184, 240, 32, 0.28);
  border-radius: 99px;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; color: #4a7012;
  margin-bottom: 0.8rem; text-transform: uppercase;
}
.news-badge::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.news-note { font-size: 0.67rem; color: var(--muted2); margin-top: 0.35rem; font-weight: 500; }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
}
.news-card {
  background: var(--card); border: 1px solid var(--border);
  overflow: hidden; transition: border-color 0.2s, transform 0.25s;
  cursor: pointer; display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--border2); transform: translateY(-4px); }

.news-art { width: 100%; height: 168px; flex-shrink: 0; overflow: hidden; }
.news-art svg, .news-art img {
  width: 100%; height: 168px; display: block; object-fit: cover;
}

.news-body { padding: 1.3rem; flex: 1; }
.news-meta {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 0.65rem;
}
.news-cat {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.news-date { font-size: 0.58rem; font-weight: 500; color: var(--muted2); }
.news-headline {
  font-size: 1rem; font-weight: 700;
  line-height: 1.38; margin-bottom: 0.62rem; letter-spacing: -0.015em;
}
.news-summary {
  font-size: 0.78rem; color: var(--muted); line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.news-footer {
  padding: 0.65rem 1.3rem 0.95rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); margin-top: auto;
}
.news-source { font-size: 0.62rem; font-weight: 600; color: var(--muted2); letter-spacing: 0.04em; }
.news-link {
  font-size: 0.65rem; font-weight: 700;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.news-link:hover { color: var(--text); }
.news-loading {
  grid-column: 1 / -1; text-align: center;
  padding: 4rem; color: var(--muted); font-size: 0.85rem;
}

/* ── CONTACT ── */
#contact {
  padding: 7rem 10%;
  border-top: 1px solid rgba(242,240,234,.08);
  background: var(--dark);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}
.fg label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,240,234,.35);
}
.fg input,
.fg textarea,
.fg select {
  background: rgba(242,240,234,.04);
  border: 1px solid rgba(242,240,234,.12);
  color: var(--cream);
  font-family: var(--f);
  font-size: 0.84rem;
  padding: 0.72rem 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  border-radius: 0;
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(242,240,234,.22);
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: rgba(242,240,234,.45);
}
.fg textarea { height: 100px; }
.fg select {
  -webkit-appearance: none;
  appearance: none;
  color: rgba(242,240,234,.6);
}
.fg select option {
  background: var(--dark);
  color: var(--cream);
}
.submit-btn {
  padding: 0.82rem 1.9rem;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--f);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.submit-btn:hover { opacity: 0.85; }
.form-note {
  font-size: 0.67rem;
  font-weight: 500;
  color: rgba(242,240,234,.25);
  margin-top: 0.35rem;
}
.form-success {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.form-error {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff7c6e;
  letter-spacing: 0.02em;
}

.free-box {
  padding: 1.4rem;
  border: 1px solid rgba(242,240,234,.1);
  background: rgba(242,240,234,.05);
  margin-top: 0.4rem;
}
.free-box div:first-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242,240,234,.3);
  margin-bottom: 0.5rem;
}
.free-box .free-headline {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.free-box p {
  font-size: 0.78rem;
  color: rgba(242,240,234,.42);
  margin-top: 0.4rem;
  line-height: 1.7;
}
/* ── FOOTER ── */
footer {
  padding: 2.4rem 5%;
  background: var(--dark);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.3rem;
  border-top: 1px solid rgba(242, 240, 234, 0.07);
}
.footer-logo {
  font-family: var(--f); font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(242, 240, 234, 0.5); text-decoration: none;
}
.footer-copy { font-size: 0.66rem; font-weight: 500; color: rgba(242, 240, 234, 0.22); }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a {
  font-size: 0.63rem; font-weight: 600;
  color: rgba(242, 240, 234, 0.22);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(242, 240, 234, 0.5); }
.footer-lang {
  font-size: 0.63rem; font-weight: 600;
  color: rgba(242, 240, 234, 0.22);
  text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-lang:hover { color: rgba(242, 240, 234, 0.5); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 4%; }

  #hero, #services, #philosophy, #process, #contact {
    padding-left: 4%; padding-right: 4%;
  }
  .map-inner, .map-legend, .map-note { padding-left: 4%; padding-right: 4%; }

  h1.hero-title { font-size: 2.8rem; letter-spacing: -0.025em; }
  .hero-body { flex-direction: column; align-items: flex-start; }
  .services-top, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .map-header-row { flex-direction: column; gap: 1.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}

 

/* ── REVIEWS CAROUSEL ── */
  #reviews {
      padding: 7rem 5%;
      background: var(--bg);
      border-top: 1px solid var(--border);
      overflow: hidden;
    }
    .reviews-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3rem;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .reviews-nav {
      display: flex;
      gap: 0.6rem;
    }
    .rev-btn {
      width: 38px;
      height: 38px;
      border: 1px solid var(--border2);
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      transition: all 0.2s;
      border-radius: 0;
    }
    .rev-btn:hover {
      border-color: var(--text);
      color: var(--text);
    }
    .rev-btn svg {
      width: 14px;
      height: 14px;
    }
    .reviews-track-wrap {
      position: relative;
      overflow: hidden;
    }
    .reviews-track {
      display: flex;
      gap: 1.4rem;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .rev-card {
      background: var(--card);
      border: 1px solid var(--border);
      padding: 2.4rem;
      flex: 0 0 calc(33.333% - 1rem);
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      transition: border-color 0.2s;
    }
    .rev-card:hover {
      border-color: var(--border2);
    }
    .rev-stars {
      display: flex;
      gap: 3px;
    }
    .rev-stars svg {
      width: 14px;
      height: 14px;
      fill: #B8F020;
      color: #B8F020;
    }
    .rev-quote {
      font-size: 0.92rem;
      line-height: 1.82;
      color: var(--text);
      font-weight: 400;
      flex: 1;
    }
    .rev-quote::before {
      content: '\201C';
      font-size: 1.4rem;
      color: var(--muted2);
      line-height: 0;
      vertical-align: -0.3em;
      margin-right: 2px;
    }
    .rev-author {
      border-top: 1px solid var(--border);
      padding-top: 1rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .rev-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--bg2);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 800;
      color: var(--muted);
      flex-shrink: 0;
      letter-spacing: .04em;
    }
    .rev-name {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.01em;
    }
    .rev-role {
      font-size: 0.7rem;
      color: var(--muted);
      font-weight: 500;
      margin-top: 1px;
    }
    .reviews-dots {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin-top: 2rem;
    }
    .rev-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--border2);
      cursor: pointer;
      transition: all 0.2s;
      border: none;
      padding: 0;
    }
    .rev-dot.active {
      background: var(--text);
      width: 20px;
      border-radius: 3px;
    }


    @media (max-width: 900px) {
      .rev-card { flex: 0 0 calc(85vw - 2rem); }
      #reviews { padding-left: 4%; padding-right: 4%; }
      .reviews-header { flex-direction: column; align-items: flex-start; }
    }

    #contact .section-title {
  color: var(--cream);
}
