@charset "UTF-8";/* ==========================================================================
   GEO COSTA RICA · GCR DESIGN SYSTEM
   custom.css · Version 1.1 · Agosto 2026

   Arquitectura:
   01. CORE / TOKENS
   02. BASE GCR
   03. LAYOUT
   04. TYPOGRAPHY
   05. BUTTONS & LINKS
   06. PILLS / NAVIGATION
   07. CARDS
   08. ICONS / LOGOS
   09. LISTS / CALLOUTS / MINI ITEMS
   10. HERO
   11. SECTIONS / NUMBERED HEADERS
   12. HIGHLIGHTS / FACTS
   13. PANELS / SPLIT LAYOUTS
   14. GALLERY
   15. PROCESS / STEPS
   16. CONTACT / SP PAGE BUILDER
   17. UTILITIES
   18. RESPONSIVE
   ========================================================================== */


/* ==========================================================================
   01. CORE / DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand */
  --gcr-green: #17864a;
  --gcr-green-hover: #116f3c;
  --gcr-green-accent: #238653;
  --gcr-green-title: #1d5f3f;
  --gcr-green-deep: #174b36;
  --gcr-green-action: #35a853;
  --gcr-green-action-hover: #278d43;
  --gcr-blue-title: #2b4a66;

  /* Text */
  --gcr-text: #34423a;
  --gcr-text-heading: #25372e;
  --gcr-text-body: #68756e;
  --gcr-text-soft: #626d66;
  --gcr-text-muted: #758179;
  --gcr-text-light: #ffffff;

  /* Surfaces */
  --gcr-white: #ffffff;
  --gcr-surface: #ffffff;
  --gcr-surface-soft: #f8fbf9;
  --gcr-surface-tint: #eef7f1;
  --gcr-surface-tint-2: #f4faf6;
  --gcr-surface-panel: #f1f7f3;

  /* Borders */
  --gcr-border: #dfe9e3;
  --gcr-border-soft: #e0e9e3;
  --gcr-border-green: #cfe2d6;
  --gcr-border-hover: #afd1bc;

  /* Widths */
  --gcr-width-narrow: 1040px;
  --gcr-width-content: 1140px;
  --gcr-width-hero: 1160px;
  --gcr-width-wide: 1180px;

  /* Spacing */
  --gcr-space-1: 4px;
  --gcr-space-2: 8px;
  --gcr-space-3: 12px;
  --gcr-space-4: 16px;
  --gcr-space-5: 20px;
  --gcr-space-6: 24px;
  --gcr-space-7: 28px;
  --gcr-space-8: 32px;
  --gcr-space-9: 40px;
  --gcr-space-10: 48px;
  --gcr-space-11: 56px;
  --gcr-space-12: 64px;
  --gcr-space-13: 76px;

  /* Radii */
  --gcr-radius-sm: 7px;
  --gcr-radius-md: 10px;
  --gcr-radius-card: 14px;
  --gcr-radius-lg: 18px;
  --gcr-radius-round: 999px;

  /* Shadows */
  --gcr-shadow-soft: 0 8px 26px rgba(28, 76, 49, 0.065);
  --gcr-shadow-card: 0 9px 27px rgba(28, 76, 49, 0.06);
  --gcr-shadow-card-hover: 0 14px 34px rgba(28, 76, 49, 0.11);
  --gcr-shadow-panel: 0 10px 32px rgba(28, 76, 49, 0.07);
  --gcr-shadow-button: 0 8px 20px rgba(23, 134, 74, 0.18);

  /* Typography */
  --gcr-weight-regular: 400;
  --gcr-weight-medium: 500;
  --gcr-weight-semibold: 650;
  --gcr-weight-bold: 700;
  --gcr-weight-strong: 750;
  --gcr-weight-heavy: 800;

  --gcr-line-heading: 1.18;
  --gcr-line-body: 1.7;

  /* Motion */
  --gcr-transition-fast: 0.2s ease;
  --gcr-transition-card: 0.22s ease;

  /* Fixed header compensation */
  --gcr-scroll-offset: 105px;
}


/* ==========================================================================
   02. BASE GCR
   ========================================================================== */

.gcr,
.gcr *,
.gcr-section,
.gcr-section *,
.gcr-hero,
.gcr-hero * {
  box-sizing: border-box;
}

.gcr,
.gcr-section {
  color: var(--gcr-text);
}

.gcr img {
  max-width: 100%;
}


/* ==========================================================================
   03. LAYOUT
   ========================================================================== */

.gcr-container {
  width: min(100%, var(--gcr-width-content));
  margin-inline: auto;
  padding-inline: 22px;
}

.gcr-container--wide {
  width: min(100%, var(--gcr-width-wide));
}

.gcr-container--hero {
  width: min(100%, var(--gcr-width-hero));
}

.gcr-container--narrow {
  width: min(100%, var(--gcr-width-narrow));
}

.gcr-section {
  width: 100%;
  padding-block: 64px;
  scroll-margin-top: var(--gcr-scroll-offset);
}

.gcr-section--large {
  padding-block: 76px;
}

.gcr-section--compact {
  padding-block: 45px;
}

.gcr-section--divided {
  border-top: 1px solid var(--gcr-border);
}

.gcr-grid {
  display: grid;
  gap: 20px;
}

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

.gcr-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gcr-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gcr-grid--gap-sm {
  gap: 12px;
}

.gcr-grid--gap-lg {
  gap: 22px;
}


/* ==========================================================================
   04. TYPOGRAPHY
   ========================================================================== */

