:root {
  --bg: #f2f2f2; /* Off-white */
  --text: #1a1a1a;
  --accent: #0047ab; /* Cobalt Blue */
  --accent-2: #bfff00; /* Acid Green for contrast */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", sans-serif;
  --border: 1px solid rgba(0, 0, 0, 0.1);
  --border-bold: 2px solid #1a1a1a;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.narrow {
  max-width: 900px;
}

.center {
  text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Header */
.editorial-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(242, 242, 242, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: var(--border-bold);
  padding: 20px 0;
}

.eh-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.desk-menu {
  display: flex;
  gap: 40px;
}

.desk-menu a {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.desk-menu a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.eh-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lnk-contact {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.btn-clean {
  border: var(--border-bold);
  padding: 10px 25px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}

.btn-clean:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.line {
  width: 30px;
  height: 2px;
  background: var(--text);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--accent);
  color: #fff;
  z-index: 2000;
  transform: translateY(-100%);
  transition: 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.nav-overlay.active {
  transform: translateY(0);
}

.no-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 20px;
}

#closeNav {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.no-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.no-links a {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
}

.no-cta {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  margin-top: 20px;
  color: var(--accent-2) !important;
}

.no-footer {
  font-size: 12px;
  opacity: 0.6;
}

/* Hero */
.hero-magazine {
  padding-top: 100px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: var(--border-bold);
  position: relative;
}

.hero-inner {
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.meta-tags {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--text);
  padding: 4px 10px;
  border-radius: 50px;
}

.hero-desc {
  font-size: 20px;
  max-width: 600px;
  line-height: 1.4;
  margin-right: 40px;
}

.hero-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid var(--text);
  padding-top: 30px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.circle-btn:hover {
  background: var(--text);
}

/* Ticker */
.clean-ticker {
  background: var(--text);
  color: #fff;
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.track {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Section Common */
.section {
  padding: 120px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-paper {
  background: #e8e8e8;
}

.sec-head {
  margin-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--text);
  padding-bottom: 20px;
}

.sec-head p {
  font-size: 18px;
  max-width: 400px;
  text-align: right;
}

/* Journal Grid */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.journal-item {
  display: flex;
  flex-direction: column;
}

.j-img {
  height: 300px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--text);
}

.j-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  filter: grayscale(100%);
}

.journal-item:hover .j-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.j-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.j-content h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.1;
}

.j-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.read-more {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

/* Split Text Img */
.split-txt-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.divider {
  width: 50px;
  height: 4px;
  background: var(--accent);
  margin: 30px 0;
}

.lead {
  font-size: 24px;
  font-family: var(--font-serif);
  margin-bottom: 30px;
  line-height: 1.3;
}

.sti-txt p {
  margin-bottom: 20px;
  color: #333;
}

.tech-list {
  margin-top: 40px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
}

.img-frame {
  position: relative;
  border: 2px solid var(--text);
  padding: 15px;
}

.frame-caption {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--bg);
  padding: 5px 15px;
  font-family: var(--font-serif);
  font-style: italic;
  border: 1px solid var(--text);
}

/* Interactive Steps */
.max-600 {
  max-width: 600px;
  margin: 20px auto 60px;
}

.steps-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}

.step-col {
  padding: 40px 20px;
  border-right: 1px solid var(--text);
  text-align: center;
}

.step-col:last-child {
  border-right: none;
}

.s-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 20px;
}

.step-col h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mt-60 {
  margin-top: 60px;
}

/* FAQ Clean */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-clean {
  display: flex;
  flex-direction: column;
}

.acc-row {
  border-bottom: 1px solid var(--text);
}

.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 25px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.acc-btn::after {
  content: "+";
  font-family: var(--font-sans);
}

.acc-btn.active::after {
  content: "-";
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

.acc-panel p {
  padding-bottom: 25px;
  color: #555;
  max-width: 90%;
}

/* Contact Card */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border: 2px solid var(--text);
}

