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

:root {
  --dark: #2c2c2c;
  --footer-bg: #4a4a4a;
  --text-body: #555;
  --text-light: #777;
  --border: #ddd;
  --white: #ffffff;
  --serif: 'Times New Roman';
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark);
  line-height: 1.6;
  font-size: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 90vh;
  background: url('../assets/hero-bg.png') center center / cover no-repeat;
  background-color: #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.58) 45%,
    rgba(10, 10, 10, 0.18) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-top {
  position: relative;
  z-index: 1;
  padding: 48px 0;
}

.hero-body {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.hero-body h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-body h1 em { font-style: italic; }

.hero-body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
}

/* Logo */
.logo {
    width: 150px;
    max-width: 70%;
}

/* Hero cards */
.hero-cards {
  position: relative;
  z-index: 10;
  transform: translateY(30%);
}

.hero-cards-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 36px 54px;
  background: #3D3D3D;
  transition: background 0.2s;
}

.hero-card:hover {
  background: #575757;
  cursor: default;
}

.hero-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hero-card-icon {
  flex-shrink: 0;
  color: var(--white);
  opacity: 0.85;
}

.hero-card-icon [data-lucide] {
  width: 44px;
  height: 44px;
  stroke-width: 1.3;
}

.hero-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  line-height: 1.3;
}

.hero-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
#about {
  position: relative;
  z-index: 1;
  background: var(--white);
   margin-bottom: 60px;
}

.about-header {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 60px;
  padding: 170px 64px 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-title h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.18;
  color: var(--dark);
}

.about-title h2 em { font-style: italic; }

.about-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 22px;
}

.about-text p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   SERVICES GRID
───────────────────────────────────────────── */
.services-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

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

.service-card {
  padding: 52px 44px 48px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.service-card:hover {
  background: #f4f4f4;
  border-color: #f4f4f4;
  cursor: default;
}


.service-card-icon {
  color: var(--dark);
  margin-bottom: 36px;
}

.service-card-icon [data-lucide] {
  width: 58px;
  height: 58px;
  stroke-width: 1.3;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   CONTACT / FOOTER
───────────────────────────────────────────── */
#contact {
  background: var(--footer-bg);
  padding: 90px 0 80px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.contact-left h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 52px;
}

.contact-left h2 em { font-style: italic; }

.contact-address {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
}

.contact-address .address-block { margin-bottom: 20px; }

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-field {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  padding: 18px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field::placeholder { color: rgba(255,255,255,0.45); }
.form-field:focus { border-bottom-color: rgba(255,255,255,0.7); }

textarea.form-field {
  resize: none;
  height: 56px;
  font-family: var(--sans);
}

.btn-submit {
  margin-top: 40px;
  align-self: flex-start;
  padding: 14px 36px;
  background: var(--white);
  border: 1.5px solid var(--white);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-submit:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container,
  .hero-cards-inner,
  .services-wrap,
  .contact-inner { padding: 0 40px; }

  .about-header { padding: 80px 40px 60px; }
}

@media (max-width: 900px) {
  #hero { min-height: auto; }
  .hero-cards { transform: none; }
  .hero-cards-inner { grid-template-columns: 1fr; padding: 0; }
  .hero-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px 40px; }

  .about-header { grid-template-columns: 1fr; gap: 36px; padding: 60px 32px 48px; }
  .services-wrap { padding: 0 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 36px 28px; }

  #contact { padding: 60px 0; }
  .contact-inner { grid-template-columns: 1fr; padding: 0 32px; gap: 48px; }
}

@media (max-width: 560px) {
  .container,
  .hero-cards-inner,
  .services-wrap,
  .contact-inner { padding: 0 24px; }

  .about-header { padding: 48px 24px; }
  .services-grid { grid-template-columns: 1fr; }
}
