/* GWG — Premium Redesign v3: warm, textured, research-grade */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f2ec;
  --bg-card: #fcfaf7;
  --text: #1c1612;
  --text-muted: #7a7269;
  --accent: #b86a2c;
  --accent-light: #d18e4e;
  --accent-dark: #8a4d1c;
  --accent-dim: #e8d5c0;
  --accent-glow: rgba(184,106,44,0.08);
  --border: #e2d9cf;
  --border-light: #efe8df;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(28,22,18,0.04), 0 4px 12px rgba(28,22,18,0.03);
  --shadow-lg: 0 2px 8px rgba(28,22,18,0.04), 0 12px 32px rgba(28,22,18,0.04);
  --nav-height: 64px;
  --section-gap: 80px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15.5px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(246,242,236,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  height: var(--nav-height);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  position: relative;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.lang-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: inherit;
  padding: 4px 22px 4px 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' fill='%23888'%3E%3Cpath d='M0 0l4 6 4-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 8px 6px;
  min-width: 70px;
  margin-left: 8px;
  z-index: 301;
  line-height: 1.4;
}
.lang-dropdown:hover {
  border-color: var(--accent);
  color: var(--text);
}
.lang-dropdown:focus {
  outline: none;
  border-color: var(--accent);
}
.lang-dropdown option {
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
}
.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.83rem !important;
  transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover { background: var(--accent-light) !important; transform: translateY(-1px); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 300;
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Page offset */
.page-content { padding-top: var(--nav-height); }

/* ── Hero ── */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  translate: -50% 0;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(184,106,44,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 740px;
  margin: 0 auto 20px;
  color: var(--text);
}
.hero h1 span {
  color: var(--accent);
  display: inline;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(138,77,28,0.3);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-glow); }
.btn-hollow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-hollow:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}

/* ── Section shared ── */
section { padding: var(--section-gap) 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
  text-align: center;
  line-height: 1.25;
}
.section-title span { color: var(--accent); }

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: -28px auto 44px;
  text-align: center;
  line-height: 1.7;
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.25s;
  text-align: center;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.card-extend {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

/* ── Case Banner ── */
.case-banner {
  background: linear-gradient(135deg, #1c1612 0%, #2a221c 100%);
  border-radius: var(--radius);
  padding: 48px 42px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.case-banner h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.case-banner p { color: #b5aba2; font-size: 0.88rem; max-width: 480px; line-height: 1.7; }
.case-banner .btn { flex-shrink: 0; }

/* ── Steps / How It Works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.step h4 { font-size: 0.92rem; font-weight: 600; margin: 4px 0 10px; }
.step p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ── Features ── */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-item .marker {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.feature-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ── Page Header ── */
.page-header {
  padding: 60px 0 48px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.page-header h1 span { color: var(--accent); }
.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Story Sections ── */
.story-section {
  max-width: 700px;
  margin: 0 auto 52px;
}
.story-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.story-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.story-section .highlight {
  color: var(--text);
  font-weight: 500;
}

/* ── Contact ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}
.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.contact-item .icon { font-size: 1.1rem; }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 18px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.88rem;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
footer .logo { display: inline-block; margin-bottom: 14px; }
footer p { line-height: 1.8; }
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 12px 0 10px;
  list-style: none;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-links a:hover { color: var(--accent); }

/* ── T-Card (Framework) ── */
.t-card {
  display: flex;
  gap: 22px;
  margin: 28px 0;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: box-shadow 0.2s;
}
.t-card:hover { box-shadow: var(--shadow); }

.t-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.t-badge-t0 { background: #8a8279; }
.t-badge-t1 { background: #6d7f8a; }
.t-badge-t2 { background: #5a7d9a; }
.t-badge-t3 { background: #3d6f8a; }
.t-badge-t4 { background: var(--accent); }

.t-card-body { flex: 1; }
.t-card-body h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 600;
}
.t-card-body h3.t0 { color: #8a8279; }
.t-card-body h3.t1 { color: #6d7f8a; }
.t-card-body h3.t2 { color: #5a7d9a; }
.t-card-body h3.t3 { color: #3d6f8a; }
.t-card-body h3.t4 { color: var(--accent); }

.t-card-body .sub {
  color: var(--text-muted);
  margin: 0 0 6px;
  font-size: 0.85rem;
}
.t-card-body .desc {
  font-size: 0.83rem;
  margin: 0;
  line-height: 1.65;
}

/* ── Decorative illustration placeholder ── */
.illus-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger { display: flex !important; }

  .nav-links {
    display: flex !important;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    background: rgba(246,242,236,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 150;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    padding: 80px 0 40px;
    box-sizing: border-box;
    overflow-y: auto;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { font-size: 1.1rem; font-weight: 600; }
  .btn-nav { font-size: 1.1rem !important; padding: 12px 32px; }

  .hero { padding: 80px 0 48px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .page-header { padding: 40px 0 28px; }
  .page-header h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
  .container { padding: 0 18px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }
  .features-list { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .case-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .case-banner p { max-width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .t-card { padding: 18px 16px; flex-direction: column; gap: 12px; }

  section { padding: 48px 0; }
  nav .container { padding: 0 16px; }
  section .container { padding: 0 16px; }
  .breadcrumb .container { padding: 0 16px; }

  .btn { padding: 11px 22px; font-size: 0.85rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 260px; justify-content: center; }
  .story-section { padding: 0 4px; }
  .story-section h2 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.35rem; }
  .section-title { font-size: 1.1rem; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
}