.cc-left {
  background: var(--text);
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cc-left h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.office-data h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.office-data p,
.office-data a {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.cc-right {
  padding: 60px;
  background: #fff;
}

.inp-line {
  position: relative;
  margin-bottom: 40px;
}

.inp-line input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 18px;
  background: transparent;
}

.inp-line input:focus {
  outline: none;
  border-bottom: 2px solid var(--accent);
}

.err {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: red;
  font-size: 12px;
  display: none;
}

.inp-line.error .err {
  display: block;
}

.captcha-line {
  display: flex;
  align-items: center;
  gap: 20px;
}

#capTask {
  white-space: nowrap;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 20px;
}

.privacy-check {
  margin-bottom: 40px;
  display: flex;
  gap: 10px;
}

.privacy-check label {
  font-size: 12px;
  color: #666;
}

.privacy-check a {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 20px;
  border: none;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: var(--text);
}

/* Footer */
.footer-min {
  padding: 60px 0;
  border-top: 1px solid var(--text);
}

.f-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
}

.f-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
}

.f-logo p,
.f-logo a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  opacity: 0.6;
  margin-top: 5px;
  display: block;
}

.f-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.f-links a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.f-copy {
  text-align: right;
  font-size: 12px;
  opacity: 0.4;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--text);
  color: #fff;
  padding: 15px;
  z-index: 5000;
  transform: translateY(100%);
  transition: 0.5s;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cb-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-wrap button {
  background: var(--accent-2);
  color: var(--text);
  border: none;
  padding: 8px 20px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 1024px) {
  .hero-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .hero-desc {
    margin-right: 0;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .split-txt-img {
    grid-template-columns: 1fr;
  }
  .steps-minimal {
    grid-template-columns: 1fr;
    border: 1px solid var(--text);
  }
  .step-col {
    border-right: none;
    border-bottom: 1px solid var(--text);
  }
}

@media (max-width: 768px) {
  .desk-menu,
  .lnk-contact {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-magazine h1 {
    font-size: 3rem;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .f-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .f-copy {
    text-align: center;
  }
  .f-links {
    justify-content: center;
  }
  .btn-clean {
    display: none;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 22px;
    margin-top: 25px;
  }
  .margin {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .pages {
    padding: 90px 0 50px;
  }
  .pages h1 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .text-wrapper {
    padding: 20px 15px;
    border-radius: 10px;
  }
  .text-wrapper h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .text-wrapper h3 {
    font-size: 16px;
  }
  .text-wrapper p {
    font-size: 13px;
    line-height: 1.6;
  }
  .margin {
    font-size: 24px;
    margin: 80px 0 30px;
  }
}

@media (max-width: 480px) {
  .pages {
    padding: 80px 0 40px;
  }
  .pages h1 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .text-wrapper {
    padding: 15px 10px;
  }
  .text-wrapper h2 {
    font-size: 16px;
    margin-top: 15px;
  }
  .text-wrapper h3 {
    font-size: 14px;
  }
  .text-wrapper p {
    font-size: 12px;
  }
  .margin {
    font-size: 20px;
    margin: 60px 0 20px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .contact-page-main {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .cp-title {
    font-size: clamp(2rem, 6vw, 4rem);
  }

  .cp-phone-link {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 120px;
    text-align: center;
  }

  .cp-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .cp-divider {
    margin: 0 auto 30px auto;
  }

  .cp-status {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 40px;
  }

  .cp-phone-link {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .cp-details {
    gap: 8px;
  }

  .cp-label {
    font-size: 12px;
  }

  .cp-address-box {
    padding-top: 20px;
    max-width: 100%;
  }

  .cp-addr {
    font-size: 16px;
  }

  .cp-email {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .contact-page-main {
    padding-top: 100px;
    min-height: 70vh;
  }

  .cp-title {
    font-size: 22px;
  }

  .cp-divider {
    width: 50px;
  }

  .cp-status {
    font-size: 12px;
  }

  .cp-phone-link {
    font-size: 20px;
  }

  .cp-addr {
    font-size: 14px;
  }

  .cp-email {
    font-size: 12px;
  }
}
