/* Sino2West - Premium Heritage Corporate Styles */

:root {
  --navy: #0A1628;
  --navy-light: #14233A;
  --navy-mid: #1C2F4A;
  --gold: #C9A84C;
  --gold-soft: #D4B96A;
  --gold-dark: #A88B3A;
  --cream: #F8F5F0;
  --cream-dark: #EDE8DF;
  --text: #1F2A36;
  --text-light: #5A6A7A;
  --white: #FFFFFF;
  --border: rgba(201, 168, 76, 0.25);
  --shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
  --radius: 6px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
  display: block;
  object-fit: contain;
}

.footer .logo img {
  height: 64px !important;
  max-height: 64px !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--gold-soft);
  color: var(--navy) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #14233A 45%, #0F1C2E 100%);
}

.hero-pattern {
  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='%23C9A84C' 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");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ========== INTRO / ABOUT TEASER ========== */
.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.1rem;
  margin-bottom: 20px;
}

.intro-text p {
  color: var(--text-light);
  margin-bottom: 18px;
}

.intro-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.fact {
  padding: 18px 20px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.fact strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.fact span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.intro-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--navy-light);
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.intro-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent 50%);
}

/* ========== SERVICES ========== */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 168, 76, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-size: 1.3rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== EXPERTISE ========== */
.expertise {
  background: var(--navy);
  color: var(--white);
}

.expertise .section-header h2,
.expertise .section-header .eyebrow {
  color: var(--gold);
}

.expertise .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.expertise-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 28px 22px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.expertise-item:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.expertise-item span {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--cream);
}

/* Light version for expertise page */
.expertise-page .expertise-item {
  background: var(--white);
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: var(--shadow);
}

.expertise-page .expertise-item span {
  color: var(--navy);
}

/* ========== WHY US ========== */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 20px;
}

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.7;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--cream);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-details {
  margin-top: 24px;
}

.contact-details p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D8D0C4;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ========== PRIVACY ========== */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.privacy-content h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.privacy-content .updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.privacy-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-light);
  margin-bottom: 12px;
}

.privacy-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::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='%23C9A84C' fill-opacity='0.05'%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-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 14px auto 0;
  position: relative;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: block;
  }

  .intro-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-visual {
    max-height: 360px;
    aspect-ratio: 16/10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 70px 0;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro-facts {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .privacy-content {
    padding: 30px 20px;
  }
}
