/* =========================================================
   NOVA DIGITAL
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. VARIABLES / RESET
   ========================================================= */

:root {
  --primary: #625df5;
  --primary-dark: #504aec;
  --primary-light: #f0efff;

  --navy: #11182b;
  --navy-2: #171d4d;
  --navy-3: #222b8f;

  --text: #111827;
  --text-soft: #657089;
  --text-light: #8993a8;

  --white: #ffffff;
  --background: #ffffff;
  --background-soft: #f7f8fc;
  --background-purple: #f5f4ff;

  --border: #e8ebf2;
  --border-dark: #dce0ea;

  --success: #16a34a;
  --danger: #dc2626;

  --shadow-sm: 0 8px 25px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 18px 50px rgba(17, 24, 39, 0.09);
  --shadow-lg: 0 30px 80px rgba(17, 24, 39, 0.14);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;
  --header-height: 78px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}


body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


body.menu-open,
body.modal-open {
  overflow: hidden;
}


img {
  display: block;
  width: 100%;
  max-width: 100%;
}


button,
input,
textarea {
  font: inherit;
}


button {
  border: 0;
}


a {
  color: inherit;
  text-decoration: none;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}


.section {
  padding: 105px 0;
}


.section-heading {
  max-width: 690px;
  margin: 0 auto 55px;
  text-align: center;
}


.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: var(--navy);
}


.section-heading p {
  max-width: 610px;
  margin: 18px auto 0;
  font-size: 16px;
  color: var(--text-soft);
}


.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


.light-label {
  color: #b8b5ff;
}


/* =========================================================
   2. BUTTONS
   ========================================================= */

.btn {
  min-height: 50px;
  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.btn:hover {
  transform: translateY(-2px);
}


.btn-primary {
  color: var(--white);
  background: linear-gradient(
    135deg,
    #655ff7 0%,
    #5956f0 100%
  );

  box-shadow: 0 12px 30px rgba(98, 93, 245, 0.23);
}


.btn-primary:hover {
  box-shadow: 0 16px 35px rgba(98, 93, 245, 0.32);
}


.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
}


.btn-secondary:hover {
  border-color: #cfd3e0;
  box-shadow: var(--shadow-sm);
}


