:root {
  --navy: #0b2545;
  --steel: #1c6ea4;
  --steel-dark: #145a86;
  --bg-light: #f5f6f8;
  --text-dark: #1c2530;
  --text-muted: #5b6470;
  --white: #ffffff;
  --border: #e2e5ea;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(11, 37, 69, 0.08);
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; overscroll-behavior-y: none; background: var(--navy); }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overscroll-behavior-y: none;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); line-height: 1.25; }

a { text-decoration: none; color: inherit; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { color: var(--steel); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.8rem; }
.section-head h2 { font-size: 2rem; margin-top: 8px; }
.section-sub { color: var(--text-muted); margin-top: 12px; }

.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-primary { background: var(--steel); color: var(--white); }
.btn-primary:hover { background: var(--steel-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 10px 20px; }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1.1; }
.logo-badge { background: var(--white); border-radius: 6px; padding: 4px 8px; display: flex; align-items: center; }
.logo-mark { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--white); letter-spacing: 1px; }
.logo-sub { font-size: 0.65rem; color: #b7c4d6; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--white); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: #7db8e0; }
.header-call { flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: url('images/hero.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,0.85), rgba(11,37,69,0.65)); }
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 720px; margin-left: 0; margin-right: auto; }
.hero-content h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 12px; }
.hero-tagline { font-size: 1.25rem; color: #7db8e0; font-weight: 600; margin-bottom: 16px; }
.hero-intro { font-size: 1.05rem; margin-bottom: 20px; color: #dfe6ee; }
.hero-meta { display: flex; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; font-size: 0.95rem; }
.hero-meta a { color: var(--white); }

/* FOOTER */
.site-footer { background: var(--navy); color: #b7c4d6; padding: 32px 0 24px; text-align: center; font-size: 0.85rem; }
.footer-brand { justify-content: center; margin: 0 auto 16px; }
.footer-brand .logo-main { font-size: 1.6rem; }

/* MOBILE FLOATING CALL/WHATSAPP */
.mobile-fab { display: none; }
@media (max-width: 768px) {
  .mobile-fab {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
  }
  .mobile-fab a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.35);
  }
  .mobile-fab svg { width: 26px; height: 26px; }
  .fab-whatsapp { background: #25d366; }
  .fab-call { background: var(--steel); }
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .site-nav { position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px 24px; gap: 16px; transform: translateY(-150%); transition: transform 0.25s ease; }
  .site-nav.nav-open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-call { display: none; }
  .hero-content h1 { font-size: 1.9rem; }
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.about-text p { margin-bottom: 16px; color: var(--text-muted); }
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.about-card p { color: var(--text-muted); font-size: 0.95rem; }

.why-us h3 { text-align: center; margin-bottom: 20px; }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.why-list li { background: var(--bg-light); border-radius: var(--radius); padding: 14px 18px; font-weight: 500; position: relative; padding-left: 40px; }
.why-list li::before { content: '✔'; position: absolute; left: 16px; color: var(--steel); font-weight: 700; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.service-icon { width: 44px; height: 44px; color: var(--steel); margin-bottom: 16px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.3s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(180deg, transparent, rgba(11,37,69,0.85)); color: var(--white); font-weight: 600; font-size: 0.95rem; }
.projects-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 20px; }

@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { color: var(--steel); font-weight: 500; }
.contact-map iframe { border-radius: var(--radius); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.contact-form label { font-weight: 500; font-size: 0.9rem; margin-top: 10px; }
.contact-form input, .contact-form textarea { padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; }
.contact-form button { margin-top: 16px; }
.form-status { font-size: 0.9rem; margin-top: 10px; min-height: 1.2em; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b3261e; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } #contact { padding-bottom: 100px; } }
