/* ==========================================================================
   Wei Ling (梅州市威凌网络科技有限公司) — Site #8
   Forest + Gold Palette — Unique Design
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --green-deep: #065f46;
  --green-emerald: #34d399;
  --gold: #f59e0b;
  --gold-light: #fde68a;
  --cream: #fefce8;
  --white: #ffffff;
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --color-border: #e7e5e4;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --max-width: 1100px;
  --radius: 8px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #054e3a;
  border-color: #054e3a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px #b8d4c9;
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn-gold:hover,
.btn-gold:focus-visible {
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-1px);
}

/* --- Fade Animation --- */
.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  opacity: 0.97;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px #f0f0f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-deep);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-deep);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

/* ==========================================================================
   HERO — CSS Server Illustration
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-badge::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-primary);
}

.hero-heading em {
  font-style: normal;
  color: var(--green-deep);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* --- CSS Server Illustration --- */
.server-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.server-scene {
  position: relative;
  width: 320px;
  height: 360px;
}

/* Server Rack */
.server-rack {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 120px;
  height: 280px;
  border: 3px solid var(--green-deep);
  border-radius: 6px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}

.server-rack::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed var(--green-emerald);
  border-radius: 3px;
}

.server-slot {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 22px;
  background: var(--green-deep);
  border-radius: 3px;
}

.server-slot:nth-child(1) { top: 32px; }
.server-slot:nth-child(2) { top: 64px; opacity: 0.85; }
.server-slot:nth-child(3) { top: 96px; }
.server-slot:nth-child(4) { top: 128px; opacity: 0.85; }
.server-slot:nth-child(5) { top: 160px; }
.server-slot:nth-child(6) { top: 192px; opacity: 0.85; }

/* Blinking LED */
.server-led {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--green-emerald);
  border-radius: 50%;
  right: 14px;
  animation: blink 1.4s infinite;
}

.server-led:nth-child(odd) { animation-delay: 0.7s; }

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green-emerald); }
  50% { opacity: 0.3; box-shadow: 0 0 2px var(--green-emerald); }
}

/* Network Switch */
.network-switch {
  position: absolute;
  right: 20px;
  top: 40px;
  width: 140px;
  height: 80px;
  border: 3px solid var(--text-secondary);
  border-radius: 8px;
  background: #fafaf9;
}

.network-switch::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.switch-port {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green-deep);
  border-radius: 2px;
  top: 16px;
}

.switch-port:nth-child(1) { left: 16px; }
.switch-port:nth-child(2) { left: 36px; }
.switch-port:nth-child(3) { left: 56px; }
.switch-port:nth-child(4) { left: 76px; }
.switch-port:nth-child(5) { left: 96px; }
.switch-port:nth-child(6) { left: 116px; }

/* Connecting Lines */
.connector-line {
  position: absolute;
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
}

.line-1 {
  top: 100px;
  left: 140px;
  width: 50px;
  transform: rotate(15deg);
}

.line-2 {
  top: 140px;
  left: 140px;
  width: 50px;
  transform: rotate(-5deg);
}

.line-3 {
  top: 180px;
  left: 140px;
  width: 50px;
  transform: rotate(-20deg);
}

/* Network Nodes */
.network-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
}

.node-1 { top: 100px; left: 190px; }
.node-2 { top: 138px; left: 195px; }
.node-3 { top: 30px; right: 30px; }

.node-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid var(--green-emerald);
  border-radius: 50%;
  top: 170px;
  right: 50px;
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
}

.node-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--green-emerald);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Database cylinder */
.database-icon {
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 80px;
  height: 100px;
  border: 3px solid var(--text-secondary);
  border-radius: 10px 10px 4px 4px;
  background: #fafaf9;
}

.database-icon::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -3px;
  right: -3px;
  height: 2px;
  background: var(--text-secondary);
}

.database-icon::after {
  content: '';
  position: absolute;
  top: 44px;
  left: -3px;
  right: -3px;
  height: 2px;
  background: var(--text-secondary);
}

/* Cloud shape */
.cloud-shape {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 70px;
  height: 36px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 20px;
}

