@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Variables --- */
:root {
  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --burgundy-950: #270208;
  --burgundy-900: #460410;
  --burgundy-800: #6b0f20;
  --burgundy-700: #8c1d35;
  --gold-500: #d4af37;
  --gold-400: #f4cf54;
  --gold-600: #b58d23;
  --cream-bg: #fdfbf7;
  --dark-text: #1a0408;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-inter);
}

body {
  background-color: var(--cream-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-outfit);
  line-height: 1.2;
}

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

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

/* --- Container & Layout Utils --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1e9e3;
}
::-webkit-scrollbar-thumb {
  background: var(--burgundy-900);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--burgundy-800);
}

/* --- Utilities & Custom Classes --- */
.bg-burgundy-950 { background-color: var(--burgundy-950); }
.bg-burgundy-900 { background-color: var(--burgundy-900); }
.bg-burgundy-800 { background-color: var(--burgundy-800); }
.bg-gold-500 { background-color: var(--gold-500); }
.bg-cream { background-color: var(--cream-bg); }

.text-gold-500 { color: var(--gold-500); }
.text-gold-400 { color: var(--gold-400); }
.text-burgundy-900 { color: var(--burgundy-900); }

.border-burgundy-800 { border-color: var(--burgundy-700); }
.border-gold-500 { border-color: var(--gold-500); }

.shadow-gold-glow {
  box-shadow: 0 0 25px -5px rgba(212, 175, 55, 0.35);
}

.shadow-card {
  box-shadow: 0 10px 30px -10px rgba(70, 4, 16, 0.08);
}

.bg-target-pattern {
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0, rgba(212, 175, 55, 0.08) 2px, transparent 2px, transparent 20px),
                    radial-gradient(circle at center, rgba(70, 4, 16, 0.05) 0, rgba(70, 4, 16, 0.05) 1px, transparent 1px, transparent 10px);
  background-size: 40px 40px, 20px 20px;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(70, 4, 16, 0.08);
}

.glass-panel-dark {
  background: rgba(39, 2, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

/* --- Header / Navigation Bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, rgba(39, 2, 8, 0.95), rgba(70, 4, 16, 0.85));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 29, 53, 0.3);
  padding: 1rem 0;
}

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

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon-inner {
  width: 100%;
  height: 100%;
  background-color: var(--burgundy-900);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: var(--font-outfit);
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  text-transform: uppercase;
}

/* Nav Menu */
.desktop-nav {
  display: none;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--gold-500);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 0.875rem;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--burgundy-950);
  box-shadow: 0 0 20px -3px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(70, 4, 16, 0.8);
  color: #ffffff;
  border: 1px solid var(--burgundy-700);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--burgundy-800);
  border-color: var(--gold-500);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: var(--burgundy-800);
  color: #ffffff;
  border: 1px solid var(--burgundy-700);
  border-radius: 0.75rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-drawer {
  display: none;
  background: var(--burgundy-950);
  border-bottom: 1px solid var(--burgundy-700);
  padding: 1.5rem;
}
.mobile-drawer.active {
  display: block;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--burgundy-950);
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(70, 4, 16, 0.7) 0%, rgba(39, 2, 8, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(70, 4, 16, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-title { font-size: 4rem; }
}

.hero-title-highlight {
  background: linear-gradient(90deg, #ffffff, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
}

.hero-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-btn-group { flex-direction: row; }
}

/* --- Section Formatting --- */
.section-padding {
  padding: 6rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(70, 4, 16, 0.1);
  border: 1px solid rgba(70, 4, 16, 0.2);
  color: var(--burgundy-900);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-tag-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-500);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .section-title { font-size: 3rem; }
}

.section-title-dark {
  color: #ffffff;
}

.section-desc {
  color: #4a5568;
  font-size: 1rem;
  max-width: 650px;
}

/* --- Cards Grid & Modalities --- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.plan-card {
  background: rgba(39, 2, 8, 0.85);
  border: 1px solid var(--burgundy-700);
  border-radius: 1.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  color: #ffffff;
  position: relative;
}

.plan-card.popular {
  border-color: var(--gold-500);
  box-shadow: 0 0 25px -5px rgba(212, 175, 55, 0.35);
  transform: scale(1.03);
}

.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--burgundy-950);
  font-size: 0.6875rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.plan-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-500);
  margin: 1rem 0;
  font-family: var(--font-outfit);
}

/* --- Blog Post Grid --- */
.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(70, 4, 16, 0.12);
}

.blog-thumb {
  height: 220px;
  width: 100%;
  object-fit: contain;
  background-color: #270208;
}

.blog-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--burgundy-900);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  background: var(--burgundy-950);
  border: 1px solid var(--burgundy-700);
  border-radius: 1.5rem;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  color: #ffffff;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* --- Footer --- */
.site-footer {
  background-color: #1a0408;
  color: #ffffff;
  border-top: 1px solid rgba(140, 29, 53, 0.4);
  padding: 4rem 0 2rem 0;
}

/* --- Contact Form 7 Styling Integration --- */
.el-hornero-cf7-wrapper .wpcf7-form p {
  margin-bottom: 1rem;
}
.el-hornero-cf7-wrapper .wpcf7-form label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #4a5568;
  display: block;
  margin-bottom: 0.25rem;
}
.el-hornero-cf7-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.el-hornero-cf7-wrapper .wpcf7-form input[type="text"],
.el-hornero-cf7-wrapper .wpcf7-form input[type="email"],
.el-hornero-cf7-wrapper .wpcf7-form input[type="tel"],
.el-hornero-cf7-wrapper .wpcf7-form input[type="url"],
.el-hornero-cf7-wrapper .wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  background: #ffffff;
  display: block;
}
.el-hornero-cf7-wrapper .wpcf7-form input:focus,
.el-hornero-cf7-wrapper .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--burgundy-700);
  box-shadow: 0 0 0 3px rgba(140, 29, 53, 0.12);
}
.el-hornero-cf7-wrapper .wpcf7-form input[type="submit"],
.el-hornero-cf7-wrapper .wpcf7-submit {
  width: 100%;
  padding: 0.85rem 1.75rem;
  background: var(--burgundy-900);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.5rem;
  display: inline-block;
}
.el-hornero-cf7-wrapper .wpcf7-form input[type="submit"]:hover,
.el-hornero-cf7-wrapper .wpcf7-submit:hover {
  background: var(--burgundy-700);
}
.el-hornero-cf7-wrapper .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 700;
  margin-top: 0.25rem;
  display: block;
}
.el-hornero-cf7-wrapper .wpcf7-response-output {
  border-radius: 1rem !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  margin-top: 1.25rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 1px solid transparent !important;
}
.el-hornero-cf7-wrapper .wpcf7-mail-sent-ok {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
}
.el-hornero-cf7-wrapper .wpcf7-mail-sent-ng,
.el-hornero-cf7-wrapper .wpcf7-validation-errors {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}
.el-hornero-cf7-wrapper .wpcf7-spinner {
  display: block;
  margin: 0.5rem auto 0 auto;
}
