/* ============================================
   BRIND s.r.o. — Custom Styles
   Design: Dark & Premium
   Fonts: DM Serif Display + DM Sans
   ============================================ */

:root {
  --primary: #1a1a1a;
  --secondary: #111111;
  --accent: #b91c1c;
  --dark: #0d0d0d;
  --light: #f5f3ef;
  --text: #1a1a1a;
  --text-light: #8a8a8a;
  --surface: #1e1e1e;
  --border: #2e2e2e;
  --grey-section: #4f4f4f;
  --light-section: #f0eeea;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--dark);
  color: #f5f3ef;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---- Page Loader ---- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.loader-ring {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.08);
  border-top-color: #b91c1c;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Navbar ---- */
.navbar {
  background: transparent;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.navbar.scrolled {
  background: rgba(13, 13, 13, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar.scrolled .logo-main,
.navbar.scrolled .logo-sub,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-cta {
  color: #fff;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #b91c1c;
  transition: width 0.3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Mobile menu on white bg */
#mobile-menu .nav-link {
  color: #1a1a1a;
}
#mobile-menu .nav-link:hover {
  color: #b91c1c;
}
#mobile-menu .nav-link::after {
  background: #b91c1c;
}
.hamburger-open .ham-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-open .ham-line:nth-child(2) { opacity: 0; }
.hamburger-open .ham-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 24px; }

/* ---- Section Label ---- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b91c1c;
  border-left: 2px solid #b91c1c;
  padding-left: 10px;
}

/* ---- Hero ---- */
.hero-section { background: #0d0d0d; }
.hero-bg { background-size: cover; background-position: center; }
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.5) 60%,
    rgba(13,13,13,0.2) 100%
  );
}
.hero-badge {
  font-family: 'DM Sans', sans-serif;
}
/* ---- Hero Geometry Rectangles ---- */
.hero-geometry {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.geo-rect {
  position: absolute;
  border: 2px solid rgba(185,28,28,0.35);
  background: rgba(185,28,28,0.04);
}
.geo-rect-1 {
  width: 140px; height: 140px;
  top: 12%; right: 8%;
  border-color: rgba(185,28,28,0.4);
  background: rgba(185,28,28,0.06);
  animation: geoFloat1 8s ease-in-out infinite, geoRotate 20s linear infinite;
}
.geo-rect-2 {
  width: 90px; height: 90px;
  top: 55%; right: 14%;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  animation: geoFloat2 10s ease-in-out infinite, geoRotate 25s linear infinite reverse;
}
.geo-rect-3 {
  width: 220px; height: 70px;
  bottom: 18%; right: 4%;
  border-color: rgba(185,28,28,0.3);
  background: rgba(185,28,28,0.05);
  animation: geoFloat3 12s ease-in-out infinite;
}
.geo-rect-4 {
  width: 60px; height: 180px;
  top: 22%; right: 28%;
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  animation: geoFloat1 14s ease-in-out infinite reverse, geoRotate 30s linear infinite;
}
.geo-rect-5 {
  width: 100px; height: 100px;
  bottom: 28%; right: 22%;
  border-color: rgba(185,28,28,0.3);
  background: rgba(185,28,28,0.07);
  animation: geoFloat2 9s ease-in-out infinite, geoRotate 18s linear infinite;
}

@keyframes geoFloat1 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}
@keyframes geoFloat2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(15px) translateX(-8px); }
}
@keyframes geoFloat3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(15px); }
}
@keyframes geoRotate {
  0% { rotate: 0deg; }
  100% { rotate: 360deg; }
}

/* ---- Section overflow guard (prevents horizontal scroll from GSAP slide-in elements) ---- */
#about_1,
#features_1,
#faq_1,
#contact_1 {
  overflow-x: hidden;
}

