/* ── Valexis Global — Shared Stylesheet ── */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #0C1224;
  --white: #ffffff;
  --grey-light: #f7f8fa;
  --grey-border: #e0e4ec;
  --grey-text: #4a5570;
  --grey-muted: #8899bb;
}

body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: var(--white);
  color: var(--navy);
}

/* ── Navigation ── */
nav {
  position: absolute;
  top: 20px;
  right: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
}

nav > a {
  color: var(--navy);
  text-decoration: none;
  margin-left: 28px;
  font-size: 16px;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

nav > a:hover { opacity: 0.55; }

/* ── Products Dropdown ── */
.nav-dropdown {
  position: relative;
  margin-left: 28px;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  outline: none;
  font-family: "Georgia", serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.nav-dropdown-toggle:hover { opacity: 0.55; }

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translateY(1px);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 2px solid var(--navy);
  min-width: 240px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(12,18,36,0.10);
}

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

.dropdown-menu a {
  display: block;
  padding: 13px 20px;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #f0f2f6;
  transition: background 0.15s;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--grey-light); }

/* ── Hero ── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  max-width: 220px;
  width: 22%;
  min-width: 120px;
}

/* ── Page Content ── */
.page-container {
  max-width: 900px;
  margin: auto;
  padding: 130px 40px 100px;
  line-height: 1.75;
}

h1 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-subtitle {
  color: var(--grey-muted);
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.6;
}

h2 {
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-top: 40px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--grey-border);
}

p { color: var(--grey-text); font-size: 15px; line-height: 1.8; }

a { color: var(--navy); }

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px solid var(--grey-border);
  background: var(--white);
  z-index: 50;
}

.footer-mark {
  height: 26px;
  width: auto;
  opacity: 0.5;
}

.footer-links { display: flex; gap: 24px; }

footer a {
  color: var(--grey-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  font-size: 12px;
}

footer a:hover { color: var(--navy); }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 48px);
  max-width: 780px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 2px solid var(--navy);
  border-radius: 2px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(12,18,36,0.08);
}

#cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--grey-text);
  flex: 1;
  min-width: 220px;
}

#cookie-banner p a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-accept, .btn-reject {
  padding: 9px 22px;
  font-family: "Georgia", serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-accept { background: var(--navy); color: var(--white); font-weight: bold; }
.btn-accept:hover { background: #1a2540; }
.btn-reject { background: transparent; color: var(--grey-muted); border: 1px solid var(--grey-border); }
.btn-reject:hover { color: var(--navy); border-color: var(--navy); }

/* ── Contact Form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-muted);
}

input, select, textarea {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  color: var(--navy);
  font-family: "Georgia", serif;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--navy); }
input::placeholder, textarea::placeholder { color: #c0c8d8; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230C1224' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select option { background: var(--white); color: var(--navy); }
textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.form-divider { grid-column: 1 / -1; border: none; border-top: 1px solid var(--grey-border); margin: 4px 0; }

.submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.privacy-note { font-size: 12px; color: #aab0c0; line-height: 1.5; flex: 1; min-width: 180px; }
.privacy-note a { color: var(--grey-muted); text-decoration: underline; text-underline-offset: 2px; }
.privacy-note a:hover { color: var(--navy); }

.btn-submit {
  padding: 13px 36px;
  background: var(--navy);
  color: var(--white);
  font-family: "Georgia", serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-submit:hover { background: #1a2540; }
.btn-submit:disabled { background: #c0c8d8; cursor: not-allowed; }

.status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 2px; font-size: 14px; display: none; }
.status.success { background: #f0faf5; border: 1px solid #b0ddc0; color: #2a6a45; display: block; }
.status.error { background: #fdf0f0; border: 1px solid #ddb0b0; color: #6a2a2a; display: block; }

/* ── Product pages ── */
.breadcrumb { font-size: 12px; color: var(--grey-muted); margin-bottom: 32px; letter-spacing: 0.5px; }
.breadcrumb a { color: var(--grey-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 8px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  color: var(--navy);
  margin-bottom: 20px;
}

.coming-soon {
  margin-top: 48px;
  padding: 32px 36px;
  border: 1px solid var(--grey-border);
  border-left: 3px solid var(--navy);
  background: var(--grey-light);
}

.coming-soon p { margin: 0 0 8px; color: var(--grey-muted); font-size: 14px; }
.coming-soon p:last-child { margin-bottom: 0; }
.coming-soon strong { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { top: 16px; right: 16px; }
  nav > a { font-size: 14px; margin-left: 16px; }
  .nav-dropdown { margin-left: 16px; }
  .nav-dropdown-toggle { font-size: 14px; }
  .hero-logo { width: 40%; }
  .page-container { padding: 110px 20px 80px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .submit-row { grid-column: 1; flex-direction: column; align-items: stretch; }
  footer { padding: 10px 20px; }
  #cookie-banner { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}
