/* ===========================================
   PRODUCT PAGES – INITIAL STYLESHEET
   Inspired by public site styling in base.css
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Crimson+Pro:wght@400;600&family=Special+Elite&family=EB+Garamond:wght@700&display=swap');

:root {
  --product-accent: #2c3e50;
  --product-hero: #3498db;
  --product-cta: #e74c3c;
  --product-cta-hover: #cf3e30;
  --product-bg: #f8f5f0;
  --product-surface: #ffffff;
  --product-text: #2f2f2f;
  --product-muted: #5a5a5a;
  --product-border: #e3e3e3;
  --product-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Crimson Pro', serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  background-color: var(--product-bg);
  color: var(--product-text);
}

img {
  /* max-width: 100%; */
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--product-accent);
  color: #fff;
  text-align: center;
  padding: 25px 25px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.product-header__logo {
  justify-self: end;
}

.product-header__text {
  grid-column: 2;
  text-align: center;
}

.product-logo {
  height: 175px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

header h1 {
  font-family: 'EB Garamond', serif;
  font-size: 5rem;
  margin: 0 0 0px;
}

header p {
  margin: 0;
  font-size: 1.7rem;
  color: #e3e7eb;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.25), rgba(0, 0, 0, 0.08));
  color: #574f4f;
  padding: 64px 24px;
  text-align: center;
  margin: 32px 0 40px;
  border-radius: 16px;
  box-shadow: var(--product-shadow);
}

.hero h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.hero p {
  margin: 0 auto 24px;
  max-width: 680px;
  font-size: 1.2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--product-cta);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(231, 76, 60, 0.25);
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--product-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(207, 62, 48, 0.25);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.feature {
  background-color: var(--product-surface);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--product-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature h3 {
  margin-top: 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
}

.feature p {
  margin-bottom: 0;
  color: var(--product-muted);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Footer */
footer {
  background-color: var(--product-accent);
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #d6dde4;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header {
    padding: 28px 16px;
    grid-template-columns: 1fr;
    row-gap: 0px;
  }

  .product-header__logo {
    justify-self: center;
  }

  .product-header__text {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }

  .product-logo {
    height: 150px;
    padding-left: 24px;
  }

  header h1 {
    font-size: 4.1rem;
  }

  header p {
    text-align: center;
  }

  .hero {
    padding: 48px 20px;
    border-radius: 12px;
  }

  .hero h2 {
    font-size: 1.9rem;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header p {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

}

/* Contact section */
.contact-section {
  background-color: var(--product-surface);
  border: 1px solid var(--product-border);
  padding: 28px;
  margin: 40px auto;
  border-radius: 12px;
}

.contact-section h2 {
  font-family: 'EB Garamond', serif;
  margin-top: 0;
}

.contact-section p {
  color: var(--product-muted);
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px 20px;
  align-items: start;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--product-border);
  font-size: 1rem;
  font-family: 'Special Elite', serif;
}

.contact-form textarea { grid-column: 1 / -1; }

.contact-form .checkbox-row {grid-column: 1 / -1;/* display: flex; */align-items: center;gap: 10px;}
.contact-form .checkbox-row .checkbox-label {display: inline-flex;align-items: center;gap: 4px;/* margin: 0; */}
.contact-form .checkbox-row .checkbox-label span { display: inline-block; min-width: 200px; }
.contact-form .checkbox-row input[type="checkbox"] { transform: scale(1.05); vertical-align: middle; }

.contact-form .cta-button {grid-column: 1 / -1;justify-self: start;font-size: 1.08rem;}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.messages { margin-bottom: 12px; }
.message { padding: 10px 14px; border-radius: 8px; }
.message.success { background: #e6ffef; border: 1px solid #b8f0d0; color: #0b6b3a; }
.message.error { background: #fff0f0; border: 1px solid #f2b0b0; color: #7a2a2a; }
