/* ============================================
   CV UNIVIART — Stylesheet
   Theme: Dark + Green Accent
   ============================================ */

:root {
  --green:        #16a34a;
  --green-light:  #22c55e;
  --green-dark:   #14532d;
  --green-glow:   rgba(22, 163, 74, 0.18);

  --dark-900:     #0d1117;
  --dark-800:     #111827;
  --dark-700:     #1a2332;
  --dark-600:     #1f2937;
  --dark-500:     #374151;

  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --text-dark:    #1e293b;

  --white:        #ffffff;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;

  --transition:   0.25s ease;
  --font:         'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark-800);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.accent { color: var(--green); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn--full { width: 100%; justify-content: center; }

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--green-light); }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--dark-900);
  border-bottom: 1px solid var(--dark-600);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  overflow: hidden;
}
.topbar__marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.topbar__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  white-space: nowrap;
  animation: topbarMarquee 28s linear infinite;
  will-change: transform;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.topbar__item:hover { color: var(--green-light); }
.topbar__item svg { color: var(--green); flex-shrink: 0; }

@keyframes topbarMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.topbar:hover .topbar__track,
.topbar:focus-within .topbar__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .topbar__track { animation: none; }
  .topbar__marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-800);
  border-bottom: 1px solid var(--dark-600);
  transition: box-shadow var(--transition);
}
.navbar--scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border-bottom-color: var(--dark-500);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.navbar__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 2px;
}
.navbar__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--white); }
.navbar__cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.navbar__cta:hover { background: var(--green-light) !important; color: var(--white) !important; }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 16, 22, 0.92) 0%,
    rgba(10, 16, 22, 0.78) 50%,
    rgba(10, 16, 22, 0.3) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__content {
  position: relative;
  max-width: 620px;
  padding: 5rem 0;
}
.hero__badge {
  display: inline-block;
  background: var(--green-glow);
  border: 1px solid var(--green);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: normal;
  color: var(--green-light);
}
.hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--dark-900);
  padding: 5rem 0;
}
.services__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}
.services__highlight {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: sticky;
  top: 90px;
}
.services__highlight h2 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}
.services__highlight p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.services__highlight .btn--primary {
  background: var(--dark-800);
  border-color: var(--dark-800);
  color: var(--white);
}
.services__highlight .btn--primary:hover {
  background: var(--dark-700);
  border-color: var(--dark-700);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.service-card:hover {
  border-color: var(--green);
  background: var(--dark-600);
  transform: translateY(-3px);
}
.service-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-glow);
  border: 1px solid rgba(22,163,74,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-light);
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--dark-800);
  padding: 5rem 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about__text .btn { margin-top: 0.75rem; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.stat-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
}
.stat-card__num sup {
  font-size: 1.2rem;
  color: var(--green);
}
.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   COMMITMENT
   ============================================ */
.commitment {
  background: var(--dark-700);
  padding: 5rem 0;
}
.commitment__head {
  text-align: left;
  max-width: 600px;
  margin: 0 0 3rem;
}
.commitment__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.commitment__head p {
  color: var(--text-muted);
}
.commitment__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.commitment-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.commitment-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}
.commitment-card__icon {
  width: 54px;
  height: 54px;
  background: var(--green-glow);
  border: 1px solid rgba(22,163,74,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.commitment-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-light);
}
.commitment-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.commitment-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--dark-900);
  padding: 5rem 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.contact__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact__list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

/* Form */
.contact__form {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea {
  background: var(--dark-800);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dark-500); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-900);
  border-top: 1px solid var(--dark-600);
  padding: 1.75rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 2px;
}
.footer__brand strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}
.footer__brand span {
  display: block;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services__inner {
    grid-template-columns: 1fr;
  }
  .services__highlight {
    position: static;
  }
  .commitment__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar__toggle { display: flex; }
  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-800);
    border-bottom: 1px solid var(--dark-600);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    z-index: 200;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links li { width: 100%; }
  .navbar__links a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }
  .navbar__links .navbar__cta {
    margin: 0.5rem 1.5rem;
    border-radius: var(--radius-sm) !important;
    text-align: center;
    display: block !important;
    padding: 0.65rem 1.25rem !important;
  }
  .navbar { position: relative; }

  .hero { min-height: 70vh; }
  .hero__content { padding: 3rem 0; }

  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 540px) {
  .commitment__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

