/* =========================================================
   AMICSACO – brand stylesheet
   Brand colours sampled from the logo:
   Copper  #CE9350   Deep green  #0E3222
   ========================================================= */
:root {
  --copper: #CE9350;
  --copper-dark: #B47A3A;
  --copper-light: #E9C9A0;
  --green: #0E3222;
  --green-2: #164A33;
  --ink: #1C2A23;
  --muted: #5D6B64;
  --line: #E4E0D8;
  --bg: #FFFFFF;
  --bg-tint: #F7F3EC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 50, 34, .08);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  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(--copper-dark); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); color: var(--green); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--copper-dark);
  margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--green); }
.main-nav a:not(.btn):hover { color: var(--copper-dark); }
.main-nav a.btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  padding: 100px 0 110px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 22px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--copper); }
.hero .eyebrow { color: var(--copper-light); }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.hero-visual .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(206,147,80,.35); }
.ring-1 { inset: 0; }
.ring-2 { inset: 14%; border-style: dashed !important; animation: spin 40s linear infinite; }
.hero-mark {
  position: absolute; inset: 22%;
  width: 56%; height: 56%;
  background: #fff; border-radius: 50%; padding: 9%;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head p:last-child { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-grid > div p { color: var(--muted); }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-list li {
  background: var(--bg-tint); border-radius: var(--radius); padding: 24px;
  border-left: 4px solid var(--copper);
}
.stat-list strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--green); margin-bottom: 4px; }
.stat-list span { font-size: .92rem; color: var(--muted); }

/* Product cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--copper-light); }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--green); display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg, .info-list svg {
  width: 28px; height: 28px; fill: none; stroke: var(--copper);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.cta-strip {
  margin-top: 46px; padding: 28px 34px; border-radius: var(--radius);
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-strip p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }

/* Industries */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--green);
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--copper); background: #fff;
}

/* Why us */
.section-dark { background: var(--green); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--copper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { padding: 30px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.why-item p { color: rgba(255,255,255,.72); font-size: .94rem; margin: 0; }
.num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--copper); margin-bottom: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact-info > p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: center; }
.info-list svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--green); flex-shrink: 0; }
.info-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.info-list a { font-weight: 600; font-size: 1.05rem; }

.contact-form {
  background: var(--bg-tint); padding: 36px; border-radius: var(--radius);
  display: grid; gap: 18px; border-top: 5px solid var(--copper);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--green); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(206,147,80,.18);
}
.contact-form .invalid { border-color: #C0392B; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green-2); }
.form-status.err { color: #C0392B; }
button[disabled] { opacity: .65; cursor: wait; }

/* Footer */
.site-footer { background: #0A2619; color: rgba(255,255,255,.7); padding: 50px 0 24px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .12em; color: #fff; }
.footer-brand strong span { color: var(--copper); }
.footer-brand p { margin: 2px 0 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.8); }
.footer-nav a:hover { color: var(--copper); }
.copyright { padding-top: 20px; font-size: .84rem; text-align: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring-2 { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .hero-visual { max-width: 300px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 400px; box-shadow: var(--shadow); }
  .main-nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .main-nav a.btn { margin: 14px 20px; border-radius: 999px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .brand img { height: 46px; }
  .stat-list, .why-grid, .contact-form .row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .cta-strip { padding: 24px; }
}