/* ---- Light section overrides ---- */
.bg-light-section {
  background-color: var(--light-section);
}
.bg-light-section .section-label {
  color: #b91c1c;
  border-color: #b91c1c;
}
.bg-light-section h2,
.bg-light-section h3 {
  color: #111111;
}
.bg-light-section p,
.bg-light-section .text-white\/60,
.bg-light-section .text-white\/50 {
  color: #444444 !important;
}
.bg-light-section .about-img-inner {
  border-color: #d8d4ce;
}
.bg-light-section .stat-item {
  border-top-color: rgba(0,0,0,0.1);
}
.bg-light-section .stat-value {
  color: #111111;
}
.bg-light-section .stat-label {
  color: #777777;
}
.bg-light-section .gallery-card {
  border-color: #d8d4ce;
}

/* ---- Grey section overrides ---- */
.bg-grey-section {
  background-color: var(--grey-section);
}
.bg-grey-section .service-card,
.bg-grey-section .ig-card {
  background: #3a3a3a;
  border-color: #555555;
}
.bg-grey-section .service-card:hover {
  border-color: rgba(185,28,28,0.5);
}
.bg-grey-section .ig-card {
  border-color: #555555;
}

/* ---- About ---- */
.about-img-frame { position: relative; }
.about-img-inner img { transition: transform 0.6s ease; }
.about-img-inner:hover img { transform: scale(1.04); }

.stat-item {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}
.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
}

/* ---- Word-based stats ---- */
.stat-word {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

/* ---- Instagram Embed Modal ---- */
.ig-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ig-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.ig-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.ig-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
}
.ig-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.ig-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ---- CTA White Overlay ---- */
.cta-white-overlay {
  background: rgba(255, 255, 255, 0.4);
}

/* ---- Services ---- */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.service-card:hover {
  border-color: rgba(185,28,28,0.4);
  transform: translateY(-4px);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.5rem; }
.service-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(185,28,28,0.1);
  border: 1px solid rgba(185,28,28,0.2);
  border-radius: 2px;
  margin-bottom: 1rem;
  color: #b91c1c;
  transition: background 0.3s ease;
}
.service-card:hover .service-card-icon { background: rgba(185,28,28,0.2); }
.service-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.service-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.service-card.featured {
  border-color: rgba(185,28,28,0.3);
}
.service-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: #b91c1c;
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
}

/* ---- Grid background pattern ---- */
.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---- Section curve divider ---- */
.section-curve-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.section-curve-bottom svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* ---- Features ---- */
.feature-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(185,28,28,0.3);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(185,28,28,0.08);
  border: 1px solid rgba(185,28,28,0.15);
  border-radius: 2px;
  color: #b91c1c;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}
.feature-card:hover .feature-icon { background: rgba(185,28,28,0.18); }
.feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ---- Gallery ---- */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
  cursor: pointer;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background 0.4s ease;
}
.gallery-card:hover .gallery-overlay { background: rgba(13,13,13,0.7); }
.gallery-caption {
  font-size: 0.8rem;
  color: rgba(255,255,255,0);
  transition: color 0.4s ease;
  line-height: 1.4;
}
.gallery-card:hover .gallery-caption { color: rgba(255,255,255,0.85); }
.gallery-cat {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b91c1c;
  margin-bottom: 0.35rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-card:hover .gallery-cat { opacity: 1; }
.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---- Testimonials ---- */
.testimonial-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(185,28,28,0.3);
  transform: translateY(-4px);
}
.testimonial-quote-icon {
  color: #b91c1c;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  flex: 1;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-star {
  color: #b91c1c;
  width: 14px;
  height: 14px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.testimonial-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: #fff;
}
.testimonial-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ---- Instagram Grid ---- */
.ig-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1/1;
  border: 1px solid #333333;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.ig-card:hover img { transform: scale(1.08); }

/* Always-visible Instagram badge top-right */
.ig-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.ig-card:hover .ig-badge {
  background: #b91c1c;
  transform: scale(1.1);
}

/* Overlay with "View on Instagram" label */
.ig-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1rem;
  transition: background 0.35s ease;
}
.ig-card:hover .ig-card-overlay { background: rgba(0,0,0,0.5); }

