/* ==========================================================================
   Lolenco — Brand stylesheet
   Brand colors:  #055373 (deep blue)   #13A68C (green accent)
   ========================================================================== */

:root {
  /* Brand */
  --blue-900: #033b52;
  --blue-800: #044761;
  --blue:     #055373;
  --blue-600: #0a6489;
  --green:    #13a68c;
  --green-600:#0f8f78;
  --green-300:#4fc4ae;

  /* Neutrals */
  --ink:      #0d2430;
  --body:     #40525c;
  --muted:    #6b7c85;
  --line:     #e4e9ec;
  --bg:       #ffffff;
  --bg-soft:  #f5f8f9;
  --bg-tint:  #eef4f5;

  /* System */
  --radius:   14px;
  --radius-sm:10px;
  --shadow:   0 1px 2px rgba(5,83,115,.04), 0 12px 32px rgba(5,83,115,.08);
  --shadow-lg:0 24px 60px rgba(5,83,115,.14);
  --maxw:     1180px;
  --ease:     cubic-bezier(.16,.84,.44,1);

  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p  { color: var(--body); }

/* Layout helpers ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-680 { max-width: 680px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
  display: inline-block;
}
.lead { font-size: 1.18rem; color: var(--muted); }
.section__head { margin-bottom: 52px; }
.section__head.center { margin-inline: auto; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head);
  font-weight: 600; font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(19,166,140,.28); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19,166,140,.34); }
.btn--dark { background: var(--blue); color: #fff; }
.btn--dark:hover { background: var(--blue-800); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }

.link {
  font-family: var(--font-head); font-weight: 600; color: var(--green-600);
  display: inline-flex; align-items: center; gap: .4em;
}
.link:hover { color: var(--green); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 26px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: 9px 14px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav__menu a:hover { background: var(--bg-tint); color: var(--blue); }
.nav__menu a.active { color: var(--blue); }
.nav__cta { margin-left: 8px; }
.ext { width: 13px; height: 13px; margin-left: 5px; vertical-align: -1px; display: inline-block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.nav__toggle:hover { background: var(--bg-tint); }
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span + span { margin-top: 5px; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(3,45,62,.93) 0%, rgba(4,60,83,.82) 46%, rgba(5,83,115,.55) 100%),
    radial-gradient(120% 90% at 85% -10%, rgba(19,166,140,.22), transparent 55%),
    var(--blue-900) url("../img/hero.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 42%;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .8;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { padding: clamp(72px, 12vw, 130px) 0 clamp(72px, 11vw, 120px); max-width: 780px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--green-300); }
.hero__lead { font-size: 1.22rem; color: rgba(255,255,255,.82); margin-top: 22px; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--green-300);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 26px;
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(19,166,140,.25); }

/* Stat band ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem,4vw,2.9rem); color: var(--blue); letter-spacing: -0.03em; line-height: 1; }
.stat__num .u { color: var(--green); }
.stat__label { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.stats--ondark .stat__num { color: #fff; }
.stats--ondark .stat__num .u { color: var(--green-300); }
.stats--ondark .stat__label { color: rgba(255,255,255,.7); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue); margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card--num { position: relative; }
.card__step { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--green); letter-spacing: .1em; }

/* Feature (service detail) rows -------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); }
.feature--flip .feature__media { order: 2; }
.feature__media {
  border-radius: var(--radius); min-height: 320px;
  background: linear-gradient(155deg, var(--blue-800), var(--blue-600));
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.feature__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40L40 0' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}
.feature__media .mark { position: relative; z-index: 1; width: 40%; opacity: .9; }
.feature__media.is-photo { background-size: cover; background-position: center; }
.feature__media.is-photo::after {
  background-image: linear-gradient(155deg, rgba(2,40,55,.30), rgba(2,40,55,0) 55%);
  opacity: 1;
}
.feature__badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-600);
  background: var(--bg-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.feature ul.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--body); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Split / callout ---------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(100% 120% at 90% 10%, rgba(19,166,140,.22), transparent 55%),
    linear-gradient(150deg, var(--blue-900), var(--blue));
  color: #fff; border-radius: 22px; padding: clamp(44px, 6vw, 68px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 12px; max-width: 560px; }

/* Markets ------------------------------------------------------------------ */
.market-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--blue);
  background: var(--bg-tint); border-radius: 999px; padding: 9px 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip svg { width: 15px; height: 15px; color: var(--green); }

/* Values / list ------------------------------------------------------------ */
.vlist { display: grid; gap: 26px; }
.vlist li { display: flex; gap: 18px; }
.vlist .n { font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: 1.05rem; flex: none; width: 34px; }
.vlist h3 { font-size: 1.15rem; margin-bottom: 4px; }
.vlist p { font-size: .98rem; }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.info-block + .info-block { margin-top: 28px; }
.info-block .label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: 6px; }
.info-block a, .info-block p { font-size: 1.08rem; color: var(--ink); }
.info-block a:hover { color: var(--green-600); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(19,166,140,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .95rem; margin-top: 14px; text-align: center; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--green-600); }
.form__status.is-error { color: #c0392b; }

/* Long-form / legal prose --------------------------------------------------- */
.prose { max-width: 760px; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--muted); }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--green-600); text-decoration: underline; }
.prose a:hover { color: var(--green); }
.prose .muted { color: var(--muted); font-size: .92rem; }
.page-head { padding: clamp(48px,7vw,84px) 0 clamp(24px,3vw,36px); }
.page-head h1 { font-size: clamp(2rem,4vw,2.8rem); }

/* 404 ---------------------------------------------------------------------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem,12vw,7rem); line-height: 1; color: var(--blue); letter-spacing: -0.04em; }
.notfound .code span { color: var(--green); }
.notfound p { margin: 14px auto 28px; max-width: 460px; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 300px; }
.eho { display: flex; align-items: center; gap: 11px; margin-top: 24px; color: rgba(255,255,255,.6); }
.eho svg { width: 34px; height: 34px; flex: none; }
.eho span { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.3; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-head); }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .96rem; transition: color .2s; }
.site-footer a:hover { color: var(--green-300); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem; color: rgba(255,255,255,.5);
}

/* Reveal animation (only hides when JS is available — safe no-JS fallback) --- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: #fff; padding: 18px 24px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .35s var(--ease);
  }
  .nav.open .nav__menu { transform: none; }
  .nav__menu a { padding: 13px 14px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
