/* Solvexis — site styles */
:root {
  --bg: #f6f3ee;
  --bg-warm: #ebe6dc;
  --surface: #ffffff;
  --ink: #121814;
  --muted: #4a534e;
  --muted-light: #7a857d;
  --accent: #1e4d3f;
  --accent-hover: #163a30;
  --accent-soft: #d4e5dd;
  --highlight: #c9a227;
  --border: rgba(18, 24, 20, 0.08);
  --shadow: 0 4px 24px rgba(18, 24, 20, 0.06);
  --shadow-lg: 0 24px 48px rgba(18, 24, 20, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --step--1: clamp(0.9rem, 0.85rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 1.75vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.75rem + 2.5vw, 3.35rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary li {
  list-style: none;
}

.nav-primary a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-primary a:hover {
  color: var(--ink);
  background: rgba(30, 77, 63, 0.08);
  text-decoration: none;
}

.nav-primary a.is-active {
  color: var(--surface);
  background: var(--accent);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-primary {
    position: fixed;
    inset: 0;
    top: 73px;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    gap: 0.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-header.is-open .nav-primary {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-primary a {
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
  }
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75em;
  color: var(--ink);
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

.lead {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.section--dark {
  background: linear-gradient(145deg, var(--accent) 0%, #163529 100%);
  color: #e8f0ec;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark .lead,
.section--dark p {
  color: rgba(255, 255, 255, 0.88);
}

.section--muted {
  background: var(--bg-warm);
}

.section__head {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.section__head .lead {
  max-width: none;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: #ddb52e;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--solid {
  background: var(--accent);
  color: #fff;
}

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

/* Hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(30, 77, 63, 0.12), transparent),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

.hero__visual figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.card h4 {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  text-align: center;
  font-size: var(--step--1);
  color: var(--muted);
}

/* Food grid */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .food-grid {
    grid-template-columns: 1fr;
  }
}

.food-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.food-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.food-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.food-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.food-card p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
}

/* Stats + image split */
.split-stats {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .split-stats {
    grid-template-columns: 1fr;
  }
}

.split-stats__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: var(--step--1);
  color: var(--muted);
  margin: 0;
}

/* Two tone panels */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

@media (max-width: 768px) {
  .panels {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel--solid {
  background: linear-gradient(160deg, var(--accent) 0%, #143028 100%);
  color: #e8f0ec;
}

.panel--solid h3,
.panel--solid p {
  color: inherit;
}

.panel--solid p {
  opacity: 0.92;
}

.panel--photo {
  position: relative;
  background: #2a3530 url("images/2148346647.jpg") center / cover no-repeat;
  color: #fff;
}

.panel--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.45) 0%, rgba(10, 14, 12, 0.75) 100%);
}

.panel--photo > * {
  position: relative;
  z-index: 1;
}

/* Product section */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-split {
    grid-template-columns: 1fr;
  }
}

.product-split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-soft) url("images/2.webp") center / cover no-repeat;
  margin-bottom: 1.25rem;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.faq-list .faq-answer p {
  margin: 0;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background-image:
    linear-gradient(105deg, rgba(18, 24, 20, 0.85) 0%, rgba(30, 77, 63, 0.78) 100%),
    url("images/2148346647.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  opacity: 0.92;
}

/* Contact block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--surface) url("images/1221.jpg") center / cover no-repeat;
  margin-bottom: 1.25rem;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 77, 63, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-actions .btn {
  width: 100%;
  max-width: 280px;
}

.u-form-send-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  display: none;
}

.u-form-send-success {
  background: var(--accent-soft);
  color: var(--accent);
}

.u-form-send-error {
  background: #fde8e8;
  color: #9b1c1c;
}

/* Footer */
.site-footer {
  background: #0f1411;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  font-size: var(--step--1);
}

.site-footer h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #a8d4c4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.footer-links a {
  padding: 0.35rem 0;
}

.footer-copy {
  text-align: center;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.ref-links {
  margin: 1rem 0 0;
  text-align: center;
  line-height: 1.8;
}

/* Legal / inner pages */
.page-hero {
  padding: 2.5rem 0 1rem;
  text-align: center;
}

.page-content {
  padding-bottom: 3rem;
}

.prose {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.prose h1 {
  font-size: var(--step-3);
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 1.5rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.contact-block {
  text-align: center;
  padding: 2rem 0 3rem;
}

.contact-block .prose {
  text-align: left;
}

.contact-lines {
  line-height: 2;
  font-size: var(--step-1);
  color: var(--muted);
}

.contact-lines a {
  font-weight: 600;
}
