/* Glycol Services - Shared Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0a4d8c;
  --primary-dark: #073961;
  --accent: #ff7a18;
  --accent-light: #ffa45c;
  --bg-light: #f6f9fc;
  --text-dark: #1c2a3a;
  --text-muted: #5b6b80;
  --white: #ffffff;
  --border: #e3eaf2;
}

body {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--accent); }

.cta-btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.cta-btn:hover { background: #e96a0d; color: var(--white) !important; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 28px;
  opacity: 0.93;
}

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; }
.page-header p { opacity: 0.9; margin-top: 8px; }

/* ============ SECTIONS ============ */
section { padding: 70px 0; }
section.alt { background: var(--bg-light); }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--primary-dark);
}
.section-sub {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  color: var(--text-muted);
}

/* ============ GRID / CARDS ============ */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,77,140,0.10);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 800;
}
.card h3 { color: var(--primary-dark); margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

/* ============ PROSE (legal pages, about) ============ */
.prose {
  max-width: 880px;
  margin: 0 auto;
}
.prose h2 {
  color: var(--primary-dark);
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 1.45rem;
}
.prose h3 {
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.prose p { margin-bottom: 14px; color: var(--text-dark); }
.prose ul { margin: 12px 0 18px 22px; }
.prose ul li { margin-bottom: 8px; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
}
.contact-info h3 { color: var(--primary-dark); margin-bottom: 18px; }
.contact-info p { margin-bottom: 12px; color: var(--text-muted); }
.contact-info strong { color: var(--text-dark); }

form .field { margin-bottom: 16px; }
form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
  font-size: 0.92rem;
}
form input, form textarea, form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--primary);
}
form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
form button:hover { background: #e96a0d; }

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-dark);
  color: #c8d6e6;
  padding: 50px 24px 20px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.footer p, .footer a, .footer li {
  color: #c8d6e6;
  font-size: 0.92rem;
  line-height: 1.9;
}
.footer ul { list-style: none; }
.footer a:hover { color: var(--accent-light); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1d4a73;
  padding-top: 18px;
  margin-top: 35px;
  font-size: 0.88rem;
}

/* Responsive nav */
@media (max-width: 720px) {
  .nav ul { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a { font-size: 0.85rem; }
  .hero h1 { font-size: 2rem; }
  .header-inner { flex-direction: column; gap: 12px; }
}