.gcr-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--gcr-green-accent);
  font-size: 12px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.3;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.gcr-eyebrow--small {
  font-size: 11px;
  letter-spacing: 0.075em;
}

.gcr-eyebrow--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(31, 111, 69, 0.18);
  border-radius: var(--gcr-radius-round);
  background: rgba(255, 255, 255, 0.8);
  color: #236b46;
}

.gcr-eyebrow--light {
  color: var(--gcr-white);
}

.gcr-title {
  margin: 0;
  color: var(--gcr-text-heading);
  font-size: clamp(29px, 3.5vw, 40px);
  font-weight: var(--gcr-weight-strong);
  line-height: var(--gcr-line-heading);
  letter-spacing: -0.023em;
  text-wrap: balance;
}

.gcr-title--section {
  font-size: clamp(31px, 4vw, 44px);
  letter-spacing: -0.025em;
}

.gcr-title--hero {
  font-size: clamp(36px, 5vw, 55px);
  font-weight: var(--gcr-weight-heavy);
  line-height: 1.09;
  letter-spacing: -0.032em;
}

.gcr-title--hero-lg {
  font-size: clamp(38px, 5vw, 60px);
}

.gcr-title--green {
  color: var(--gcr-green-title);
}

.gcr-title--blue {
  color: var(--gcr-blue-title);
}

.gcr-lead {
  max-width: 760px;
  margin: 17px 0 0;
  color: var(--gcr-text-body);
  font-size: 16px;
  line-height: 1.72;
}

.gcr-lead--center {
  margin-inline: auto;
  text-align: center;
}

.gcr-lead--large {
  font-size: 18px;
  line-height: 1.65;
}

.gcr-text {
  margin: 0 0 17px;
  color: var(--gcr-text-soft);
  font-size: 15px;
  line-height: var(--gcr-line-body);
}

.gcr-text--large {
  font-size: 17px;
}

.gcr-text:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   05. BUTTONS & PRIMARY LINKS
   ========================================================================== */

.gcr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gcr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--gcr-transition-fast),
    background-color var(--gcr-transition-fast),
    border-color var(--gcr-transition-fast),
    color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

.gcr-button:hover,
.gcr-button:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.gcr-button--primary {
  border-color: var(--gcr-green);
  background: var(--gcr-green);
  color: var(--gcr-white);
  box-shadow: var(--gcr-shadow-button);
}

.gcr-button--primary:hover,
.gcr-button--primary:focus {
  border-color: var(--gcr-green-hover);
  background: var(--gcr-green-hover);
  color: var(--gcr-white);
}

.gcr-button--secondary {
  border-color: #bdd7c8;
  background: var(--gcr-white);
  color: #24724b;
}

.gcr-button--secondary:hover,
.gcr-button--secondary:focus {
  background: var(--gcr-surface-tint);
  color: #185f3d;
}

.gcr-button--outline {
  border: 2px solid var(--gcr-green-accent);
  background: transparent;
  color: var(--gcr-green-accent);
}

.gcr-button--outline:hover,
.gcr-button--outline:focus {
  background: var(--gcr-green-accent);
  color: var(--gcr-white);
}

.gcr-button--hero {
  min-height: 52px;
  padding: 14px 23px;
  border-width: 2px;
  border-radius: 7px;
  font-size: 16px;
}

.gcr-button--hero-primary {
  background: var(--gcr-green-action);
  color: var(--gcr-white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.gcr-button--hero-primary:hover,
.gcr-button--hero-primary:focus {
  background: var(--gcr-green-action-hover);
  color: var(--gcr-white);
}

.gcr-button--hero-secondary {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gcr-white);
}

.gcr-button--hero-secondary:hover,
.gcr-button--hero-secondary:focus {
  border-color: var(--gcr-white);
  background: var(--gcr-white);
  color: var(--gcr-green-deep);
}

.gcr-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--gcr-green);
  font-size: 13px;
  font-weight: var(--gcr-weight-strong);
  line-height: 1.3;
  text-decoration: none;
}

.gcr-link-arrow::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
  transition: transform var(--gcr-transition-fast);
}

.gcr-link-arrow:hover,
.gcr-link-arrow:focus {
  color: var(--gcr-green-hover);
  text-decoration: none;
}

.gcr-link-arrow:hover::after,
.gcr-link-arrow:focus::after {
  transform: translateX(4px);
}


/* ==========================================================================
   06. PILLS / NAVIGATION

   Convención:
   - .gcr-pills span.gcr-pill  → etiqueta informativa, no interactiva.
   - .gcr-nav-pills a          → navegación interna, sí interactiva.
   - a.gcr-pill / .gcr-pill--link se conserva para enlaces tipo pill.
   ========================================================================== */

.gcr-pills,
.gcr-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.gcr-nav-pills {
  justify-content: center;
  gap: 9px;
}


/* Etiquetas informativas: no deben parecer botones */

.gcr-pills span.gcr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.68rem;
  border: 0;
  border-radius: 6px;
  background: rgba(38, 111, 72, 0.07);
  color: #355746;
  font-size: 0.82rem;
  font-weight: var(--gcr-weight-semibold);
  line-height: 1.35;
  text-align: center;
  cursor: default;
  box-shadow: none;
  transition: none;
}


/* Enlaces tipo pill: conserva el comportamiento visual previo */

.gcr-pills a.gcr-pill,
.gcr-pills a.gcr-pill--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #cfe0d5;
  border-radius: var(--gcr-radius-round);
  background: var(--gcr-white);
  color: #426052;
  font-size: 12px;
  font-weight: var(--gcr-weight-semibold);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--gcr-transition-fast),
    border-color var(--gcr-transition-fast),
    background-color var(--gcr-transition-fast),
    color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

