/* ===== TERCERON S.A. — Shared Stylesheet ===== */
:root {
  --white:   #ffffff;
  --bg:      #f8f6f2;
  --bg2:     #f0ece4;
  --surface: #ffffff;
  --border:  #e2d8cc;
  --ore:     #b85a14;
  --ore-dk:  #8f420e;
  --ore-lt:  #d4722a;
  --gold:    #c9952a;
  --stone:   #6b5c4a;
  --tx:      #1a1410;
  --tx2:     #3d3028;
  --mu:      #7a6a58;
  --display: 'Playfair Display', Georgia, serif;
  --body:    'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  --mono:    'JetBrains Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--tx); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--ore);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 4px; border: 1px solid var(--border); background: var(--white); padding: 3px; }
.nav-logo-name { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--tx); letter-spacing: .5px; }
.nav-logo-name span { color: var(--ore); }
.nav-logo-sub { font-size: 10px; color: var(--mu); letter-spacing: .15em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  display: block; padding: 0 18px; height: 72px; line-height: 72px;
  color: var(--tx2); text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: .03em; transition: all .2s; border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ore); border-bottom-color: var(--ore); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-sw { display: flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.lang-sw button { padding: 6px 12px; border: none; background: transparent; color: var(--mu); font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; letter-spacing: .05em; }
.lang-sw button.on { background: var(--ore); color: #fff; }
.btn-contact {
  padding: 9px 22px; background: var(--ore); color: #fff;
  border: none; border-radius: 4px; font-family: var(--body);
  font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none;
  transition: background .2s; letter-spacing: .03em;
}
.btn-contact:hover { background: var(--ore-dk); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--tx); margin: 5px 0; border-radius: 1px; transition: all .3s; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(255,255,255,.98); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--tx); text-decoration: none; font-family: var(--display); font-size: 28px; font-weight: 700; }
.mobile-menu a:hover { color: var(--ore); }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--tx); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--ore-dk) 0%, var(--ore) 60%, var(--ore-lt) 100%);
  padding: 60px 40px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.page-header-breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.page-header-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-header-breadcrumb a:hover { color: #fff; }

/* ── COMMON LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--ore);
  letter-spacing: .25em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--ore); }
h2.section-title {
  font-family: var(--display); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--tx); margin-bottom: 14px; line-height: 1.15;
}
.section-sub { color: var(--mu); font-size: 16px; line-height: 1.7; max-width: 600px; margin-bottom: 48px; }
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--ore); color: #fff;
  border: none; border-radius: 4px; font-family: var(--body);
  font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .2s; letter-spacing: .03em;
}
.btn-primary:hover { background: var(--ore-dk); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: transparent; color: var(--ore);
  border: 2px solid var(--ore); border-radius: 4px; font-family: var(--body);
  font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--ore); color: #fff; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-body { padding: 32px; }
.card-top-bar { height: 4px; background: linear-gradient(90deg, var(--ore), var(--gold)); }

/* ── FOOTER ── */
footer {
  background: var(--tx); color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 40px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 48px; height: 48px; border-radius: 4px; object-fit: contain; background: var(--white); padding: 3px; }
.footer-logo-text { font-family: var(--display); font-size: 18px; font-weight: 700; color: #fff; }
.footer-logo-text span { color: var(--ore-lt); }
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: all .2s;
}
.footer-social a:hover { border-color: var(--ore-lt); color: var(--ore-lt); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 40px; max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ore); border-radius: 2px; }

/* ── MOBILE ── */
@media(max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px 20px; }
}