/* ============================================
   TETMO PUBLISHING — Corporate Website Styles
   Palette: Off-white #F8F8F6, Gold #C8A84B,
   Text #1A1A1A, Navy #060F22, Border #E0DBD0
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8F8F6;
  --gold: #C8A84B;
  --gold-hover: #B89A3F;
  --text: #1A1A1A;
  --navy: #060F22;
  --border: #E0DBD0;
  --white: #FFFFFF;
  --light-grey: #F0EDE6;
  --mid-grey: #6B6B6B;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-hover); }

img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Header / Nav --- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.logo span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}

nav a:hover, nav a.active { color: var(--gold); }

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: var(--navy);
  padding: 80px 0 72px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span { color: var(--gold); }

.hero .tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.hero .stat-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero .stat-bar .stat {
  text-align: center;
}

.hero .stat-bar .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.hero .stat-bar .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-title p {
  font-size: 16px;
  color: var(--mid-grey);
  max-width: 560px;
  margin: 0 auto;
}

.section-title .gold-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* --- Publication Cards --- */
.publications { padding: 72px 0; }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px 28px;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.pub-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.pub-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 6px 6px 0 0;
}

.pub-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.pub-card .pub-domain {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.pub-card .pub-audience {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.pub-card .pub-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pub-card .pub-details {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pub-card .pub-bonus {
  background: var(--light-grey);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.pub-card .pub-bonus strong { color: var(--navy); }

.pub-card .btn-subscribe {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition);
  align-self: center;
}

.pub-card .pub-for-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid-grey);
  margin-bottom: 4px;
  font-weight: 500;
}

.pub-card .btn-subscribe:hover { background: var(--gold-hover); color: var(--navy); }

/* --- Pricing Bar --- */
.pricing-bar {
  background: var(--navy);
  padding: 48px 0;
  text-align: center;
}

.pricing-bar h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-bar p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 28px;
}

.pricing-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pricing-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 6px;
  padding: 28px 32px;
  min-width: 220px;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: rgba(200,168,75,0.08);
}

.pricing-card .tier-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.pricing-card .price-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.pricing-card .tier-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.pricing-card .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

/* --- Values Section (About page) --- */
.values { padding: 72px 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
}

.value-card .value-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* --- Text Content Sections --- */
.content-section { padding: 72px 0; }
.content-section.alt-bg { background: var(--white); }

.content-section .text-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-section p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section ul {
  margin: 0 0 16px 24px;
  font-size: 16px;
  line-height: 1.7;
}

.content-section li { margin-bottom: 8px; }

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}

.btn-submit:hover { background: var(--gold-hover); }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  line-height: 1.5;
}

.footer-links h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--gold); }

.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* --- Page Header (sub-pages) --- */
.page-header {
  background: var(--navy);
  padding: 52px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}

/* --- Contact Info Cards --- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.contact-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.5;
}

.contact-card a { color: var(--gold); font-weight: 500; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner { height: 60px; }

  .nav-toggle { display: block; }

  nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.open { max-height: 300px; }

  nav a {
    padding: 14px 24px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero .tagline { font-size: 16px; }
  .hero .stat-bar { gap: 28px; }
  .hero .stat-bar .stat-number { font-size: 28px; }

  .pub-grid { grid-template-columns: 1fr; }

  .pricing-options { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 320px; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .container { padding: 0 16px; }
  .pub-card { padding: 24px 20px; }
}
