/* ============================================================
   Recycle Colombia — Rediseño estilo "Wastbin"
   Paleta verde + acentos de marca (naranja, turquesa)
   ============================================================ */

:root {
  --green-900: #0f2e16;
  --green-800: #16401f;
  --green-700: #1d5128;
  --green-600: #2a6b34;
  --green-500: #3a8c43;
  --lime: #7bc527;          /* verde de marca */
  --lime-bright: #8fd633;
  --orange: #ff8201;        /* naranja de marca */
  --teal: #0097b2;          /* turquesa de marca */
  --cream: #f3f6ec;
  --cream-2: #e8efdc;
  --ink: #13231a;
  --muted: #5d6b60;
  --line: #e3e8d8;
  --white: #ffffff;

  --accent: var(--lime);        /* color de acento (tweakeable) */
  --accent-deep: var(--green-700);
  --hero-overlay-1: rgba(13, 41, 20, 0.90);
  --hero-overlay-2: rgba(23, 64, 31, 0.72);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --shadow-sm: 0 4px 14px rgba(19, 35, 26, 0.08);
  --shadow-md: 0 14px 40px rgba(19, 35, 26, 0.12);
  --shadow-lg: 0 30px 70px rgba(13, 41, 20, 0.20);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  color: var(--green-900);
  letter-spacing: -0.02em;
}

.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
}
.eyebrow.on-dark { color: var(--lime-bright); }
.eyebrow.center { justify-content: center; }