.gcr-pills a.gcr-pill:hover,
.gcr-pills a.gcr-pill:focus,
.gcr-pills a.gcr-pill--link:hover,
.gcr-pills a.gcr-pill--link:focus {
  transform: translateY(-1px);
  border-color: #9bc6aa;
  background: var(--gcr-surface-tint);
  color: var(--gcr-green);
  text-decoration: none;
}


/* Navegación interna del Hero: apariencia interactiva sin cambios */

.gcr-nav-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(31, 111, 69, 0.16);
  border-radius: var(--gcr-radius-round);
  background: rgba(255, 255, 255, 0.72);
  color: #426052;
  font-size: 13px;
  font-weight: var(--gcr-weight-semibold);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--gcr-transition-fast),
    border-color var(--gcr-transition-fast),
    background-color var(--gcr-transition-fast),
    color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

.gcr-nav-pills a:hover,
.gcr-nav-pills a:focus {
  transform: translateY(-1px);
  border-color: #9bc6aa;
  background: var(--gcr-surface-tint);
  color: var(--gcr-green);
  text-decoration: none;
}

.gcr-nav-pills--dark {
  justify-content: flex-start;
}

.gcr-nav-pills--dark a {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
}

.gcr-nav-pills--dark a:hover,
.gcr-nav-pills--dark a:focus {
  border-color: var(--gcr-white);
  background: rgba(255, 255, 255, 0.96);
  color: var(--gcr-green-deep);
}


/* ==========================================================================
   07. CARDS
   ========================================================================== */

.gcr-card {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--gcr-border);
  border-radius: 15px;
  background: var(--gcr-surface);
  box-shadow: var(--gcr-shadow-card);
}

a.gcr-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.gcr-card--hover {
  transition:
    transform var(--gcr-transition-card),
    border-color var(--gcr-transition-card),
    box-shadow var(--gcr-transition-card);
}

.gcr-card--hover:hover,
.gcr-card--hover:focus,
.gcr-card--hover:focus-within {
  transform: translateY(-4px);
  border-color: var(--gcr-border-hover);
  box-shadow: var(--gcr-shadow-card-hover);
  color: inherit;
  text-decoration: none;
}

.gcr-card--accent {
  overflow: hidden;
}

.gcr-card--accent::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #318e51;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gcr-transition-card);
}

.gcr-card--accent:hover::before,
.gcr-card--accent:focus::before,
.gcr-card--accent:focus-within::before {
  transform: scaleX(1);
}

.gcr-card--decorated::after {
  position: absolute;
  right: -58px;
  bottom: -72px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(38, 139, 78, 0.035);
  content: "";
  pointer-events: none;
}

.gcr-card--horizontal {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 19px;
}

.gcr-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 31px;
  background:
    linear-gradient(
      135deg,
      rgba(247, 251, 248, 0.98),
      rgba(255, 255, 255, 1)
    );
}

.gcr-card--institution {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 25px;
  padding: 31px;
  background:
    linear-gradient(
      135deg,
      rgba(247, 251, 248, 0.98),
      rgba(255, 255, 255, 1)
    );
  box-shadow: var(--gcr-shadow-soft);
}

.gcr-card--compact {
  padding: 22px 20px;
}

.gcr-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.gcr-card__tag {
  display: inline-block;
  width: fit-content;
  margin: 0 0 7px;
  color: var(--gcr-green-accent);
  font-size: 10px;
  font-weight: var(--gcr-weight-strong);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gcr-card__title {
  margin: 0 0 11px;
  color: var(--gcr-green-title);
  font-size: 21px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.32;
}

.gcr-card__title--blue {
  color: var(--gcr-blue-title);
}

.gcr-card__title--large {
  font-size: clamp(22px, 2.6vw, 28px);
}

.gcr-card__title a {
  color: inherit;
  text-decoration: none;
}

.gcr-card__title a:hover,
.gcr-card__title a:focus {
  color: var(--gcr-green);
  text-decoration: none;
}

.gcr-card__text {
  flex-grow: 1;
  margin: 0 0 16px;
  color: var(--gcr-text-body);
  font-size: 14px;
  line-height: 1.68;
}

.gcr-card__link {
  margin-top: auto;
  padding-top: 5px;
}


/* ==========================================================================
   08. ICONS / LOGOS
   ========================================================================== */

.gcr-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f5ed;
  color: var(--gcr-green);
}

.gcr-icon--lg {
  width: 72px;
  height: 72px;
}

.gcr-icon--circle {
  padding: 6px;
  border: 1px solid #d8e6dd;
  border-radius: 50%;
  background: var(--gcr-surface-soft);
}

.gcr-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gcr-icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gcr-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-height: 88px;
  padding: 10px;
  border: 1px solid #dce8e0;
  border-radius: 14px;
  background: var(--gcr-white);
}

.gcr-logo--wide {
  width: 100%;
  height: 108px;
  margin-bottom: 20px;
  background: #fafbf9;
}

.gcr-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.gcr-logo--wide img {
  max-height: 88px;
}


/* ==========================================================================
   09. LISTS / CALLOUTS / MINI ITEMS / MINI ITEMS
   ========================================================================== */

.gcr-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gcr-check-list li {
  position: relative;
  margin-top: 8px;
  padding-left: 22px;
  color: #526159;
  font-size: 13px;
  line-height: 1.5;
}

.gcr-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #1b9352;
  content: "✓";
  font-weight: var(--gcr-weight-heavy);
}

