/* ============================================================
   DECMA CARGAS — styles.css
   Tema: Fondo blanco · Nunito Sans
   ============================================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --bg-0:      #FFFFFF;
  --bg-1:      #F8F9FA;
  --bg-2:      #EFF3F8;
  --bg-3:      #E4ECF5;
  --blue:      #0182C6;
  --blue-l:    #1a92d4;
  --blue-xl:   #0068a0;
  --blue-pale: #EBF3FC;
  --gold:      #D97706;
  --gold-l:    #F59E0B;
  --gold-pale: #FEF3C7;
  --ink:       #111827;
  --ink-70:    rgba(17,24,39,0.7);
  --ink-40:    rgba(17,24,39,0.4);
  --ink-15:    rgba(17,24,39,0.15);
  --ink-08:    rgba(17,24,39,0.08);
  --ink-04:    rgba(17,24,39,0.04);
  --line:      rgba(17,24,39,0.1);
  --glass-bg:  rgba(255,255,255,0.9);
  --glass-border: rgba(17,24,39,0.1);
  --nav-h:     72px;
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
  --ease-in-out: cubic-bezier(0.45,0,0.55,1);
  --radius:    16px;
  --radius-sm: 8px;
  --container: 1200px;
  --shadow-sm: 0 1px 4px rgba(17,24,39,0.06), 0 2px 12px rgba(17,24,39,0.06);
  --shadow-md: 0 4px 16px rgba(17,24,39,0.08), 0 8px 32px rgba(17,24,39,0.06);
  --shadow-lg: 0 8px 32px rgba(17,24,39,0.1), 0 20px 60px rgba(17,24,39,0.08);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ===== TYPOGRAPHY ===== */
.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--ink);
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: normal;
  color: var(--blue);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-70);
  max-width: 52ch;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-sub {
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,102,204,0.3);
}
@media (hover: hover) {
  .btn--primary:hover {
    background: var(--blue-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,102,204,0.4);
  }
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.hero-actions .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
@media (hover: hover) {
  .hero-actions .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.12);
  }
}
@media (hover: hover) {
  .btn--ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
  }
}
.btn--nav {
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(0,102,204,0.25);
}
@media (hover: hover) {
  .btn--nav:hover {
    background: var(--blue-l);
    transform: translateY(-1px);
  }
}
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION ===== */
.section { padding: 6rem 0; }

/* ===== SPLASH ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  animation: splashSafety 0.01s 2.6s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; transform: translateY(-100%); }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.splash-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.splash-name {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
}
.splash-bar {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 99px;
  overflow: hidden;
}
.splash-progress {
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: splashLoad 1.8s var(--ease-in-out) forwards;
}
@keyframes splashLoad {
  0%   { transform: scaleX(0); }
  60%  { transform: scaleX(0.75); }
  100% { transform: scaleX(1); }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 20px rgba(17,24,39,0.07);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.splash-logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-70);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
@media (hover: hover) {
  .nav-link:hover {
    color: var(--blue);
    background: var(--blue-pale);
  }
}
.nav-chevron { font-size: 0.65rem; margin-left: 0.2rem; }
.nav-dropdown { position: relative; }
.nav-sub {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-sub,
.nav-dropdown:focus-within .nav-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-70);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
@media (hover: hover) {
  .nav-sub a:hover { color: var(--blue); background: var(--blue-pale); }
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-70);
  border-radius: var(--radius-sm);
}
.nav-mobile .btn { margin-top: 1rem; text-align: center; }

/* ===== HERO ===== */
/* ── HERO — full-bleed carousel background, content centered ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-gradient { display: none; }
.hero-grid-lines { display: none; }
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: min(640px, calc(100vw - 3rem));
  margin-left: max(1.5rem, calc((100vw - var(--container)) / 2 + 1.5rem));
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.5; }
}
.hero-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}
.hero-title-line { display: block; }
.hero-title-line--accent { color: #7dd3fc; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.25rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-divider { display: none; }
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.85);
}
.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-carousel-dots {
  position: absolute;
  bottom: 5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: max(1.5rem, calc((100vw - var(--container)) / 2 + 1.5rem));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-weight: 700;
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--ink-15);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--blue);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0 1.5rem;
}
.marquee-sep {
  color: rgba(255,255,255,0.4);
  font-size: 0.55rem;
  align-self: center;
}

/* ===== SERVICES ===== */
.services { background: var(--bg-1); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

/* Card base */
.glass-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
@media (hover: hover) {
  .glass-card:hover {
    border-color: rgba(0,102,204,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 3px var(--blue-pale);
  }
}

.service-card {
  grid-column: span 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card--half {
  grid-column: span 3;
}
.service-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.service-card-icon svg { width: 100%; height: 100%; }
.service-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--blue-pale);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-xl);
  width: fit-content;
}
.service-card-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.service-card-desc {
  font-size: 0.9rem;
  color: var(--ink-70);
  line-height: 1.65;
  flex: 1;
}
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-card-list li {
  font-size: 0.83rem;
  color: var(--ink-70);
  padding-left: 1.1rem;
  position: relative;
  font-weight: 500;
}
.service-card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.7rem;
}
.service-card-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 2rem;
}
.service-card-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  transition: gap 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
@media (hover: hover) {
  .service-card-cta:hover { color: var(--blue-xl); gap: 0.5rem; }
}

