/*------------------------------------------------------------------
Project:  Developio — company site
-------------------------------------------------------------------*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/Poppins/Poppins-Regular.ttf');
  font-display: swap;
}
@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/Poppins/Poppins-Bold.ttf');
  font-display: swap;
}
@font-face {
  font-family: Lato-Regular;
  src: url('../fonts/Lato/Lato-Regular.ttf');
  font-display: swap;
}
@font-face {
  font-family: Lato-Bold;
  src: url('../fonts/Lato/Lato-Bold.ttf');
  font-display: swap;
}

:root {
  --accent: #dd5f44;
  --accent-dark: #c14d34;
  --accent-darker: #a83e2a;
  --dark: #1f2430;
  --dark2: #262c3d;
  --text: #4a4a4a;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f5f3;
  --border: #eceae8;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#top, #services, #stack, #work, #about, #contact { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: Lato-Regular, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Poppins-Bold, Arial, sans-serif;
  color: var(--dark);
  margin: 0;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/*//////////////////////////////////////////////////////////////////
[ Buttons ]*/

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 6px;
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-darker); color: #fff; }

.btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; }

.btn-outline-dark {
  border-color: var(--border);
  color: var(--dark);
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

/*//////////////////////////////////////////////////////////////////
[ Navbar ]*/

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(255,255,255,0.97);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img { height: 30px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 14.5px;
  color: #fff;
  transition: color 0.2s;
}

.navbar.is-scrolled .navbar-links a { color: var(--dark); }
.navbar-links a:hover { color: var(--accent); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 3px;
}
.navbar.is-scrolled .lang-switch { border-color: var(--border); }

.lang-btn {
  border: none;
  background: transparent;
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  color: #fff;
}
.navbar.is-scrolled .lang-btn { color: var(--dark); }
.lang-btn.active { background: var(--accent); color: #fff !important; cursor: default; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}
.navbar.is-scrolled .nav-toggle { color: var(--dark); }

/*//////////////////////////////////////////////////////////////////
[ Hero ]*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: 100px;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.hero::before {
  width: 480px; height: 480px;
  background: var(--accent);
  top: -140px; right: -100px;
}
.hero::after {
  width: 360px; height: 360px;
  background: #3a5fa0;
  bottom: -160px; left: -80px;
  opacity: 0.3;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner { max-width: 720px; padding: 60px 0 90px; }

.hero .eyebrow { color: #ffb9a8; }

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 22px;
}

.hero h1 span { color: var(--accent); }

.hero p.lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stats {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hero-stat .num {
  font-family: Poppins-Bold, Arial, sans-serif;
  font-size: 26px;
  color: #fff;
}
.hero-stat .label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/*//////////////////////////////////////////////////////////////////
[ Services ]*/

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(31,36,48,0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(221,95,68,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-light);
}

/*//////////////////////////////////////////////////////////////////
[ Tech stack ]*/

.stack-section { background: var(--dark); }
.stack-section .eyebrow,
.stack-section .section-head h2 { color: #fff; }
.stack-section .section-head p { color: rgba(255,255,255,0.6); }

.tech-network-wrap { margin-bottom: 56px; }

.tech-network-svg {
  width: 100%;
  height: auto;
  display: block;
}

.tn-line { stroke: rgba(255,255,255,0.18); stroke-width: 1.5; }
.tn-dot { fill: var(--accent); }
.tn-hub { fill: #171b26; stroke: var(--accent); stroke-width: 2; }
.tn-node {
  fill: #262c3d;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 1.5;
  transition: stroke 0.2s, fill 0.2s;
}
.tn-node-group:hover .tn-node { stroke: var(--accent); fill: #2d3547; }
.tn-icon {
  font-family: FontAwesome;
  font-size: 26px;
  fill: var(--accent);
  pointer-events: none;
}
.tn-label {
  font-family: Poppins-Bold, Arial, sans-serif;
  font-size: 20px;
  fill: #fff;
}
.tn-sub {
  font-family: Lato-Regular, Arial, sans-serif;
  font-size: 13px;
  fill: rgba(255,255,255,0.55);
}

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

.stack-group {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px;
}

.stack-group h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 13px;
  color: var(--dark);
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 14px;
}

/*//////////////////////////////////////////////////////////////////
[ Experience ]*/

.exp-note {
  font-size: 13.5px;
  color: var(--text-light);
  font-style: italic;
  margin-top: -34px;
  margin-bottom: 46px;
  max-width: 640px;
}

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

.exp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}

.exp-card .exp-stack {
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 12.5px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.exp-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.exp-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-light);
}

/*//////////////////////////////////////////////////////////////////
[ About ]*/

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 18px;
}

.about-panel {
  background: var(--dark);
  border-radius: 16px;
  padding: 40px;
}

.about-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.about-fact:last-child { border-bottom: none; }

.about-fact .k {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.about-fact .v {
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 14.5px;
  color: #fff;
  text-align: right;
}

/*//////////////////////////////////////////////////////////////////
[ Contact ]*/

.contact-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.contact-section .section-head h2,
.contact-section .eyebrow { color: #fff; }
.contact-section .section-head p { color: rgba(255,255,255,0.6); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card i {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(221,95,68,0.16);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-card .k {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-card .v {
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 14.5px;
  color: #fff;
}
.contact-card a.v:hover { color: var(--accent); }

/*//////////////////////////////////////////////////////////////////
[ Contact form ]*/

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 34px;
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-family: Lato-Bold, Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: Lato-Regular, Arial, sans-serif;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[type="submit"] {
  width: 100%;
  justify-content: center;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 14px 0 0;
  font-size: 13.5px;
  min-height: 18px;
}
.form-status.success { color: #86e0a3; }
.form-status.error { color: #ff9d8a; }

/*//////////////////////////////////////////////////////////////////
[ Footer ]*/

.footer {
  background: #171b26;
  padding: 46px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo img { height: 26px; margin-bottom: 14px; }

.footer-legal {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
}
.footer-legal strong { color: rgba(255,255,255,0.7); }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/

@media (max-width: 991px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .navbar-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .navbar-links.is-open { transform: translateX(0); }
  .navbar-links a { color: #fff; font-size: 18px; }
  .nav-toggle { display: block; }
  .lang-switch { border-color: rgba(255,255,255,0.3) !important; }
  .lang-btn { color: #fff !important; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-network-wrap { display: none; }
  .stack-groups { display: grid; grid-template-columns: 1fr; }
  .section-head h2 { font-size: 27px; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}