.cloud-shape::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
  top: -16px;
  left: 12px;
}

.cloud-shape::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
  top: -10px;
  right: 10px;
}

/* ==========================================================================
   SERVICES — Numbered Expandable List
   ========================================================================== */
.services {
  padding: 6rem 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header .section-subheading {
  margin: 0 auto;
}

.services-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.service-item {
  border-bottom: 1px solid var(--color-border);
}

.service-item details {
  display: block;
}

.service-item summary {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary::marker {
  display: none;
  content: '';
}

.service-number {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  min-width: 58px;
  flex-shrink: 0;
}

.service-info {
  flex: 1;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.service-preview {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-expand-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all var(--transition);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.service-item details[open] .service-expand-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}

.service-detail {
  padding: 0 0.5rem 1.5rem 5.7rem;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-capability {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--green-deep);
  background: #f0fdf4;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.service-capability::before {
  content: '+';
  font-weight: 700;
  color: var(--gold);
}

/* ==========================================================================
   ABOUT — Mission & Vision Cards
   ========================================================================== */
.about {
  padding: 6rem 0;
  background: var(--cream);
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header .section-subheading {
  margin: 0 auto;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto 3rem;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--gold);
  transition: box-shadow var(--transition);
}

.about-card:hover {
  box-shadow: 0 8px 30px #ebebeb;
}

.about-card-icon {
  width: 44px;
  height: 44px;
  background: #fef3c7;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-quote {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--color-border);
}

.about-quote blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.95rem;
}

/* ==========================================================================
   INDUSTRIES — Highlighted Rows
   ========================================================================== */
.industries {
  padding: 6rem 0;
  background: var(--white);
}

.industries-header {
  text-align: center;
  margin-bottom: 3rem;
}

.industries-header .section-subheading {
  margin: 0 auto;
}

.industries-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.industry-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  transition: background var(--transition);
}

.industry-row:nth-child(even) {
  background: var(--cream);
}

.industry-row:nth-child(odd) {
  background: var(--white);
}

.industry-check {
  width: 32px;
  height: 32px;
  background: #d1fae5;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.industry-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  min-width: 160px;
  flex-shrink: 0;
}

.industry-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   APPROACH — 4 Belief Pillars
   ========================================================================== */
.approach {
  padding: 6rem 0;
  background: var(--cream);
}

.approach-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.approach-header .section-subheading {
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.pillar {
  text-align: center;
  padding: 1.5rem;
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT — Split Card with Gradient Border
   ========================================================================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header .section-subheading {
  margin: 0 auto;
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 3px;
}

/* Gradient border via pseudo-element */
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(135deg, var(--green-deep), var(--gold), var(--green-emerald));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

.contact-info {
  padding: 2.5rem 2rem;
  background: #fafaf9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: #fef3c7;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-form-wrap {
  padding: 2.5rem 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-deep);
}

.form-group textarea {
  min-height: 110px;
}

.form-error {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #f0fdf4;
  color: var(--green-deep);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* ==========================================================================
   CTA — Newsletter
   ========================================================================== */
.cta {
  padding: 5rem 0;
  background: var(--cream);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--green-deep);
}

.newsletter-form button {
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--text-primary);
  color: #d6d3d1;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #a8a29e;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: #a8a29e;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #78716c;
}

.footer-bottom a {
  color: #a8a29e;
  transition: color var(--transition);
}

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

/* ==========================================================================
   PRIVACY & TERMS PAGES
   ========================================================================== */
.legal-page {
  padding: 8rem 0 5rem;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-page .legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .server-illustration {
    order: -1;
    min-height: 280px;
  }

  .server-scene {
    width: 280px;
    height: 300px;
    transform: scale(0.85);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px #e0e0e0;
    transition: right 0.35s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .industry-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .industry-name {
    min-width: auto;
    flex: 1;
  }

  .industry-desc {
    width: 100%;
    padding-left: 2.75rem;
  }

  .service-item summary {
    gap: 1rem;
  }

  .service-detail {
    padding-left: 4.8rem;
  }

  .service-number {
    font-size: 1.8rem;
    min-width: 42px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pillars {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }
}
