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

:root {
  --off-white:    #F8F6F2;
  --surface:      #EEECEA;
  --surface-dim:  #E4E4E4;
  --light-gray:   #D9DADC;
  --primary:      #6B7280;
  --blue:         #2563EB;
  --primary-dark: #4B5563;
  --border:       #DBDBDB;
  --border-dark:  #2a2a2a;
  --ink:          #101010;
  --navy:         #34354B;
  --text:         #111111;
  --text-muted:   #707070;
  --text-subtle:  #919191;
  --white:        #ffffff;
  --error:        #c0392b;
  --radius:       10px;
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0 0 0; }
.section-alt { background: var(--light-gray); }

/* ── Header / Nav ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--border-dark);
  overflow: clip;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header-logo {
  display: flex;
  align-items: center;
  background: var(--primary);
  margin-left: min(-1.5rem, calc(-50vw + 540px - 1.5rem));
  padding-left: max(1.5rem, calc(50vw - 540px + 1.5rem));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-right: 2.5rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.75rem) 100%, 0 100%);
}

#header-logo img {
  height: 2.5rem;
  width: auto;
  display: block;
}

nav { 
  display: flex;
  gap: 2rem; 
  padding: 1rem 0;
}

nav a {
  color: var(--off-white);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--text-subtle); text-decoration: none; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: var(--ink) url('assets/4.jpeg') center/cover no-repeat;
  padding: 18rem 0 4rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-logo {
  height: clamp(3rem, 8vw, 5.5rem);
  width: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-full { width: 100%; text-align: center; }

/* ── Foreground corner ───────────────────────────── */
.hero { position: relative; overflow: hidden; }

.foreground {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: rgba(228, 228, 228, 0.18);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* ── About ───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { font-size: 2rem; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-images img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-images img:nth-child(3) {
  grid-column: 1 / -1;
  height: 220px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: var(--light-gray);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Services ────────────────────────────────────── */
.section-title {
  font-size: 2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Contact ─────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: 2rem; color: var(--text); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details a { color: var(--blue); }

/* ── Form ────────────────────────────────────────── */
.contact-form {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.required { color: var(--primary); }

input, textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

input.invalid, textarea.invalid {
  border-color: var(--error);
}

.error-msg {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--error);
  min-height: 1em;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface-dim);
  color: var(--text);
  border-radius: var(--radius);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  text-align: center;
}

.form-error {
  background: #fde8e8;
  color: var(--error);
}

.cf-turnstile {
  margin-bottom: 1.25rem;
}

/* ── Lightbox ────────────────────────────────────── */
.lightbox-trigger {
  cursor: zoom-in;
}

#lightbox {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

#lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--text-subtle);
  text-align: center;
  padding: 2rem 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .two-col,
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-images img { height: 280px; }

  .services-grid { grid-template-columns: 1fr; }

  nav { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .site-header .container { flex-direction: column; gap: 0.1rem; }
  .hero { padding: 5rem 0 4rem; }

  #header-logo {
    background: none;
    clip-path: none;
    margin-left: 0;
    padding: 0.25rem 0;
    justify-content: center;
    width: 100%;
  }

  #header-logo img {
    height: 3.5rem;
    width: auto;
  }

  nav { padding: 0.25rem 0; gap: 1.25rem; }
}
