@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

:root {
  --blue-primary: #5B8FD4;
  --blue-dark: #3D6FA6;
  --purple-deep: #5C4B9E;
  --lavender: #B4A7D6;
  --lavender-light: #F1EEFA;
  --background: #FAFAFA;
  --white: #FFFFFF;
  --section-alt: #F5F7FA;
  --text-primary: #333333;
  --text-secondary: #666666;
  --pink-accent: #F4CCCC;
  --shadow: rgba(91, 143, 212, 0.15);
  --shadow-md: rgba(91, 143, 212, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', sans-serif; color: var(--text-primary); background: var(--background); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--purple-deep); margin-bottom: 12px; text-align: center; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); text-align: center; max-width: 600px; margin: 0 auto 48px; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px var(--shadow-md); }
.btn-outline { background: transparent; color: var(--blue-primary); border-color: var(--blue-primary); }
.btn-outline:hover { background: var(--blue-primary); color: var(--white); transform: translateY(-2px); }
.btn-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); border-radius: 50px; padding: 12px 28px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; display: inline-block; }
.btn-white:hover { background: rgba(255,255,255,0.15); }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250,250,250,0.96); backdrop-filter: blur(8px); padding: 14px 0; transition: box-shadow 0.3s ease, padding 0.3s ease; }
.navbar.scrolled { box-shadow: 0 2px 20px var(--shadow); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--purple-deep); line-height: 1.2; }
.nav-logo-text span { display: block; font-size: 0.65rem; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-primary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; color: var(--text-secondary); transition: color 0.2s; text-transform: uppercase; }
.nav-links a:hover { color: var(--blue-primary); }
.nav-cta { flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple-deep); transition: all 0.3s ease; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; background: var(--white); padding: 16px 24px 24px; gap: 4px; border-top: 1px solid var(--lavender-light); box-shadow: 0 8px 20px var(--shadow); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 700; font-size: 0.95rem; color: var(--text-primary); border-bottom: 1px solid var(--lavender-light); letter-spacing: 0.5px; text-transform: uppercase; }
.mobile-nav .btn { margin-top: 8px; text-align: center; border-bottom: none; }

/* HERO */
.hero { padding: 120px 0 0; background: linear-gradient(135deg, var(--white) 0%, var(--lavender-light) 60%, #e0eaf8 100%); position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-end; width: 100%; }
.hero-content { padding-bottom: 60px; display: flex; flex-direction: column; gap: 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--lavender); border-radius: 50px; padding: 6px 18px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--purple-deep); width: fit-content; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); color: var(--purple-deep); font-weight: 700; }
.hero-sub { font-size: 1.05rem; color: var(--text-secondary); max-width: 500px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { font-size: 0.82rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; font-weight: 700; }
.hero-trust span::before { content: '✓'; color: var(--blue-primary); font-weight: 900; }
.hero-image { display: flex; align-items: flex-end; justify-content: center; }
.mallary-hero { max-height: 580px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 32px rgba(92,75,158,0.15)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ABOUT */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about-image { display: flex; justify-content: center; align-items: flex-end; }
.mallary-about { max-height: 480px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(92,75,158,0.12)); }
.about-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--purple-deep); margin-bottom: 20px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.85; }
.about-closing { font-style: italic; color: var(--blue-dark) !important; font-weight: 700; border-left: 3px solid var(--lavender); padding-left: 16px; margin-top: 24px; }
.about-stats { display: flex; gap: 32px; margin: 0 0 28px; }
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--blue-primary); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* SCRIPTURE */
.scripture { padding: 80px 0; background: var(--lavender-light); text-align: center; position: relative; overflow: hidden; }
.scripture::before, .scripture::after { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 200px; color: var(--lavender); opacity: 0.3; position: absolute; line-height: 1; }
.scripture::before { top: -20px; left: 20px; }
.scripture::after { content: '\201D'; bottom: -60px; right: 20px; }
.scripture-text { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; color: var(--purple-deep); max-width: 700px; margin: 0 auto 16px; position: relative; z-index: 1; line-height: 1.6; }
.scripture-ref { font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-primary); position: relative; z-index: 1; }

