/* =========================
   DIEQUINOX CAPITAL - SHARED STYLE
   Based on uploaded landing page style
   Vanilla HTML5 + CSS3 only
========================= */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2c3e50;   /* Elegant Night Blue */
  --accent-color: #e67e22;    /* Subtle Premium Orange */
  --bg-color: #f4f6f7;
  --white: #ffffff;
  --text-color: #333333;
  --muted-text: #666666;
  --light-border: #dddddd;
  --overlay-dark: rgba(0, 0, 0, 0.5);
  --overlay-deep: rgba(0, 0, 0, 0.6);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 12px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.02em;
}

p, li, a, button, label, input, textarea {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

/* ===== LAYOUT ===== */
.container {
  padding-left: 30px;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 70px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted-text);
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.text-block {
  max-width: 900px;
  margin: 0 auto;
}

.text-block p + p {
  margin-top: 16px;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.btn:hover {
  background-color: #1a252f;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-download {
  font-size: 1rem;
  padding: 16px 34px;
}

.download-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== PARALLAX ===== */
.parallax {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-fixed {
  background-attachment: fixed;
}

/* Mobile fallback */
@media (max-width: 900px) {
  .parallax-fixed {
    background-attachment: scroll;
  }
}

/* ===== HAMBURGER MENU ===== */
.nav-toggle {
  display: none;
}

.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: var(--shadow);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger:hover {
  transform: scale(1.03);
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  position: relative;
  transition: var(--transition);
  content: "";
}

.hamburger span::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.hamburger span::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.nav-toggle:checked + .hamburger span {
  background: transparent;
}

.nav-toggle:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .hamburger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== SIDE PANEL ===== */
.side-panel {
  position: fixed;
  top: 0;
  left: -340px;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  box-shadow: 10px 0 25px rgba(0, 0, 0, 0.08);
  z-index: 1150;
  padding: 100px 30px 40px;
  transition: left var(--transition);
}

.menu-brand {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.side-panel nav ul {
  list-style: none;
}

.side-panel nav li {
  margin-bottom: 18px;
}

.side-panel nav a {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition), padding-left var(--transition);
}

.side-panel nav a:hover {
  color: var(--accent-color);
  padding-left: 6px;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  z-index: 1100;
  transition: var(--transition);
}

.nav-toggle:checked ~ .side-panel {
  left: 0;
}

.nav-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 50px;
  color: var(--white);
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--overlay-dark), var(--overlay-deep));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-title {
  margin-top: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-content h2{
  margin-top: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 2px;
  text-transform: none;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15px;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  margin: 0 auto;
}

.hero-corner {
  position: absolute;
  z-index: 2;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 320px;
  line-height: 1.6;
}

.hero-corner strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.hero-bottom-left {
  left: 30px;
  bottom: 24px;
  text-align: left;
}

.hero-bottom-right {
  right: 30px;
  bottom: 24px;
  text-align: right;
}

/* ===== PARALLAX BANNER ===== */
.parallax-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.parallax-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--overlay-dark), var(--overlay-deep));
}

.parallax-banner .container {
  position: relative;
  z-index: 2;
}

.parallax-banner h1,
.parallax-banner h2,
.parallax-banner h3,
.parallax-banner p {
  color: var(--white);
}

.parallax-banner h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.parallax-banner p {
  max-width: 800px;
  font-size: 1.05rem;
}

/* ===== CONTENT GRID ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.image-frame {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

/* ===== FOUNDER BIO TOGGLE ===== */
.bio-toggle {
  display: none;
}

.learn-more-label {
  display: inline-flex;
  margin-top: 20px;
  cursor: pointer;
}

.bio-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.bio-toggle:checked ~ .bio-content {
  max-height: 1200px;
  opacity: 1;
  margin-top: 24px;
}

/* ===== LEGAL PAGE ===== */
.legal-wrapper {
  min-height: 100vh;
  padding: 120px 20px 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--bg-color);
}

.legal-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  width: 100%;
}

.legal-card h1 {
  text-align: center;
  margin-bottom: 14px;
}

.legal-card .intro {
  text-align: center;
  color: var(--muted-text);
  max-width: 700px;
  margin: 0 auto 28px;
}

.download-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal-content p + p {
  margin-top: 14px;
}

/* ===== FORMS (if needed later) ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

label {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--primary-color);
}

input,
textarea {
  padding: 12px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition);
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* ===== FOOTER ===== */
.page-footer {
  margin-top: 0;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  background: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero-bottom-left,
  .hero-bottom-right {
    position: static;
    text-align: center;
    margin-top: 18px;
    max-width: 100%;
  }

  .hero-corners-mobile {
    margin-top: 25px;
    position: relative;
    z-index: 2;
  }

  .legal-card,
  .card {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .hamburger {
    width: 48px;
    height: 48px;
    top: 16px;
    left: 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 65px 0;
  }

  .container {
    width: 85%;
  }

  .btn {
    width: 100%;
  }
}

/* ===== HOMEPAGE CARD FOOTNOTE FIX ===== */
.homepage-card {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.homepage-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.homepage-subtitle {
  font-size: 1.4rem;
  color: #555555;
  margin-bottom: 14px;
}

.homepage-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* Footnote block instead of overlay corners */
.homepage-footnote {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.footnote-column h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #888787;
}

.footnote-column p {
  font-size: 0.90rem;
  line-height: 1.5;
  color: #888787;
}

.footnote-column a {
  color: #f0f0f0;
  font-weight: 600;
}

/* LEFT BLOCK stays left */
.homepage-footnote .footnote-column:first-child {
  text-align: left;
}

/* RIGHT BLOCK aligns right */
.homepage-footnote .footnote-column:last-child {
  text-align: right;
}

.homepage-copyright {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
  background: transparent;
}

/* Mobile */
@media (max-width: 768px) {
  .homepage-footnote {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .homepage-footnote .footnote-column:first-child,
  .homepage-footnote .footnote-column:last-child {
    text-align: center;
  }
}

/* =========================
   FOUNDER SECTION - CLEAN REVEAL
========================= */

.founder-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.founder-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding-left: 50px;
  align-items: center;
}

.founder-photo-wrap {
  width: 100%;
  padding-left: 28px
}

.founder-photo {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.founder-summary h2 {
  margin-top: 0;
}

.founder-summary p {
  margin-bottom: 24px;
  line-height: 1.8;
  color: #444;
}

/* Hidden content */
.founder-more {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
}

.founder-more.open {
  display: grid;
}

.founder-more-text p {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.9;
  padding-left: 28px;
  color: #444;
}

.founder-more-image-wrap {
  width: 100%;
}

.founder-more-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .founder-top,
  .founder-more,
  .founder-more.open {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .founder-photo,
  .founder-more-image {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* =========================
   LANGUAGE SWITCHER
========================= */

.language-switcher {
  position: fixed;
  top: 22px;
  right: 90px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.lang-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #6b7280;
  transition: color 0.25s ease, opacity 0.25s ease;
  font-family: inherit;
}

.lang-link:hover {
  color: var(--primary-color);
}

.lang-link.active {
  color: var(--primary-color);
}

.lang-separator {
  color: #9ca3af;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .language-switcher {
    top: 18px;
    right: 76px;
    padding: 7px 10px;
    gap: 6px;
  }

  .lang-link {
    font-size: 0.75rem;
  }
}