.gcr-callout {
  margin: 0;
  padding: 15px 17px;
  border-left: 4px solid #38a75b;
  border-radius: 0 8px 8px 0;
  background: #edf5ef;
  color: #4f6055;
  font-size: 15px;
  line-height: 1.55;
}

.gcr-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gcr-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 64px;
  padding: 12px 13px;
  border: 1px solid #e0eae4;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.gcr-mini-item__icon {
  display: inline-flex;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e4f4e9;
  color: var(--gcr-green);
  font-size: 11px;
  font-weight: var(--gcr-weight-heavy);
}

.gcr-mini-item strong {
  display: block;
  color: #34443b;
  font-size: 13px;
  line-height: 1.4;
}

.gcr-mini-item small {
  display: block;
  margin-top: 2px;
  color: var(--gcr-text-muted);
  font-size: 11px;
  line-height: 1.45;
}


/* Ajuste contextual para mini-items usados dentro de mini-grids */

.gcr-mini-grid .gcr-mini-item {
  align-items: center;
  min-height: auto;
}

.gcr-mini-grid .gcr-mini-item a {
  color: #34443b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.gcr-mini-grid .gcr-mini-item a:hover,
.gcr-mini-grid .gcr-mini-item a:focus {
  color: var(--gcr-green);
  text-decoration: none;
}


/* Lista horizontal de atributos / confianza */

.gcr-inline-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gcr-inline-checks li {
  position: relative;
  padding-left: 22px;
  color: var(--gcr-text-body);
  font-size: 15px;
  font-weight: var(--gcr-weight-medium);
  line-height: 1.45;
}

.gcr-inline-checks li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gcr-green);
  content: "✓";
  font-weight: var(--gcr-weight-heavy);
}

.gcr-inline-checks--light li {
  color: rgba(255, 255, 255, 0.88);
}

.gcr-inline-checks--light li::before {
  color: #9bdb8c;
}


/* ==========================================================================
   10. HERO
   ========================================================================== */

.gcr-hero {
  position: relative;
  overflow: hidden;
}

.gcr-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.gcr-hero__content--center {
  text-align: center;
}

.gcr-hero__title {
  max-width: 920px;
  margin: 0;
  color: var(--gcr-text-heading);
  font-size: clamp(36px, 5vw, 55px);
  font-weight: var(--gcr-weight-heavy);
  line-height: 1.09;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.gcr-hero__content--center .gcr-hero__title {
  margin-inline: auto;
}

.gcr-hero__intro {
  max-width: 790px;
  margin: 21px 0 0;
  color: #5f6c64;
  font-size: 17px;
  line-height: 1.72;
}

.gcr-hero__content--center .gcr-hero__intro {
  margin-inline: auto;
}

.gcr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gcr-hero__content--center .gcr-hero__actions {
  justify-content: center;
}

.gcr-hero__nav {
  max-width: 970px;
  margin-top: 24px;
}

.gcr-hero__content--center .gcr-hero__nav {
  margin-inline: auto;
}

.gcr-hero--light {
  padding: 82px 24px 68px;
  border-bottom: 1px solid rgba(31, 111, 69, 0.12);
  background:
    linear-gradient(
      135deg,
      rgba(241, 248, 244, 0.98) 0%,
      rgba(255, 255, 255, 1) 47%,
      rgba(235, 245, 240, 0.98) 100%
    );
}

.gcr-hero--contained {
  width: min(100%, var(--gcr-width-hero));
  margin-inline: auto;
  padding: 34px 24px;
}

.gcr-hero__panel {
  position: relative;
  overflow: hidden;
  max-width: var(--gcr-width-narrow);
  margin-inline: auto;
  padding: 54px 48px 40px;
  border: 1px solid rgba(31, 111, 69, 0.17);
  border-radius: var(--gcr-radius-lg);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(247, 251, 248, 0.88)
    );
  text-align: center;
  box-shadow: 0 13px 36px rgba(28, 76, 49, 0.09);
}

.gcr-hero__panel::after {
  position: absolute;
  right: -90px;
  bottom: -115px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(205, 174, 81, 0.08);
  content: "";
  pointer-events: none;
}

.gcr-hero--home {
  display: flex;
  align-items: center;
  min-height: 580px;
  padding: 90px 24px;
  color: var(--gcr-white);
  background-color: var(--gcr-green-deep) !important;
  background-image: none !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

.gcr-hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 48, 35, 0.84) 0%,
      rgba(17, 77, 54, 0.70) 45%,
      rgba(28, 76, 56, 0.34) 100%
    );
}

.gcr-hero--home .gcr-hero__content {
  z-index: 2;
  width: 100%;
  max-width: var(--gcr-width-wide);
}

.gcr-hero--home .gcr-hero__inner {
  max-width: 790px;
}

.gcr-hero--home .gcr-hero__title {
  max-width: 900px;
  color: var(--gcr-white);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: var(--gcr-weight-bold);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.gcr-hero--home .gcr-hero__intro {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.gcr-hero--home .gcr-eyebrow--pill {
  gap: 9px;
  padding: 8px 15px;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gcr-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.gcr-hero--home .gcr-eyebrow--pill::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #8ed081;
}


/* ==========================================================================
   11. SECTION HEADERS / NUMBERED FAMILIES
   ========================================================================== */

.gcr-section-header {
  max-width: 780px;
  margin-bottom: 40px;
}

.gcr-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.gcr-section-header--center .gcr-lead {
  margin-inline: auto;
}

.gcr-section-header--numbered {
  display: grid;
  grid-template-columns: 62px minmax(0, 780px);
  gap: 21px;
  align-items: start;
  max-width: none;
  margin-bottom: 31px;
}

.gcr-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gcr-border-green);
  border-radius: 15px;
  background: #edf7f1;
  color: var(--gcr-green);
  font-size: 14px;
  font-weight: var(--gcr-weight-heavy);
  letter-spacing: 0.06em;
}