/* =========================================================
   3. HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;

  height: var(--header-height);

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(232, 235, 242, 0.95);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}


.header-inner {
  height: 100%;

  display: flex;
  align-items: center;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--navy);
}


.brand-icon {
  width: 37px;
  height: 37px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  color: var(--white);
  background: linear-gradient(135deg, #706bff, #514ced);

  border-radius: 50%;

  font-size: 16px;
}


.brand-text {
  white-space: nowrap;

  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.7px;
}


.brand-text strong {
  font-weight: 800;
}


.desktop-nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 31px;
}


.desktop-nav a {
  position: relative;

  color: #40485a;

  font-size: 14px;
  font-weight: 600;

  transition: color 0.2s ease;
}


.desktop-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--primary);

  transition: width 0.2s ease;
}


.desktop-nav a:hover {
  color: var(--primary);
}


.desktop-nav a:hover::after {
  width: 100%;
}


.header-cta {
  min-height: 42px;
  margin-left: 32px;
  padding: 0 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  background: var(--primary);

  border-radius: 10px;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}


.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;
  margin-left: auto;

  background: transparent;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;

  cursor: pointer;
}


.menu-toggle span {
  width: 23px;
  height: 2px;

  display: block;

  background: var(--navy);

  border-radius: 999px;
}


/* =========================================================
   4. MOBILE MENU
   ========================================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: flex;
  flex-direction: column;

  background: var(--white);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(100%);

  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}


.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(0);
}


.mobile-menu-header {
  min-height: 76px;
  padding: 0 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--border);
}


.menu-close {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--navy);
  background: transparent;

  font-size: 34px;
  font-weight: 300;

  cursor: pointer;
}


.mobile-nav {
  padding: 23px 25px;

  display: flex;
  flex-direction: column;
}


.mobile-nav a {
  padding: 15px 0;

  color: var(--navy-2);

  border-bottom: 1px solid #f1f2f6;

  font-size: 21px;
  font-weight: 600;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}


.mobile-nav a:hover {
  padding-left: 5px;
  color: var(--primary);
}


.mobile-menu-bottom {
  margin-top: auto;
  padding: 25px;

  background: #f8f8ff;
}


.mobile-menu-bottom .btn {
  width: 100%;
}


.mobile-contact {
  margin-top: 25px;

  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}


.mobile-contact span {
  color: var(--text-soft);

  font-size: 11px;
}


.mobile-contact a {
  color: var(--navy);

  font-size: 14px;
  font-weight: 600;
}


.social-links {
  margin: 18px 0;

  display: flex;
  justify-content: center;
  gap: 12px;
}


.social-links a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--primary);
  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 50%;

  font-size: 12px;
  font-weight: 700;
}


.mobile-menu-bottom small {
  display: block;

  color: var(--text-light);

  text-align: center;
  font-size: 10px;
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {
  position: relative;

  padding: 90px 0 110px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(98, 93, 245, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 25%,
      rgba(98, 93, 245, 0.08),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfbff 100%
    );
}


.hero::before {
  content: "";

  position: absolute;
  top: -220px;
  right: -220px;

  width: 500px;
  height: 500px;

  background: rgba(98, 93, 245, 0.05);

  border-radius: 50%;
}


.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 75px;
}


.eyebrow {
  display: inline-flex;
  align-items: center;

  padding: 8px 13px;

  color: var(--primary);
  background: var(--primary-light);

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
}


.hero h1 {
  max-width: 650px;
  margin-top: 23px;

  color: var(--navy);

  font-size: clamp(45px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -3.6px;
}


.hero h1 span {
  display: block;

  color: var(--primary);
}


.hero-description {
  max-width: 590px;
  margin-top: 25px;

  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.8;
}


.hero-actions {
  margin-top: 31px;

  display: flex;
  align-items: center;
  gap: 13px;
}


.hero-actions .btn {
  min-width: 170px;
}


.hero-trust {
  margin-top: 25px;

  display: flex;
  flex-wrap: wrap;
  gap: 17px;

  color: var(--text-soft);

  font-size: 12px;
  font-weight: 600;
}


.hero-visual {
  position: relative;

  min-height: 500px;

  overflow: hidden;

  background:
    linear-gradient(135deg, #f1f0ff, #fafaff);

  border: 1px solid #ecebff;
  border-radius: 32px;

  box-shadow: var(--shadow-lg);
}


.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 500px;

  object-fit: cover;
}


.hero-visual.image-placeholder::before {
  content: "NOVA DIGITAL";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(98, 93, 245, 0.16);

  background:
    linear-gradient(135deg, #efefff, #ffffff);

  font-size: 35px;
  font-weight: 800;
  letter-spacing: -2px;
}


.hero-visual.image-placeholder > img {
  display: none;
}


.hero-floating-card {
  position: absolute;
  left: 28px;
  bottom: 28px;

  padding: 18px 21px;

  display: flex;
  flex-direction: column;

  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;

  box-shadow: var(--shadow-md);

  backdrop-filter: blur(10px);
}


.hero-floating-card strong {
  font-size: 14px;
}


.hero-floating-card span {
  margin-top: 3px;

  color: var(--text-soft);

  font-size: 11px;
}


/* =========================================================
   6. SERVICES
   ========================================================= */

.services-section {
  background: var(--white);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}


