/* ===== CSS VARIABLES ===== */
:root {
    --color-primary: #FF6B1A;
    --color-primary-dark: #e55a0a;
    --color-secondary: #4A90D9;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F7FA;
    --color-text: #1A1A2E;
    --color-text-light: #555;
    --color-dark: #1A1A2E;
    --color-white: #FFFFFF;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 26, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-text);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: #111827;
    text-transform: uppercase;
    transition: color var(--transition);
}

.logo-text-main {
    color: #111827;
}

.logo-text-accent {
    color: var(--color-primary);
}

/* Navigation */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #374151;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header right */
.header-right {
    display: none;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 6px;
    transition: color var(--transition);
}

.lang-btn.active {
    color: var(--color-primary);
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-divider {
    color: #d1d5db;
    font-size: 13px;
}

.btn-call {
    padding: 11px 24px;
    font-size: 0.85rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.btn-call:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4);
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    transition: all var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-lang-switch {
    display: none;
}

/* Mobile menu */
.nav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(10px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.nav.open .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.nav.open .nav-link {
    font-size: 22px;
    color: var(--color-white);
}

.nav.open .mobile-lang-switch {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.nav.open .mobile-lang-switch .lang-btn {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
}

.nav.open .mobile-lang-switch .lang-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: #0d1117;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 860px;
    padding: 120px 32px 80px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 4px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 40px;
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-align: left;
}
.hero-line-1 {
    color: #ffffff;
    white-space: nowrap;
}
.hero-line-2 {
    color: #FF6B1A;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: rgba(255,255,255,0.65);
    text-align: left;
    max-width: 600px;
    margin: 0 0 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual-inner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
}

.hero-visual-inner img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(6, 13, 26, 0.3), rgba(6, 13, 26, 0.6));
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--color-text);
}

.section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0;
    background: var(--color-bg-light);
    width: 100%;
}

/* ===== HOW WE WORK ===== */
.how-we-work {
  background: #0d1117;
  padding: 100px 0;
  width: 100%;
}
.how-we-work .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-we-work .section-header h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.how-we-work .section-label {
  color: #FF6B00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.hww-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.hww-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.hww-number {
  font-size: 4rem;
  font-weight: 900;
  color: #FF6B00;
  line-height: 1;
  margin-bottom: 16px;
  font-family: inherit;
  opacity: 0.9;
}
.hww-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.hww-icon i {
  font-size: 1.4rem;
  color: #FF6B00;
}
.hww-step:hover .hww-icon {
  background: #FF6B00;
  border-color: #FF6B00;
}
.hww-step:hover .hww-icon i {
  color: #ffffff;
}
.hww-step h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.hww-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.65;
}
.hww-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  color: rgba(255,107,0,0.4);
  font-size: 1.2rem;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .hww-steps {
    flex-wrap: wrap;
    gap: 40px;
  }
  .hww-step { flex: 0 0 calc(33% - 40px); }
  .hww-arrow { display: none; }
}
@media (max-width: 768px) {
  .hww-step { flex: 0 0 100%; }
  .how-we-work { padding: 64px 0; }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

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

.service-visual {
    background: #0d1a2e;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
    margin: -8px -8px 20px;
}

.service-visual img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 8px 8px 0 0;
}

.service-card:hover .service-visual img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-text);
}

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

/* ===== STATS ===== */
.stats {
    padding: 80px 0;
    background: var(--color-dark);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 48px;
    color: var(--color-primary);
    display: inline;
}

.stat-plus,
.stat-percent {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: var(--color-bg);
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.advantages {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.advantages li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
}

.advantages li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 18px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #aaa;
    font-size: 14px;
    border: 2px dashed #ddd;
}

/* ===== OBJECTS ===== */
.objects {
    padding: 80px 0;
    background: var(--color-bg-light);
    width: 100%;
}

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

.object-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

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

.object-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #bbb;
    border: 1px dashed #ddd;
}

.object-card h4 {
    font-size: 15px;
    color: var(--color-text);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 80px 0;
    background: var(--color-bg);
    width: 100%;
}

.gallery-grid {
    columns: 3;
    column-gap: 12px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 14px;
    margin-top: 32px;
    font-style: italic;
}

/* ===== CERTIFICATES ===== */
.certificates {
    padding: 80px 0;
    background: var(--color-bg-light);
    width: 100%;
}

.certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.certificate-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

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

.certificate-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.certificate-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-text);
}

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

.certificates-note {
    text-align: center;
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2a1a3e 50%, #1a0a0e 100%);
    color: var(--color-white);
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-wrap h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
}

.contact-form-wrap > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 15px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition);
    outline: none;
}

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

.contact-form select {
    color: rgba(255, 255, 255, 0.4);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form select.selected {
    color: var(--color-white);
}

.contact-form select option {
    background: var(--color-dark);
    color: var(--color-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 17px;
    color: var(--color-white);
}

.contact-info-item a:hover {
    color: var(--color-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: #0d0d1e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    font-size: 16px;
    color: var(--color-white);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav h4,
.footer-contacts h4 {
    color: var(--color-white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-contacts p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contacts a {
    color: var(--color-white);
}

.footer-contacts a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    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.5);
    transition: all var(--transition);
}

.social-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(255, 107, 26, 0.1);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== FLOATING CALL ===== */
.floating-call {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4);
    z-index: 900;
    transition: all var(--transition);
    animation: pulse-call 2s infinite;
}

.floating-call:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

@keyframes pulse-call {
    0% { box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 107, 26, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4); }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 16px 22px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
    transition: background 0.2s;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    right: 70px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

#lightboxImg {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.stats-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.stats-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stats-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.45s; }

.objects-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.objects-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.objects-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.objects-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.objects-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ===== RESPONSIVE — TABLET (768px+) ===== */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .hero-title {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stat-number {
        font-size: 56px;
    }

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

    .objects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .floating-call {
        display: none;
    }
}

/* ===== RESPONSIVE — DESKTOP (1200px+) ===== */
@media (min-width: 1200px) {
    .nav {
        display: flex;
    }

    .header-right {
        display: flex;
    }

    .burger {
        display: none;
    }

    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 96px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-content {
        max-width: 900px;
    }

    .services {
        padding: 100px 0;
    }

    .stats {
        padding: 100px 0;
    }

    .about {
        padding: 100px 0;
    }

    .objects {
        padding: 100px 0;
    }

    .gallery {
        padding: 100px 0;
    }

    .gallery-grid {
        columns: 3;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .objects-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .certificates {
        padding: 100px 0;
    }

    .contact {
        padding: 100px 0;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .about-text h2 {
        font-size: 36px;
    }
}

/* ===== RESPONSIVE — MOBILE FIXES (max-width: 767px) ===== */
@media (max-width: 767px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 120px 20px 80px;
        gap: 32px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons,
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 15px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
    }
}