/* ===== ABOUT ===== */
.about { background: var(--bg-0); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
  .about-image-wrap:hover .about-image { transform: scale(1.04); }
}
.about-image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
}
.about-badge-year {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  font-weight: 700;
}
.about-content { padding-right: 1rem; }
.about-text {
  color: var(--ink-70);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about-text:last-of-type { margin-bottom: 2rem; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.about-feature-icon {
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about-feature strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.about-feature p {
  font-size: 0.875rem;
  color: var(--ink-70);
  line-height: 1.55;
}

/* ===== WHY ===== */
.why { background: var(--bg-1); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .why-card:hover {
    border-color: rgba(0,102,204,0.25);
    box-shadow: var(--shadow-md), 0 0 0 3px var(--blue-pale);
    transform: translateY(-3px);
  }
}
.why-num {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  /* show the number but in pale blue */
  color: rgba(0,102,204,0.15);
}
.why-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--ink-70);
  line-height: 1.65;
}

/* ===== MEMBERSHIPS ===== */
.memberships { background: var(--bg-0); }
.memberships-inner { text-align: center; }
.memberships-inner .section-sub { margin: 0 auto 3rem; }
.memberships-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.membership-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 300px;
}
@media (hover: hover) {
  .membership-badge:hover {
    border-color: rgba(0,102,204,0.3);
    box-shadow: var(--shadow-md);
  }
}
.membership-badge-logo svg { width: 80px; height: 40px; }
.membership-logo-img { height: 56px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.membership-badge-info { text-align: left; }
.membership-badge-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.membership-badge-info span {
  font-size: 0.78rem;
  color: var(--ink-40);
  line-height: 1.4;
}

/* ===== GALLERY ===== */
.gallery { padding: 0; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 360px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.95);
  }
}
.gallery-item-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(17,24,39,0.55);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ===== FAQ ===== */
.faq { background: var(--bg-1); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(0,102,204,0.3); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  transition: background 0.2s;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
@media (hover: hover) {
  .faq-q:hover { background: var(--blue-pale); }
}
.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a { padding: 0 1.5rem 1.25rem; }
.faq-a p {
  font-size: 0.9rem;
  color: var(--ink-70);
  line-height: 1.75;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-2); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}
.contact-text {
  color: var(--ink-70);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: inherit;
  transition: color 0.2s;
}
@media (hover: hover) {
  a.contact-item:hover { color: var(--blue); }
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 0.2rem;
  font-weight: 800;
}
.contact-item-val {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  text-transform: uppercase;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-40); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg-0);
  box-shadow: 0 0 0 3px var(--blue-pale);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(220,38,38,0.4);
}
.form-field select option { background: #fff; color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--ink-40);
  line-height: 1.5;
}
.contact-form.is-sending .btn--primary { opacity: 0.7; pointer-events: none; }
.contact-form.is-sent .btn--primary { background: #16a34a; }

/* ===== INCOTERMS ===== */
.incoterms { background: var(--bg-0); }
.incoterms-groups { margin-top: 2.5rem; }
.incoterms-group-label { margin-bottom: 1rem; }
.incoterms-group-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.incoterms-group-tag--any { background: var(--blue-pale); color: var(--blue); }
.incoterms-group-tag--sea { background: #e0f2fe; color: #0369a1; }
.incoterms-list { display: flex; flex-direction: column; gap: 0.5rem; }

.inco-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-0);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inco-item[open] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-pale);
}
.inco-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  flex-wrap: wrap;
}
.inco-summary::-webkit-details-marker { display: none; }
.inco-code {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 3.5rem;
  flex-shrink: 0;
  background: var(--blue-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.inco-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.inco-risk {
  font-size: 0.75rem;
  color: var(--ink-40);
  margin-left: auto;
}
.inco-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--ink-15);
  border-radius: 50%;
  position: relative;
  transition: transform 0.25s, background 0.2s;
}
.inco-arrow::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px; height: 6px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: border-color 0.2s;
}
.inco-item[open] .inco-arrow { transform: rotate(180deg); background: var(--blue-pale); }
.inco-item[open] .inco-arrow::after { border-color: var(--blue); }
.inco-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.inco-body p { font-size: 0.9rem; color: var(--ink-70); line-height: 1.7; margin-bottom: 0.75rem; }
.inco-body ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.inco-body li { font-size: 0.88rem; color: var(--ink-70); line-height: 1.5; }
.inco-body li strong { color: var(--ink); }