.section { padding: 96px 0; }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-top: 14px;
  font-weight: 700;
}
.section-head p { color: var(--muted); margin-top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn i { font-size: 0.9em; }
.btn-primary { background: var(--accent); color: var(--green-900); }
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(123,197,39,.35); }
.btn-dark { background: var(--green-800); color: #fff; }
.btn-dark:hover { background: var(--green-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #ff9626; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,130,1,.32); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar {
  background: var(--green-900);
  color: #cfe0c6;
  font-size: 0.82rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left a, .topbar-info { display: inline-flex; align-items: center; gap: 8px; color: #cfe0c6; }
.topbar-left i { color: var(--lime); }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar-links a { color: #cfe0c6; font-weight: 500; }
.topbar-links a:hover { color: var(--lime-bright); }
.topbar-social { display: flex; gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
.topbar-social a { color: #cfe0c6; }
.topbar-social a:hover { color: var(--lime-bright); }

@media (max-width: 920px) {
  .topbar-links { display: none; }
}

/* ============================================================
   MAIN NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(19,35,26,.05);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--green-800);
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { background: var(--accent); color: var(--green-900); }
.nav-menu .caret { font-size: 0.7em; opacity: .7; transition: transform .2s; }
.nav-menu > li:hover .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.nav-menu > li:hover .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-800);
}
.dropdown-panel a i { color: var(--accent); width: 18px; }
.dropdown-panel a:hover { background: var(--cream); color: var(--green-900); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: var(--green-800);
  color: #fff;
  border: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-menu, .nav-cta .btn-text { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 14px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-menu.open > li > a { justify-content: space-between; }
  .nav-menu.open .dropdown-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 4px 4px 8px 26px; min-width: 0;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, var(--hero-overlay-1), var(--hero-overlay-2)),
    var(--hero-img, url('images/Economiacircular.jpg')) center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 85% 20%, rgba(123,197,39,0.18), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 104px 0 110px;
}
.hero-copy { max-width: 660px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 22px;
}
.hero h1 .hl { color: var(--lime-bright); }
.hero-sub {
  margin-top: 22px;
  font-size: 1.08rem;
  color: #d7e6cd;
  max-width: 560px;
}
.hero-rotator {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background .3s, border-color .3s, transform .3s;
}
.hero-chip.is-active {
  background: rgba(123,197,39,0.16);
  border-color: rgba(123,197,39,0.5);
}
.hero-chip .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--green-900);
  font-size: 1.05rem;
}
.hero-chip h4 { color: #fff; font-size: 1rem; font-weight: 600; }
.hero-chip p { margin: 3px 0 0; font-size: 0.86rem; color: #c5d6bb; line-height: 1.4; }

.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-lg);
  padding: 34px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.35rem; font-weight: 700; }
.hero-card .lead { color: #d7e6cd; font-size: 0.95rem; margin-top: 10px; }
.hero-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: #eaf3e2; font-size: 0.95rem; }
.hero-card li i { color: var(--lime-bright); margin-top: 3px; }
.hero-card .card-cta { margin-top: 26px; display: block; text-align: center; }

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding: 70px 0 80px; }
  .hero-card { max-width: 520px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }
.about .grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 58px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.4;
}
.about-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  right: -18px; bottom: -22px;
  background: var(--green-800);
  color: #fff;
  border-radius: var(--r-md);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.about-badge .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--lime-bright); line-height: 1; }
.about-badge .lbl { font-size: 0.8rem; color: #d7e6cd; margin-top: 6px; display: block; }

.about-tabs { display: flex; gap: 8px; margin: 26px 0 0; flex-wrap: wrap; background: var(--cream); padding: 6px; border-radius: 999px; width: fit-content; }
.about-tabs button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--green-700);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.about-tabs button.active { background: var(--accent); color: var(--green-900); }
.tab-panel { display: none; margin-top: 22px; color: var(--muted); }
.tab-panel.active { display: block; animation: fade .35s ease; }
.tab-panel p { margin: 0 0 14px; }
.tab-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tab-list li { display: flex; gap: 14px; align-items: flex-start; }
.tab-list .tic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--cream-2); color: var(--green-600); font-size: 1rem; }
.tab-list strong { color: var(--green-900); display: block; font-family: var(--font-display); font-size: 1rem; }
.tab-list span { font-size: 0.92rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .about .grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { right: 18px; }
}

/* ============================================================
   EMERGENCY / CTA STRIP
   ============================================================ */
.callstrip {
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.callstrip::before {
  content: "\f1b9";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -10px; bottom: -30px;
  font-size: 16rem; color: rgba(255,255,255,0.05);
}
.callstrip .wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding: 50px 0; flex-wrap: wrap;
}
.callstrip .ct-left { max-width: 560px; }
.callstrip .eyebrow { color: var(--lime-bright); }
.callstrip h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 12px; }
.callstrip .ct-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.call-phone { display: flex; align-items: center; gap: 16px; }
.call-phone .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--green-900); display: grid; place-items: center; font-size: 1.4rem; }
.call-phone .meta span { display: block; font-size: 0.8rem; color: #c5d6bb; }
.call-phone .meta strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--cream); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
.svc-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-num {
  position: absolute; top: 14px; left: 14px;
  background: var(--green-900); color: var(--lime-bright);
  font-family: var(--font-display); font-weight: 700;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1rem;
}
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.25rem; font-weight: 700; }
.svc-body p { color: var(--muted); font-size: 0.94rem; margin: 12px 0 22px; flex: 1; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--green-700);
  align-self: flex-start;
}
.svc-link i { transition: transform .2s; }
.svc-link:hover { color: var(--orange); }
.svc-link:hover i { transform: translateX(4px); }

@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ============================================================
   PROCESS / MATERIALS
   ============================================================ */
.materials { background: var(--white); }
.mat-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.mat-card {
  text-align: center;
  padding: 36px 22px 30px;
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.mat-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--mc, var(--lime));
}
.mat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: #fff; }
.mat-ic {
  width: 86px; height: 86px; margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem; color: #fff;
  background: var(--mc, var(--lime));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--mc, var(--lime)) 38%, transparent);
}
.mat-card h4 { font-size: 1.12rem; font-weight: 700; }
.mat-card p { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

@media (max-width: 900px) {
  .mat-top { grid-template-columns: 1fr; gap: 18px; }
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .mat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--cream); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.pf-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/4.4; box-shadow: var(--shadow-sm); display: block;
}
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.pf-item:hover img { transform: scale(1.08); }
.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,41,20,0.92) 8%, rgba(13,41,20,0.25) 55%, transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff;
  transition: background .3s;
}
.pf-tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-bright); }
.pf-item h3 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-top: 8px; }
.pf-go {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--green-900);
  display: grid; place-items: center; font-size: 1rem;
  transform: scale(0) rotate(-30deg); transition: transform .3s;
}
.pf-item:hover .pf-go { transform: scale(1) rotate(0); }

