/* ============================================
   海南游艇会 · 海岛度假风
   Pure White + Sand + Azure
   ============================================ */

:root {
  --white: #ffffff;
  --off-white: #faf8f5;
  --cream: #f5f0eb;
  --sand: #e8dfd5;
  --sand-2: #d5c9ba;
  --azure: #7ec8e3;
  --azure-2: #5bb8d9;
  --azure-deep: #3a9bc7;
  --ocean: #2c7aa8;
  --teal: #1a5f7a;
  --gold-sand: #c9a96e;
  --coral: #e8a87c;
  --text: #2c3e50;
  --text-2: #5a6b7a;
  --text-3: #8a9aaa;
  --text-light: #b0bcc8;
  --border: rgba(44,62,80,0.06);
  --shadow: 0 4px 20px rgba(44,62,80,0.06);
  --shadow-hover: 0 12px 40px rgba(44,62,80,0.1);
  --shadow-lg: 0 20px 60px rgba(44,62,80,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --font-display: 'Playfair Display', 'Noto Serif SC', 'STSong', serif;
  --font-body: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --w: 1200px;
  --gap: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--azure); color: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.w { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(44,62,80,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--teal);
  letter-spacing: 2px;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.75rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 1px;
  color: var(--text-2); transition: 0.3s var(--ease); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--azure); transition: 0.3s var(--ease); border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ocean); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal); display: block; border-radius: 1px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.4s var(--ease);
  border: none; text-decoration: none; border-radius: 50px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(58,155,199,0.25); }
.btn-sand {
  background: var(--sand-2); color: var(--text);
}
.btn-sand:hover { background: var(--gold-sand); color: var(--white); transform: translateY(-3px); }
.btn-outline {
  background: transparent; color: var(--ocean); border: 2px solid var(--azure);
}
.btn-outline:hover { background: var(--azure); color: var(--white); transform: translateY(-3px); }
.btn-white {
  background: var(--white); color: var(--ocean);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.btn-lg { padding: 14px 34px; font-size: 0.85rem; }
.btn-sm { padding: 8px 20px; font-size: 0.75rem; }
.nav-links .btn { margin-left: 4px; padding: 8px 20px; font-size: 0.75rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0ebe3 40%, #faf8f5 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Cpath d='M0,500 C360,400 720,550 1080,450 S1440,350 1440,350 L1440,900 L0,900 Z' fill='rgba(126,200,226,0.06)'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
}
.hero-body {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--w); margin: 0 auto; padding: 60px 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(126,200,226,0.15);
  color: var(--ocean); font-size: 0.7rem; letter-spacing: 2px;
  margin-bottom: 28px; text-transform: uppercase;
}
.hero-body h1 {
  font-family: var(--font-display);
  font-size: 4.2rem; font-weight: 600; letter-spacing: 1px;
  color: var(--teal); line-height: 1.1; margin-bottom: 6px;
}
.hero-body h1 .g {
  color: var(--azure-deep);
}
.hero-body .sub {
  font-size: 1.1rem; letter-spacing: 6px;
  color: var(--text-light); font-weight: 300; margin-bottom: 24px;
}
.hero-body p {
  font-size: 0.9rem; color: var(--text-2); max-width: 460px;
  line-height: 1.8; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics {
  display: flex; gap: 48px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-metrics .m { text-align: center; }
.hero-metrics .m .n {
  font-size: 2rem; font-weight: 600; color: var(--ocean); font-family: var(--font-display);
}
.hero-metrics .m .l {
  font-size: 0.7rem; color: var(--text-light); letter-spacing: 1px; margin-top: 2px;
}

/* ===== SECTIONS ===== */
.s { padding: 100px 0; }
.s-white { background: var(--white); }
.s-cream { background: var(--cream); }
.s-off-white { background: var(--off-white); }
.s-blue {
  background: linear-gradient(135deg, var(--teal) 0%, var(--ocean) 100%);
  color: var(--white);
}

.stitle {
  font-family: var(--font-display); font-size: 2.4rem;
  text-align: center; color: var(--teal); font-weight: 600; line-height: 1.2;
}
.stitle .g { color: var(--azure-deep); }
.s-blue .stitle { color: var(--white); }
.s-blue .stitle .g { color: var(--azure); }
.ssub {
  text-align: center; font-size: 0.85rem; color: var(--text-light);
  max-width: 500px; margin: 12px auto 48px; line-height: 1.8;
}
.s-blue .ssub { color: rgba(255,255,255,0.6); }
.s-line {
  width: 40px; height: 3px; background: var(--azure);
  margin: 16px auto 0; border-radius: 2px;
}
.s-blue .s-line { background: var(--azure-2); }

/* ===== YACHT GRID ===== */
.yg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yc {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow); transition: all 0.5s var(--ease);
}
.yc:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.yc-img { width: 100%; height: 220px; object-fit: cover; transition: all 0.5s var(--ease); }
.yc:hover .yc-img { transform: scale(1.03); }
.yc-body { padding: 24px; }
.yc-body .yc-tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  background: rgba(126,200,226,0.12); color: var(--ocean);
  font-size: 0.65rem; letter-spacing: 1px; margin-bottom: 10px;
}
.yc-body h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--text); margin-bottom: 6px;
}
.yc-body .ys {
  font-size: 0.72rem; color: var(--text-light); display: flex; gap: 12px;
  margin-bottom: 10px;
}
.yc-body .yd {
  font-size: 0.8rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px;
}
.yc-body .yp {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.yc-body .yp .pr {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ocean);
}
.yc-body .yp .pr small { font-size: 0.65rem; color: var(--text-light); font-family: var(--font-body); }
.yc-body .yp .btn { font-size: 0.7rem; padding: 8px 18px; }

