/* PEW PAL — mypewpal.com — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --gold: #C8A96E;
  --gold-light: #E2C99A;
  --gold-dark: #9A7A48;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --brown-deep: #2C1A0E;
  --brown-mid: #5C3D1E;
  --brown-light: #8B6343;
  --navy: #1A2744;
  --text: #2C1A0E;
  --text-muted: #7A6555;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* NAV */
nav {
  background: var(--brown-deep);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold-dark);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--gold-light); font-style: italic; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 1.1rem;
  height: 70px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(200,169,110,0.1);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--brown-deep) !important;
  padding: 0 1.4rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; }

/* HERO */
.hero {
  background: var(--brown-deep);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,110,0.18) 0%, transparent 70%);
}
.hero-tag {
  display: inline-block;
  background: rgba(200,169,110,0.15);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  position: relative;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  color: rgba(250,247,242,0.75);
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--brown-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,169,110,0.4); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); margin-left: 1rem; }
.btn-outline:hover { background: var(--gold); color: var(--brown-deep); }
.btn-dark { background: var(--brown-deep); color: var(--gold); }
.btn-dark:hover { background: var(--brown-mid); transform: translateY(-2px); }

/* DIVIDER */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto 2.5rem;
}
.divider-line { flex: 1; height: 1px; background: var(--gold-dark); opacity: 0.5; }
.divider-cross { color: var(--gold); font-size: 1.1rem; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--brown-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-sub.light { color: rgba(250,247,242,0.7); }

/* BG VARIANTS */
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-brown { background: var(--brown-deep); }
.bg-brown-mid { background: var(--brown-mid); }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-card {
  background: var(--white);
  border: 1px solid rgba(200,169,110,0.25);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  border-radius: 4px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-card:hover { box-shadow: 0 12px 40px rgba(44,26,14,0.12); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--brown-deep); margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.img-block {
  background: var(--cream-dark);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 4px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.img-block::before {
  content: '✝';
  position: absolute;
  font-size: 8rem;
  color: rgba(200,169,110,0.08);
  font-family: serif;
}
.img-block-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); font-family: 'Lato', sans-serif; font-style: normal; font-weight: 700; }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,169,110,0.2);
  border-left: 3px solid var(--gold);
  padding: 1.8rem;
  border-radius: 4px;
}
.testimonial p { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; color: rgba(250,247,242,0.85); margin-bottom: 1rem; line-height: 1.6; }
.testimonial cite { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-style: normal; font-family: 'Lato', sans-serif; font-weight: 700; }

/* BANNER CTA */
.cta-banner { background: var(--gold); padding: 4rem 2rem; text-align: center; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--brown-deep); margin-bottom: 1rem; }
.cta-banner p { color: var(--brown-mid); margin-bottom: 2rem; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }

/* FOOTER */
footer {
  background: #1A0F07;
  color: rgba(250,247,242,0.6);
  padding: 3rem 2rem 1.5rem;
  border-top: 2px solid var(--gold-dark);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold); margin-bottom: 0.8rem; }
.footer-brand-desc { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(250,247,242,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(200,169,110,0.15); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-bottom a { color: var(--gold-dark); text-decoration: none; }
.patent-badge {
  display: inline-block;
  background: rgba(200,169,110,0.12);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  font-weight: 700;
}

/* FORMS */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown-mid); font-weight: 700; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(200,169,110,0.3);
  border-radius: 3px;
  background: var(--white);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(200,169,110,0.2); }
.faq-q {
  width: 100%; text-align: left; padding: 1.3rem 0;
  background: none; border: none; cursor: pointer;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--brown-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { color: var(--gold-dark); }
.faq-icon { color: var(--gold); font-size: 1.4rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding-bottom: 1.3rem; color: var(--text-muted); line-height: 1.8; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 300px; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--brown-deep);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-dark);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,169,110,0.12) 0%, transparent 65%);
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); position: relative; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(250,247,242,0.65); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; position: relative; }
.breadcrumb { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; position: relative; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open {
    display: flex; flex-direction: column;
    background: var(--brown-deep);
    position: absolute; top: 70px; left: 0; right: 0;
    border-top: 1px solid var(--gold-dark);
    z-index: 99;
  }
  .mobile-menu.open a {
    color: var(--cream); text-decoration: none; padding: 1rem 2rem;
    font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
    border-bottom: 1px solid rgba(200,169,110,0.1);
    font-weight: 700; font-family: 'Lato', sans-serif;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 1.2rem; }
  .hero { padding: 3.5rem 1.2rem 3rem; }
  .btn-outline { margin-left: 0; margin-top: 0.8rem; }
}
