/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.85;
}

/* ================= LOGO ================= */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #1a1a1a;
}

.logo-img {
  height: 42px;
}

/* ================= HEADER ================= */
.floating-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1320px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 18px;
  transition: all 0.25s ease;
}

nav a:hover {
  background: rgba(240,240,240,0.9);
}

.contact-btn {
  border: 1px solid #1a1a1a;
  border-radius: 40px;
  padding: 8px 26px;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* ================= HERO ================= */
.hero {
  min-height: 80vh;
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
}

.hero-text {
  position: relative;
  max-width: 720px;
}

.hero h1 {
  font-size: 26px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 15px;
}

.hero .btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: #0f172a;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 70px;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 20px;
}

.section.light {
  background: #f8f9fa;
}

.content {
  max-width: 1320px;
  margin: auto;
}

/* ================= GRID / COLUMNS ================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.two-col.reverse .text { order: 1; }
.two-col.reverse .image { order: 2; }

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-card {
  background: white;
  padding: 24px;
  border-radius: 26px;
}

/* ================= IMAGE REVEAL ================= */
.image {
  opacity: 0;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-left { transform: translateX(-60px); }
.slide-right { transform: translateX(60px); }

.reveal.active .image {
  opacity: 1;
  transform: translateX(0);
}

.image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.14);
}

/* ================= CONTACT ================= */
.contact {
  background: #f8f9fa;
  padding: 100px 20px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.contact-text h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 15px;
  max-width: 520px;
  color: #475569;
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 150px;
}

.contact-form button {
  width: 100%;
  background: #0f172a;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 16px;
  border-radius: 70px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #475569;
}

/* ================= MOBILE NAV ================= */
@media (min-width: 769px) {
  /* Desktop grids */
  .two-col { grid-template-columns: 1fr 1fr; gap: 120px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .contact-inner { grid-template-columns: 1.1fr 0.9fr; gap: 120px; }
  .hero { min-height: 100vh; padding: 0 160px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 190px 160px; }
  .contact { padding: 200px 160px; }
}

/* ================= MOBILE MENU ================= */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 200px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 8px 0;
  }

  .hamburger {
    display: flex;
  }

  .floating-header {
    left: 16px;
    transform: none;
  }
}
