/* TeamHQ — Self-contained stylesheet
   Matches the original static HTML design exactly. */

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

:root {
  --ink: #1a1a2e;
  --ink-soft: #4a4a6a;
  --ink-muted: #8888a4;
  --cream: #faf9f7;
  --white: #ffffff;
  --accent: #2d6a4f;
  --accent-light: #d8f3dc;
  --accent-warm: #e07a3a;
  --accent-warm-light: #fde8d8;
  --line: #e8e6e1;
  --card-shadow: 0 1px 3px rgba(26,26,46,0.04), 0 8px 32px rgba(26,26,46,0.06);
  --card-shadow-hover: 0 2px 6px rgba(26,26,46,0.06), 0 16px 48px rgba(26,26,46,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ─── NAV ─── */
.thq-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: rgba(250,249,247,0.82);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.thq-nav-bar.scrolled { box-shadow: 0 2px 24px rgba(26,26,46,0.06); }
.thq-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.thq-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.thq-logo span { color: var(--accent); }
.thq-nav-links { display: flex; gap: 32px; align-items: center; }
.thq-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.thq-nav-links a:hover { color: var(--ink); }
.thq-nav-links .btn-nav {
  background: var(--ink);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.825rem;
  transition: background 0.2s, transform 0.2s;
}
.thq-nav-links .btn-nav:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ─── HERO ─── */
.thq-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.thq-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,106,79,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.thq-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224,122,58,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.thq-hero__content { max-width: 760px; position: relative; z-index: 1; }
.thq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 18px 6px 8px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}
.thq-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.thq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.thq-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.thq-hero p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}
.thq-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,79,0.2); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeUp 0.7s 0.5s ease both;
}
.scroll-hint .arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--ink-muted), transparent);
  animation: scrollBounce 2s infinite;
}

/* ─── SECTION COMMON ─── */
.thq-section { padding: 100px 32px; }
.thq-section-inner { max-width: 1180px; margin: 0 auto; }
.thq-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.thq-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.thq-section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── PRODUCTS ─── */
.thq-products { background: var(--white); }
.thq-products-header { text-align: center; margin-bottom: 64px; }
.thq-products-header .thq-section-subtitle { margin: 0 auto; }
.thq-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.thq-product-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 48px 40px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  border: 1px solid transparent;
}
.thq-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--line);
}
.thq-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.thq-product-card--green::before { background: linear-gradient(90deg, var(--accent), #52b788); }
.thq-product-card--orange::before { background: linear-gradient(90deg, var(--accent-warm), #f4a261); }

.thq-product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
}
.thq-product-icon svg { width: 26px; height: 26px; }
.thq-product-card--green .thq-product-icon { background: var(--accent-light); color: var(--accent); }
.thq-product-card--orange .thq-product-icon { background: var(--accent-warm-light); color: var(--accent-warm); }

.thq-product-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.thq-product-card > p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.thq-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.thq-feature-tags span {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.thq-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.25s, color 0.2s;
}
.thq-product-card--green .thq-product-link { color: var(--accent); }
.thq-product-card--orange .thq-product-link { color: var(--accent-warm); }
.thq-product-link:hover { gap: 12px; }
.thq-product-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.thq-product-link:hover svg { transform: translateX(2px); }

/* ─── CONTACT ─── */
.thq-contact { background: var(--cream); }
.thq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.thq-contact-info { padding-top: 12px; }
.thq-contact-info .thq-section-subtitle { margin-bottom: 48px; }

.thq-info-cards { display: flex; flex-direction: column; gap: 20px; }
.thq-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.thq-info-card:hover {
  border-color: #d0cec8;
  box-shadow: 0 4px 16px rgba(26,26,46,0.04);
}
.thq-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thq-info-icon svg { width: 20px; height: 20px; }
.thq-info-card-content h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.thq-info-card-content p,
.thq-info-card-content a {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.55;
}
.thq-info-card-content a:hover { color: var(--accent); }

/* ─── FORM ─── */
.thq-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
}
.thq-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.thq-form-card > p {
  color: var(--ink-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.thq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.thq-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.thq-form-group.full { grid-column: 1 / -1; }
.thq-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.thq-form-group input,
.thq-form-group select,
.thq-form-group textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.thq-form-group input::placeholder,
.thq-form-group textarea::placeholder {
  color: var(--ink-muted);
}
.thq-form-group input:focus,
.thq-form-group select:focus,
.thq-form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.08);
}
.thq-form-group textarea { min-height: 110px; }
.thq-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888a4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 30px;
  font-size: 0.95rem;
  margin-top: 6px;
}

.thq-form-error {
  display: block;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 4px;
}

/* ─── THANK YOU ─── */
.thq-thankyou {
  text-align: center;
  padding: 40px 20px;
}
.thq-thankyou__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.thq-thankyou h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.thq-thankyou p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ─── FOOTER ─── */
.thq-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 48px 32px;
}
.thq-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.thq-footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}
.thq-footer-logo span { color: #52b788; }
.thq-footer p { font-size: 0.82rem; }
.thq-footer-links { display: flex; gap: 28px; }
.thq-footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.thq-footer-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .thq-product-grid { grid-template-columns: 1fr; }
  .thq-contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .thq-nav-links { display: none; }
  .mobile-toggle { display: block; }
  .thq-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .thq-section { padding: 72px 20px; }
  .thq-hero { padding: 120px 20px 80px; min-height: auto; }
  .thq-form-row { grid-template-columns: 1fr; }
  .thq-form-card { padding: 32px 24px; }
  .thq-product-card { padding: 36px 28px; }
  .thq-footer-inner { flex-direction: column; text-align: center; }
}
