/* ==============================
    Core variables & resets
    ============================== */
:root {
  --brand: #22d3ee;
  --brand-2: #38bdf8;
  --container: 1200px;
  --radius: 16px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .25);
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(0, 0, 0, .08);
}

/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Open Sans", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

/* ==============================
    Header & Navbar (Consistent with index.html)
    ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .2s;
}

.btn--primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #001019;
  font-weight: 700;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 211, 238, .15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
}

/* Products Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .btn {
  background: none;
  font-weight: normal;
  font-size: 1rem;
  cursor: pointer;
}

.dropdown .btn:hover {
  background-color: var(--bg-2);
  transform: none;
  box-shadow: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  z-index: 10;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  margin-top: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content a {
  color: var(--text);
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  border-radius: 8px;
}

.dropdown-content a:hover {
  background-color: var(--bg-2);
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* ==============================
    Contact Page Specific Styles
    ============================== */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(34, 211, 238, .10), transparent), radial-gradient(900px 500px at -10% 10%, rgba(56, 189, 248, .08), transparent), var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  padding: 56px 20px;
  text-align: center;
}

.eyebrow {
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-2);
}

h1 {
  font-size: clamp(2rem, 2.2rem + 1vw, 3rem);
  line-height: 1.1;
  margin: .4rem 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 700px;
  margin-inline: auto;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type {
  border-bottom: none;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }
.card h3 { margin: .2rem 0 .6rem; }
.muted { color: var(--muted); }
.chip { display: inline-block; padding: .35rem .6rem; border: 1px solid var(--border); border-radius: 999px; color: #0f172a; background: #fff; font-size: .85rem; }

/* Form */
form { display: grid; gap: 14px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea { width: 100%; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
textarea { min-height: 140px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Map */
.map { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 360px; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 40px 20px; }
.footer-col h5 { margin: .2rem 0 .6rem; color: #0f172a; }
.footer-col p { color: var(--muted); margin: .2rem 0; }
.foot-bottom { border-top: 1px solid var(--border); padding: 14px 20px; color: #475569; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--border); }

/* ==============================
    Responsive
    ============================== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 16px;
    gap: .8rem;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .btn, .dropdown .btn { width: 100%; }
  .dropdown-content { position: static; box-shadow: none; border: none; width: 100%; transform: none; background: transparent; padding: 0; margin-top: 8px; }
  .dropdown-content a { padding-left: 1rem; }
}

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}