.service-card {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 19px;

  box-shadow: 0 10px 35px rgba(17, 24, 39, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.service-card:hover {
  transform: translateY(-7px);

  border-color: #d9d7ff;

  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.09);
}


.service-image {
  position: relative;

  height: 210px;

  overflow: hidden;

  background: linear-gradient(135deg, #efefff, #fafaff);
}


.service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}


.service-card:hover .service-image img {
  transform: scale(1.04);
}


.service-image.image-placeholder::after {
  content: "NOVA";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(98, 93, 245, 0.16);

  background:
    linear-gradient(135deg, #f1f0ff, #fafaff);

  font-size: 30px;
  font-weight: 800;
}


.service-image.image-placeholder img {
  display: none;
}


.service-card-content {
  padding: 27px 25px 28px;
}


.service-icon {
  width: 43px;
  height: 43px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--primary);
  background: var(--primary-light);

  border-radius: 11px;

  font-size: 21px;
  font-weight: 700;
}


.service-card h3 {
  margin-top: 20px;

  color: var(--navy);

  font-size: 19px;
  line-height: 1.3;
}


.service-card p {
  min-height: 53px;
  margin-top: 9px;

  color: var(--text-soft);

  font-size: 13px;
  line-height: 1.7;
}


.detail-link {
  margin-top: 17px;
  padding: 0;

  display: inline-flex;

  color: var(--primary);
  background: transparent;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    gap 0.2s ease,
    color 0.2s ease;
}


.detail-link:hover {
  color: var(--primary-dark);
}


/* =========================================================
   7. PROJECTS
   ========================================================= */

.projects-section {
  background: var(--background-soft);
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}


.project-card {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.project-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-md);
}


.project-image {
  position: relative;

  height: 245px;

  overflow: hidden;

  background: #ececff;
}


.project-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}


.project-card:hover .project-image img {
  transform: scale(1.04);
}


.project-image.image-placeholder::after {
  content: "PROJECT";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(98, 93, 245, 0.18);

  background: linear-gradient(135deg, #ecebff, #f9f9ff);

  font-size: 28px;
  font-weight: 800;
}


.project-image.image-placeholder img {
  display: none;
}


.project-content {
  padding: 26px;
}


.project-content > span {
  color: var(--primary);

  font-size: 11px;
  font-weight: 700;
}


.project-content h3 {
  margin-top: 8px;

  color: var(--navy);

  font-size: 21px;
  line-height: 1.3;
}


.project-content p {
  min-height: 72px;
  margin-top: 10px;

  color: var(--text-soft);

  font-size: 13px;
  line-height: 1.7;
}


.btn-project {
  min-height: 42px;
  margin-top: 20px;
  padding: 0 17px;

  color: var(--navy);
  background: var(--white);

  border: 1px solid var(--border);
}


.btn-project:hover {
  color: var(--primary);

  border-color: #cbc8ff;
}


/* =========================================================
   8. ABOUT
   ========================================================= */

.about-section {
  background: var(--white);
}


.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}


.about-content h2 {
  max-width: 650px;
  margin-top: 12px;

  color: var(--navy);

  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -2px;
}


.about-content h2 span {
  color: var(--primary);
}


.about-content p {
  max-width: 650px;
  margin-top: 19px;

  color: var(--text-soft);

  font-size: 15px;
  line-height: 1.85;
}


.about-content .btn {
  margin-top: 29px;
}


.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}


.stat-card {
  min-height: 180px;
  padding: 28px 23px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(
      145deg,
      #f7f6ff 0%,
      #ffffff 100%
    );

  border: 1px solid #e9e8ff;
  border-radius: 20px;
}


.stat-card strong {
  color: var(--primary);

  font-size: 31px;
  line-height: 1;
  letter-spacing: -1px;
}


.stat-card span {
  margin-top: 11px;

  color: var(--navy);

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   9. ANALYSIS
   ========================================================= */

.analysis-section {
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(120, 114, 255, 0.25),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #171d4d 0%,
      #222b8f 100%
    );
}


.analysis-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 70px;
}


.analysis-intro {
  padding-top: 25px;

  color: var(--white);
}


