/* ==========================================================================
   Set Up Business — Design tokens (from Figma)
   ========================================================================== */
:root {
  --cream: #F6F3EE;
  --prussian: #003153;
  --dark: #14191E;
  --gold: #C9A876;
  --slate: #AAB4BC;

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1280px;
  --nav-height: 72px;
  --side-pad: 40px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

@media (max-width: 640px) {
  :root { --side-pad: 20px; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-group.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group.is-visible .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.is-visible .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.reveal-group.is-visible .reveal-item:nth-child(3) { transition-delay: 0.25s; }
.reveal-group.is-visible .reveal-item:nth-child(4) { transition-delay: 0.35s; }
.reveal-group.is-visible .reveal-item:nth-child(5) { transition-delay: 0.45s; }
.reveal-group.is-visible .reveal-item:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item, .reveal-group .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-scrolled {
  background: var(--cream);
  border-bottom-color: rgba(0, 49, 83, 0.07);
}

.nav__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 8.8px;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}
.nav.is-scrolled .brand { color: var(--prussian); }

.brand__mark {
  position: relative;
  width: 29.914px;
  height: 29.914px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__mark::after {
  content: '';
  position: absolute;
  left: 3.95px;
  right: 3.95px;
  bottom: 0;
  border-bottom: 1px solid currentColor;
}
.brand__mark span {
  font-family: var(--font-serif);
  font-size: 9.68px;
  letter-spacing: 0.88px;
}

.brand__divider {
  width: 1px;
  height: 29.914px;
  background: currentColor;
  opacity: 0.4;
}

.brand__word {
  font-family: var(--font-serif);
  font-size: 19.36px;
  letter-spacing: 4.4px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}
.nav.is-scrolled .brand__word { color: var(--prussian); }
.brand__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 6.6px;
  letter-spacing: 3.52px;
  text-transform: uppercase;
  margin-top: 2px;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}
.nav.is-scrolled .brand__sub { color: var(--dark); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-scrolled .nav__link { color: var(--prussian); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.25s var(--ease);
}
.nav__link:hover::after { right: 0; }
.nav__link:hover { opacity: 0.75; }

/* Language switcher — sits in the nav, to the right of Contacto */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 29px;
  padding: 7px 13px;
  border: 1px solid rgba(246, 243, 238, 0.35);
  background: transparent;
  color: var(--cream);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.8px;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.2s var(--ease);
}
.nav.is-scrolled .lang-switcher__btn {
  border-color: rgba(0, 49, 83, 0.18);
  color: var(--prussian);
}
.lang-switcher__btn:hover { background: rgba(246, 243, 238, 0.08); }
.nav.is-scrolled .lang-switcher__btn:hover { background: rgba(0, 49, 83, 0.04); }
.lang-switcher__btn:active { transform: scale(0.97); }

.lang-switcher__flag { font-size: 12px; line-height: 1; }
.lang-switcher__code { line-height: 1; }
.lang-switcher__chevron {
  transition: transform 0.25s var(--ease);
}
.lang-switcher.is-open .lang-switcher__chevron { transform: rotate(180deg); }

.lang-switcher__menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 176px;
  background: var(--cream);
  border: 1px solid rgba(0, 49, 83, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);

  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-switcher__menu li + li { margin-top: 2px; }

.lang-switcher__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: transparent;
  border: none;
  color: var(--prussian);
  text-align: left;
  transition: background 0.2s var(--ease);
}
.lang-switcher__menu button:hover { background: rgba(0, 49, 83, 0.06); }
.lang-switcher__menu li[aria-selected="true"] button {
  background: var(--prussian);
  color: var(--cream);
}

.lang-switcher__menu .lang-switcher__flag { font-size: 15px; }
.lang-switcher__option-code {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.lang-switcher__option-name {
  font-size: 13px;
  opacity: 0.75;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cream);
  transition: background 0.35s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav.is-scrolled .nav-toggle span { background: var(--prussian); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(0, 49, 83, 0.07);
  padding: 8px var(--side-pad) 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__mobile-panel.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile-panel a {
  font-size: 15px;
  color: var(--prussian);
  padding: 12px 4px;
  border-bottom: 1px solid rgba(0, 49, 83, 0.06);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--prussian);
  padding: calc(var(--nav-height) + 64px) var(--side-pad) 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__rule-top,
.hero__rule-bottom {
  position: absolute;
  left: 40px; right: 40px;
  height: 1px;
  background: rgba(170, 180, 188, 0.1);
}
.hero__rule-top { top: 56px; }
.hero__rule-bottom { bottom: 56px; }

.hero__content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 19.6px;
  color: var(--cream);
}
.hero__mark {
  position: relative;
  width: 67.195px;
  height: 67.195px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__mark::after {
  content: '';
  position: absolute;
  left: 8.4px; right: 8.4px; bottom: 0;
  border-bottom: 1px solid currentColor;
}
.hero__mark span {
  font-family: var(--font-serif);
  font-size: 21.7px;
  letter-spacing: 2.1px;
}
.hero__divider {
  width: 1px;
  height: 67.195px;
  background: currentColor;
  opacity: 0.4;
}
.hero__wordmark { text-align: left; }
.hero__word {
  font-family: var(--font-serif);
  font-size: clamp(30px, 6vw, 43.4px);
  letter-spacing: 9.8px;
  text-transform: uppercase;
  line-height: 1;
}
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(11px, 2vw, 15.4px);
  letter-spacing: 7.7px;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero__tagline {
  margin-top: 14px;
  font-size: 8.4px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
}

.hero__rule-1 {
  margin: 56px auto 40px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero__statement {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.8;
  color: var(--cream);
  max-width: 680px;
}

.hero__rule-2 {
  margin: 48px auto 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.25;
}

/* ==========================================================================
   Section shared
   ========================================================================== */
.section {
  padding: 96px var(--side-pad);
}
.section__label {
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 2.52px;
  text-transform: uppercase;
  color: var(--slate);
}
.section__rule {
  margin-top: 16px;
  width: 100%;
  height: 1px;
  background: var(--gold);
}
.section__grid-wrap { margin-top: 72px; }

@media (max-width: 900px) {
  .section { padding: 64px var(--side-pad); }
  .section__grid-wrap { margin-top: 40px; }
}

/* ==========================================================================
   Value proposition
   ========================================================================== */
.value {
  background: var(--cream);
}
.value .section__rule { opacity: 0.5; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 49, 83, 0.07);
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--cream);
  padding: 56px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.value-card:hover {
  background: #fff;
  transform: translateY(-4px);
}
.value-card__icon { width: 20px; height: 20px; }
.value-card__rule { width: 24px; height: 1px; background: var(--gold); }
.value-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.35;
  color: var(--prussian);
}
.value-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark);
  opacity: 0.7;
  max-width: 260px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--prussian); }
