/* JACAMARÁ — Sitio web corporativo
   Paleta y sistema visual compartido
*/

:root {
  --verde-bosque: #35592B;
  --sea-green:    #517C45;
  --verde-claro:  #669E57;
  --teal:         #177F87;
  --gris-claro:   #E4E6E3;
  --crema:        #F5F2EA;
  --blanco:       #FFFFFF;
  --negro:        #1A1F18;

  --rosa:    #C83F59;
  --naranja: #C04F13;
  --amarillo:#D6CE34;

  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body:    Tahoma, "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --hand:    "Bradley Hand", "Comic Sans MS", "Segoe Script", cursive;

  --maxw: 1280px;
  --gutter: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  color: var(--negro);
  background: var(--crema);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ NAVEGACIÓN ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 234, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(53, 89, 43, 0.12);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--verde-bosque);
}
.nav-logo .mark {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--verde-bosque);
  opacity: 0.78;
  transition: opacity .2s;
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active {
  opacity: 1;
  border-bottom-color: var(--amarillo);
  font-weight: bold;
}
.nav-cta {
  background: var(--verde-bosque);
  color: var(--crema);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-weight: bold;
  transition: background .2s;
}
.nav-cta:hover { background: var(--teal); }

/* ============ LAYOUT ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

section { position: relative; }
.section-pad { padding: 112px 0; }
.section-pad-sm { padding: 72px 0; }

/* ============ TIPOGRAFÍA ============ */
.display-xl {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--verde-bosque);
  text-wrap: balance;
  margin: 0;
}
.display-lg {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--verde-bosque);
  text-wrap: balance;
  margin: 0 0 24px;
}
.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--verde-bosque);
  margin: 0 0 18px;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.005em;
  color: var(--verde-bosque);
  margin: 0 0 10px;
}
.eyebrow {
  font-family: var(--body);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: bold;
  margin: 0 0 22px;
  display: inline-block;
}
.lead {
  font-size: 19.5px;
  line-height: 1.55;
  color: #2A2E26;
  text-wrap: pretty;
  max-width: 60ch;
}
.muted { color: #555a52; }

.script {
  font-family: var(--hand);
  font-style: italic;
  color: var(--teal);
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: bold;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  transition: transform .15s, background .2s, color .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--verde-bosque); color: var(--crema); }
.btn-primary:hover { background: var(--teal); }
.btn-accent  { background: var(--amarillo); color: var(--verde-bosque); }
.btn-ghost   { background: transparent; color: var(--verde-bosque); border: 1.5px solid var(--verde-bosque); }

/* ============ TARJETAS ============ */
.card {
  background: var(--blanco);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 1px 0 rgba(53,89,43,0.06), 0 18px 40px -28px rgba(53,89,43,0.25);
  border: 1px solid rgba(53,89,43,0.08);
}
.card-dark {
  background: var(--verde-bosque);
  color: var(--crema);
  border-radius: 22px;
  padding: 32px;
}

/* ============ ELEMENTOS DECORATIVOS ============ */
.star4 {
  display: none !important;
}
.star4-old-keep {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--amarillo);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.star4-pink { background: var(--rosa); }
.star4-teal { background: var(--teal); }
.star4-sm   { width: 12px; height: 12px; }
.star4-lg   { width: 28px; height: 28px; }

.wave-divider {
  height: 64px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M0,32 C240,8 480,56 720,32 C960,8 1200,56 1440,32 L1440,64 L0,64Z' fill='%2335592B'/></svg>") center/100% 100% no-repeat;
}

/* Foto circular con marco */
.photo-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gris-claro);
}
.photo-circle::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(53,89,43,0.35);
  pointer-events: none;
}
.photo-rect {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gris-claro);
}

/* Placeholder striped photo */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(53,89,43,0.10) 0 12px,
      rgba(53,89,43,0.04) 12px 24px),
    linear-gradient(180deg, #c8d3c1, #aebca3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-bosque);
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 12px;
}

/* Wavy organic shape (background blob) */
.blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.layer-above { position: relative; z-index: 1; }

/* Handwritten arrow */
.hand-arrow {
  display: inline-block;
  vertical-align: middle;
}

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--verde-bosque);
  color: var(--crema);
  padding: 72px 0 36px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin: 0 0 14px;
}
.footer-grid a { color: rgba(245,242,234,0.85); display: block; padding: 4px 0; font-size: 14.5px; }
.footer-grid a:hover { color: var(--amarillo); }
.footer-bottom {
  border-top: 1px solid rgba(245,242,234,0.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(245,242,234,0.65);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ HELPERS ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.divider-line {
  height: 1px;
  background: rgba(53,89,43,0.18);
  margin: 64px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(23,127,135,0.08);
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: bold;
}

/* CTA banner reusable */
.cta-band {
  background: var(--teal);
  color: var(--crema);
  padding: 28px 40px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  :root { --gutter: 24px; }
}
