/* Mari International — mariint.com
   Brand: black + Pantone 123C yellow (#FFC72C) */

:root {
  --yellow: #FFC72C;
  --black: #000000;
  --ink: #F5F2E9;        /* warm off-white text on black */
  --ink-dim: #B9B4A5;
  --panel: #141310;      /* card surface */
  --line: #2B2921;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; }
a { color: var(--yellow); }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 850; font-stretch: 112%; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; font-stretch: 108%; }
h3 { font-size: 1.15rem; font-weight: 700; }

main { display: block; }
section { padding: 4.5rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 54px; height: auto; }
.brand-name { color: var(--ink); font-weight: 800; font-stretch: 110%; font-size: 1.05rem; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--yellow); }
.nav-cta {
  border: 2px solid var(--yellow); color: var(--yellow) !important;
  padding: .45rem 1rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--yellow); color: var(--black) !important; }

/* Hero */
.hero { padding-top: 5rem; padding-bottom: 5.5rem; }
.hero-tagline { color: var(--yellow); font-weight: 700; margin: 0 0 1rem; }
.hero h1 { max-width: 16ch; }
.yline {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% .14em;
  background-position: 0 92%;
}
.hero-sub { max-width: 52ch; color: var(--ink-dim); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 750;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid var(--yellow);
  font-size: 1rem; cursor: pointer;
}
.btn-solid { background: var(--yellow); color: var(--black); }
.btn-solid:hover { background: #ffd75e; border-color: #ffd75e; }
.btn-line { color: var(--yellow); background: transparent; }
.btn-line:hover { background: rgba(255, 199, 44, .12); }

/* Services */
.section-lead { color: var(--ink-dim); margin-top: -0.4rem; }
.cards-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }
.card-top {
  background: var(--panel); border-top: 4px solid var(--yellow);
  padding: 1.4rem 1.3rem 1.2rem; display: flex; flex-direction: column;
}
.card-top p { color: var(--ink-dim); }
.card-top ul { margin: .3rem 0 1.2rem; padding-left: 1.1rem; color: var(--ink); }
.card-top li { margin: .3rem 0; }
.card-link { font-weight: 700; text-decoration: none; margin-top: auto; }
.card-link:hover { text-decoration: underline; }

.h2-more { margin-top: 3.5rem; }
.cards-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.card-more { border: 1px solid var(--line); padding: 1.1rem 1.2rem; }
.card-more p { color: var(--ink-dim); margin-bottom: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--ink-dim); max-width: 58ch; }
.about-facts { list-style: none; margin: 0; padding: 0; border-left: 4px solid var(--yellow); }
.about-facts li { padding: .9rem 0 .9rem 1.2rem; }
.fact-num { display: block; color: var(--yellow); font-size: 2rem; font-weight: 850; font-stretch: 112%; }
.fact-label { color: var(--ink-dim); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-info p { color: var(--ink-dim); max-width: 40ch; }
address { font-style: normal; margin-top: 1.4rem; }
address p { margin: .4rem 0; color: var(--ink); }
address a { text-decoration: none; font-weight: 650; }
address a:hover { text-decoration: underline; }

.contact-form form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 650; margin-bottom: .3rem; }
.field small { color: var(--ink-dim); font-weight: 400; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); padding: .75rem .9rem; font: inherit; border-radius: 6px;
}
input:focus, select:focus, textarea:focus, .btn:focus, a:focus {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
.errorlist { color: #ff9c8a; list-style: none; padding: 0; margin: .3rem 0 0; font-size: .92rem; }

/* Honeypot: hidden from people, present for bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }

.flash { padding: 1rem 1.1rem; border-radius: 6px; margin-bottom: 1.2rem; }
.flash-ok { background: #12240f; border: 1px solid #2f7d23; color: #cdeec5; }
.flash-bad { background: #2b100c; border: 1px solid #a03a2b; color: #ffd9d0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 2rem auto 0; padding: 2rem 1.25rem 3rem;
}
.footer-brand { display: flex; gap: .8rem; align-items: center; }
.footer-brand .brand-mark { width: 46px; }
.footer-brand p { margin: 0; }
.footer-tag { color: var(--ink-dim); font-size: .95rem; }
.footer-copy { color: var(--ink-dim); font-size: .9rem; margin-top: 1.4rem; }

/* Responsive */
@media (max-width: 900px) {
  .cards-top, .cards-more { grid-template-columns: 1fr 1fr; }
  .about, .contact { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .cards-top, .cards-more { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; }
  section { padding: 3rem 1.1rem; }
}