/* ===== SERVICE GRID ===== */
.sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sc {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 24px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.5s var(--ease);
}
.sc:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sc-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.sc h3 { font-family: var(--font-display); font-size: 0.95rem; color: var(--text); margin-bottom: 8px; }
.sc p { font-size: 0.78rem; color: var(--text-2); line-height: 1.7; }

/* ===== FEATURE ===== */
.fg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fc {
  display: flex; gap: 20px; padding: 28px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: all 0.4s var(--ease);
}
.fc:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.fc-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.9rem;
}
.fc-text h3 { font-family: var(--font-display); font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.fc-text p { font-size: 0.78rem; color: var(--text-2); line-height: 1.7; }

/* ===== REVIEW ===== */
.rg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.rc .rs { color: var(--gold-sand); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }
.rc .rt {
  font-size: 0.82rem; color: var(--text-2); line-height: 1.8; font-style: italic;
}
.rc .ra { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.rc .ra .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.7rem; flex-shrink: 0;
}
.rc .ra .n { font-size: 0.78rem; color: var(--text); font-weight: 500; }
.rc .ra .t { font-size: 0.68rem; color: var(--text-light); }

/* ===== CTA ===== */
.cta {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--ocean) 100%);
  color: var(--white);
}
.cta h2 { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: 12px; }
.cta p { opacity: 0.7; max-width: 460px; margin: 0 auto 32px; font-size: 0.9rem; line-height: 1.8; }

/* ===== FOOTER ===== */
.ft {
  background: var(--off-white); padding: 80px 0 24px;
  border-top: 1px solid var(--border);
}
.ftg { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 40px; }
.ftb h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--teal); margin-bottom: 16px; }
.ftb p { font-size: 0.78rem; color: var(--text-2); line-height: 1.8; max-width: 280px; }
.ft h4 { font-size: 0.7rem; color: var(--ocean); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.ft a { display: block; font-size: 0.78rem; color: var(--text-2); margin-bottom: 8px; transition: 0.3s var(--ease); }
.ft a:hover { color: var(--ocean); padding-left: 4px; }
.ftc { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.78rem; color: var(--text-2); }
.ftc .ci {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azure), var(--ocean));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--white); font-size: 0.55rem;
}
.ftb2 { padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .yg { grid-template-columns: repeat(2, 1fr); }
  .sg { grid-template-columns: repeat(2, 1fr); }
  .hero-body h1 { font-size: 3.2rem; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); flex-direction: column; gap: 0; padding: 10px 24px;
    box-shadow: var(--shadow); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .hero-body h1 { font-size: 2.2rem; }
  .hero-body .sub { font-size: 0.85rem; letter-spacing: 4px; }
  .hero-metrics { gap: 24px; flex-wrap: wrap; }
  .stitle { font-size: 1.6rem; }
  .yg { grid-template-columns: 1fr; }
  .sg { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr; }
  .rg { grid-template-columns: 1fr; }
  .ftg { grid-template-columns: 1fr; gap: 32px; }
  .cta h2 { font-size: 1.6rem; }
  .s { padding: 60px 0; }
  .ft { padding: 60px 0 24px; }
  .ftb2 { flex-direction: column; gap: 12px; text-align: center; }
  .hero-body { padding: 100px 24px 60px; }
}
