:root {
  --primary: #1e1b4b;
  --secondary: #312e81;
  --accent: #059669;
  --accent-light: #d1fae5;
  --bg-pure: #ffffff;
  --bg-slate: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --overlay-light: rgba(255, 255, 255, 0.7);
  --overlay-glass: rgba(255, 255, 255, 0.95);
  --border-futuristic: #e2e8f0;
  --shadow-futuristic: none;
}

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

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

body {
  font-family: 'Roboto Slab', serif;
  color: var(--text-main);
  background-color: var(--bg-slate);
  line-height: 1.4;
  overflow-x: hidden;
  padding: 0.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--primary);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: static;
  width: 100%;
  background: var(--bg-pure);
  border: 1px solid var(--border-futuristic);
  margin-bottom: 0.25rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 3rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-yun { color: #059669 !important; }
.logo-he { color: var(--secondary) !important; }
.logo-int { color: #000000 !important; }

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.1s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: none;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--secondary);
  border-radius: 0;
  transition: all 0.1s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary);
  color: #fff;
  box-shadow: none;
  transform: none;
}

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

.btn-primary:hover {
  background-color: #047857; /* emerald-700 */
}

/* HERO LIGHT SECTIONS */
.hero-light {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  padding: 2rem;
  border: 1px solid var(--border-futuristic);
  margin-bottom: 0.25rem;
  background-color: var(--bg-pure);
}

.hero-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--overlay-light);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.hero-content h1, .hero-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

/* STANDARD SECTIONS */
.section {
  padding: 1rem;
  background-color: var(--bg-pure);
  border: 1px solid var(--border-futuristic);
  margin-bottom: 0.25rem;
}

.section.alt {
  background-color: var(--bg-pure);
}

.section-header {
  text-align: left;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.15rem;
}

.section-header .accent-line {
  display: none;
}

/* GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.25rem;
  align-items: stretch;
}

.grid-2 > div {
  grid-column: span 6;
  background-color: var(--bg-pure);
  padding: 1rem;
  border: 1px solid var(--border-futuristic);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.25rem;
}

.grid-3 > div {
  grid-column: span 4;
}

/* CARDS */
.futuristic-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-futuristic);
  padding: 1rem;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: none;
  box-shadow: none;
}

.futuristic-card::before {
  content: none;
}

.futuristic-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--text-muted);
}

.futuristic-card img {
  width: 100%;
  height: 5rem;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0.75rem;
}

/* CONTENT IMAGE BLOCKS */
.grid-2 > .img-block {
  padding: 0 !important;
}

.img-block {
  position: relative;
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
  min-height: 150px;
}

.img-block::after {
  content: none;
}

/* INLINE IMAGES INSIDE TEXT BLOCKS */
div > img[style*="width: 100%"] {
  border-radius: 0 !important;
  margin-top: 1rem !important;
}

/* CONTACT FORM */
.contact-container {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  max-width: 100%;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-futuristic);
  border-radius: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 0.875rem;
  background-color: var(--bg-pure);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: none;
}

#form-success {
  display: none;
  padding: 1rem;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--primary);
  text-align: left;
}

#form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #065f46;
}

#form-success p {
  font-size: 0.875rem;
  color: #064e3b;
}

/* FOOTER */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 4rem 1rem 3rem;
  border: 1px solid var(--border-futuristic);
  border-bottom: none;
  margin-bottom: 0;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.site-footer h3 .logo-int {
  color: #fff !important;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.footer-grid p {
  color: #94a3b8 !important;
}

.footer-grid a {
  font-size: 0.875rem;
  color: #94a3b8 !important;
  text-transform: uppercase;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 992px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .grid-2 > div, .grid-3 > div {
    grid-column: span 1;
  }
  .hero-content h1, .hero-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem 1rem;
    height: auto;
    flex-wrap: wrap;
  }
  .nav-links {
    margin-top: 0.5rem;
    gap: 0.75rem;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-light {
    padding: 1.5rem;
    min-height: 30vh;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
