/* ===== SINCERELY KITCHEN — GLOBAL STYLES ===== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&display=swap');

:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EDE7;
  --bg-accent-light: #FDF0EB;
  --bg-dark: #2C2C2C;
  --accent: #C45824;
  --accent-hover: #A84A1E;
  --accent-warm: #D4763E;
  --text-heading: #2C2C2C;
  --text-body: #555555;
  --text-light: #999999;
  --border: #E0D5CC;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--bg-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'DM Sans', serif;
  color: var(--text-heading);
  line-height: 1.15;
}
.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 56px 0; } }
@media (max-width: 768px) { .page-hero { padding: 48px 0 40px; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-secondary:hover { background: var(--bg-accent-light); }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }
.btn-ghost-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; text-decoration: none;
  font-size: 16px; transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--accent);
  text-decoration: none; letter-spacing: -0.3px;
  display: flex; align-items: center;
}
.nav-logo-img { height: 44px; width: auto; }
.nav-logo span { color: var(--text-heading); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-body);
  text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-heading);
  margin: 6px 0; transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav:has(.nav-links.open) {
    height: 100vh;
    overflow: hidden;
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    z-index: 100; background: var(--white); flex-direction: column; align-items: stretch;
    justify-content: flex-start; padding: 32px 24px; gap: 0; overflow-y: auto;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a, .nav-links.open .btn {
    display: block; padding: 16px 0; font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .btn { margin-top: 16px; text-align: center; border-bottom: none; }
  .nav-cta-desktop { display: none; }
}
@media (min-width: 901px) { .nav-cta-mobile { display: none; } }

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
  margin-top: 72px;
  background: var(--bg-accent-light);
  padding: 80px 0 72px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; max-width: 580px; margin: 0 auto;
  color: var(--text-body); line-height: 1.7;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--accent);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.cta-band .container {
  position: relative; z-index: 1;
  text-align: center; padding-top: 80px; padding-bottom: 80px;
}
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--white); margin-bottom: 16px;
}
.cta-band p {
  font-size: 18px; color: rgba(255,255,255,0.85);
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; margin-top: 16px; }
.footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer ul a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-spanish {
  display: inline-block; margin-top: 12px; padding: 6px 14px;
  background: rgba(255,255,255,0.08); border-radius: 20px;
  font-size: 13px; color: rgba(255,255,255,0.8);
}
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.4);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 17px;
  color: var(--text-heading);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--accent); font-size: 22px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px; font-size: 16px;
  line-height: 1.7; color: var(--text-body);
}

/* ===== INCLUDED GRID ===== */
.included-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px;
}
@media (max-width: 600px) { .included-grid { grid-template-columns: 1fr; } }
.included-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.6; padding: 8px 0;
}
.included-check {
  color: var(--accent); font-weight: 700; font-size: 18px;
  flex-shrink: 0; margin-top: 2px;
}

/* ===== SHARED FORM STYLES ===== */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text-heading);
  background: var(--bg-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,88,36,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-submit {
  margin-top: 8px;
}
.form-submit .btn { width: 100%; padding: 16px; font-size: 16px; }

.form-note {
  margin-top: 16px; font-size: 13px;
  color: var(--text-light); text-align: center;
  line-height: 1.6;
}

/* ===== BLOG CARD STYLES ===== */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.blog-card-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-date {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  flex: 1;
}
.blog-card-body .link-arrow {
  margin-top: 16px;
  font-size: 14px;
}