.analysis-intro h2 {
  max-width: 510px;
  margin-top: 12px;

  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -2px;
}


.analysis-intro p {
  max-width: 500px;
  margin-top: 20px;

  color: #cbd0e9;

  font-size: 15px;
  line-height: 1.8;
}


.analysis-intro ul {
  margin-top: 30px;

  display: flex;
  flex-direction: column;
  gap: 13px;

  list-style: none;
}


.analysis-intro li {
  color: #e1e4f5;

  font-size: 13px;
  font-weight: 600;
}


.analysis-form {
  padding: 38px;

  background: var(--white);

  border-radius: 24px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}


.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}


.form-group {
  margin-bottom: 21px;
}


.form-group label {
  margin-bottom: 8px;

  display: block;

  color: var(--navy);

  font-size: 12px;
  font-weight: 700;
}


.form-group input,
.form-group textarea {
  width: 100%;

  color: var(--text);
  background: var(--white);

  border: 1px solid var(--border-dark);
  border-radius: 10px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.form-group input {
  height: 49px;
  padding: 0 14px;
}


.form-group textarea {
  min-height: 125px;
  padding: 13px 14px;

  resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a3adbf;
}


.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(98, 93, 245, 0.1);
}


.service-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}


.service-option {
  min-height: 43px;
  padding: 0 15px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #525d72;
  background: #f8f9fc;

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.service-option:hover {
  border-color: #c9c7ff;
}


.service-option.active {
  color: var(--white);
  background: var(--primary);

  border-color: var(--primary);

  transform: translateY(-1px);
}


.option-check {
  width: 17px;
  height: 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: transparent;
  background: var(--white);

  border: 1px solid #cbd0db;
  border-radius: 50%;

  font-size: 10px;
}


.service-option.active .option-check {
  color: var(--primary);

  border-color: var(--white);
}


.field-error {
  min-height: 17px;
  margin-top: 6px;

  color: var(--danger);

  font-size: 11px;
}


.form-submit {
  width: 100%;
  min-height: 52px;
}


.privacy-note {
  margin-top: 15px;
  padding: 14px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: var(--text-soft);
  background: var(--background-purple);

  border-radius: 11px;

  font-size: 11px;
}


.privacy-note span {
  color: var(--primary);

  font-size: 17px;
}


.form-message {
  margin-top: 12px;

  text-align: center;

  font-size: 12px;
  font-weight: 600;
}


/* =========================================================
   10. INSTAGRAM
   ========================================================= */

.instagram-section {
  padding-top: 80px;
  padding-bottom: 80px;

  background: var(--white);
}


.instagram-card {
  padding: 48px 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(98, 93, 245, 0.12),
      transparent 30%
    ),
    #f7f7ff;

  border: 1px solid #e7e6ff;
  border-radius: 25px;
}


.instagram-card > div {
  max-width: 650px;
}


.instagram-card h2 {
  margin-top: 8px;

  color: var(--navy);

  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -1.4px;
}


.instagram-card p {
  margin-top: 13px;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.7;
}


.btn-instagram {
  flex: 0 0 auto;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      #5c58f2,
      #7b5cff
    );

  box-shadow: 0 13px 30px rgba(98, 93, 245, 0.22);
}


/* =========================================================
   11. CONTACT
   ========================================================= */

.contact-section {
  background: var(--background-soft);
}


.contact-grid {
  max-width: 800px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}


.contact-card {
  min-height: 120px;
  padding: 25px;

  display: flex;
  align-items: center;
  gap: 17px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 17px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.contact-card:hover {
  transform: translateY(-4px);

  border-color: #cfcdff;

  box-shadow: var(--shadow-sm);
}


.contact-card > span {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  color: var(--primary);
  background: var(--primary-light);

  border-radius: 12px;

  font-size: 19px;
}


.contact-card div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}


.contact-card small {
  color: var(--text-soft);

  font-size: 11px;
}


