/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:   #0e3a8c;
  --blue-main:   #1a56db;
  --blue-light:  #3b82f6;
  --white:       #ffffff;
  --grey-light:  #f8fafc;
  --grey-mid:    #64748b;
  --grey-dark:   #1e293b;
  --footer-bg:   #1e293b;
  --accent:      #f5a623;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(14,58,140,0.10);
  --transition:  0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Roboto, Arial, sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: 'Ubuntu', 'Open Sans', Arial, sans-serif; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(14,58,140,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}

.site-logo img { height: 64px; }

.site-nav { display: flex; gap: 32px; }

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.site-nav a:hover { border-color: var(--blue-main); color: var(--blue-main); }

/* === HERO === */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(135deg, rgba(10,30,80,0.72) 0%, rgba(26,86,219,0.55) 100%),
    url('images/844f29210ac2b64732f360c9ba9fba88ffc24132141483b3a263a72aaba763e93eea072ca8b8d48ce3c460699ef6aa9c074c12e0457148851cdc7f_1280.jpg');
  background-size: cover;
  background-position: center;
}

.hero-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  padding: 48px 48px 40px;
  max-width: 560px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img { height: 90px; margin: 0 auto 24px; }

.hero-card p {
  font-size: 1.25rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-main);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-main);
  border: 2px solid var(--blue-main);
}

.btn-outline:hover {
  background: var(--blue-main);
  color: var(--white);
}

/* === SECTION GENERAL === */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 56px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--blue-main);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === PRODUCTS === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14,58,140,0.16);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-card-body { padding: 24px 20px 28px; }

.product-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-main);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.product-card-text {
  font-size: 0.875rem;
  color: var(--grey-mid);
  text-align: center;
  line-height: 1.75;
}

.products-cta { text-align: center; }

/* === CONTACT === */
.contact-section { background: var(--grey-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 32px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 6px;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--grey-dark);
}

.contact-item-value a {
  color: var(--blue-main);
  transition: color var(--transition);
}

.contact-item-value a:hover { color: var(--blue-dark); }

/* === FORM === */
.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 24px;
  background: #eef2fb;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--grey-dark);
  outline: none;
  transition: box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(26,86,219,0.25);
  background: var(--white);
}

.form-textarea { resize: vertical; min-height: 130px; border-radius: 16px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 24px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.form-success {
  display: none;
  padding: 12px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
}

.form-error {
  display: none;
  padding: 12px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
}

/* === BLOG === */
.blog-section { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14,58,140,0.14);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a:hover { color: var(--blue-main); }

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--grey-mid);
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--blue-main);
  border: 2px solid var(--blue-main);
  border-radius: 4px;
  padding: 6px 14px;
  align-self: flex-start;
  transition: background var(--transition), color var(--transition);
}

.blog-card-link:hover {
  background: var(--blue-main);
  color: var(--white);
}

/* === BLOG POST === */
.post-section { padding: 60px 0 80px; }

.post-header { margin-bottom: 32px; }
.post-header img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.post-header h1 { font-size: 2rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 12px; }
.post-meta { font-size: 0.85rem; color: var(--grey-mid); margin-bottom: 24px; }
.post-body { font-size: 1rem; line-height: 1.85; color: var(--grey-dark); max-width: 780px; margin: 0 auto; }
.post-body p { margin-bottom: 20px; }
.post-body ul { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--blue-dark); }
.back-link { margin-top: 40px; }

/* === FOOTER === */
.site-footer {
  background: var(--footer-bg);
  color: #94a3b8;
  text-align: center;
  padding: 36px 24px;
  font-size: 0.875rem;
  line-height: 2;
}

.site-footer a { color: var(--blue-light); transition: color var(--transition); }
.site-footer a:hover { color: var(--white); }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 100%; }
}

@media (max-width: 767px) {
  .site-nav { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 32px 20px; }
  .hero-card p { font-size: 1rem; }
  section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .hero-card img { height: 70px; }
  .hero { min-height: 450px; }
}