/* ==========================================================================
   12. HIGHLIGHTS / FACTS
   ========================================================================== */

.gcr-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gcr-highlight {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border: 1px solid rgba(31, 111, 69, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
}

.gcr-highlight__icon {
  display: inline-flex;
  flex: 0 0 29px;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #e3f4e9;
  color: var(--gcr-green);
  font-size: 13px;
  font-weight: var(--gcr-weight-heavy);
  line-height: 1;
}

.gcr-highlight strong {
  display: block;
  margin-bottom: 3px;
  color: #2c4035;
  font-size: 14px;
  line-height: 1.4;
}

.gcr-highlight small,
.gcr-highlight span {
  display: block;
  color: #6e7a73;
  font-size: 12px;
  line-height: 1.5;
}

.gcr-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.gcr-fact {
  min-height: 100%;
  padding: 20px 18px;
  border: 1px solid #dce7df;
  border-radius: 12px;
  background: #f7faf8;
}

.gcr-fact__title {
  display: block;
  margin-bottom: 6px;
  color: var(--gcr-green-title);
  font-size: 18px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.3;
}

.gcr-fact__text {
  display: block;
  color: #68716c;
  font-size: 14px;
  line-height: 1.48;
}


/* ==========================================================================
   13. PANELS / SPLIT LAYOUTS
   ========================================================================== */

.gcr-panel {
  padding: 48px;
  border: 1px solid #dce8df;
  border-radius: var(--gcr-radius-lg);
  background: var(--gcr-white);
  box-shadow: var(--gcr-shadow-panel);
}

.gcr-panel--soft {
  background:
    linear-gradient(
      135deg,
      #f4f8f5 0%,
      var(--gcr-white) 72%
    );
}

.gcr-panel--cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(239, 248, 243, 0.98),
      rgba(255, 255, 255, 1)
    );
}

.gcr-panel--cta::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(209, 177, 83, 0.09);
  content: "";
  pointer-events: none;
}

.gcr-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  gap: 46px;
  align-items: start;
}

.gcr-split--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gcr-split--cta {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 44px;
}

.gcr-sticky {
  position: sticky;
  top: 95px;
}


/* ==========================================================================
   14. GALLERY
   ========================================================================== */

.gcr-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 210px 175px;
  gap: 13px;
}

.gcr-gallery__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #eef3ef;
}

.gcr-gallery__photo--main {
  grid-column: 1 / -1;
}

.gcr-gallery__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gcr-gallery__photo:hover img {
  transform: scale(1.035);
}

.gcr-gallery__caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(12, 53, 38, 0.82);
  color: var(--gcr-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}


/* ==========================================================================
   15. PROCESS / STEPS
   ========================================================================== */

.gcr-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gcr-process-grid::before {
  position: absolute;
  top: 51px;
  right: 16%;
  left: 16%;
  z-index: 0;
  height: 1px;
  background: #cfe1d6;
  content: "";
}

.gcr-step {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  padding: 29px 27px;
  border: 1px solid var(--gcr-border);
  border-radius: 16px;
  background: var(--gcr-white);
  box-shadow: 0 10px 30px rgba(28, 76, 49, 0.065);
}

.gcr-step__number {
  position: absolute;
  top: 30px;
  right: 26px;
  color: #b8d4c2;
  font-size: 13px;
  font-weight: var(--gcr-weight-heavy);
  letter-spacing: 0.08em;
}

.gcr-step__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 23px;
  border-radius: 14px;
  background: #e8f5ed;
  color: var(--gcr-green);
  font-size: 14px;
  font-weight: var(--gcr-weight-heavy);
  line-height: 1;
  text-align: center;
}

.gcr-step__icon svg {
  display: block;
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gcr-step__title {
  margin: 0 0 12px;
  color: #2a3d33;
  font-size: 20px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.35;
}

.gcr-step__text {
  margin: 0;
  color: var(--gcr-text-body);
  font-size: 14px;
  line-height: 1.72;
}


/* ==========================================================================
   16. CONTACT / SP PAGE BUILDER
   IMPORTANT: everything is scoped under .gcr-contact
   ========================================================================== */

.gcr-contact .gcr-contact-card {
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid var(--gcr-border-soft);
  border-radius: 12px;
  background: var(--gcr-white);
}

.gcr-contact .gcr-contact-card--soft {
  background: #f6f6f6;
}

.gcr-contact .gcr-contact-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.gcr-contact .gcr-contact-flex__text {
  flex: 1;
  min-width: 280px;
}

.gcr-contact .sp-form-builder {
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.gcr-contact .sp-form-builder input,
.gcr-contact .sp-form-builder textarea,
.gcr-contact .sp-form-builder select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.6rem;
  font-size: 1rem;
  font-family: inherit;
}

.gcr-contact .sp-form-builder label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: var(--gcr-weight-bold);
}

.gcr-contact-details {
  display: grid;
  gap: 10px;
}

.gcr-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--gcr-border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.gcr-contact-detail__icon {
  display: inline-flex;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e8f5ed;
  color: var(--gcr-green);
  font-size: 14px;
}

.gcr-contact-detail small {
  display: block;
  margin-bottom: 2px;
  color: #7b8780;
  font-size: 11px;
}