.contact-card strong {
  margin-top: 2px;

  overflow-wrap: anywhere;

  color: var(--navy);

  font-size: 14px;
}


/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer {
  color: var(--white);

  background:
    linear-gradient(
      145deg,
      #171d4d 0%,
      #222b8f 100%
    );
}


.footer-grid {
  padding-top: 70px;
  padding-bottom: 55px;

  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 55px;
}


.footer-logo {
  color: var(--white);
}


.footer-brand p {
  max-width: 340px;
  margin-top: 20px;

  color: #c4c9e2;

  font-size: 13px;
  line-height: 1.8;
}


.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}


.footer-column h3 {
  margin-bottom: 7px;

  color: var(--white);

  font-size: 14px;
}


.footer-column > a {
  color: #c4c9e2;

  font-size: 12px;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}


.footer-column > a:hover {
  color: var(--white);

  transform: translateX(3px);
}


.footer-socials {
  margin-top: 8px;

  display: flex;
  gap: 9px;
}


.footer-socials a {
  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;

  font-size: 10px;
  font-weight: 700;
}


.footer-bottom {
  min-height: 65px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #9fa6cb;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 10px;
}


/* =========================================================
   13. DETAIL MODALS
   ========================================================= */

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;

  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(10, 15, 38, 0.72);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  backdrop-filter: blur(8px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}


.detail-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.detail-modal-panel {
  position: relative;

  width: min(100%, 760px);
  max-height: calc(100vh - 60px);
  padding: 30px;

  overflow-y: auto;

  background: var(--white);

  border-radius: 24px;

  box-shadow: var(--shadow-lg);

  transform: translateY(20px) scale(0.98);

  transition: transform 0.25s ease;
}


.detail-modal.active .detail-modal-panel {
  transform: translateY(0) scale(1);
}


.detail-back {
  min-height: 42px;
  margin-bottom: 20px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;

  color: var(--navy);
  background: #f6f7fb;

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}


.detail-modal-image {
  height: 310px;
  margin-bottom: 28px;

  overflow: hidden;

  background: var(--primary-light);

  border-radius: 17px;
}


.detail-modal-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.detail-modal-panel h2 {
  margin-top: 8px;

  color: var(--navy);

  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}


.detail-modal-panel > p {
  margin-top: 15px;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.8;
}


.detail-features {
  margin: 24px 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}


.detail-feature {
  padding: 14px 15px;

  color: var(--navy);
  background: #f7f7ff;

  border: 1px solid #ecebff;
  border-radius: 11px;

  font-size: 12px;
  font-weight: 600;
}


/* =========================================================
   14. FLOATING CONTACT
   ========================================================= */

.floating-contact {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 850;

  width: 53px;
  height: 53px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  background: var(--primary);

  border-radius: 50%;

  box-shadow: 0 15px 35px rgba(98, 93, 245, 0.3);

  font-size: 17px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.floating-contact:hover {
  transform: translateY(-3px);

  box-shadow: 0 18px 40px rgba(98, 93, 245, 0.38);
}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .desktop-nav {
    gap: 20px;
  }


  .header-cta {
    margin-left: 20px;
  }


  .hero-grid {
    gap: 45px;
  }


  .hero h1 {
    font-size: 52px;
  }


  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .project-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    width: 100%;
    margin: 0 auto;
  }


  .about-grid {
    gap: 45px;
  }


  .analysis-wrapper {
    gap: 40px;
  }


  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 30px;
  }

}


