/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: 'Inter', sans-serif;
  color: #313131;
  background: #f8f9fa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: transparent; transition: all 0.3s;
}
.header--scrolled {
  background: rgba(50, 55, 60, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
}
.header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.header__logo { height: 40px; }
.header__nav { display: flex; gap: 2rem; }
.header__nav a {
  color: #e8e8e8; font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.header__nav a:hover { color: #28a745; }
.header__hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.header__hamburger span {
  display: block; width: 24px; height: 2px; background: #e8e8e8;
  transition: all 0.3s;
}
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header__mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: rgba(50,55,60,0.98); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.header__mobile-nav a {
  color: #e8e8e8; font-size: 0.875rem; font-weight: 500;
  padding: 0.75rem 1rem; transition: color 0.2s;
}
.header__mobile-nav a:hover { color: #28a745; }
.header__mobile-nav.open { display: flex; }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
}

/* ===== Button ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 1rem;
  padding: 1rem 2rem; border-radius: 0.5rem; transition: all 0.2s;
  cursor: pointer; border: none;
}
.btn--primary {
  background: #28a745; color: #fff;
  box-shadow: 0 4px 14px rgba(40,167,69,0.3);
}
.btn--primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../assets/images/1394581078.jpg') center/cover no-repeat;
  top: -10%; bottom: -10%;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(50,55,60,0.92), rgba(50,55,60,0.7), rgba(50,55,60,0.4));
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; width: 100%;
}
.hero__inner { max-width: 650px; }
.hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  color: #fff; margin-bottom: 1.5rem; line-height: 1.1;
  text-wrap: balance;
}
.hero__content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; line-height: 1.7;
}
.btn__icon { width: 20px; height: 20px; }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section--light { background: #f8f9fa; }
.section--dark { background: #32373c; color: #e8e8e8; }
.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700;
  text-align: center; margin-bottom: 1rem; color: #313131;
}
.section__title--light { color: #e8e8e8; }
.section__subtitle {
  text-align: center; color: #666; max-width: 40rem; margin: 0 auto 3rem;
}
.section__subtitle--light { color: rgba(232,232,232,0.6); }

/* ===== Services Tabs ===== */
.svc-tabs {
  display: flex; justify-content: center; gap: 0; border-bottom: 1px solid #e9ecef; margin-bottom: 2.5rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.svc-tabs__btn {
  padding: 1rem 1.5rem; font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.95rem; background: none; border: none; cursor: pointer;
  color: #666; position: relative; white-space: nowrap; transition: color 0.2s;
}
.svc-tabs__btn:hover { color: #313131; }
.svc-tabs__btn--active { color: #28a745; }
.svc-tabs__btn--active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: #28a745; border-radius: 3px 3px 0 0;
}
.svc-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: #fff; border-radius: 1rem; border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 3rem;
  animation: svcFadeIn 0.35s ease-out;
}
.svc-panel--hidden { display: none; }
@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-panel__text { display: flex; flex-direction: column; gap: 1.25rem; }
.svc-panel__header { display: flex; align-items: center; gap: 1rem; }
.svc-panel__icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
  background: rgba(40,167,69,0.1); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.svc-panel__icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.svc-panel__header h3 { font-size: 1.5rem; font-weight: 700; color: #313131; }
.svc-panel__text > p { color: #666; line-height: 1.7; }
.svc-panel__highlights { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.svc-panel__highlights li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: #313131; }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; background: #28a745; flex-shrink: 0; }
.btn--sm { font-size: 0.875rem; padding: 0.75rem 1.5rem; }
.svc-panel__visual {
  position: relative; border-radius: 1rem; overflow: hidden;
  background: #f0f1f3; aspect-ratio: 1/1;
}
.svc-panel__img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  display: block;
}

@media (max-width: 768px) {
  .svc-tabs { gap: 0; }
  .svc-tabs__btn { font-size: 0.8rem; padding: 0.75rem 1rem; }
  .svc-panel { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
}

/* ===== About ===== */
.about-section { position: relative; overflow: hidden; }
.about-section__accent {
  position: absolute; top: 0; right: 0; width: 33%; height: 100%;
  background: rgba(40,167,69,0.05); transform: skewX(-12deg) translateX(5rem);
}
.about-grid {
  display: flex; align-items: center; gap: 4rem; position: relative; z-index: 1;
}
.about-text { flex: 1; }
.about-label {
  color: #28a745; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem;
  display: block;
}
.about-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 1.5rem;
}
.about-text p { color: rgba(232,232,232,0.75); font-size: 1.1rem; line-height: 1.8; }
.about-stats { display: flex; gap: 3rem; margin-top: 2rem; }
.about-stats span { font-size: 1.875rem; font-weight: 800; color: #28a745; display: block; }
.about-stats p { color: rgba(232,232,232,0.6); font-size: 0.875rem; margin-top: 0.25rem; }
.about-image { flex: 1; position: relative; }
.about-image img { border-radius: 0.75rem; box-shadow: 0 10px 40px rgba(0,0,0,0.3); width: 100%; object-fit: cover; }
.about-image__frame {
  position: absolute; bottom: -1rem; left: -1rem; width: 6rem; height: 6rem;
  border: 2px solid #28a745; border-radius: 0.75rem;
}

@media (max-width: 768px) {
  .about-grid { flex-direction: column; }
  .about-section__accent { display: none; }
  .about-image__frame { display: none; }
}

/* ===== Logo Grid ===== */
.logo-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3rem;
}
.logo-grid img {
  height: 5rem; object-fit: contain; filter: grayscale(100%); opacity: 0.6;
  transition: all 0.3s;
}
.logo-grid img:hover { filter: grayscale(0); opacity: 1; }
.section__divider { border: none; border-top: 1px solid #e9ecef; margin: 4rem 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon-wrap {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: rgba(40,167,69,0.15); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: background 0.3s;
}
.contact-item:hover .contact-icon-wrap { background: rgba(40,167,69,0.25); }
.contact-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-item a, .contact-item p { color: rgba(232,232,232,0.75); transition: color 0.2s; }
.contact-item a:hover { color: #28a745; }
.contact-map {
  border-radius: 0.75rem; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3); min-height: 320px;
  outline: 1px solid rgba(232,232,232,0.1);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
  background: #32373c; border-top: 1px solid rgba(255,255,255,0.1); padding: 2rem 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__logo { height: 32px; }
.footer p { color: rgba(232,232,232,0.6); font-size: 0.875rem; }

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; text-align: center; }
}