.gcr-contact-detail a,
.gcr-contact-detail strong {
  display: block;
  color: #34443b;
  font-size: 13px;
  font-weight: var(--gcr-weight-bold);
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}

.gcr-contact-detail a:hover,
.gcr-contact-detail a:focus {
  color: var(--gcr-green);
  text-decoration: none;
}




/* --------------------------------------------------------------------------
   Formulario principal · SP Page Builder
   -------------------------------------------------------------------------- */

.gcr-contact .gcr-contact-form-card,
.gcr-contact .gcr-contact-form-card > .sppb-column-addons {
  height: 100%;
}

.gcr-contact .gcr-contact-form-card > .sppb-column-addons {
  padding: 34px;
  border: 1px solid var(--gcr-border-soft);
  border-radius: 16px;
  background: var(--gcr-white);
  box-shadow: 0 12px 34px rgba(28, 76, 49, 0.08);
}


/* Encabezado del formulario */

.gcr-contact .gcr-form-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gcr-contact .gcr-form-heading__icon {
  display: flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #e8f5ed;
  color: var(--gcr-green);
}

.gcr-contact .gcr-form-heading__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gcr-contact .gcr-form-heading__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--gcr-green-accent);
  font-size: 12px;
  font-weight: var(--gcr-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gcr-contact .gcr-form-heading h2 {
  margin: 0;
  color: var(--gcr-text-heading);
  font-size: 23px;
  font-weight: var(--gcr-weight-strong);
  line-height: 1.25;
}

.gcr-contact .gcr-form-heading__intro {
  margin: 22px 0 26px;
  color: #65716b;
  font-size: 15px;
  line-height: 1.7;
}


/* Campos */

.gcr-contact .gcr-contact-form-card .sppb-form-group {
  margin-bottom: 17px;
}

.gcr-contact .gcr-contact-form-card label {
  display: inline-block;
  margin-bottom: 7px;
  color: #29372f;
  font-size: 14px;
  font-weight: var(--gcr-weight-semibold);
}

.gcr-contact .gcr-contact-form-card .sppb-form-control {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d5dfd9;
  border-radius: 9px;
  background: var(--gcr-white);
  color: #2d3932;
  font-size: 15px;
  box-shadow: none;
  transition:
    border-color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

.gcr-contact .gcr-contact-form-card textarea.sppb-form-control {
  min-height: 180px;
  resize: vertical;
}

.gcr-contact .gcr-contact-form-card .sppb-form-control:focus {
  border-color: #258a55;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 138, 85, 0.12);
}

.gcr-contact .gcr-contact-form-card .sppb-form-control::placeholder {
  color: #9aa49e;
}


/* Consentimiento */

.gcr-contact .gcr-contact-form-card input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-right: 8px;
  accent-color: var(--gcr-green);
}

.gcr-contact .gcr-contact-form-card .sppb-form-check,
.gcr-contact .gcr-contact-form-card .sppb-form-check-label {
  color: #46534c;
  font-size: 14px;
  line-height: 1.55;
}


/* Botón del formulario */

.gcr-contact .gcr-contact-form-card .sppb-btn {
  width: 100%;
  min-height: 49px;
  padding: 12px 22px;
  border: 0 !important;
  border-radius: 8px;
  background: var(--gcr-green) !important;
  color: var(--gcr-white) !important;
  font-size: 15px;
  font-weight: var(--gcr-weight-bold);
  box-shadow: var(--gcr-shadow-button);
  transition:
    transform var(--gcr-transition-fast),
    background-color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

.gcr-contact .gcr-contact-form-card .sppb-btn:hover,
.gcr-contact .gcr-contact-form-card .sppb-btn:focus {
  transform: translateY(-2px);
  background: var(--gcr-green-hover) !important;
  box-shadow: 0 11px 24px rgba(23, 134, 74, 0.22);
}


/* reCAPTCHA */

.gcr-contact .gcr-contact-form-card .gcr-captcha-ok {
  color: var(--gcr-text-body);
  font-size: 13px;
  font-weight: var(--gcr-weight-medium);
}


/* ==========================================================================
   17. UTILITIES
   ========================================================================== */

.gcr-anchor {
  scroll-margin-top: var(--gcr-scroll-offset);
}

.gcr-center {
  text-align: center;
}

.gcr-mt-0 {
  margin-top: 0 !important;
}

.gcr-mt-sm {
  margin-top: 12px !important;
}

.gcr-mt-md {
  margin-top: 21px !important;
}

.gcr-mt-lg {
  margin-top: 31px !important;
}

.gcr-mb-0 {
  margin-bottom: 0 !important;
}

.gcr-full-width {
  width: 100%;
}

.gcr-relative {
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

/* Desktop image for Home Hero only */
@media (min-width: 768px) {
  .gcr-hero--home {
    background-image: url("https://geocostarica.com/images/2025/banner/banner_pc.webp") !important;
  }
}


/* Tablet */
@media (max-width: 991px) {
  .gcr-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gcr-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gcr-grid--stack-tablet,
  .gcr-process-grid {
    grid-template-columns: 1fr;
  }

  .gcr-process-grid::before {
    display: none;
  }

  .gcr-split,
  .gcr-split--balanced,
  .gcr-split--cta {
    grid-template-columns: 1fr;
  }

  .gcr-sticky {
    position: static;
  }

  .gcr-panel {
    padding: 40px;
  }

  .gcr-highlights {
    grid-template-columns: 1fr;
  }

  .gcr-card--featured {
    grid-column: auto;
  }

  .gcr-gallery {
    grid-template-rows: 260px 190px;
  }
}


/* Contact form · mobile/tablet */
@media (max-width: 767px) {
  .gcr-contact .gcr-contact-form-card > .sppb-column-addons {
    padding: 25px 20px;
  }

  .gcr-contact .gcr-form-heading h2 {
    font-size: 21px;
  }

  .gcr-contact .gcr-form-heading__intro {
    margin-bottom: 22px;
  }

  .gcr-contact .gcr-contact-form-card textarea.sppb-form-control {
    min-height: 155px;
  }
}


/* Home Hero mobile/tablet behavior */
@media (max-width: 767px) {
  .gcr-hero--home {
    min-height: auto;
    padding: 72px 20px 68px;
    background-image:
      linear-gradient(
        180deg,
        rgba(16, 58, 43, 0.95) 0%,
        rgba(20, 67, 48, 0.90) 100%
      ),
      linear-gradient(
        135deg,
        #173f30 0%,
        #4c755c 100%
      ) !important;
  }

  .gcr-hero--home .gcr-hero__title {
    font-size: clamp(31px, 8.8vw, 40px);
  }

  .gcr-hero--home .gcr-hero__intro {
    font-size: 18px;
    line-height: 1.52;
  }
}


/* Mobile */
@media (max-width: 600px) {
  .gcr-container,
  .gcr-container--wide,
  .gcr-container--hero,
  .gcr-container--narrow {
    padding-inline: 17px;
  }

  .gcr-section,
  .gcr-section--large {
    padding-block: 45px;
  }

  .gcr-section--compact {
    padding-block: 38px;
  }

  .gcr-grid--2,
  .gcr-grid--3,
  .gcr-grid--4 {
    grid-template-columns: 1fr;
  }

  .gcr-grid {
    gap: 17px;
  }

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

  .gcr-section-header--numbered {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .gcr-section-number {
    width: 48px;
    height: 48px;
  }

  .gcr-title,
  .gcr-title--section {
    font-size: 31px;
  }

  .gcr-title--hero,
  .gcr-title--hero-lg,
  .gcr-hero__title {
    font-size: 35px;
  }

  .gcr-lead--large {
    font-size: 17px;
    line-height: 1.56;
  }

  .gcr-actions,
  .gcr-hero__actions {
    flex-direction: column;
  }

  .gcr-button {
    width: 100%;
  }

  .gcr-nav-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .gcr-nav-pills a {
    width: 100%;
    min-height: 42px;
    padding-inline: 10px;
  }

  .gcr-nav-pills--last-wide a:last-child {
    grid-column: 1 / -1;
  }

  .gcr-pills--stack-mobile {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gcr-pills--stack-mobile .gcr-pill,
  .gcr-pills--stack-mobile a {
    width: 100%;
  }

  .gcr-card,
  .gcr-card--featured,
  .gcr-card--institution {
    padding: 22px 20px;
  }

  .gcr-card--horizontal,
  .gcr-card--featured,
  .gcr-card--institution {
    grid-template-columns: 1fr;
  }

  .gcr-card--institution {
    gap: 17px;
  }

  .gcr-icon--lg {
    width: 68px;
    height: 68px;
  }

  .gcr-logo {
    width: 76px;
    min-height: 76px;
  }

  .gcr-logo--wide {
    width: 100%;
    height: 96px;
  }

  .gcr-logo--wide img {
    max-height: 78px;
  }

  .gcr-mini-grid {
    grid-template-columns: 1fr;
  }

  .gcr-panel {
    padding: 30px 22px;
    border-radius: 15px;
  }

  .gcr-hero--light {
    padding: 46px 18px 42px;
  }

  .gcr-hero--contained {
    padding: 20px 17px;
  }

  .gcr-hero__panel {
    padding: 36px 20px 29px;
    border-radius: 14px;
  }

  .gcr-hero__intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .gcr-highlights {
    margin-top: 32px;
  }

  .gcr-facts {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .gcr-fact {
    padding: 18px 17px;
  }

  .gcr-gallery {
    grid-template-rows: 210px 145px;
    gap: 10px;
  }

  .gcr-gallery__caption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    font-size: 12px;
  }

  .gcr-step {
    padding: 24px 22px;
  }

  .gcr-step__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .gcr-inline-checks {
    flex-direction: column;
    gap: 9px;
  }

  .gcr-contact .gcr-contact-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   END · GCR DESIGN SYSTEM v1.1
   ========================================================================== */

/* ==========================================================================
   GCR · OFFCANVAS NAVIGATION v1.1
   Menú móvil automático · máximo visual recomendado: 3 niveles
   ========================================================================== */


/* --------------------------------------------------------------------------
   CONTENEDOR
   -------------------------------------------------------------------------- */

.offcanvas-menu {
  overflow: hidden;
  background: #f9f9f7;
}

.offcanvas-menu .offcanvas-inner {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}


/* Mantener el cierre accesible */

.offcanvas-menu .close-offcanvas {
  z-index: 30;
}


/* --------------------------------------------------------------------------
   MENÚ PRINCIPAL
   Joomla genera: ul.mod-menu.mod-list.nav
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}


/* Evita Inicio / Sobre nosotros en una misma línea */

.offcanvas-menu .gcr-offcanvas-nav > li {
  width: 100%;
  margin: 0 !important;
}


/* Todos los enlaces */

.offcanvas-menu .gcr-offcanvas-nav li > a,
.offcanvas-menu .gcr-offcanvas-nav li > .gcr-menu-heading {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  color: #263b30 !important;
  text-decoration: none !important;
}


/* --------------------------------------------------------------------------
   ELEMENTOS CON HIJOS
   Texto a la izquierda / flecha independiente a la derecha
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav li.gcr-has-children {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  width: 100%;
}

.offcanvas-menu .gcr-offcanvas-nav li.gcr-has-children > a,
.offcanvas-menu .gcr-offcanvas-nav li.gcr-has-children > .gcr-menu-heading {
  grid-column: 1;
  grid-row: 1;
}

.offcanvas-menu .gcr-offcanvas-nav li.gcr-has-children > .gcr-menu-toggle {
  grid-column: 2;
  grid-row: 1;
}

.offcanvas-menu .gcr-offcanvas-nav li.gcr-has-children > ul {
  grid-column: 1 / -1;
}


/* --------------------------------------------------------------------------
   BOTÓN FLECHA
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #406050;
  cursor: pointer;
}

.offcanvas-menu .gcr-menu-toggle::before {
  content: "›";
  display: block;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.offcanvas-menu li.gcr-open > .gcr-menu-toggle::before {
  transform: rotate(90deg);
}

.offcanvas-menu .gcr-menu-toggle:hover,
.offcanvas-menu .gcr-menu-toggle:focus-visible {
  background: rgba(23, 134, 74, 0.08);
  color: var(--gcr-green, #17864a);
  outline: none;
}


/* --------------------------------------------------------------------------
   SUBMENÚS
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-submenu {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.offcanvas-menu .gcr-submenu[hidden] {
  display: none !important;
}


/* --------------------------------------------------------------------------
   NIVEL 1
   Inicio / Sobre nosotros / Servicios / Informes / Trámites / Contacto
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav > li > a,
.offcanvas-menu .gcr-offcanvas-nav > li > .gcr-menu-heading {
  min-height: 44px;
  padding: 10px 4px !important;
  border-bottom: 1px solid rgba(45, 72, 57, 0.08);
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
}


/* --------------------------------------------------------------------------
   NIVEL 2
   Familias de servicios / encabezados de Informes / instituciones
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav > li > ul > li > a,
.offcanvas-menu .gcr-offcanvas-nav > li > ul > li > .gcr-menu-heading {
  min-height: 40px;
  padding: 8px 4px 8px 18px !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
}


/* Menu Heading:
   funciona como categoría desplegable, no como elemento deshabilitado */

.offcanvas-menu .gcr-menu-heading {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #34483d !important;
}


/* --------------------------------------------------------------------------
   NIVEL 3
   Páginas finales
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav > li > ul > li > ul > li > a,
.offcanvas-menu .gcr-offcanvas-nav > li > ul > li > ul > li > .gcr-menu-heading {
  min-height: 34px;
  padding: 6px 8px 6px 34px !important;
  color: #59685f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}


/* --------------------------------------------------------------------------
   SEPARACIÓN ENTRE RAMAS ABIERTAS
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav > li > ul,
.offcanvas-menu .gcr-offcanvas-nav > li > ul > li > ul {
  padding-bottom: 2px !important;
}


/* --------------------------------------------------------------------------
   ESTADO ACTIVO
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav li.current > a,
.offcanvas-menu .gcr-offcanvas-nav li.active > a,
.offcanvas-menu .gcr-offcanvas-nav a[aria-current="page"] {
  color: var(--gcr-green, #17864a) !important;
  font-weight: 700 !important;
}


/* --------------------------------------------------------------------------
   ACCESIBILIDAD
   -------------------------------------------------------------------------- */

.offcanvas-menu .gcr-offcanvas-nav a:focus-visible,
.offcanvas-menu .gcr-menu-heading:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(23, 134, 74, 0.45);
  outline-offset: -2px;
}

/* ==========================================================================
   GCR · PENDING LINK
   Botón temporal para servicios/informes sin página propia.
   Mientras la página no exista, enlaza a Contacto.
   Buscar "gcr-btn-pending" para localizar deuda de contenido.
   ========================================================================== */

.gcr .gcr-btn-pending {
  background: #d6dc63 !important;
  border-color: #c4cb4e !important;
  color: #26310f !important;
}

.gcr .gcr-btn-pending:hover,
.gcr .gcr-btn-pending:focus {
  background: #c8cf4f !important;
  border-color: #b7bf3e !important;
  color: #1f290b !important;
}

.gcr .gcr-btn-pending:focus-visible {
  outline: 3px solid rgba(198, 207, 79, 0.35);
  outline-offset: 3px;
}

/* ==========================================================================
   GCR · INSTITUTION HERO
   Identidad institucional junto al título principal.
   Reutilizable en subpáginas de trámites por institución.
   ========================================================================== */

.gcr-institution-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.gcr-institution-hero .gcr-logo {
  flex: 0 0 92px;
  width: 92px;
  min-height: 92px;
}

.gcr-institution-hero .gcr-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gcr-institution-hero__content {
  min-width: 0;
}


/* Highlights clicables del Hero */

a.gcr-highlight {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--gcr-transition-fast),
    border-color var(--gcr-transition-fast),
    box-shadow var(--gcr-transition-fast);
}

a.gcr-highlight:hover,
a.gcr-highlight:focus {
  transform: translateY(-2px);
  border-color: var(--gcr-border-hover);
  box-shadow: var(--gcr-shadow-soft);
  color: inherit;
  text-decoration: none;
}


/* Responsive */

@media (max-width: 600px) {

  .gcr-institution-hero {
    align-items: flex-start;
    gap: 16px;
  }

  .gcr-institution-hero .gcr-logo {
    flex-basis: 72px;
    width: 72px;
    min-height: 72px;
  }

}
