/* Coffee Dota 2.0 — High-Altitude Terroir & Craft Lab Design System */
:root {
  --bg-obsidian: #0F1E19;
  --bg-emerald: #173327;
  --bg-emerald-soft: #1F4233;
  --bg-parchment: #F6F3EC;
  --bg-jute: #EAE3D2;
  --bg-white: #FFFFFF;
  --gold: #C88A2B;
  --gold-light: #E5A93C;
  --crimson: #8C2D19;
  --text-dark: #16211C;
  --text-muted: #4A5A52;
  --border: #D8CEB8;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 4px 14px rgba(15, 30, 25, 0.06);
  --shadow-lg: 0 20px 44px rgba(15, 30, 25, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg-parchment);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color 0.2s ease, opacity 0.2s ease; }

/* Top Official Credentials Bar */
.cd-topbar {
  background: #08120E;
  color: #D0DDD6;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 9px 24px;
  border-bottom: 1px solid rgba(200, 138, 43, 0.28);
}
.cd-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.cd-topbar-group { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cd-topbar strong { color: var(--gold-light); font-weight: 600; }
.cd-topbar a { color: #fff; text-decoration: none; border-bottom: 1px dotted var(--gold-light); }

/* Main Sticky Header */
.cd-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 30, 25, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px 24px;
}
.cd-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cd-brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.cd-brand-name {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cd-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.cd-nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}
.cd-nav-links a {
  color: #E2ECE7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.cd-nav-links a:hover, .cd-nav-links a.active { color: var(--gold-light); }
.cd-nav-cta { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: #0F1E19 !important;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(200, 138, 43, 0.3);
}
.btn-emerald {
  background: var(--bg-obsidian);
  color: #FFFFFF !important;
  border: 1px solid var(--bg-obsidian);
}
.btn-emerald:hover { background: var(--bg-emerald); }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light) !important;
}
.btn-wa {
  background: #1FA855;
  color: #FFFFFF !important;
}
.btn-wa:hover { background: #198F47; }

/* Layout Containers */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-dark { background: var(--bg-obsidian); color: #FFFFFF; }
.section-emerald { background: var(--bg-emerald); color: #FFFFFF; }
.section-jute { background: var(--bg-jute); }
.section-white { background: #FFFFFF; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  background: rgba(200, 138, 43, 0.16);
  border: 1px solid rgba(229, 169, 60, 0.38);
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}
.eyebrow-dark {
  color: var(--crimson);
  background: rgba(140, 45, 25, 0.09);
  border-color: rgba(140, 45, 25, 0.25);
}
.section-header { max-width: 780px; margin-bottom: 48px; }
.section-header h1, .section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.section-header p { font-size: 17px; color: var(--text-muted); }
.section-dark .section-header p, .section-emerald .section-header p { color: #C5D5CD; }

/* Hero Section */
.cd-hero {
  position: relative;
  background-color: var(--bg-obsidian);
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 76px 0 88px;
  border-bottom: 3px solid var(--gold);
}
.cd-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.cd-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin-bottom: 20px;
  color: #FFFFFF;
}
.cd-hero p.lead {
  font-size: 18px;
  color: #DCE6E1;
  margin-bottom: 28px;
  max-width: 640px;
}
.cd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.cd-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cd-stat-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
}
.cd-stat-lbl { font-size: 12px; color: #C4D4CC; line-height: 1.35; margin-top: 2px; }

.cd-hero-proof-card {
  background: rgba(12, 25, 20, 0.92);
  border: 1px solid rgba(229, 169, 60, 0.45);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.cd-hero-proof-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.cd-hero-proof-imgs figure { margin: 0; position: relative; }
.cd-hero-proof-imgs img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cd-hero-proof-imgs figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #CBD9D2;
  margin-top: 6px;
}
.cd-lot-tag-callout {
  background: var(--bg-emerald);
  border-left: 4px solid var(--gold-light);
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #EAF2EE;
}

/* Interactive Micro-Lot Cards */
.cd-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cd-filter-btn {
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.cd-filter-btn.active, .cd-filter-btn:hover {
  background: var(--bg-obsidian);
  color: var(--gold-light);
  border-color: var(--bg-obsidian);
}
.cd-lots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 26px;
}
.cd-lot-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cd-lot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cd-lot-media { position: relative; height: 225px; overflow: hidden; }
.cd-lot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cd-lot-card:hover .cd-lot-media img { transform: scale(1.04); }
.cd-sca-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-obsidian);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--gold);
}
.cd-lot-code {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 30, 25, 0.9);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}
.cd-lot-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.cd-lot-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cd-lot-title {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.cd-lot-notes {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--crimson);
  margin-bottom: 14px;
}
.cd-lot-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background: var(--bg-parchment);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-bottom: 18px;
  border: 1px solid #E6DEC8;
}
.cd-lot-footer { margin-top: auto; display: flex; gap: 10px; }
.cd-sample-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--bg-obsidian);
  background: transparent;
  color: var(--bg-obsidian);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.cd-sample-btn:hover { background: var(--bg-parchment); }
