/* ================= BASE ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= BRAND ================= */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Logo */
.brand-logo {
  height: 62px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Optional text beside logo */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Company Name */
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #0f172a;
}

/* Tagline */
.brand-tagline {
  margin-top: 3px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: #64748b;
  text-transform: uppercase;
}

/* ================= NAV ================= */

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
}

/* Links + buttons */
.nav a,
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover */
.nav a:hover,
.nav-link:hover {
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
}

/* ACTIVE STATE */
.nav a.active,
.nav-link.active {
  background: linear-gradient(
    135deg,
    var(--primary, #0f766e),
    var(--primary-dark, #115e59)
  );
  color: #ffffff;
}

/* ================= DROPDOWN ================= */

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* Arrow */
.arrow {
  font-size: 18px;
  margin-left: 6px;
  display: inline-flex;
  transition: transform 0.25s ease;
}

.has-dropdown.open .arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 100;
}

.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 14.5px;
}

.dropdown-menu li a:hover {
  background: #f8fafc;
  color: var(--primary);
}

/* Active submenu */
.dropdown-menu a.active {
  font-weight: 600;
  color: var(--primary);
  background: #f1f5f9;
}

/* ================= MOBILE TOGGLE ================= */

.nav-toggle {
  display: none;
  font-size: 22px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 76px;
    width: 260px;
    background: #ffffff;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    z-index: 100;
  }

  .nav a,
  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    margin-top: 6px;
    padding-left: 12px;
  }

  .dropdown-menu li a {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/* ================= FOOTER ================= */

.site-footer {
  background: #020617;
  color: #cbd5f5;
  margin-top: 80px;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 50px 20px 30px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-tagline {
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-location {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.6;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #5eead4;
  text-decoration: underline;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-about p {
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding: 14px 10px;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