/* SERVICES */
.services { padding: 100px 0; background: var(--section-alt); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: 0 2px 12px var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px var(--shadow-md); border-bottom-color: var(--blue-primary); }
.service-icon { width: 64px; height: 64px; background: var(--lavender-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; }
.service-card h3 { font-size: 1.2rem; color: var(--purple-deep); margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* PRICING */
.pricing { padding: 100px 0; background: var(--white); }
.pricing-disclaimer { background: linear-gradient(135deg, var(--lavender-light), #e8f0fb); border: 1px solid var(--lavender); border-radius: 12px; padding: 20px 28px; text-align: center; font-size: 0.95rem; color: var(--text-secondary); max-width: 680px; margin: 0 auto 48px; line-height: 1.7; }
.pricing-disclaimer strong { color: var(--purple-deep); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.pricing-card { border: 2px solid var(--lavender-light); border-radius: 16px; padding: 32px 20px; text-align: center; transition: all 0.3s ease; position: relative; background: var(--white); }
.pricing-card:hover { border-color: var(--blue-primary); box-shadow: 0 8px 28px var(--shadow); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--blue-primary); background: linear-gradient(135deg, var(--white), var(--lavender-light)); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue-primary); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 14px; border-radius: 50px; white-space: nowrap; }
.pricing-card h3 { font-size: 0.95rem; color: var(--text-secondary); font-family: 'Lato', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.pricing-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--purple-deep); font-weight: 700; line-height: 1; margin-bottom: 4px; }
.pricing-save { display: inline-block; margin-top: 10px; background: var(--pink-accent); color: #b84a50; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 12px; line-height: 1.6; }
.pricing-cta { text-align: center; margin-top: 48px; font-size: 1rem; color: var(--text-secondary); }
.pricing-cta a { color: var(--blue-primary); font-weight: 700; text-decoration: underline; }

/* REFERRAL */
.referral { padding: 100px 0; background: linear-gradient(135deg, var(--purple-deep) 0%, var(--blue-dark) 100%); text-align: center; color: var(--white); position: relative; overflow: hidden; }
.referral .section-title { color: var(--white); }
.referral .section-subtitle { color: rgba(255,255,255,0.8); }
.referral-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 48px 40px; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.referral-icon { font-size: 3rem; margin-bottom: 20px; }
.referral-card h3 { font-size: 1.6rem; margin-bottom: 16px; color: var(--white); }
.referral-card p { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 12px; }
.referral-highlight { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 8px 24px; font-weight: 700; font-size: 0.95rem; margin-top: 8px; color: var(--white); }

/* TESTIMONIALS */
.testimonials { padding: 100px 0; background: var(--section-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: 16px; padding: 36px 28px; box-shadow: 0 2px 12px var(--shadow); position: relative; }
.testimonial-card::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--lavender); line-height: 1; position: absolute; top: 16px; left: 24px; opacity: 0.6; }
.testimonial-text { font-style: italic; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; padding-top: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--lavender), var(--blue-primary)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--text-primary); font-size: 0.9rem; }
.testimonial-location { font-size: 0.8rem; color: var(--text-secondary); }
.testimonial-stars { color: #f4b942; font-size: 0.85rem; margin-bottom: 4px; }

/* FAQ */
.faq { padding: 100px 0; background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--lavender-light); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text-primary); gap: 16px; transition: color 0.2s; }
.faq-question:hover { color: var(--blue-primary); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--lavender-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: var(--blue-primary); transition: all 0.3s; font-weight: 700; }
.faq-item.open .faq-icon { background: var(--blue-primary); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; font-size: 0.97rem; color: var(--text-secondary); line-height: 1.8; }
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }

/* CONTACT */
.contact { padding: 100px 0; background: var(--section-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--purple-deep); margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-secondary); }
.contact-item-icon { width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; box-shadow: 0 2px 8px var(--shadow); }
.contact-item strong { display: block; color: var(--text-primary); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-item a { color: var(--text-secondary); }
.contact-item a:hover { color: var(--blue-primary); }
.quote-form { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: 0 4px 24px var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--lavender-light); border-radius: 10px; font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text-primary); background: var(--background); transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(91,143,212,0.15); background: var(--white); }
.form-group input.error, .form-group select.error { border-color: #e05c65; }
.form-error { color: #e05c65; font-size: 0.8rem; margin-top: 4px; display: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; }
.form-success { display: none; text-align: center; padding: 40px 32px; }
.form-success.show { display: block; }
.form-success h3 { color: var(--purple-deep); font-size: 1.6rem; margin-bottom: 12px; font-family: 'Playfair Display', serif; }
.form-success p { color: var(--text-secondary); line-height: 1.7; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }

/* FOOTER */
.footer { background: var(--purple-deep); color: rgba(255,255,255,0.8); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 52px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.footer-tagline { font-style: italic; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.65); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background 0.2s; color: var(--white); font-weight: 700; }
.footer-social a:hover { background: var(--blue-primary); }
.footer-col h4 { font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul span { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { padding-bottom: 0; align-items: center; }
  .hero-image { justify-content: center; }
  .mallary-hero { max-height: 380px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 1.85rem; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .about-stats { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .referral-card { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 10px; align-items: center; }
  .mallary-hero { max-height: 300px; }
}