/* =========================================================
   16. MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 820px) {

  :root {
    --header-height: 70px;
  }


  .container {
    width: min(calc(100% - 34px), var(--container));
  }


  .section {
    padding: 78px 0;
  }


  .desktop-nav,
  .header-cta {
    display: none;
  }


  .menu-toggle {
    display: flex;
  }


  .brand-icon {
    width: 34px;
    height: 34px;

    font-size: 14px;
  }


  .brand-text {
    font-size: 17px;
  }


  .hero {
    padding: 55px 0 78px;
  }


  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }


  .hero-content {
    text-align: center;
  }


  .eyebrow {
    margin-inline: auto;
  }


  .hero h1 {
    max-width: 650px;
    margin-inline: auto;
    margin-top: 20px;

    font-size: clamp(39px, 9vw, 57px);
    letter-spacing: -2.5px;
  }


  .hero-description {
    margin-inline: auto;

    font-size: 15px;
  }


  .hero-actions {
    justify-content: center;
  }


  .hero-trust {
    justify-content: center;
  }


  .hero-visual {
    min-height: 400px;

    border-radius: 24px;
  }


  .hero-visual > img {
    min-height: 400px;
  }


  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .project-card:last-child {
    grid-column: auto;
    max-width: none;
  }


  .about-grid {
    grid-template-columns: 1fr;
  }


  .about-content {
    text-align: center;
  }


  .about-content p {
    margin-inline: auto;
  }


  .analysis-wrapper {
    grid-template-columns: 1fr;
  }


  .analysis-intro {
    padding-top: 0;

    text-align: center;
  }


  .analysis-intro h2,
  .analysis-intro p {
    margin-inline: auto;
  }


  .analysis-intro ul {
    align-items: center;
  }


  .instagram-card {
    padding: 40px;

    flex-direction: column;

    text-align: center;
  }


  .contact-grid {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   17. PHONE
   ========================================================= */

