/* ZOTAANG BASE STYLES
   Shared by homepage and inner pages:
   fonts, variables, global layout, topbar, header, navigation,
   headings, sections, buttons and mobile action bar. */

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

:root {
  --blue: #003b95;
  --blue-dark: #00275f;
  --blue-light: #edf4ff;
  --red: #df0909;
  --red-dark: #b90000;
  --ink: #10131a;
  --muted: #5d6675;
  --white: #ffffff;
  --line: #dce3ee;
  --shadow: 0 12px 35px rgba(0, 35, 95, .10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Topbar and contact links */
.topbar { background: var(--blue-dark); color: #fff; font-size: 13px; }
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a { text-decoration: none; font-weight: 700; }
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-contact a { color: inherit; text-decoration: none; }
.topbar-contact a:hover, .location-link:hover { text-decoration: underline; }
.location-link { color: inherit; text-decoration: none; }

/* Header and brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  color: var(--red);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 2px;
}
.brand-text span {
  display: block;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 11px;
  text-decoration: none;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue-light);
  color: var(--red);
}
.menu-toggle { display: none; }

/* Shared sections and headings */
.section { padding: 85px 0; }
.section-light { background: #f7faff; }
.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}
.section-heading h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 12px;
}
.section-heading p { color: var(--muted); margin: 0; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

/* Shared buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-white { background: #fff; color: var(--blue); }

/* Tablet navigation */
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 28px;
    cursor: pointer;
  }
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    padding: 15px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px; }
}

/* Smaller header */
@media (max-width: 700px) {
  .topbar-inner { flex-wrap: wrap; gap: 0; min-height: 34px; }
  .topbar-contact { gap: 8px 14px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text strong { font-size: 23px; }
}

/* Mobile layout and bottom actions */
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .topbar { font-size: 11px; }
  .topbar-inner { min-height: 34px; justify-content: center; }
  .topbar > .container { width: calc(100% - 20px); }
  .topbar-inner > .location-link {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 7px 0 0;
  }
  .topbar-contact {
    width: 100%;
    justify-content: center;
    padding: 0 0 7px;
    font-size: 10px;
  }
  .topbar-contact a:last-child { display: none; }
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: 21px; letter-spacing: 1.5px; }
  .brand-text span {
    display: block;
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
  }
  .menu-toggle { font-size: 26px; padding: 8px 4px; }
  .main-nav { top: 68px; padding: 10px 14px 14px; }
  .main-nav a { padding: 13px 12px; font-size: 14px; }
  .section { padding: 65px 0; }
  body { padding-bottom: 64px; }
  .btn { min-height: 50px; padding: 0 18px; }
  .mobile-actions {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 60px;
    background: var(--blue-dark);
    box-shadow: 0 -5px 20px rgba(0,0,0,.18);
  }
  .mobile-actions a {
    display: grid;
    place-items: center;
    padding: 8px 4px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    border-right: 1px solid rgba(255,255,255,.2);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand-text span { display: none; }
  .brand-text strong { font-size: 20px; }
  .container { width: calc(100% - 24px); }
  .mobile-actions { height: 58px; }
  .mobile-actions a { font-size: 10px; }
}
