:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --accent: #0ea5e9;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.6px;
}

.nav a {
  padding: 8px 12px;
  margin-left: 6px;
  border-radius: 8px;
  color: var(--muted);
}

.nav a.active, .nav a:hover {
  color: var(--fg);
  background: #f8fafc;
}

/* Hero */
.hero {
  padding: 72px 0 32px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 12px 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* Gallery */
.gallery {
  margin: 32px 0 64px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery figure {
  grid-column: span 4;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery img { 
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-size: 24px;
  margin: 0 0 12px 0;
}

.section p {
  color: var(--muted);
  margin: 0 0 8px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.card {
  grid-column: span 4;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.muted {
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.contact-details {
  grid-column: span 5;
}

.contact-form {
  grid-column: span 7;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--fg);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #0b1220;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 56px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 840px) {
  .gallery figure { grid-column: span 6; }
  .card { grid-column: span 6; }
  .contact-details { grid-column: span 12; }
  .contact-form { grid-column: span 12; }
}

@media (max-width: 520px) {
  .gallery figure { grid-column: span 12; }
  .card { grid-column: span 12; }
}


