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

:root {
  --red: #D41920;
  --red-dark: #B01118;
  --red-light: #F5E6E7;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-400: #A3A3A3;
  --gray-600: #525252;
  --gray-800: #262626;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.nav-logo-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.lang-toggle {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}

.lang-toggle:hover {
  background: var(--red);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 20, 20, 0.92) 0%,
    rgba(20, 20, 20, 0.85) 40%,
    rgba(20, 20, 20, 0.6) 70%,
    rgba(20, 20, 20, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 25, 32, 0.15);
  border: 1px solid rgba(212, 25, 32, 0.3);
  color: var(--red);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.hero-line1 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-line2 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
}

.hero-line3 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  font-family: var(--font);
}

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

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 25, 32, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-full {
  width: 100%;
}

/* ===== Sections ===== */
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--black);
}

.section-title-light {
  color: var(--white);
}

.section-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-sub-light {
  color: rgba(255,255,255,0.6);
}

/* ===== Services (Icon Cards) ===== */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-image > img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Reviews ===== */
.reviews {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.review-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #FBBF24;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
}

.review-platform {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
}

.reviews-cta {
  text-align: center;
  margin-top: 48px;
}

.reviews-cta .btn-outline {
  color: var(--black);
  border-color: var(--gray-200);
}

.reviews-cta .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

/* ===== Gallery Carousel ===== */
.gallery {
  padding: 100px 0 80px;
  background: var(--white);
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius);
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: grab;
}

.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 11px);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn-prev {
  left: 8px;
}

.carousel-btn-next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.2);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
  letter-spacing: 0.02em;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--black);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s;
}

a.contact-card:hover {
  background: rgba(212, 25, 32, 0.1);
  border-color: rgba(212, 25, 32, 0.3);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--red);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.footer-name {
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
}

.footer-tagline {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  color: var(--gray-600);
  font-size: 0.8rem;
  text-align: center;
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-credit-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit-link:hover {
  color: var(--red);
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image > img {
    aspect-ratio: 16/10;
    object-position: center 20%;
  }
  .carousel-slide {
    flex: 0 0 calc(50% - 8px);
  }
  .carousel-wrapper {
    padding: 0 50px;
  }
  .section-sub {
    margin-bottom: 40px;
  }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 640px) {
  /* Nav */
  .nav-inner {
    height: 60px;
  }
  .nav-logo-img {
    height: 36px;
  }
  .logo-text {
    font-size: 0.95rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 4px 0;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  html {
    scroll-padding-top: 64px;
  }
  .container {
    padding: 0 28px;
  }
  .hero {
    min-height: 100svh;
    padding-top: 60px;
  }
  .hero .container {
    padding: 0 32px;
  }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20, 20, 20, 0.88) 0%,
      rgba(20, 20, 20, 0.78) 50%,
      rgba(20, 20, 20, 0.68) 100%
    );
  }
  .hero-content {
    padding: 40px 0;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 24px;
  }
  .hero-line1 {
    font-size: 0.85rem;
  }
  .hero-line2,
  .hero-line3 {
    font-size: 2.4rem;
    word-break: break-word;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    text-align: center;
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* Sections */
  .services, .about, .reviews, .gallery, .contact {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }
  .section-sub {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-card {
    padding: 24px 18px;
  }
  .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }
  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .service-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* About */
  .about-inner {
    gap: 32px;
  }
  .about-image > img {
    aspect-ratio: 4/3;
    object-position: center 15%;
    border-radius: var(--radius-sm);
  }
  .about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }
  .about-text p {
    font-size: 0.92rem;
    margin-bottom: 12px;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .review-card {
    padding: 24px;
  }
  .review-stars {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .review-text {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }
  .reviews-cta {
    margin-top: 32px;
  }
  .reviews-cta .btn-outline {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  /* Carousel */
  .gallery {
    padding: 60px 0 48px;
  }
  .carousel-slide {
    flex: 0 0 100%;
  }
  .carousel-track {
    gap: 0;
  }
  .carousel-wrapper {
    padding: 0 44px;
  }
  .carousel-btn {
    width: 34px;
    height: 34px;
  }
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  .carousel-btn-prev {
    left: 4px;
  }
  .carousel-btn-next {
    right: 4px;
  }
  .carousel-caption {
    font-size: 0.78rem;
    padding: 12px 14px;
  }
  .carousel-dots {
    margin-top: 20px;
    gap: 6px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  .contact-card {
    padding: 16px 18px;
    gap: 12px;
  }
  .contact-value {
    font-size: 0.88rem;
  }
  .contact-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-lg {
    padding: 16px 24px;
    font-size: 1rem;
  }

  /* Lightbox */
  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .lightbox-content {
    max-width: 95vw;
  }
  .lightbox-caption {
    font-size: 0.82rem;
    margin-top: 12px;
  }

  /* Footer */
  .footer {
    padding: 32px 0;
  }
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-logo-img {
    height: 36px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-links a {
    font-size: 0.9rem;
  }
}

/* ===== Small phones ===== */
@media (max-width: 380px) {
  .container {
    padding: 0 20px;
  }
  .hero-line2,
  .hero-line3 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .service-card {
    padding: 20px 14px;
  }
  .service-card h3 {
    font-size: 0.92rem;
  }
  .service-card p {
    font-size: 0.78rem;
  }
  .carousel-wrapper {
    padding: 0 38px;
  }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .review-card,
  .contact-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
  }
  .service-card.visible,
  .review-card.visible,
  .contact-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
