/* ============================================================
   shared.css — YourCompany website
   Common styles used across all pages.
   Edit ONCE here; all pages inherit automatically.
   ============================================================ */

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

:root {
  /* Brand colours */
  --navy:         #042C53;
  --blue:         #1457A0;
  --mid:          #185FA5;
  --accent:       #378ADD;
  --light-accent: #85B7EB;
  --fire:         #E24B4A;
  --green:        #1D9E75;

  /* Neutrals */
  --white:  #FFFFFF;
  --off:    #F4F7FB;
  --text:   #0D1B2A;
  --muted:  #5C6E82;
  --border: rgba(20, 87, 160, 0.12);

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Shape & motion */
  --radius:    12px;
  --radius-sm: 8px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

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

/* ── SECTION HELPERS ── */
.section     { padding: 88px 0; }
.section-alt { background: var(--off); }

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-head         { margin-bottom: 52px; }
.section-head.center  { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── PAGE HERO (shared across inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4,44,83,0.93) 0%, rgba(4,44,83,0.89) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-inner { position: relative; }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--mid); transform: translateY(-1px); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-accent:hover { background: #2a7acc; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
}
.btn-white:hover { opacity: 0.92; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 99px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background var(--transition);
}
.btn-secondary:hover { background: #EBF3FD; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 99px;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.btn-wa:hover { opacity: 0.88; }
.btn-wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--navy); padding: 80px 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.6); }

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-size {
  width: 240px;
  height: 72px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-footer-size {
  width: 208px;
  height: 62.4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,0.1); color: #fff; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(4,44,83,0.14);
}
.has-dropdown:hover .dropdown { display: block; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--off); }

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #06375F;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.mobile-sub {
  padding-left: 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.mobile-menu .mobile-wa {
  margin: 12px 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: none;
}
.mobile-open .mobile-menu { display: flex; }

/* ── FOOTER ── */
footer {
  background: #021E3A;
  color: rgba(255,255,255,0.6);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 14px;
}

.footer-ssm {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a   { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p   { font-size: 13px; }
.footer-bottom a   { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom-links { display: flex; gap: 16px; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  z-index: 99;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.wa-float svg   { width: 26px; height: 26px; fill: #fff; }

/* ── UTILITY TAGS ── */
.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid;
  display: inline-block;
}

/* ── SHARED RESPONSIVE ── */
@media (max-width: 700px) {
  .nav-links,
  .btn-wa { display: none; }
  .hamburger { display: flex; }

  .section { padding: 60px 0; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
