/* Bondeko shared design system */
:root {
  --gold: #C9A14A;
  --gold-light: #E0B968;
  --gold-dark: #A6843B;
  --dark: #1a1a1a;
  --dark-soft: #2a2a2a;
  --cream: #faf7f2;
  --cream-warm: #f4ece0;
  --green: #2e7d32;
  --green-light: #4caf50;
  --red: #c62828;
  --blue: #1565c0;
  --purple: #6a1b9a;
  --orange: #ef6c00;
  --text: #1a1a1a;
  --text-soft: #555;
  --text-mute: #888;
  --border: #e8e0d0;
  --shadow: 0 8px 32px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 26, 0.15);
  --shadow-gold: 0 12px 40px rgba(201, 161, 74, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.breadcrumb { font-size: 13px; color: var(--text-mute); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--dark); }

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cream-warm);
  color: var(--gold-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 48px;
}

/* NAV — shared site header */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links > a,
.nav-links .nav-parent {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-links .nav-parent:hover,
.nav-item.has-dropdown.open .nav-parent,
.nav-links > a.active,
.nav-links .nav-parent.active {
  color: var(--dark);
  font-weight: 700;
}
.nav-dropdown a.active {
  background: var(--cream-warm);
  color: var(--dark);
  font-weight: 700;
}
.btn-nav.active {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
}
.nav-parent .caret {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s;
}
.nav-item.has-dropdown.open .caret {
  transform: rotate(180deg);
}

/* Hidden by default — only visible when .open is toggled */
.has-dropdown > .nav-dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.14);
  z-index: 200;
}
.has-dropdown.open > .nav-dropdown {
  display: block !important;
}
.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-dropdown a:hover {
  background: var(--cream-warm);
  color: var(--dark);
}

.btn-nav {
  background: var(--dark) !important;
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-nav:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 110;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
  z-index: 90;
}
.nav-overlay.open { display: block; }

@media (max-width: 1100px) {
  .nav-links { gap: 12px; }
  .nav-links > a,
  .nav-links .nav-parent { font-size: 13px; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 110;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a,
  .nav-links .nav-parent {
    padding: 12px 14px;
    text-align: left;
    width: 100%;
    justify-content: space-between;
  }
  .nav-item.has-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .has-dropdown > .nav-dropdown {
    position: static !important;
    display: none !important;
    margin: 0 0 8px;
    padding: 4px;
    background: var(--cream);
    border: none;
    box-shadow: none;
    border-radius: 10px;
    width: 100%;
  }
  .has-dropdown.open > .nav-dropdown {
    display: block !important;
  }
  .nav-dropdown a {
    padding: 10px 14px 10px 22px;
  }
  .nav-dropdown a:hover {
    background: white;
  }
  .btn-nav {
    text-align: center !important;
    margin-top: 8px;
  }
}

/* Document / mini nav helpers */
.logo-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--dark);
  text-decoration: none;
}
.logo-circle {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}
.btn-whatsapp { background: #25D366; color: white; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: white;
  color: var(--dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* FAQ */
details.faq,
.faq {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary,
.faq summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] summary,
.faq[open] summary { border-bottom: 1px solid var(--border); }
details.faq p,
.faq p {
  padding: 16px 20px;
  color: var(--text-soft);
  font-size: 14px;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 48px;
  height: 48px;
  background: white;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold-dark);
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-soft); }
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* Footer — simple */
footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 24px;
  font-size: 14px;
  text-align: center;
  margin-top: 0;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-langs {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-langs span { margin: 0 6px; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 90;
  box-shadow: var(--shadow);
}
.back-to-top.visible { display: flex; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(201, 161, 74, 0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .section-title { font-size: 32px; }
}