@media (max-width: 600px) {

  .container {
    width: min(calc(100% - 28px), var(--container));
  }


  .section {
    padding: 67px 0;
  }


  .section-heading {
    margin-bottom: 34px;
  }


  .section-heading h2 {
    font-size: 30px;
    letter-spacing: -1.1px;
  }


  .section-heading p {
    margin-top: 11px;

    font-size: 13px;
  }


  .site-header {
    height: 68px;
  }


  .header-inner {
    width: calc(100% - 28px);
  }


  .brand {
    gap: 7px;
  }


  .brand-icon {
    width: 32px;
    height: 32px;
  }


  .brand-text {
    font-size: 16px;
  }


  .menu-toggle {
    width: 39px;
    height: 39px;
  }


  .mobile-menu-header {
    min-height: 68px;
    padding: 0 20px;
  }


  .mobile-nav {
    padding: 18px 25px;
  }


  .mobile-nav a {
    padding: 14px 0;

    font-size: 20px;
  }


  .mobile-menu-bottom {
    padding: 22px 25px;
  }


  /* HERO */

  .hero {
    padding: 42px 0 66px;
  }


  .hero-grid {
    gap: 32px;
  }


  .eyebrow {
    padding: 6px 10px;

    font-size: 9px;
  }


  .hero h1 {
    margin-top: 18px;

    font-size: 37px;
    line-height: 1.05;
    letter-spacing: -2px;
  }


  .hero-description {
    max-width: 340px;
    margin-top: 17px;

    font-size: 13px;
    line-height: 1.75;
  }


  .hero-actions {
    width: 100%;
    margin-top: 23px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }


  .hero-actions .btn {
    min-width: 0;
    min-height: 45px;
    padding: 0 10px;

    font-size: 11px;
  }


  .hero-trust {
    margin-top: 18px;
    gap: 9px 13px;

    font-size: 9px;
  }


  .hero-visual {
    min-height: 310px;

    border-radius: 18px;
  }


  .hero-visual > img {
    min-height: 310px;
  }


  .hero-floating-card {
    left: 14px;
    right: 14px;
    bottom: 14px;

    padding: 13px 15px;
  }


  .hero-floating-card strong {
    font-size: 12px;
  }


  .hero-floating-card span {
    font-size: 9px;
  }


  /* SERVICES */

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }


  .service-card {
    border-radius: 16px;
  }


  .service-image {
    height: 190px;
  }


  .service-card-content {
    padding: 21px 19px 22px;
  }


  .service-icon {
    width: 40px;
    height: 40px;

    font-size: 18px;
  }


  .service-card h3 {
    margin-top: 15px;

    font-size: 17px;
  }


  .service-card p {
    min-height: 0;

    font-size: 12px;
  }


  .detail-link {
    margin-top: 14px;

    font-size: 12px;
  }


  /* PROJECTS */

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }


  .project-image {
    height: 210px;
  }


  .project-content {
    padding: 21px;
  }


  .project-content h3 {
    font-size: 19px;
  }


  .project-content p {
    min-height: 0;

    font-size: 12px;
  }


  .btn-project {
    width: 100%;
  }


  /* ABOUT */

  .about-grid {
    gap: 35px;
  }


  .about-content h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }


  .about-content p {
    font-size: 13px;
  }


  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }


  .stat-card {
    min-height: 135px;
    padding: 19px 15px;

    border-radius: 15px;
  }


  .stat-card strong {
    font-size: 24px;
  }


  .stat-card span {
    font-size: 10px;
  }


  /* ANALYSIS */

  .analysis-intro h2 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }


  .analysis-intro p {
    font-size: 13px;
  }


  .analysis-intro li {
    font-size: 11px;
  }


  .analysis-form {
    padding: 22px 17px;

    border-radius: 18px;
  }


  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }


  .form-group {
    margin-bottom: 17px;
  }


  .form-group input {
    height: 47px;
  }


  .service-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }


  .service-option {
    width: 100%;
    min-height: 46px;

    justify-content: flex-start;

    text-align: left;
  }


  .form-submit {
    min-height: 50px;

    font-size: 11px;
  }


  /* INSTAGRAM */

  .instagram-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }


  .instagram-card {
    width: calc(100% - 28px);
    padding: 31px 21px;

    gap: 25px;

    border-radius: 19px;
  }


  .instagram-card h2 {
    font-size: 28px;
  }


  .instagram-card p {
    font-size: 12px;
  }


  .btn-instagram {
    width: 100%;
  }


  /* CONTACT */

  .contact-card {
    min-height: 105px;
    padding: 19px;
  }


  /* FOOTER */

  .footer-grid {
    padding-top: 50px;
    padding-bottom: 40px;

    grid-template-columns: 1fr;
    gap: 32px;

    text-align: center;
  }


  .footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column;
  }


  .footer-column {
    align-items: center;
  }


  .footer-column > a:hover {
    transform: none;
  }


  .footer-bottom {
    min-height: 80px;
    padding: 18px 0;

    flex-direction: column;
    justify-content: center;
    gap: 4px;

    text-align: center;
  }


  /* MODALS */

  .detail-modal {
    padding: 0;

    align-items: stretch;

    background: var(--white);
  }


  .detail-modal-panel {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    padding: 20px 17px 40px;

    border-radius: 0;

    box-shadow: none;
  }


  .detail-back {
    position: sticky;
    top: 0;
    z-index: 2;

    margin-bottom: 16px;
  }


  .detail-modal-image {
    height: 230px;
    margin-bottom: 22px;

    border-radius: 14px;
  }


  .detail-modal-panel h2 {
    font-size: 29px;
  }


  .detail-modal-panel > p {
    font-size: 13px;
  }


  .detail-features {
    grid-template-columns: 1fr;
  }


  .modal-analysis-link,
  .modal-contact-link {
    width: 100%;
  }


  /* FLOATING BUTTON */

  .floating-contact {
    right: 17px;
    bottom: 17px;

    width: 49px;
    height: 49px;

    font-size: 15px;
  }

}


/* =========================================================
   18. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .brand-text {
    font-size: 15px;
  }


  .hero h1 {
    font-size: 33px;
  }


  .hero-actions {
    grid-template-columns: 1fr;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .hero-trust {
    flex-direction: column;
    align-items: center;
  }


  .about-stats {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   19. ACCESSIBILITY / MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}