/* ===== CONTENEDORES ===== */
.containers { background: var(--bg-1); }
.containers-tabs { margin-top: 2.5rem; }
.ctabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: 2rem;
}
.ctab-btn {
  padding: 0.65rem 1.5rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-40);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.ctab-btn:hover { color: var(--ink); }
.ctab-btn.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.ctab-panel.is-hidden { display: none; }
.containers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.container-card {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.container-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px var(--ink-08); }
.container-illustration {
  width: 100%;
  background: var(--bg-1);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}
.container-illustration svg { width: 100%; height: auto; display: block; }
.container-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.container-type { font-size: 1rem; font-weight: 800; color: var(--ink); }
.container-teus {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.container-dims { display: flex; flex-direction: column; gap: 0.3rem; }
.dim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--ink-04);
  color: var(--ink-70);
}
.dim-row strong { color: var(--ink); font-weight: 700; }
.dim-row--highlight { background: var(--blue-pale); border-radius: 4px; padding: 0.3rem 0.5rem; border-bottom: none; margin-top: 0.25rem; }
.dim-row--highlight span { color: var(--blue); font-weight: 600; }
.dim-row--highlight strong { color: var(--blue-xl); }
.container-note { font-size: 0.78rem; color: var(--ink-40); line-height: 1.5; margin-top: auto; }

@media (max-width: 1024px) {
  .containers-grid { grid-template-columns: repeat(2, 1fr); }
  .inco-risk { display: none; }
}
@media (max-width: 767px) {
  .containers-grid { grid-template-columns: 1fr; }
  .inco-name { font-size: 0.88rem; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 340px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo-name {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer-logo-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.footer-certs { display: flex; flex-direction: row; gap: 1.5rem; align-items: center; flex-wrap: nowrap; }
.footer-cert-logo {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-cert-logo--screen {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.footer-cert {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(0,102,204,0.4);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(100,160,220,1);
  background: rgba(0,102,204,0.15);
}
.footer-nav { display: flex; gap: 4rem; }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-col a:hover { color: #fff; }
}
.footer-contact-list { gap: 0.75rem !important; }
.footer-contact-list li,
.footer-contact-list address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-credits { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-credits a { color: rgba(255,255,255,0.35); }
@media (hover: hover) {
  .footer-credits a:hover { color: rgba(255,255,255,0.7); }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.whatsapp-float svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (hover: hover) {
  .whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.15);
  }
}
@media (max-width: 540px) {
  .whatsapp-float { padding: 0.85rem; border-radius: 50%; }
  .whatsapp-label { display: none; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ===== MEMBERSHIP badges — color override for white bg ===== */
.membership-badge-logo svg rect { fill: var(--blue-pale) !important; stroke: rgba(0,102,204,0.2) !important; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    max-width: calc(100vw - 3rem);
    margin-left: 1.5rem;
    text-align: center;
    align-items: center;
  }
  .hero-title { font-size: clamp(2.2rem, 7vw, 3.8rem); }
  .hero-sub { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 1; }
  .service-card--half { grid-column: span 1; }
  .service-card:last-child { grid-column: span 2; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { aspect-ratio: 16/7; }
  .about-badge-float { right: 1rem; bottom: -1rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-links, .btn--nav { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { grid-column: span 1 !important; align-items: center; text-align: center; }
  .service-card--half { grid-column: span 1 !important; }
  .service-card-tag { align-self: center; }
  .service-card-list { align-items: flex-start; text-align: left; width: 100%; }
  .service-card-list--grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr; height: auto; }
  .gallery-item { height: 240px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { flex-wrap: wrap; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .memberships-grid { flex-direction: column; align-items: center; }
  .membership-badge { min-width: unset; width: 100%; }
  .hero-stats { gap: 1rem 2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 3rem); }
  .about-badge-float { display: none; }
  .contact-form-wrap { padding: 1.5rem; }
}