.services .section__label { color: rgba(170, 180, 188, 0.65); }
.services .section__rule { opacity: 0.25; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(246, 243, 238, 0.07);
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--prussian);
  border-top: 1px solid rgba(246, 243, 238, 0.06);
  padding: 53px 44px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover {
  background: #04365c;
  transform: translateY(-4px);
}
.service-card__icon { width: 18px; height: 18px; }
.service-card__rule { width: 20px; height: 1px; background: var(--gold); opacity: 0.35; }
.service-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
  color: var(--cream);
  max-width: 260px;
}
.service-card p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(170, 180, 188, 0.8);
  max-width: 260px;
}

.service-list {
  margin-top: 72px;
  border-top: 1px solid rgba(246, 243, 238, 0.08);
  padding-top: 41px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 859px;
}
@media (max-width: 900px) {
  .service-list { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 560px) {
  .service-list { grid-template-columns: 1fr; }
}
.service-list__item {
  border-bottom: 1px solid rgba(246, 243, 238, 0.05);
  padding: 18px 24px 19px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-list__item::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.service-list__item span {
  font-size: 15px;
  line-height: 1.28;
  color: rgba(170, 180, 188, 0.85);
}

/* ==========================================================================
   Why Paraguay
   ========================================================================== */
.why { background: var(--dark); }
.why .section__label { color: rgba(170, 180, 188, 0.65); }

.why__heading {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 44.04px);
  line-height: 1.25;
  color: var(--cream);
  max-width: 740px;
}
.why__rule {
  margin-top: 48px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(170, 180, 188, 0.05);
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--dark);
  padding: 44px 40px 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.why-card:hover {
  background: #1c232a;
  transform: translateY(-4px);
}
.why-card__icon { width: 18px; height: 18px; }
.why-card h4 {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 1.45;
  color: var(--gold);
}
.why-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate);
  opacity: 0.85;
  max-width: 260px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--cream); padding: 120px var(--side-pad); }
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact .section__label { text-align: center; }
.contact__rule {
  margin: 20px auto 48px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.contact h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1.2;
  color: var(--prussian);
}
.contact__text {
  margin-bottom: 48px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  opacity: 0.65;
}
.contact__btn {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 52px;
  background: var(--prussian);
  color: var(--cream);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--prussian);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
}
.contact__btn:hover {
  background: transparent;
  color: var(--prussian);
  transform: translateY(-2px);
}
.contact__url {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--slate);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--dark); padding: 56px var(--side-pad) 40px; }
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__mark {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}
.footer__mark span {
  font-family: var(--font-serif);
  font-size: 13.2px;
  letter-spacing: 1.6px;
}
.footer__word {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
}
.footer__sub {
  font-weight: 500;
  font-size: 7px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.65);
}
.footer__city {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.8px;
  color: var(--slate);
}
.footer__nav {
  display: flex;
  gap: 32px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(170, 180, 188, 0.5);
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--cream); }

.footer__divider {
  margin-top: 48px;
  height: 1px;
  background: rgba(170, 180, 188, 0.07);
}
.footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__copy {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: rgba(170, 180, 188, 0.3);
}
.footer__domain {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(170, 180, 188, 0.2);
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pop 0.5s var(--ease) 1.2s both;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}
.whatsapp-float img { width: 30px; height: 30px; }

@keyframes wa-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .whatsapp-float img { width: 26px; height: 26px; }
}

/* ==========================================================================
   Responsive — Nav collapse
   ========================================================================== */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav-toggle { display: flex; }
  .nav__right { gap: 16px; }
}

@media (max-width: 480px) {
  .lang-switcher__btn { padding: 7px 10px; gap: 4px; }
  .lang-switcher__menu { right: -8px; min-width: 168px; }
}

@media (max-width: 640px) {
  .hero__brand { flex-direction: column; gap: 16px; }
  .hero__divider { width: 40px; height: 1px; }
  .hero__wordmark { text-align: center; }
  .value-card, .service-card, .why-card { padding-left: 28px; padding-right: 28px; }
  .value-card p, .service-card p, .why-card p, .service-card h3, .value-card h3 { max-width: none; }
  .footer__top { flex-direction: column; }
}