@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   TESTIMONIAL / COMMITMENT (dark)
   ============================================================ */
.commit {
  background: linear-gradient(125deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: #fff;
}
.commit .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.commit h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 14px; }
.commit .stars { color: var(--orange); margin: 18px 0 8px; font-size: 1.05rem; letter-spacing: 2px; }
.commit .lead { color: #d2e2c8; margin: 18px 0 28px; }
.commit-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.commit-photo { position: relative; }
.commit-photo .frame {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.commit-photo .frame img { width: 100%; display: block; }
.commit-quote {
  position: absolute; left: -16px; bottom: -18px;
  background: var(--accent); color: var(--green-900);
  border-radius: var(--r-md); padding: 18px 22px; max-width: 270px;
  box-shadow: var(--shadow-lg);
}
.commit-quote i { font-size: 1.4rem; opacity: .5; }
.commit-quote p { font-weight: 600; font-size: 0.92rem; margin: 4px 0 0; }

@media (max-width: 900px) {
  .commit .grid { grid-template-columns: 1fr; gap: 60px; }
  .commit-photo { max-width: 480px; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 54px; }
.blog-card {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .bimg { overflow: hidden; }
.blog-card .bimg img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; transition: transform .5s; }
.blog-card:hover .bimg img { transform: scale(1.06); }
.blog-card .bbody { padding: 26px; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta i { color: var(--accent); }
.blog-card h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.2; }
.blog-card p { color: var(--muted); font-size: 0.92rem; margin: 12px 0 18px; flex: 1; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card .bimg img { min-height: 200px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-900); color: #b9cbac; padding-top: 78px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; font-weight: 600; }
.footer .f-about img { height: 70px; width: auto; margin-bottom: 18px; filter: brightness(1.05); }
.footer .f-about p { font-size: 0.9rem; line-height: 1.7; }
.footer .f-contact-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 0.88rem; }
.footer .f-contact-line i { color: var(--lime); margin-top: 4px; width: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 0.9rem; color: #b9cbac; display: inline-flex; align-items: center; gap: 9px; transition: color .18s, transform .18s; }
.footer ul a i { color: var(--lime); font-size: 0.7em; }
.footer ul a:hover { color: #fff; transform: translateX(4px); }
.f-social { display: flex; gap: 12px; margin-top: 20px; }
.f-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center; color: #cfe0c6;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.f-social a:hover { background: var(--accent); color: var(--green-900); border-color: var(--accent); transform: translateY(-3px); }
.footer .f-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer .f-bottom a { color: var(--lime-bright); }

@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  animation: wapulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wapulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   TWEAKS PANEL (vanilla, host-toggled)
   ============================================================ */
#tweaks {
  position: fixed; top: 16px; right: 16px; z-index: 9999;
  width: 280px; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); border: 1px solid var(--line);
  font-family: var(--font-body); padding: 18px; display: none;
}
#tweaks.show { display: block; }
#tweaks h5 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 4px; color: var(--green-900); }
#tweaks .tk-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
#tweaks .tk-group { margin-bottom: 16px; }
#tweaks .tk-label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
#tweaks .tk-row { display: flex; gap: 8px; flex-wrap: wrap; }
#tweaks .tk-sw { width: 34px; height: 34px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; }
#tweaks .tk-sw.sel { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
#tweaks .tk-opt { padding: 7px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 0.8rem; cursor: pointer; background: #fff; color: var(--green-800); }
#tweaks .tk-opt.sel { background: var(--accent); border-color: var(--accent); color: var(--green-900); font-weight: 600; }

/* ============================================================
   PÁGINAS INTERNAS — cabecera, prosa, acordeón, tabla, forms
   ============================================================ */
.page-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13,41,20,0.92), rgba(29,81,40,0.82)),
    var(--phero, url('images/all-title-bg.jpg')) center/cover no-repeat;
  padding: 64px 0 58px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}
