:root {
  --petrol: #0E3B3B;
  --petrol-2: #155150;
  --ink: #0F211F;
  --ink-soft: #4B615D;
  --stone: #F2F0E9;
  --stone-2: #E7E3D6;
  --white: #FFFFFF;
  --lime: #C7F23D;
  --lime-dark: #9FCB1F;
  --paper-tag: #D8A24A;
  --plastic-tag: #3E8FB0;
  --metal-tag: #8C8C94;
  --glass-tag: #4F9A7D;
  --elec-tag: #B0577D;
  --organic-tag: #7C9A4A;
  --radius: 16px;
  --maxw: 1180px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  transition: var(--transition);
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--petrol-2);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Manrope', sans-serif;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background: var(--lime-dark);
  box-shadow: 0 10px 26px -10px rgba(199, 242, 61, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  border-color: var(--petrol);
  color: var(--petrol);
}

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

/* Material spectrum — signature element */
.spectrum {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 8px;
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
}

.swatch .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.swatch.on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.swatch.on-dark:hover {
  background: rgba(255, 255, 255, 0.15);
}

.swatch.on-light {
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--stone-2);
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 240, 233, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.02);
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: height 0.25s ease;
}

.logo-subtag {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--lime);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
}

@media (max-width: 992px) {
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 34px;
  }
  .logo-subtag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}

.footer-logo-container {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.footer-logo-container:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.footer-logo-container .logo-img {
  height: 38px;
}

@media (max-width: 576px) {
  .footer-logo-container {
    padding: 6px 12px;
  }
  .footer-logo-container .logo-img {
    height: 30px;
  }
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--petrol);
}

.nav-phone {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: var(--petrol);
  font-weight: 700;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px dashed var(--petrol);
}

.nav-phone:hover {
  background: var(--petrol);
  color: var(--white);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(160deg, var(--petrol) 0%, #0A2C2C 65%, #071E1E 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero p.lede {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 48ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-spectrum {
  margin-top: 34px;
}

.hero-spectrum .label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.loop-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 35px 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.loop-card .eyebrow {
  color: #a9e08a;
}

.loop-visual {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}

.loop-visual svg {
  width: 150px;
  height: 150px;
}

.loop-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}

.loop-stats div b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--lime);
  font-weight: 700;
}

.loop-stats div span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* General Sections */
section {
  padding: 80px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-top: 10px;
  line-height: 1.15;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.sol-card {
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sol-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(15, 33, 31, 0.15);
  border-color: var(--petrol-2);
}

.sol-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--petrol-2);
  background: var(--stone);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.sol-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.sol-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.sol-card a.more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
}

.sol-card a.more:hover {
  color: var(--petrol-2);
  text-decoration: underline;
}

/* Materials Section */
.materials {
  background: var(--petrol);
  color: var(--white);
}

.materials .section-head h2 {
  color: var(--white);
}

.materials .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.materials .eyebrow {
  color: var(--lime);
}

.mat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

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

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

.mat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.mat-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--lime);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.mat-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  border: none;
  background: transparent;
}

.mat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mat-card:hover .mat-img {
  transform: scale(1.06);
}

.mat-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
}

.mat-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mat-card span {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

/* Process Section */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.step {
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
}

.step:hover {
  border-color: var(--petrol-2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.step .num {
  font-family: 'Space Mono', monospace;
  color: var(--petrol);
  font-size: 0.8rem;
  border: 1.5px solid var(--petrol);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Trust Section */
.trust {
  background: var(--stone-2);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.trust-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--stone-2);
  box-shadow: 0 15px 35px -15px rgba(15, 33, 31, 0.1);
  background: var(--white);
  padding: 8px;
  transition: var(--transition);
}

.map-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -10px rgba(15, 33, 31, 0.15);
}

.map-img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  display: block;
}

@media (max-width: 820px) {
  .trust-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(15, 33, 31, 0.05);
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.08);
}

.trust-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(160deg, var(--petrol) 0%, #0A2C2C 65%, #071E1E 100%);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cta-inner .eyebrow {
  color: var(--lime);
}

.cta-inner h2 {
  color: var(--white);
  margin-top: 10px;
}

.cta-inner p.lede {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-points li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-points li::before {
  content: "—";
  color: var(--lime);
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
}

.form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.form-card .sub {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--petrol);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--stone-2);
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  background: var(--stone);
  color: var(--ink);
  transition: var(--transition);
}

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

input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--petrol-2);
  box-shadow: 0 0 0 3px rgba(21, 81, 80, 0.15);
}

.full {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.98rem;
  padding: 15px;
}

.form-msg {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  display: none;
}

.form-msg.success {
  display: block;
  background: #EAF7EC;
  color: #1E6B2C;
  border: 1px solid #D2EDD5;
}

.form-msg.error {
  display: block;
  background: #FCE8E6;
  color: #C5221F;
  border: 1px solid #FAD2CF;
}

/* Footer */
footer {
  background: #071E1E;
  color: rgba(255, 255, 255, 0.62);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}

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

footer .logo {
  color: var(--white);
}

footer p {
  font-size: 0.87rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 34ch;
}

footer h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

footer a:hover {
  color: var(--lime);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Floating Elements */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  font-size: 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  background: #22c35e;
  transform: scale(1.08) rotate(5deg);
}

.spin {
  animation: spin 22s linear infinite;
  transform-origin: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .spin {
    animation: none;
  }
}
