/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 50px;
  box-sizing: border-box;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 16px 50px;
}
.nav-logo {
  font-family: var(--font-big-shoulders-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-azoft-sans);
  font-size: 18px;
  color: #000;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.nav-link:hover {
  background: #000;
  color: #fff;
}
.nav-cta {
  font-family: var(--font-azoft-sans);
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.25s;
}
.nav-cta:hover {
  opacity: 0.5;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #000;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 50px 60px;
  box-sizing: border-box;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0;
  right: -50px;
  width: 450px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}
.mibrain-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top right;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-text {
  text-align: right;
  font-family: var(--font-azoft-sans);
  font-size: 26px;
  line-height: 1.45;
  color: #000;
  z-index: 5;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.hero-text-last {
  line-height: 1;
}
.hero-image {
  width: 100%;
  overflow: hidden;
  margin-top: -5px;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-image:hover img {
  transform: scale(1.02);
}
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #999;
  animation: bounce 2s infinite;
  z-index: 2;
  text-decoration: none;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== ABOUT US ==================== */
.about {
  padding: 100px 0 80px;
}
.about .section-header {
  padding: 0 80px;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.about-content {
  padding: 0 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}
.section-num {
  font-family: var(--font-dm-mono);
  font-size: 24px;
  color: rgba(0,0,0,0.5);
  letter-spacing: -0.05em;
}
.section-title {
  font-family: var(--font-big-shoulders-display);
  font-size: 68px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000;
  margin: -6px 0 0;
  line-height: 1;
}
.about-text {
  font-family: var(--font-azoft-sans);
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: right;
  max-width: 900px;
  align-self: flex-end;
  color: #000;
}
.about-principle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.principle-label {
  font-family: var(--font-dm-mono);
  font-size: 18px;
  text-transform: uppercase;
  color: #000;
}
.principle-img {
  width: 500px;
  max-width: 100%;
  height: auto;
}

/* ==================== PORTFOLIO ==================== */
.portfolio {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.portfolio .section-header {
  padding: 0 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-slider {
  margin-top: 30px;
  overflow: hidden;
  position: relative;
  height: 670px;
}
.portfolio-track {
  display: flex;
  gap: 36px;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}
.portfolio-track:active {
  cursor: grabbing;
}

.portfolio-card {
  flex-shrink: 0;
  width: 380px;
  display: flex;
  flex-direction: column;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-card.card-main {
  width: 640px;
}
.card-visual {
  position: relative;
  transition: transform 0.4s;
}
.portfolio-card:hover .card-visual {
  transform: scale(0.98);
}
.card-category {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.card-category span {
  display: inline-block;
  font-family: var(--font-dm-mono);
  font-size: 16px;
  font-weight: 500;
  color: #000;
  background: #fff;
  padding: 6px 10px;
  border: 1px solid #000;
  border-bottom: none;
}
.card-media {
  width: 100%;
  aspect-ratio: 4/3;
  background: #000;
}
.card-info {
  padding: 10px 0 0;
}
.card-info-center {
  text-align: center;
  padding-top: 20px;
}
.card-company {
  font-family: var(--font-big-shoulders-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000;
  margin: 0;
}
.card-company-lg {
  font-family: var(--font-big-shoulders-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000;
  margin: 0;
}
.card-desc {
  font-family: var(--font-dm-mono);
  font-size: 14px;
  color: rgba(0,0,0,0.4);
  margin: -2px 0 0;
}
.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #000;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: #000;
}
.dot:hover {
  transform: scale(1.3);
}

/* ==================== PRICE ==================== */
.price-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.price-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 400px;
  height: 100%;
  background: url('./resource/mibrain-back.png') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}
.price-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-body {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}
.price-table {
  flex: 1;
  background: #000;
  padding: 36px 50px;
  display: flex;
  flex-direction: column;
}
.price-categories {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-self: flex-start;
  flex-shrink: 0;
  gap: 10px;
  padding-right: 20px;
}
.price-cat {
  font-family: var(--font-dm-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.price-amount-group {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.price-per {
  position: absolute;
  top: 100%;
  right: 0;
  font-family: var(--font-dm-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-top: 2px;
}
.price-row {
  padding: 20px 0;
  border-bottom: 0.7px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
}
.price-row:last-child {
  border-bottom: 0.7px solid rgba(255,255,255,0.3);
}
.price-row-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.price-name {
  font-family: var(--font-big-shoulders-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
}
.price-amount {
  font-family: var(--font-big-shoulders-display);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}
.price-desc {
  font-family: var(--font-dm-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin: -4px 0 0;
  letter-spacing: 0.01em;
}
.price-from {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 40px;
}
.from-label {
  font-family: var(--font-dm-mono);
  font-size: 18px;
  color: rgba(0,0,0,0.4);
}
.from-amount {
  font-family: var(--font-big-shoulders-display);
  font-size: 48px;
  font-weight: 700;
  color: #000;
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: '';
  position: absolute;
  top: 0;
  right: -80px;
  width: 350px;
  height: 100%;
  background: url('./resource/mibrain-back.png') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}
.contact-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  z-index: 1;
}
.contact-title {
  font-family: var(--font-azoft-sans);
  font-size: 110px;
  font-weight: 700;
  line-height: 0.82;
  text-transform: lowercase;
  color: #000;
  margin: 0 0 80px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  align-items: baseline;
  gap: 40px;
}
.form-label {
  font-family: var(--font-azoft-sans);
  font-size: 34px;
  text-transform: lowercase;
  color: #000;
  flex-shrink: 0;
  min-width: 300px;
}
.form-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  font-family: var(--font-azoft-sans);
  font-size: 22px;
  padding: 8px 0;
  outline: none;
  color: #000;
  transition: border-color 0.3s;
  max-width: 650px;
}
.form-input::placeholder {
  color: rgba(0,0,0,0.35);
}
.form-input:focus {
  border-bottom-color: #555;
}
.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 650px;
}
.form-error {
  font-family: var(--font-dm-mono);
  font-size: 12px;
  color: #000;
  letter-spacing: 0.08em;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.form-field.has-error .form-input {
  border-bottom-color: #000;
}
.form-field.has-error .form-error {
  opacity: 1;
  transform: translateY(0);
}
.form-submit {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
.submit-btn {
  font-family: var(--font-azoft-sans);
  font-size: 28px;
  text-transform: lowercase;
  color: #000;
  background: transparent;
  border: 1px solid #000;
  padding: 14px 50px;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, transform 0.2s;
}
.submit-btn:hover {
  background: #000;
  color: #fff;
  transform: scale(1.02);
}
.submit-btn:active {
  transform: scale(0.98);
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-question {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px 30px;
}
.footer-question h2 {
  font-family: "Century Gothic", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
  color: #000;
  margin: 0;
}
.footer-bottom {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.footer-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.footer-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.footer-right {
  position: absolute;
  right: 24px;
  top: 60%;
  transform: translateY(-50%);
  z-index: 1;
}
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-link {
  font-family: "Century Gothic", sans-serif;
  font-size: 42px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: right;
  padding: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.social-link:hover {
  opacity: 0.6;
  transform: translateX(-4px);
}
.footer-copy {
  background: #000;
  padding: 0 0;
}
.footer-copy p {
  font-family: var(--font-azoft-sans);
  font-size: 18px;
  color: rgba(255,255,255,0.25);
  text-transform: lowercase;
  margin: 0;
}

/* ==================== PORTFOLIO LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 0.5; }
.lightbox-counter {
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: var(--font-dm-mono);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  width: 90%;
  transition: opacity 0.25s, transform 0.25s;
}
.lightbox-content.switching {
  opacity: 0;
  transform: scale(0.97);
}
.lightbox-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lightbox-category {
  font-family: var(--font-dm-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lightbox-title {
  font-family: var(--font-big-shoulders-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.lightbox-desc {
  font-family: var(--font-dm-mono);
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-dm-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  animation: hintFade 3s forwards;
}
@keyframes hintFade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 768px) {
  .lightbox-nav { display: none; }
  .lightbox-close { top: 16px; right: 20px; font-size: 32px; }
  .lightbox-counter { top: 20px; left: 20px; }
  .lightbox-title { font-size: 28px; }
  .lightbox-hint { bottom: 20px; }
}

/* ==================== ANIMATIONS ==================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-up.visible,
.anim-fade-right.visible,
.anim-fade-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children animations */
.about-content .anim-fade-up:nth-child(1) { transition-delay: 0.1s; }
.about-content .anim-fade-right { transition-delay: 0.2s; }
.contact-form .anim-fade-up:nth-child(1) { transition-delay: 0.1s; }
.contact-form .anim-fade-up:nth-child(2) { transition-delay: 0.2s; }
.contact-form .anim-fade-up:nth-child(3) { transition-delay: 0.3s; }
.contact-form .anim-fade-up:nth-child(4) { transition-delay: 0.4s; }

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: #fff;
  padding: 50px 60px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.show .modal {
  transform: scale(1);
}
.modal h3 {
  font-family: var(--font-big-shoulders-display);
  font-size: 48px;
  margin: 0 0 10px;
}
.modal p {
  font-family: var(--font-dm-mono);
  font-size: 18px;
  color: #555;
  margin: 0 0 30px;
}
.modal-close {
  font-family: var(--font-azoft-sans);
  font-size: 20px;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 50px;
  cursor: pointer;
  transition: opacity 0.25s;
}
.modal-close:hover {
  opacity: 0.8;
}

/* ==================== MOBILE MENU ==================== */
.menu-open .navbar {
  backdrop-filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.menu-open .nav-links,
.menu-open .nav-cta {
  display: flex !important;
}
.menu-open .nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 99;
}
.nav-link-cta {
  display: none !important;
}
.menu-open .nav-links .nav-link {
  font-size: 32px;
  padding: 14px 24px;
}
.menu-open .nav-links .nav-link-cta {
  display: inline-block !important;
  margin-top: 30px;
  font-size: 18px;
  background: #000;
  color: #fff !important;
  padding: 16px 50px;
  border-radius: 0;
}
.menu-open .nav-cta {
  display: none !important;
}
.menu-open .burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-open .burger span:nth-child(2) {
  opacity: 0;
}
.menu-open .burger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 1401px) {
  .portfolio-card { width: 480px; }
  .portfolio-card.card-main { width: 800px; }
  .portfolio-slider { height: 820px; }
}

@media (max-width: 1200px) {
  .price-body {
    flex-direction: column;
  }
  .price-categories {
    flex-direction: row;
    align-self: auto;
    justify-content: flex-start;
    padding-right: 0;
    padding-bottom: 12px;
    gap: 14px;
  }
  .price-cat {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 12px;
  }
  .price-from {
    margin-left: 0;
    margin-top: 16px;
    flex-direction: row;
    gap: 12px;
    align-items: baseline;
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 100px 30px 50px; }
  .about { padding: 80px 0 60px; }
  .about .section-header { padding: 0 40px; }
  .about-content { padding: 0 40px; }
  .portfolio { padding: 60px 0; }
  .portfolio .section-header { padding: 0 40px; }
  .price-section { padding: 60px 0; }
  .price-wrapper { padding: 0 40px; }
  .contact { padding: 80px 0; }
  .contact-wrapper { padding: 0 40px; }
  .footer { padding: 60px 0 0; }
  .footer-question { padding: 0 40px 30px; max-width: none; }
  .about-text { font-size: 28px; }
  .contact-title { font-size: 80px; }
  .section-title { font-size: 56px; }
}

@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-logo { font-size: 28px; }
  .hero { padding: 80px 20px 40px; }
  .hero-content { padding-top: 30px; gap: 12px; }
  .hero-text { font-size: 20px; }
  .about { padding: 60px 0 50px; }
  .about .section-header { padding: 0 24px; }
  .about-content { padding: 0 24px; }
  .about-text { font-size: 22px; }
  .section-title { font-size: 46px; }
  .portfolio { padding: 50px 0; }
  .portfolio .section-header { padding: 0 24px; }
  .portfolio-card { width: 280px; }
  .portfolio-card.card-main { width: 420px; }
  .portfolio-slider { height: 420px; }
  .portfolio-dots { bottom: 10px; }
  .price-section { padding: 50px 0; }
  .price-wrapper { padding: 0 24px; }
  .price-name, .price-amount { font-size: 30px; }
  .contact { padding: 60px 0; }
  .contact-wrapper { padding: 0 24px; }
  .contact-title { font-size: 60px; }
  .form-group { flex-direction: column; gap: 8px; }
  .form-label { font-size: 26px; min-width: auto; }
  .form-field { max-width: 100%; width: 100%; }
  .form-input { max-width: 100%; font-size: 18px; width: 100%; }
  .contact-form { max-width: 100%; }
  .footer-question h2 { font-size: 34px; }
  .footer-question { padding: 0 24px 30px; max-width: none; }
  .footer-bottom { aspect-ratio: 3 / 2; }
  .footer-socials { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .footer-right { right: 16px; bottom: 16px; }
  .social-link { font-size: 20px; }
  .portfolio-dots { padding-right: 0; }
}

@media (max-width: 480px) {
  .hero { padding: 70px 20px 30px; min-height: auto; }
  .hero-content { padding-top: 0px; gap: 0px; }
  .hero-text { font-size: 17px; }
  .hero-background { width: 250px; right: -30px; }
  .portfolio-card { width: 240px; }
  .portfolio-card.card-main { width: 360px; }
  .portfolio-slider { height: 390px; }
  .portfolio-dots { bottom: 12px; }
  .section-title { font-size: 36px; }
  .about-text { font-size: 18px; }
  .principle-img { width: 100%; }
  .price-name, .price-amount { font-size: 24px; }
  .price-table { padding: 24px 20px; }
  .contact { padding: 50px 0; }
  .contact-title { font-size: 44px; margin-bottom: 40px; }
  .form-label { font-size: 18px; }
  .form-input { font-size: 16px; }
  .submit-btn { font-size: 20px; width: 100%; }
  .footer-question h2 { font-size: 26px; }
  .card-company-lg { font-size: 30px; }
  .footer-right { right: 16px; bottom: 16px; }
  .footer { padding-bottom: 0; }
  .footer-copy { margin-bottom: 0; padding-bottom: 0; }
  .menu-open .nav-links .nav-link { font-size: 28px; }
  .price-desc { font-size: 11px; margin-top: 2px; }
}
