/* ============================================
   MINTEC S.R.L. — Stylesheet
   ============================================ */

:root {
  /* dark neutrals (near-black, used for header/footer/hero backgrounds) */
  --blue-950: #121412;
  --blue-900: #0d3b34;
  --blue-800: #135048;
  --blue-700: #1a6e5f;
  /* light neutrals on dark backgrounds */
  --steel-300: #c9d3cb;
  --steel-100: #f2f4f1;
  --white: #ffffff;
  /* brand accent: gold, sampled from the Mintec logo */
  --accent: #b8962b;
  --accent-dark: #8f7317;
  /* brand green, sampled from the Mintec logo wordmark */
  --brand-green: #12726b;
  --text-dark: #191b17;
  --text-muted: #565f58;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 20, 18, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--blue-950);
  margin: 0 0 16px;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text-muted); margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo small {
  display: block;
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--steel-300);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 14px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--steel-300);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: block;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--white);
  background: var(--brand-green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-950);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 8px 24px 20px; gap: 2px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(18,20,18,0.94), rgba(13,59,52,0.88)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 40px);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
}

.hero.small { padding: 64px 24px; text-align: left; }

.hero h1, .hero h2, .hero h3 { color: var(--white); }

.hero p.lead {
  color: var(--steel-300);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero.small p.lead { margin: 0; max-width: 720px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero.small .hero-actions { justify-content: flex-start; }

.breadcrumb {
  color: var(--steel-300);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--steel-100); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.card {
  background: var(--white);
  border: 1px solid #e6e9ee;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--blue-950);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.visual-block {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-300);
  position: relative;
  overflow: hidden;
}
.visual-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 22px);
}
.visual-block span { position: relative; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }
.visual-block.photo::before { display: none; }
.visual-block.photo {
  padding: 0;
  min-height: 320px;
}
.visual-block.photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.visual-block.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(11,12,10,0.75), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.stats .label { color: var(--steel-300); font-size: 0.9rem; }

/* Materials list */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
  background: var(--steel-100);
  border: 1px solid #dfe6e2;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-green);
}

/* Gallery tiles */
.tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-300);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile:hover { transform: translateY(-3px); }
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(11,12,10,0.8), transparent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
}

/* Full-width photo banner */
.photo-banner {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.photo-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.photo-banner figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 22px;
  background: linear-gradient(to top, rgba(11,12,10,0.75), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
@media (max-width: 700px) { .photo-banner img { height: 220px; } }

/* Timeline */
.timeline { border-left: 3px solid var(--accent); padding-left: 26px; margin-left: 6px; }
.timeline .item { margin-bottom: 28px; position: relative; }
.timeline .item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline h3 { margin-bottom: 6px; }

/* CTA band */
.cta-band {
  background: var(--blue-950);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius);
}
.cta-band h1, .cta-band h2, .cta-band h3 { color: var(--white); }
.cta-band p { color: var(--steel-300); max-width: 560px; margin: 0 auto 24px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item .icon {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  background: var(--steel-100); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-item p { margin-bottom: 0; }

.map-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e6e9ee;
  min-height: 340px;
}
.map-block iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

form.contact-form { display: grid; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--blue-950); display: block; margin-bottom: 6px; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dce3;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }

/* Footer */
footer.site-footer {
  background: var(--blue-950);
  color: var(--steel-300);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
