:root {
    --gold: #C9A84C; --gold-light: #E8C97A;
    --ink: #0D0D0D; --ink-mid: #1A1A1A;
    --cream: #F8F4EC; --border: rgba(201,168,76,0.25); --mist: rgba(201,168,76,0.08);
    --cream-dim: rgba(248,244,236,0.6);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--ink); color: var(--cream); font-family: "Montserrat", sans-serif; font-weight: 300; overflow-x: hidden; }

  /* ── LANGUAGE SWITCHER ── */
  .lang-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; justify-content: flex-end; align-items: center;
    padding: 0.55rem 8vw; gap: 0;
    background: rgba(13,13,13,0.95); border-bottom: 1px solid var(--border);
  }
  .lang-btn {
    font-family: "Montserrat", sans-serif; font-size: 0.58rem; font-weight: 400;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(248,244,236,0.45); background: none; border: none;
    cursor: pointer; padding: 0.35rem 1.1rem; position: relative;
    transition: color 0.2s;
  }
  .lang-btn::after {
    content: ""; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: var(--border);
  }
  .lang-btn:last-child::after { display: none; }
  .lang-btn:hover { color: var(--gold-light); }
  .lang-btn.active { color: var(--gold); }
  .lang-btn.active::before {
    content: ""; position: absolute; bottom: -1px; left: 1.1rem; right: 1.1rem;
    height: 2px; background: var(--gold);
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 32px; left: 0; right: 0; z-index: 100;
    padding: 1.6rem 8vw; display: flex; align-items: center; justify-content: space-between;
    transition: background 0.4s, padding 0.3s;
  }
  nav.scrolled { background: rgba(13,13,13,0.92); backdrop-filter: blur(12px); padding: 0.9rem 8vw; border-bottom: 1px solid var(--border); }
  .nav-logo { font-family: "Noto Serif SC", serif; font-size: 1.2rem; color: var(--gold); letter-spacing: 0.05em; text-decoration: none; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(248,244,236,0.65); text-decoration: none; transition: color 0.2s; }
  .nav-links a:hover { color: var(--gold); }

  /* ── HERO ── */
  .hero { position: relative; height: 100vh; min-height: 700px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
  .hero-img { position: absolute; inset: 0; background: url("https://www.dingqiaointernational.com/assets/img/hero.jpg") center center / cover no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-in-out infinite alternate; }
  @keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.10) 35%, rgba(13,13,13,0.55) 65%, rgba(13,13,13,0.92) 100%); }
  .hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); z-index: 10; }
  .hero-content { position: relative; z-index: 5; padding: 0 8vw 8vh; max-width: 900px; }
  .hero-tag { font-family: "Montserrat", sans-serif; font-weight: 200; font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.8); margin-bottom: 1.4rem; opacity: 0; animation: fadeUp 1s 0.3s forwards; }
  .hero-zh { font-family: "Noto Serif SC", serif; font-weight: 300; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; color: var(--gold-light); letter-spacing: 0.08em; opacity: 0; animation: fadeUp 1s 0.6s forwards; }
  .hero-title { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(1.4rem, 3.5vw, 2.6rem); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); margin-top: 0.6rem; opacity: 0; animation: fadeUp 1s 0.9s forwards; }
  .hero-sub { margin-top: 1.8rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248,244,236,0.55); opacity: 0; animation: fadeUp 1s 1.2s forwards; }
  .hero-divider { width: 60px; height: 1px; background: var(--gold); margin: 1.6rem 0; opacity: 0; animation: fadeUp 1s 1.1s forwards; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .scroll-cue { position: absolute; bottom: 3.5vh; right: 8vw; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; animation: fadeUp 1s 1.8s forwards; }
  .scroll-cue span { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); writing-mode: vertical-rl; }
  .scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
  @keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

  /* ── SECTIONS ── */
  section { padding: 9vh 8vw; }
  .section-label { font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
  h2 { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 0.06em; line-height: 1.15; color: var(--cream); margin-bottom: 2.5rem; }
  h2 em { font-style: italic; color: var(--gold-light); }
  .gold-line { width: 50px; height: 1px; background: var(--gold); margin-bottom: 2.5rem; }

  .valor { background: var(--ink-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .valor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 3rem; border: 1px solid var(--border); }
  .valor-cell { padding: 2.8rem 2.4rem; border: 1px solid var(--border); position: relative; transition: background 0.3s; }
  .valor-cell:hover { background: var(--mist); }
  .valor-cell::before { content: attr(data-num); position: absolute; top: 1.6rem; right: 1.8rem; font-family: "Cormorant Garamond", serif; font-size: 3.5rem; color: rgba(201,168,76,0.08); font-weight: 300; line-height: 1; }
  .valor-cell h3 { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 1.25rem; color: var(--gold-light); letter-spacing: 0.05em; margin-bottom: 0.9rem; }
  .valor-cell p { font-size: 0.75rem; line-height: 1.85; color: var(--cream-dim); letter-spacing: 0.03em; }

  .servicios { background: var(--ink); }
  .services-list { margin-top: 3rem; display: flex; flex-direction: column; }
  .service-item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--border); transition: padding 0.25s; gap: 2rem; }
  .service-item:hover { padding-left: 1rem; }
  .service-num { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: rgba(201,168,76,0.3); font-weight: 300; }
  .service-name { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 400; color: var(--cream); letter-spacing: 0.04em; }
  .service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; max-width: 380px; }
  .tag { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.3rem 0.8rem; border: 1px solid var(--border); color: rgba(201,168,76,0.7); transition: border-color 0.2s, color 0.2s; }
  .service-item:hover .tag { border-color: rgba(201,168,76,0.6); color: var(--gold-light); }

  .sectores { background: linear-gradient(135deg, var(--ink-mid) 0%, var(--ink) 100%); border-top: 1px solid var(--border); }
  .sectores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .sector-card { border: 1px solid var(--border); padding: 3.5rem 2rem; text-align: center; display: flex; align-items: center; justify-content: center; transition: transform 0.3s, border-color 0.3s; }
  .sector-card:hover { transform: translateY(-4px); border-color: var(--gold); }
  .sector-card h4 { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; font-weight: 400; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; }

  .modelo { background: var(--ink-mid); border-top: 1px solid var(--border); }
  .ingresos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .ingreso-item { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.8rem; border: 1px solid var(--border); }
  .ingreso-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 0.45rem; }
  .ingreso-item p { font-size: 0.75rem; line-height: 1.7; color: rgba(248,244,236,0.7); letter-spacing: 0.03em; }

  .vision { background: var(--ink); border-top: 1px solid var(--border); }
  .vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
  .vm-card h3 { font-family: "Cormorant Garamond", serif; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
  .vm-card p { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 300; font-style: italic; line-height: 1.6; color: rgba(248,244,236,0.85); letter-spacing: 0.02em; }

  .quote-section { background: var(--ink); border-top: 1px solid var(--border); padding: 8vh 8vw; text-align: center; position: relative; overflow: hidden; }
  .quote-section::before { content: "鼎"; font-family: "Noto Serif SC", serif; font-size: 28vw; color: rgba(201,168,76,0.03); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
  .quote-text { font-family: "Cormorant Garamond", serif; font-size: clamp(1.5rem, 3.5vw, 2.8rem); font-weight: 300; font-style: italic; color: var(--cream); letter-spacing: 0.04em; line-height: 1.45; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
  .quote-author { margin-top: 2rem; font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); position: relative; z-index: 1; }

  footer { background: var(--ink-mid); border-top: 1px solid var(--border); padding: 5vh 8vw; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
  .footer-brand { font-family: "Noto Serif SC", serif; font-size: 2rem; color: var(--gold); letter-spacing: 0.06em; display: block; margin-bottom: 0.4rem; }
  .footer-tagline { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(248,244,236,0.35); }
  .footer-right { text-align: right; }
  .footer-right p { font-size: 0.65rem; letter-spacing: 0.1em; color: rgba(248,244,236,0.3); line-height: 1.9; }

  /* ── LANGUAGE CONTENT ── */
  [data-lang] { display: none; }
  .service-name [data-lang].active { display: inline; }
  [data-lang].active { display: block; }
  .inline-lang { display: none; }
  .inline-lang.active { display: inline; }


  /* ── CONTACT CTA ── */
  .contacto { background: var(--ink-mid); border-top: 1px solid var(--border); padding: 10vh 8vw; }
  .contacto-inner { max-width: 700px; margin: 0 auto; text-align: center; }
  .contacto-sub { font-size: 0.82rem; line-height: 1.9; color: var(--cream-dim); margin-bottom: 3rem; max-width: 520px; margin-left: auto; margin-right: auto; letter-spacing: 0.03em; }
  .contacto-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .cta-btn { font-family: "Montserrat", sans-serif; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; padding: 1rem 2.4rem; text-decoration: none; transition: all 0.25s; }
  .cta-primary { background: var(--gold); color: var(--ink); }
  .cta-primary:hover { background: var(--gold-light); }
  .cta-secondary { border: 1px solid var(--border); color: var(--gold); }
  .cta-secondary:hover { border-color: var(--gold); background: var(--mist); }
  .contacto-location { font-size: 0.6rem; letter-spacing: 0.22em; color: rgba(248,244,236,0.3); text-transform: uppercase; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; align-items: center; }
  .loc-dot { color: var(--gold); opacity: 0.4; }
  @media (max-width: 768px) {
    .valor-grid, .vm-grid, .ingresos-grid { grid-template-columns: 1fr; }
    .sectores-grid { grid-template-columns: repeat(2, 1fr); }
    .service-item { grid-template-columns: 50px 1fr; }
    .service-tags { display: none; }
    nav .nav-links { display: none; }
  }