/* ===== Darvilis — concept "modern" ===== */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #101c2e;
  --body-text: #526073;
  --navy: #0f1b2d;
  --teal-soft: #e3f2f3;
  --teal: #35b5bd;
  --blue: #2f6be4;
  --grad: linear-gradient(115deg, #2f6be4 10%, #2ab8c5 90%);
  --ring: rgba(16, 28, 46, .07);
  --shadow-sm: 0 4px 16px rgba(16, 28, 46, .06);
  --shadow-md: 0 18px 44px rgba(16, 28, 46, .10);
  --shadow-lg: 0 30px 70px rgba(16, 28, 46, .14);
  --r-lg: 24px;
  --r-md: 16px;
  --font-head: "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 17px 40px;
  box-shadow: 0 10px 26px rgba(47, 107, 228, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47, 107, 228, .42); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  padding: 17px 34px;
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-nav {
  background: var(--grad);
  color: #fff;
  padding: 12px 26px;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(47, 107, 228, .3);
}
.btn-nav:hover { transform: translateY(-1px); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ring);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand img { width: 84px; height: auto; }

.site-nav { display: flex; gap: 30px; align-items: center; }

.nav-link {
  color: var(--body-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  transition: color .15s ease;
}
.nav-link.active, .nav-link:hover { color: var(--ink); }

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 480px at 88% 0%, rgba(42, 184, 197, .14), transparent 65%),
    radial-gradient(760px 520px at 0% 100%, rgba(47, 107, 228, .10), transparent 65%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  align-items: center;
  padding: 92px 0 72px;
}

.hero-badge {
  display: inline-block;
  background: var(--teal-soft);
  color: #0d7c84;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .2px;
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
}

.hero-copy h1 {
  font-size: clamp(40px, 4.8vw, 62px);
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-copy p:not(.hero-badge) {
  color: var(--body-text);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .6);
  transform: translateY(6px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

/* stats */

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 84px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
}

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat-label { color: var(--body-text); font-size: 14.5px; display: block; }

/* ===== Sections ===== */

.section-title {
  text-align: center;
  font-size: clamp(32px, 3.6vw, 46px);
  margin-bottom: 18px;
}

.section-sub {
  text-align: center;
  color: var(--body-text);
  max-width: 640px;
  margin: 0 auto 60px;
}

/* ===== Services ===== */

.services { padding: 96px 0 100px; background: #fff; }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-media { aspect-ratio: 16 / 9; overflow: hidden; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .card-media img { transform: scale(1.04); }

.card-body { padding: 26px 30px 32px; text-align: left; }

.card-body h3 { font-size: 21px; margin-bottom: 10px; }

.card-body p { color: var(--body-text); font-size: 15.5px; }

/* parts panel */

.parts-panel {
  margin-top: 64px;
  background: linear-gradient(180deg, #f2f8f9, #eef4fb);
  border: 1px solid var(--ring);
  border-radius: 28px;
  padding: 52px 54px 56px;
}

.parts-panel h3 { font-size: 27px; text-align: center; margin-bottom: 10px; }

.parts-intro { text-align: center; color: var(--body-text); margin-bottom: 34px; }

.parts-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.parts-list li {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.55;
}

.parts-list strong { color: var(--ink); display: block; margin-bottom: 2px; font-family: var(--font-head); font-weight: 600; }

/* ===== Why partner ===== */

.why-us { padding: 96px 0 104px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px 32px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.why-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(47, 107, 228, .28);
}
.why-icon svg { width: 27px; height: 27px; }

.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { color: var(--body-text); font-size: 15.5px; }

/* ===== Verify ===== */

.verify { padding: 0 0 104px; }

.verify .container {
  background: var(--navy);
  border-radius: 32px;
  padding: 72px 64px 64px;
  color: #fff;
  background-image:
    radial-gradient(560px 320px at 100% 0%, rgba(42, 184, 197, .16), transparent 60%),
    radial-gradient(520px 360px at 0% 100%, rgba(47, 107, 228, .18), transparent 60%);
}

.verify .section-title { color: #fff; }
.verify .section-sub { color: #aab7c7; }
.verify-sub { margin-bottom: 52px; }

.verify-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.verify-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  padding: 28px 26px;
  text-decoration: none;
  color: #fff;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}

.verify-card:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .30);
  transform: translateY(-3px);
}

.verify-source { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.verify-desc { color: #aab7c7; font-size: 14px; line-height: 1.55; flex: 1; }
.verify-cta { color: #7fd6e8; font-weight: 600; font-size: 14.5px; }

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  padding: 12px 34px;
  background: rgba(255, 255, 255, .03);
}

.company-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.company-facts > div:nth-last-child(-n+2) { border-bottom: 0; }

.company-facts dt { color: #aab7c7; font-size: 14.5px; white-space: nowrap; }
.company-facts dd { font-size: 14.5px; font-weight: 500; text-align: right; }
.company-facts dd a { color: #fff; text-decoration: none; }
.company-facts dd a:hover { text-decoration: underline; }

/* ===== Contact ===== */

.contact { padding: 0 0 110px; }

.contact-sub { margin-bottom: 56px; max-width: 720px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 46px;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 14.5px;
  margin-bottom: 8px;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: #f2f5f9;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 15px 17px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 228, .14);
}

.field input::placeholder,
.field textarea::placeholder { color: #93a1b0; }

.field textarea { resize: vertical; min-height: 130px; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.btn-submit {
  background: var(--grad);
  color: #fff;
  padding: 16px 40px;
  font-size: 16px;
  margin-top: 4px;
  box-shadow: 0 10px 26px rgba(47, 107, 228, .35);
}
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit[disabled] { opacity: .6; cursor: wait; transform: none; }

.form-status { margin-top: 16px; font-size: 15px; font-weight: 500; min-height: 24px; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.form-status a { color: inherit; }

.contact-media { position: relative; }

.contact-media img {
  border-radius: var(--r-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ===== Footer ===== */

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 0;
  border-radius: 32px 32px 0 0;
  background-image: radial-gradient(640px 320px at 90% 0%, rgba(42, 184, 197, .10), transparent 60%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr);
  gap: 72px;
  padding-bottom: 56px;
}

.footer-brand-col img { width: 96px; height: auto; margin-bottom: 22px; }

.footer-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.5;
  color: #e7ecf3;
  max-width: 300px;
  margin-bottom: 26px;
}

.footer-contacts { display: flex; flex-direction: column; gap: 8px; }

.footer-contacts a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  width: fit-content;
  transition: color .15s ease;
}
.footer-contacts a:hover { color: #7fd6e8; }

.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8c99ad;
  margin-bottom: 22px;
}

.footer-facts > div { margin-bottom: 14px; }

.footer-facts dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7b8798;
  margin-bottom: 2px;
}

.footer-facts dd { font-size: 15px; color: #e7ecf3; }

.footer-verify { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.footer-verify a {
  color: #c6cfdb;
  font-size: 15px;
  text-decoration: none;
  width: fit-content;
  transition: color .15s ease;
}
.footer-verify a span { color: #7fd6e8; font-size: 13px; }
.footer-verify a:hover { color: #fff; }

.footer-badge { display: inline-block; opacity: .9; transition: opacity .15s ease; }
.footer-badge:hover { opacity: 1; }
.footer-badge img { width: 150px; height: auto; border-radius: 6px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 24px 0 28px;
}

.footer-bottom p { font-size: 13.5px; color: #8c99ad; }
.footer-bottom a { color: #b9c4d4; text-decoration: none; }
.footer-bottom a:hover { color: #7fd6e8; text-decoration: underline; }

/* ===== Responsive ===== */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .verify .container { padding: 56px 40px 48px; }
  .verify-links { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 48px; }
  .hero-media img { min-height: 320px; }
  .hero-stats { grid-template-columns: 1fr; padding-bottom: 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .parts-panel { padding: 36px 24px 40px; }
  .parts-list { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .company-facts { grid-template-columns: 1fr; padding: 6px 22px; }
  .company-facts > div { flex-direction: column; gap: 2px; }
  .company-facts > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .company-facts > div:last-child { border-bottom: 0; }
  .company-facts dd { text-align: left; }
  .btn-nav { display: none; }
  .site-nav { gap: 14px; }
  .brand img { width: 60px; }
  .nav-link { font-size: 14px; }
  .nav-link.active { display: none; }
  .header-inner { padding: 10px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .verify .container { border-radius: 24px; }
}
