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

:root {
  --primary: #c41e3a;
  --background: #ffffff;
  --background-gray: #f5f5f5;
  --foreground: #262626;
  --muted: #737373;
  --border: #e5e5e5;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

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

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

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.bg-gray {
  background-color: var(--background-gray);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

/* ===== Header ===== */
.header {
  background: var(--background);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.nav-mobile.active {
  display: flex;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  padding: 5rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.divider {
  width: 100%;
  max-width: 900px;
  height: 1px;
  background: var(--border);
  margin: 4rem auto;
}

/* ===== CTA Grid ===== */
.cta-grid {
  display: grid;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-box {
  text-align: center;
}

.cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.check-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.cta-label {
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-label-sm {
  font-size: 1.125rem;
  font-weight: 600;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ===== Buttons ===== */
.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-sm {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.full-width {
  width: 100%;
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col.centered {
  max-width: 1000px;
  margin: 0 auto;
}

.col-text {
  order: 2;
}

.col-image {
  order: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .col-text {
    order: 1;
  }
  .col-image {
    order: 2;
  }
}

/* ===== Typography ===== */
.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.body-text {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.body-text.large {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.link-primary {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 600;
}

.link-primary:hover {
  text-decoration: underline;
}

.red-underline {
  width: 6rem;
  height: 4px;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
}

.red-underline.center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Images ===== */
.frank-image {
  max-height: 500px;
  object-fit: contain;
}

.book-image {
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bio-image {
  max-width: 320px;
  border-radius: 0.5rem;
}

.bio-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Team Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  background: var(--background-gray);
}

@media (min-width: 768px) {
  .team-photo {
    width: 8rem;
    height: 8rem;
  }
}

.team-name {
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.team-role {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== About Page ===== */
.about-photo-container {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.photo-border {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
}

.about-photo {
  position: relative;
  z-index: 10;
  width: 100%;
  filter: grayscale(100%);
}

.signature {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  font-size: 1.5rem;
  font-family: cursive;
}

.reasons-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .reasons-header {
    flex-direction: row;
    text-align: left;
  }
}

.big-number {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 700;
  color: rgba(115, 115, 115, 0.2);
  line-height: 1;
}

.underline {
  text-decoration: underline;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.family-image {
  border-radius: 0.5rem;
  max-width: 400px;
}

.reasons-list {
  max-width: 1000px;
  margin: 3rem auto 0;
}

.reason-item {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .reason-item {
    grid-template-columns: 150px 1fr;
  }
}

.reason-icon {
  display: flex;
  justify-content: center;
}

.reason-icon img {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
}

.reason-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.get-to-work {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.frank-signature {
  font-size: 1.5rem;
  font-style: italic;
  font-family: 'Brush Script MT', cursive;
}

/* ===== Contact Page ===== */
.contact-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--background);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

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

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
