:root {
  --primary: #1a2238;
  --accent: #c9a96e;
  --accent-hover: #a88a52;
  --accent-light: #f7f2e8;
  --text: #3d3d3d;
  --text-light: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f9f7f3;
  --bg-dark: #1a2238;
  --border: #e8e3d8;
  --radius: 4px;
  --max-w: 1100px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: .02em;
}
.logo em { font-style: italic; color: var(--accent); font-weight: 500; }

nav { display: flex; gap: 2.2rem; align-items: center; }
nav a {
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
  padding: .4rem 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
nav a:hover, nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* Hero */
.hero {
  position: relative;
  padding: 7rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,34,56,.94), rgba(40,52,84,.82));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
  opacity: .95;
}
.hero-sm { padding: 4.5rem 0; }
.hero-sm h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.btn {
  display: inline-block;
  padding: .9rem 2.4rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-dark { background: var(--primary); }
.btn-dark:hover { background: #0f1421; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections */
section { padding: 5.5rem 0; }
section.alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .6rem;
  letter-spacing: .005em;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.deco {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.6rem;
}
.section-center .deco { margin-left: auto; margin-right: auto; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: box-shadow .3s, transform .2s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .6rem;
}
.card p { font-size: .95rem; color: var(--text-light); }

/* Image card */
.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.img-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.img-card-body { padding: 1.6rem; }
.img-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .5rem;
}
.img-card p { font-size: .92rem; color: var(--text-light); }

/* Photo block */
.photo-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.photo-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-item {
  text-align: center;
  padding: 2rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .5rem;
}
.value-item p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* About-style intro */
.about-intro { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin-bottom: 1.6rem; }

/* Corporate detail box */
.detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
}
.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.4rem;
}
.detail-card dl { margin: 0; }
.detail-card dt {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
  margin-top: 1.2rem;
}
.detail-card dt:first-of-type { margin-top: 0; }
.detail-card dd { margin: 0 0 .2rem; font-size: .95rem; color: var(--text); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--primary);
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.contact-detail { display: flex; gap: .9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-detail svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; margin-top: 3px; fill: none; stroke-width: 1.5; }
.contact-detail p { font-size: .95rem; line-height: 1.7; }
.contact-detail strong { display: block; font-size: .78rem; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .15rem; }

/* Legal content */
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary);
  margin: 2.5rem 0 .8rem;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin: 1.6rem 0 .5rem;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1rem 1.5rem; }
.legal-content li { margin-bottom: .4rem; font-size: .95rem; }

/* CTA Band */
.cta-band {
  background: var(--primary);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.cta-band p {
  opacity: .85;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { color: #fff; font-size: 1.4rem; }
.footer-brand .logo em { color: var(--accent); }
.footer-brand p { font-size: .88rem; margin-top: .9rem; max-width: 320px; line-height: 1.75; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li a { color: #94a3b8; font-size: .88rem; }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2d3a55;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
}

/* 404 */
.error-page { padding: 8rem 0; text-align: center; }
.error-page .code {
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .8rem;
}
.error-page p { color: var(--text-light); margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
  }
  nav.open { display: flex; }
  nav a { padding: .8rem 0; border-bottom: none; }
  .hero h1 { font-size: 2.2rem; }
  .grid-2, .grid-3, .values-grid, .contact-grid, .footer-grid, .grid-4 { grid-template-columns: 1fr; }
  .photo-block img { height: 280px; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}
