:root {
  --bg: #f5f5f7; /* Off-white editorial background */
  --text: #1a1a1a;
  --accent: #2563eb; /* Vibrant Blue */
  --line: #d1d1d6;
  --paper: #ffffff;
  --font-head: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  font-weight: 300;
}

.italic {
  font-style: italic;
  color: var(--accent);
}
.center {
  text-align: center;
}
.max-600 {
  max-width: 600px;
  margin: 0 auto 50px;
}

/* Buttons */
.btn-clean {
  display: inline-block;
  padding: 12px 30px;
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--text);
  transition: 0.3s;
}

.btn-clean:hover {
  background: transparent;
  color: var(--text);
}

.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}
.read-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.desk-menu {
  display: flex;
  gap: 40px;
}
.desk-menu a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.desk-menu a:hover {
  color: var(--accent);
}

.eh-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lnk-contact {
  font-size: 0.9rem;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
}
.line {
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: 0.3s;
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--text);
  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;
}
.no-header span {
  font-family: var(--font-head);
  letter-spacing: 2px;
}
#closeNav {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.no-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.no-links a {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: #fff;
  transition: 0.3s;
}
.no-links a:hover {
  color: var(--accent);
  padding-left: 10px;
}
.no-cta {
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  color: var(--accent) !important;
  margin-top: 20px;
}

.no-footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: #888;
}

/* Hero Magazine Style */
.hero-magazine {
  height: 80vh;
  min-height: 700px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Bottom Align */
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1517816428103-7dc268569bfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-bottom-content {
  background: rgba(245, 245, 247, 0.95); /* Opaque box for text */
  padding: 60px;
  max-width: 900px;
  border-top: 4px solid var(--accent);
}

.meta-tags {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
}

.hero-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.circle-btn:hover {
  background: var(--text);
  color: #fff;
}

/* Ticker */
.clean-ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  overflow: hidden;
  background: #fff;
}
.track {
  white-space: nowrap;
  animation: tick 30s linear infinite;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Journal Grid */
.section {
  padding: 120px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journal-item {
  background: #fff;
  padding: 30px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.journal-item:hover {
  background: #fafafa;
}

.j-img {
  height: 250px;
  overflow: hidden;
  margin-bottom: 25px;
}
.j-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.journal-item:hover .j-img img {
  transform: scale(1.05);
}

.j-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

/* Tech Split */
.bg-paper {
  background: #fff;
}
.split-txt-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin: 30px 0;
}
.lead {
  font-size: 1.4rem;
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.3;
}
.small-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
}

.tech-list {
  margin-top: 30px;
  font-family: monospace;
  color: var(--accent);
}

.img-frame {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
}
.img-frame img {
  width: 100%;
  display: block;
  filter: grayscale(20%);
}
.frame-caption {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 5px 15px;
  font-size: 0.8rem;
}

/* Steps Minimal */
.steps-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
}
.step-col {
  text-align: center;
}
.s-num {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--line);
  display: block;
  margin-bottom: 20px;
}
.mt-60 {
  margin-top: 60px;
}

/* FAQ Clean */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-clean {
  margin-top: 50px;
}
.acc-row {
  border-bottom: 1px solid var(--line);
}
.acc-btn {
  width: 100%;
  text-align: left;
  padding: 25px 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-family: var(--font-head);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: 0.3s;
}
.acc-btn:hover {
  color: var(--accent);
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-panel p {
  padding-bottom: 25px;
  color: #666;
}

/* Contact */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.office-data {
  margin-top: 40px;
}
.office-data h6 {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}
.office-data a {
  display: block;
  margin-top: 10px;
  text-decoration: underline;
}

.inp-line {
  margin-bottom: 30px;
  position: relative;
}
.inp-line input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 15px 0;
  font-size: 1.1rem;
  font-family: var(--font-head);
}
.inp-line input:focus {
  outline: none;
  border-color: var(--accent);
}

.err {
  color: #e74c3c;
  font-size: 0.8rem;
  position: absolute;
  bottom: -20px;
  left: 0;
  display: none;
}
.inp-line.error input {
  border-color: #e74c3c;
}
.inp-line.error .err {
  display: block;
}

.captcha-line input {
  width: 100px;
  text-align: center;
}
.captcha-line label {
  margin-right: 20px;
  font-family: var(--font-head);
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.privacy-check label {
  font-size: 0.8rem;
  color: #666;
}
.privacy-check a {
  text-decoration: underline;
}

.btn-submit {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
.btn-submit:hover {
  background: var(--accent);
}

/* Footer */
.footer-min {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: #666;
}
.f-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
}
.f-links a {
  margin: 0 10px;
  color: #444;
}
.f-links a:hover {
  color: var(--accent);
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--text);
  color: #fff;
  padding: 15px;
  z-index: 9999;
  display: none;
}
.cb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cb-wrap p {
  margin: 0;
  color: #fff;
}
#acceptCookie {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 20px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-bottom-content {
    max-width: 100%;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .split-txt-img {
    grid-template-columns: 1fr;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: row;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .desk-menu,
  .eh-actions .btn-clean,
  .eh-actions .lnk-contact {
    display: none;
  }
  .burger {
    display: flex;
  }
  .steps-minimal {
    grid-template-columns: 1fr;
  }
  .f-wrap {
    flex-direction: column;
    text-align: center;
  }
  h1 {
    font-size: 3rem;
  }
  .hero-bottom-content {
    padding: 30px;
  }
  .meta-tags {
    display: none;
  }
}
.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  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;
}

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

/* --- 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: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
