/* ===== BAMWELL Corporate Site — Global Styles ===== */

/* ---------- Custom Properties ---------- */
:root {
  --primary: #1DE9B6;
  --primary-dark: #26A69A;
  --primary-deeper: #1a8a7d;
  --bg: #0B1A1A;
  --bg-card: #0F2424;
  --bg-card-hover: #132E2E;
  --bg-section: #091515;
  --text: #E0F2F1;
  --text-muted: #80CBC4;
  --text-dim: #5a9e98;
  --white: #ffffff;
  --border: rgba(29, 233, 182, .12);
  --border-hover: rgba(29, 233, 182, .25);
  --glow: rgba(29, 233, 182, .08);
  --shadow: 0 4px 30px rgba(0,0,0,.35);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1180px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-section); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--white); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.015em; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p + p { margin-top: 16px; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; }
.section-subtitle {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(29,233,182,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29,233,182,.35);
  color: var(--bg);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(29,233,182,.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,26,26,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--white); background: var(--glow); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-card);
    padding: 90px 32px 32px;
    gap: 4px;
    transition: right .35s ease;
    border-left: 1px solid var(--border);
  }
  .nav.open { right: 0; }
  .nav a { width: 100%; padding: 12px 16px; font-size: 1rem; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .nav-overlay.show { opacity: 1; pointer-events: all; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(29,233,182,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(38,166,154,.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,233,182,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,233,182,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero__content { animation: fadeUp .8s ease both; }
.hero__visual {
  display: flex;
  justify-content: center;
  animation: fadeUp .8s ease .2s both;
}
.hero__visual img {
  max-height: 460px;
  filter: drop-shadow(0 20px 60px rgba(29,233,182,.15));
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__visual img { max-height: 300px; }
  .hero__content .lead { margin-left: auto; margin-right: auto; }
  .hero { min-height: auto; padding: 120px 0 60px; }
}

/* ---------- Cards / Feature Grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,233,182,.08);
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* ---------- Product Image Section ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-showcase__img {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-showcase__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(29,233,182,.06), transparent 70%);
  pointer-events: none;
}
.product-showcase__img img { max-height: 380px; position: relative; z-index: 1; }
@media (max-width: 768px) {
  .product-showcase { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,233,182,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 24px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question .icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform .3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--bg-card);
}
.faq-answer__inner { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ---------- Contact Info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.contact-item__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,233,182,.08);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand .logo { margin-bottom: 12px; display: inline-block; }
.footer__brand p { color: var(--text-dim); font-size: .9rem; max-width: 320px; }
.footer__links h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 16px; }
.footer__links a { display: block; color: var(--text-dim); font-size: .9rem; padding: 4px 0; }
.footer__links a:hover { color: var(--primary); }
.footer__disclaimer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}
.footer__disclaimer p {
  font-size: .78rem;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: var(--text-dim);
}
.footer__bottom a { color: var(--text-muted); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie Modal ---------- */
.cookie-modal {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  z-index: 2000;
  box-shadow: 0 12px 50px rgba(0,0,0,.5);
  animation: slideUp .4s ease;
  display: none;
}
.cookie-modal.show { display: block; }
.cookie-modal h4 { margin-bottom: 8px; font-size: 1.05rem; }
.cookie-modal p { font-size: .88rem; color: var(--text-muted); margin-bottom: 20px; }
.cookie-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 30%, rgba(29,233,182,.06), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 16px; position: relative; }
.page-hero .lead { margin: 0 auto; position: relative; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark), transparent);
}
.timeline__item { margin-bottom: 40px; position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -33px; top: 6px;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(29,233,182,.2);
}
.timeline__year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ---------- Success Page ---------- */
.success-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(29,233,182,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
  border: 2px solid var(--primary);
}

/* ---------- Legal ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.1rem; margin-top: 28px; color: var(--text-muted); }
.legal-content p { color: var(--text-muted); margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-muted); padding: 4px 0; position: relative; padding-left: 16px; }
.legal-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--primary); }

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Price tag ---------- */
.price-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}
.price-tag small { font-size: .9rem; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
