/* VARIABLES */
:root {
  --bg: #f2f0e9; /* Cream / Stone */
  --text: #0a2318; /* Dark Forest Green */
  --accent: #d35400; /* Terracotta / Burnt Orange */
  --white: #ffffff;
  --border: rgba(10, 35, 24, 0.1);

  --font-serif: "Playfair Display", serif;
  --font-sans: "DM Sans", sans-serif;

  --radius: 12px;
  --arch-radius: 200px 200px 0 0;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: 4.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
h2 {
  font-size: 3.5rem;
}
h3 {
  font-size: 2.5rem;
}
h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}
h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  margin-bottom: 20px;
  color: rgba(10, 35, 24, 0.8);
}
.lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 40px;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}
.accent {
  color: var(--accent);
}
.sub-head {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 700;
}
.center {
  text-align: center;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  background: var(--text);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: 0.3s;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  color: var(--text);
  font-weight: 700;
  padding: 15px 30px;
  border-bottom: 1px solid transparent;
}
.btn-text:hover {
  color: var(--accent);
}

.link-arrow {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* HEADER */
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(242, 240, 233, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.italic {
  font-style: italic;
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 40px;
}
.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
}
.desktop-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.burger {
  background: none;
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
}
.line {
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* HERO */
.hero {
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.tag-pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  margin-bottom: 25px;
  background: var(--white);
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}
.trust-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 5px;
}
.trust-item span {
  font-size: 0.85rem;
  color: rgba(10, 35, 24, 0.6);
}

.hero-visual {
  position: relative;
}
.arch-image img {
  border-radius: 200px 200px 0 0;
  height: 500px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.floating-shape {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  z-index: -1;
}

/* MARQUEE */
.marquee-strip {
  background: var(--text);
  color: var(--white);
  padding: 15px 0;
  overflow: hidden;
}
.marquee-content {
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 500;
  animation: scroll 40s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* INSIGHT */
.section {
  padding: 100px 0;
}
.section-insight {
  background: var(--white);
  border-radius: 40px;
  margin: 40px 0;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.big-para {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  line-height: 1.4;
  color: var(--text);
}

/* COMPARE */
.section-compare {
  background: var(--bg);
}
.sec-intro {
  margin-bottom: 60px;
}
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card-icon {
  margin-bottom: 20px;
  color: var(--accent);
}
.card-bad {
  background: #efefef;
}
.card-good {
  background: var(--white);
  border: 2px solid var(--accent);
}
.card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}
.card-bad ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #999;
}
.card-good ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.srv-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid var(--border);
}
.srv-item:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.srv-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}
.srv-text {
  padding: 30px;
}

/* METHODOLOGY */
.section-method {
  background: var(--white);
}
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 60px;
}
.step {
  text-align: center;
  max-width: 300px;
}
.step-num {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
}
.step-line {
  flex-grow: 1;
  height: 1px;
  background: var(--border);
  margin-top: 25px;
}

/* BLOG */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.blog-card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  transition: 0.3s;
}
.blog-card:hover {
  border-top-color: var(--accent);
}
.bc-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(10, 35, 24, 0.5);
  margin-bottom: 10px;
}
.read-btn {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 15px;
  display: inline-block;
}

/* FAQ */
.section-faq {
  background: var(--bg);
}
.narrow {
  max-width: 800px;
}
.faq-title {
  text-align: center;
  margin-bottom: 40px;
}
.acc-item {
  border-bottom: 1px solid rgba(10, 35, 24, 0.1);
}
.acc-head {
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  color: rgba(10, 35, 24, 0.7);
}
.acc-item.active .acc-body {
  padding-bottom: 25px;
  max-height: 200px;
}
.acc-item.active .acc-head {
  color: var(--accent);
}

/* CONTACT */
.section-contact {
  padding-bottom: 120px;
}
.contact-box {
  background: var(--text);
  color: var(--white);
  border-radius: 40px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.cb-text h2 {
  color: var(--white);
}
.cb-text p {
  color: rgba(255, 255, 255, 0.7);
}
.contacts-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.c-item .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.c-item a,
.c-item p {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--white);
}

.cb-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  color: var(--text);
}
.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
}
.field-check {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  align-items: flex-start;
}
.field-check a {
  text-decoration: underline;
}
.submit-btn {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 20px;
  transition: 0.3s;
}
.submit-btn:hover {
  background: #ba4a00;
}

/* FOOTER */
.footer {
  padding: 80px 0 30px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.f-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.f-col h5 {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.f-col a,
.f-col p {
  display: block;
  margin-bottom: 10px;
  color: rgba(10, 35, 24, 0.7);
  font-size: 0.95rem;
}
.f-col a:hover {
  color: var(--text);
}
.footer-copy {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #999;
  font-size: 0.85rem;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--text);
  z-index: 2000;
  padding: 30px;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--white);
}
.mobile-menu.active {
  transform: translateY(0);
}
.mm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.mm-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
#closeMenu {
  background: none;
  color: var(--white);
}
.mm-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mm-links a {
  font-family: var(--font-serif);
  font-size: 2rem;
}
.mm-links .highlight {
  color: var(--accent);
}

/* COOKIE */
.cookie-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5000;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: none;
  max-width: 300px;
  border: 1px solid var(--border);
}
.cb-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#acceptCookie {
  background: var(--text);
  color: var(--white);
  padding: 8px;
  border-radius: 6px;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .desktop-nav,
  .header-actions .btn-primary {
    display: none;
  }
  .burger {
    display: flex;
  }
  h1 {
    font-size: 3rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cards-row {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .step-line {
    width: 1px;
    height: 50px;
    margin: 10px 0;
  }
  .blog-list {
    grid-template-columns: 1fr;
  }
  .contact-box {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 40px;
  }
  .cb-form {
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.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;
  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: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