.cd-sample-btn.selected {
  background: var(--bg-emerald);
  color: var(--gold-light);
  border-color: var(--bg-emerald);
}

/* Bento Grid */
.cd-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cd-bento-card {
  background: #152A21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cd-bento-card img { width: 100%; height: 240px; object-fit: cover; }
.cd-bento-body { padding: 22px; flex: 1; }
.cd-bento-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.cd-bento-body p { font-size: 14.5px; color: #D2E0D9; }

/* Technical Tables */
.cd-table-wrap {
  overflow-x: auto;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.cd-table th {
  background: var(--bg-obsidian);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  padding: 14px 16px;
  letter-spacing: 0.05em;
}
.cd-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EFEAE0;
  color: var(--text-dark);
}
.cd-table tr:last-child td { border-bottom: none; }
.cd-table tr:nth-child(even) td { background: #FAF8F3; }

/* Logistics Calculator */
.cd-calc-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.cd-calc-output {
  background: var(--bg-obsidian);
  color: #FFFFFF;
  padding: 28px;
  border-radius: 12px;
  border-left: 5px solid var(--gold);
}
.cd-calc-output h3 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 22px;
  margin-bottom: 14px;
}
.cd-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.cd-calc-grid div strong { display: block; color: #9AB0A6; font-size: 11px; }

/* Sample Box Form Section */
.cd-form-card {
  background: #FFFFFF;
  border: 2px solid var(--bg-obsidian);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}
.cd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cd-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}
.cd-field input, .cd-field select, .cd-field textarea {
  padding: 12px 14px;
  border: 1.5px solid #C8BFA8;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  background: #FCFBF8;
  color: var(--text-dark);
}
.cd-field input:focus, .cd-field select:focus, .cd-field textarea:focus {
  outline: none;
  border-color: var(--bg-obsidian);
  background: #FFFFFF;
}
.cd-selected-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--bg-parchment);
  border-radius: 8px;
  border: 1px dashed var(--gold);
}
.cd-pill {
  background: var(--bg-emerald);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-pill button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

/* Gallery Grid */
.cd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.cd-gallery-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.cd-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.cd-gallery-item figcaption {
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Footer */
.cd-footer {
  background: #08120E;
  color: #C2D1CA;
  padding: 68px 0 36px;
  border-top: 3px solid var(--gold);
  font-size: 14px;
}
.cd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.cd-footer h4 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 17px;
  margin-bottom: 14px;
}
.cd-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cd-footer ul a { color: #B8C9C1; text-decoration: none; }
.cd-footer ul a:hover { color: var(--gold-light); }
.cd-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8CA096;
}

/* Floating WhatsApp & Sample Drawer Pill */
.cd-floating-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9990;
  background: #1FA855;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 960px) {
  .cd-hero-grid, .cd-bento-grid, .cd-calc-box, .cd-footer-grid, .cd-form-grid {
    grid-template-columns: 1fr;
  }
  .cd-hero-stats { grid-template-columns: 1fr 1fr; }
  .cd-nav-links { display: none; }
}


/* ============================================================================
   UPGRADED MAIN NAVIGATION: MEGA-MENUS, SAMPLE BOX POPOVER & MOBILE DRAWER
   ============================================================================ */
