@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --red: #B22222;
  --red-dark: #8B0000;
  --black: #111111;
  --white: #FFFFFF;
  --off-white: #F7F7F7;
  --gray: #555555;
  --gray-light: #E5E5E5;
  --font: 'Inter', sans-serif;
  --max-width: 1100px;
  --nav-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--gray); line-height: 1.75; }

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

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }

/* --- NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); transition: all 0.3s; }

/* --- HERO (Home) --- */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 80px) 1.5rem 80px;
}
.hero-content { max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-brand {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.label-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 540px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- SERVICES --- */
.services { background: var(--white); }
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.4rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
}
.service-card { background: var(--white); padding: 2.5rem 2rem; transition: background 0.2s; }
.service-card:hover { background: var(--off-white); }
.service-line { width: 28px; height: 3px; background: var(--red); margin-bottom: 1.25rem; }
.service-card h3 { color: var(--black); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; }

/* --- CTA BANNER --- */
.cta-banner { background: var(--red); padding: 70px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.cta-text h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-height) + 70px) 0 70px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 540px; margin: 1rem auto 0; font-size: 1rem; }

/* --- QUALIFICATIONS --- */
.quals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.qual-card {
  border-left: 3px solid var(--red);
  padding: 1.75rem;
  background: var(--off-white);
}
.qual-card h3 { color: var(--black); margin-bottom: 0.4rem; font-size: 0.95rem; }
.qual-card p { font-size: 0.875rem; }

.partners-section { background: var(--off-white); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.partner-badge {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 2rem 1.5rem;
  text-align: center;
}
.partner-badge h3 { font-size: 1rem; color: var(--black); }
.partner-badge p { font-size: 0.82rem; margin-top: 0.3rem; }

.stat-bar { background: var(--black); padding: 60px 0; }
.stat-inner { display: flex; gap: 5rem; flex-wrap: wrap; }
.stat { }
.stat-num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.4rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* --- PROJECTS --- */
.projects-intro { max-width: 620px; margin-bottom: 3rem; }
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.project-item {
  border: 1px solid var(--gray-light);
  padding: 2rem;
  position: relative;
}
.project-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--red);
}
.project-item h3 { color: var(--black); margin-bottom: 0.4rem; }
.project-item p { font-size: 0.875rem; }

.gallery-coming {
  background: var(--off-white);
  border: 2px dashed var(--gray-light);
  padding: 5rem 2rem;
  text-align: center;
}
.gallery-coming h3 { font-size: 1.1rem; color: var(--black); margin-bottom: 0.5rem; }
.gallery-coming p { font-size: 0.9rem; max-width: 400px; margin: 0 auto; }

/* --- CONTACT --- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 2rem; }
.info-block { margin-bottom: 1.75rem; }
.info-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}
.info-block p, .info-block a {
  font-size: 0.925rem;
  color: var(--gray);
  display: block;
  line-height: 1.65;
}
.info-block a:hover { color: var(--red); }
.owner-cards { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.owner-card {
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.25rem;
  background: var(--off-white);
}
.owner-card strong { display: block; color: var(--black); font-size: 0.9rem; margin-bottom: 0.2rem; }
.owner-card a { font-size: 0.85rem; color: var(--gray); display: block; line-height: 1.6; }
.owner-card a:hover { color: var(--red); }

.contact-form .form-group { margin-bottom: 1.4rem; }
.contact-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  font-family: var(--font);
  font-size: 0.925rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-success {
  display: none;
  background: #f0f9f0;
  border: 1px solid #a3c9a3;
  color: #2a5e2a;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-radius: 2px;
}

/* --- FOOTER --- */
footer { background: var(--black); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; background: var(--white); padding: 6px 12px; border-radius: 2px; }
.footer-col > p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-col address { font-style: normal; }
.footer-col address p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.75; }
.footer-col address a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-col address a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions { flex-direction: column; width: fit-content; }
  .stat-inner { gap: 2.5rem; }
}
@media (max-width: 480px) {
  .quals-grid, .project-list, .partners-grid { grid-template-columns: 1fr; }
}