.page-hero .crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; font-size: 0.9rem; color: #cfe0c6;
}
.page-hero .crumbs a { color: var(--lime-bright); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs i { font-size: 0.65rem; opacity: .6; }
.page-hero .lead-sub { margin-top: 14px; color: #d7e6cd; max-width: 640px; }

.prose { font-size: 1rem; color: #38463c; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 16px; }
.prose h3 { font-size: 1.4rem; margin: 28px 0 12px; }
.prose h4, .prose h5 { font-size: 1.12rem; margin: 24px 0 10px; color: var(--green-800); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 4px; margin: 0 0 18px; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.prose ul li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: var(--accent); font-size: 0.95rem;
}
.prose img { border-radius: var(--r-md); margin: 8px 0 22px; box-shadow: var(--shadow-sm); }
.prose a:not(.btn) { color: var(--green-600); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--orange); }
.text-justify { text-align: justify; }

.inner { padding: 80px 0; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 12px; }
.lead-grid.rev .lead-media { order: 2; }
.lead-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.lead-divider { border: none; border-top: 1px solid var(--line); margin: 56px 0; }
@media (max-width: 860px) {
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead-grid.rev .lead-media { order: 0; }
}

/* Accordion */
.acc { display: grid; gap: 14px; max-width: 920px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--green-900);
}
.acc-head .lf { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--cream-2); color: var(--green-600); display: grid; place-items: center; }
.acc-head .chev { margin-left: auto; transition: transform .25s; color: var(--accent); }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-inner { padding: 0 22px 20px 70px; color: var(--muted); }
.acc-body-inner ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.acc-body-inner li { position: relative; padding-left: 22px; }
.acc-body-inner li::before { content: "\f06c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--lime); font-size: 0.8rem; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.rc { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
table.rc thead th { background: var(--green-800); color: #fff; text-align: left; padding: 14px 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: .03em; }
table.rc td { padding: 13px 18px; border-top: 1px solid var(--line); color: #3c4a40; }
table.rc tbody tr:nth-child(even) { background: var(--cream); }

/* Stats / counters */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 38px 18px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-card::before { content:""; position:absolute; top:0; left:0; right:0; height:5px; background: var(--accent); }
.stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--green-700); line-height: 1; }
.stat-num .u { font-size: 1.1rem; color: var(--lime); margin-left: 4px; }
.stat-lbl { margin-top: 10px; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--green-800); }
.field label .req { color: #d11; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fbfdf8; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: #d11; font-size: 0.82rem; margin-top: 6px; min-height: 1em; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d11; }
.alert-ok { background: #e7f6ea; border: 1px solid #b6e0bf; color: #1d6b2e; padding: 14px 18px; border-radius: 11px; margin-top: 16px; }

/* Contact info card */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--cream-2); color: var(--green-600); display: grid; place-items: center; font-size: 1.05rem; }
.info-row .t { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.info-row .v { font-size: 1rem; color: var(--green-900); font-weight: 500; }
.info-row .v a { color: var(--green-700); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/10; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog post layout */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 96px; }
.side-card h5 { background: var(--green-800); color: #fff; padding: 16px 20px; font-size: 1rem; font-weight: 600; }
.side-card .side-body { padding: 18px 20px; max-height: 70vh; overflow-y: auto; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-list a { font-size: 0.8rem; padding: 6px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; color: var(--green-800); font-weight: 500; text-decoration: none; }
.kw-list a:hover { background: var(--accent); border-color: var(--accent); color: var(--green-900); }
.comment { display: flex; gap: 14px; margin-bottom: 22px; }
.comment img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.comment .cbody h5 { color: var(--green-900); font-size: 1rem; margin-bottom: 4px; }
.comment .cbody p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.comment .nested { margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--line); }
.post-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); margin: 14px 0; }
.post-meta i { color: var(--accent); }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

/* Clients logos */
.clients { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.clients img { max-height: 90px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.clients img:hover { filter: none; opacity: 1; }