.cd-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(11, 24, 19, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 138, 43, 0.28);
  padding: 0 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.cd-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.cd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.cd-brand-crest {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #9E6818 100%);
  color: #0F1E19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 12px rgba(0,0,0,0.3);
}
.cd-brand-text {
  display: flex;
  flex-direction: column;
}
.cd-brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cd-brand-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--gold-light);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Desktop Nav Menu with Dropdowns */
.cd-nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.cd-nav-item {
  position: relative;
}
.cd-nav-link {
  color: #E6EFEA;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.cd-nav-link:hover,
.cd-nav-link.active,
.cd-nav-item:hover > .cd-nav-link {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
}
.cd-caret {
  font-size: 10px;
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.cd-nav-item:hover .cd-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Panel */
.cd-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: #12251E;
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}
.cd-dropdown-wide {
  min-width: 540px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 14px;
}
.cd-nav-item:hover > .cd-dropdown,
.cd-nav-item:focus-within > .cd-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cd-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.cd-drop-header {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  padding: 6px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}
.cd-drop-link {
  display: flex;
  flex-direction: column;
  padding: 9px 11px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.16s ease;
}
.cd-drop-link:hover {
  background: rgba(200, 138, 43, 0.14);
}
.cd-drop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cd-drop-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(200, 138, 43, 0.22);
  color: var(--gold-light);
  border: 1px solid rgba(229, 169, 60, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}
.cd-drop-sub {
  font-size: 11.5px;
  color: #B4C6BD;
  margin-top: 2px;
  line-height: 1.35;
}
.cd-drop-feature {
  background: #0B1813;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cd-drop-feature img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.cd-drop-feature-title {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.cd-drop-feature p {
  font-size: 11.5px;
  color: #C2D2CA;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Right CTA Cluster & Sample Box Popover */
.cd-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
}
.cd-nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 7px;
  background: rgba(31, 168, 85, 0.16);
  border: 1px solid rgba(31, 168, 85, 0.45);
  color: #69F098 !important;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.cd-nav-wa-btn:hover {
  background: #1FA855;
  color: #FFFFFF !important;
}
.cd-box-trigger-wrap {
  position: relative;
}
.cd-box-btn {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 7px;
  white-space: nowrap;
}
.cd-box-count-pill {
  background: #0F1E19;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 4px;
}
.cd-box-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: #12251E;
  border: 1px solid rgba(229, 169, 60, 0.45);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1150;
  color: #FFFFFF;
}
.cd-box-trigger-wrap:hover .cd-box-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cd-box-popover::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Mobile Menu Button & Drawer */
.cd-burger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cd-mobile-drawer {
  display: none;
  background: #0B1713;
  border-top: 1px solid rgba(200, 138, 43, 0.25);
  padding: 18px 24px 26px;
}
.cd-mobile-drawer.open {
  display: block;
}
.cd-mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cd-mobile-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.cd-mobile-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-mobile-col a {
  color: #E2ECE7;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .cd-nav-links, .cd-nav-wa-btn { display: none; }
  .cd-burger-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .cd-mobile-grid { grid-template-columns: 1fr; }
  .cd-brand-tag { display: none; }
}

/* ============================================================================
   MENÚ PRINCIPAL v2 (04/11/2026): accesible, táctil y con jerarquía de compra
   ============================================================================ */