.ig-view-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #b91c1c;
  padding: 5px 12px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.ig-card:hover .ig-view-label {
  opacity: 1;
  transform: translateY(0);
}

/* Border glow on hover */
.ig-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.ig-card:hover::after {
  border-color: rgba(185,28,28,0.6);
}

/* ---- CTA Banner ---- */
.cta-section { background: #0d0d0d; }
.cta-bg { background-size: cover; background-position: center; }
.cta-overlay {
  background: rgba(13,13,13,0.78);
}
.cta-btn {
  box-shadow: 0 2px 8px rgba(185,28,28,0.15);
  opacity: 1 !important;
  transform: none !important;
}
.cta-btn:hover { box-shadow: 0 4px 16px rgba(185,28,28,0.25); }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover,
.faq-item.open {
  border-color: rgba(185,28,28,0.3);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: #b91c1c;
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: rgba(255,255,255,0.4);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #b91c1c;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

/* ---- Contact (white background) ---- */
.contact-section-white {
  background: #ffffff;
  color: #111111;
}
.contact-section-white .section-label {
  color: #b91c1c;
  border-color: #b91c1c;
}
.contact-section-white h2 {
  color: #111111;
}
.contact-section-white p {
  color: #444444;
}
.contact-section-white .form-label {
  color: #666666;
}
.contact-section-white .form-input {
  background: #f7f5f2;
  border-color: #e0ddd8;
  color: #111111;
}
.contact-section-white .form-input::placeholder {
  color: #aaaaaa;
}
.contact-section-white .form-input:focus {
  border-color: rgba(185,28,28,0.5);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.07);
}

/* ---- Contact ---- */
.contact-card {
  text-decoration: none;
  display: flex;
  opacity: 1 !important;
  transform: none !important;
}
.contact-map {
  opacity: 1 !important;
  transform: none !important;
}
.contact-map iframe { display: block; }

.contact-form-wrap {
  background: #ffffff !important;
  border-color: #e5e2dd;
}
.contact-form-wrap .contact-form-title {
  color: #111111;
}
.contact-form-wrap .form-label {
  color: #666666;
}
.contact-form-wrap .form-input {
  background: #f7f5f2;
  border-color: #e0ddd8;
  color: #111111;
}
.contact-form-wrap .form-input::placeholder { color: #aaaaaa; }
.contact-form-wrap .form-input:focus {
  border-color: rgba(185,28,28,0.5);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.07);
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus {
  border-color: rgba(185,28,28,0.6);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit-btn { cursor: pointer; border: none; }
.form-success { display: none; }
.form-success.visible { display: block; }

/* ---- Footer ---- */
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-link:hover { color: #fff; }
.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.social-link:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ---- Scroll to top ---- */
.scroll-top-btn {
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(13,13,13,0.7);
  }
  .stat-value {
    font-size: 1.8rem;
  }
  .stat-word {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0 1.25rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1.25rem 1rem;
  }
  .faq-answer p {
    font-size: 0.85rem;
  }
  .service-card-body {
    padding: 1.25rem;
  }
  .service-card-title {
    font-size: 1.1rem;
  }
  .service-card-desc {
    font-size: 0.8rem;
  }
  .feature-card {
    padding: 1.25rem;
  }
  .feature-title {
    font-size: 1rem;
  }
  .feature-desc {
    font-size: 0.8rem;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-text {
    font-size: 0.85rem;
  }
  .geo-rect-1 { width: 80px; height: 80px; }
  .geo-rect-2 { width: 50px; height: 50px; }
  .geo-rect-3 { width: 120px; height: 40px; }
  .geo-rect-4 { width: 35px; height: 100px; }
  .geo-rect-5 { width: 60px; height: 60px; }
}

@media (max-width: 480px) {
  .stat-word {
    font-size: 1.2rem;
  }
  .hero-badge {
    font-size: 0.6rem;
  }
  .ig-modal-content {
    width: 95%;
  }
  .ig-modal-close {
    top: -36px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