.cd-skip{position:absolute;left:-999px;top:8px;background:#E5A93C;color:#0B1813;padding:10px 14px;border-radius:6px;font-weight:700;z-index:2000}
.cd-skip:focus{left:8px}
:focus-visible{outline:3px solid #E5A93C;outline-offset:2px;border-radius:4px}
.cd-nav{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
.cd-nav-item{display:flex;align-items:center}
.cd-nav-item>.cd-nav-link{padding-right:4px}
.cd-nav-link{font-size:14px}
.cd-caret-btn{background:none;border:0;color:#E6EFEA;cursor:pointer;padding:10px 8px 10px 2px;border-radius:7px;line-height:1;min-width:30px;min-height:40px}
.cd-caret-btn:hover{color:#E5A93C}
.cd-nav-item.is-open>.cd-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.cd-nav-item.is-open .cd-caret{transform:rotate(180deg);opacity:1}
.cd-nav-item>.cd-dropdown{top:calc(100% + 2px)}
.cd-nav-item:last-child>.cd-dropdown{left:auto;right:0}
.cd-drop-header{font-size:11px}
.cd-drop-title{font-size:14px}
.cd-drop-sub{font-size:12.5px}
.cd-drop-feature p{font-size:12.5px}
.cd-drop-feature .btn{align-self:flex-start;padding:9px 14px;font-size:13px}
.cd-box-popover .btn{display:block;text-align:center;margin-top:10px}
.cd-mobile-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}
.cd-mobile-cta .btn,.cd-mobile-cta .cd-nav-wa-btn{flex:1 1 220px;justify-content:center;text-align:center;min-height:46px}
.cd-mobile-col a{display:block;padding:8px 0;font-size:15px}
.cd-mobile-col h5{font-size:12px}
.cd-burger-btn{min-width:44px;min-height:44px}
@media (max-width:1280px){.cd-nav-cta>.cd-nav-wa-btn{display:none}.cd-brand-tag{display:none}}
@media (max-width:1100px){.cd-nav{display:none}.cd-box-popover{display:none}.cd-box-btn{padding:10px 12px}}
@media (max-width:760px){
  .cd-topbar-inner{padding-top:6px;padding-bottom:6px}
  .cd-topbar-group:nth-child(2){display:none}
  .cd-topbar-group{gap:4px 14px;font-size:11px}
  .cd-topbar-group span:nth-child(2){display:none}
  .cd-navbar{padding:0 14px}
  .cd-floating-wa{bottom:14px;right:14px;padding:10px 14px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){.cd-dropdown,.cd-box-popover,.cd-caret{transition:none!important}}
.cd-navbar .cd-brand{flex-direction:row;align-items:center;gap:12px}
.cd-navbar .cd-brand-crest{flex:none}
.cd-navbar .cd-brand-text{align-items:flex-start}
.cd-drop-feature{gap:10px}
.cd-drop-feature>div{margin-top:0}
.cd-mobile-drawer{max-height:calc(100vh - 74px);overflow-y:auto}
@media (max-width:640px){.cd-floating-wa{display:none}}
@media (max-width:560px){
  .cd-navbar-inner{gap:8px;min-height:64px}
  .cd-navbar .cd-brand{gap:8px;min-width:0}
  .cd-navbar .cd-brand-crest{width:34px;height:34px;font-size:15px}
  .cd-navbar .cd-brand-name{font-size:17px}
  .cd-nav-cta{gap:6px}
  .cd-box-btn{padding:9px 10px;font-size:12px}
  .cd-box-btn .cd-box-count-pill{margin-left:2px;padding:1px 5px}
  .cd-burger-btn{width:42px;height:42px;flex:none}
  .cd-mobile-drawer{max-height:calc(100vh - 64px)}
}

.cd-related{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.cd-related a{display:inline-block;padding:10px 16px;border:1px solid rgba(200,138,43,.45);border-radius:999px;text-decoration:none;color:inherit;font-weight:600;font-size:14px}
.cd-related a:hover{background:rgba(200,138,43,.15)}

/* Mobile overflow guards (forms & calculator) */
.cd-field, .cd-form-grid > *, .cd-calc-box > * { min-width: 0; }
.cd-field input, .cd-field select, .cd-field textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 960px) {
  .cd-hero-grid, .cd-bento-grid, .cd-calc-box, .cd-footer-grid, .cd-form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .cd-nav-cta > .btn.btn-gold { display: none; } .cd-nav-cta { gap: 8px; } }

/* Official logo in header */
.cd-brand-logo { display: block; height: 58px !important; width: auto !important; max-width: 100%; }
@media (max-width: 640px) { .cd-brand-logo { height: 44px !important; } }

/* Team */
.cd-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.cd-team-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 14px; padding: 26px 24px; box-shadow: 0 8px 26px rgba(15,30,25,.07); }
.cd-team-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cd-team-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold) 0%, #9E6818 100%); color: #0F1E19; font-family: var(--font-serif); font-size: 28px; font-weight: 700; }
.cd-team-top h3 { color: var(--bg-obsidian); margin: 0 0 4px; line-height: 1.2; }
.cd-team-role { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--bg-emerald); padding: 4px 10px; border-radius: 999px; }
.cd-team-bio { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.cd-team-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cd-team-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cd-team-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text-dark); }
.cd-team-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.cd-team-btn { align-self: stretch; text-align: center; }
.cd-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.cd-timeline::before { content: ""; position: absolute; left: 54px; top: 6px; bottom: 6px; width: 2px; background: rgba(229,169,60,.4); }
.cd-timeline li { position: relative; display: flex; gap: 28px; align-items: flex-start; padding: 14px 0; }
.cd-tl-year { flex: none; width: 110px; font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gold-light); text-align: right; padding-right: 28px; position: relative; }
.cd-tl-year::after { content: ""; position: absolute; right: -8px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--bg-obsidian); }
.cd-timeline h3 { color: #fff; margin: 0 0 6px; }
.cd-timeline p { color: #C2D1CA; margin: 0; line-height: 1.65; }
.cd-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.cd-values > div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.cd-values h3 { color: var(--bg-obsidian); margin: 0 0 8px; }
.cd-values p { color: var(--text-muted); margin: 0; line-height: 1.65; }
@media (max-width: 640px) {
  .cd-timeline::before { left: 8px; }
  .cd-timeline li { flex-direction: column; gap: 6px; padding-left: 34px; }
  .cd-tl-year { width: auto; text-align: left; padding-right: 0; }
  .cd-tl-year::after { left: -33px; right: auto; top: 9px; }
}

.cd-team-avatar { overflow: hidden; }
.cd-team-photo { width: 100%; height: 100%; object-fit: cover; object-position: 45% 15%; transform: scale(1.75); transform-origin: 45% 22%; display: block; }
