/*
 * AstroGrace Homepage - Flatsome 3.20.9 Child Theme CSS
 * Visual direction: exact reference-inspired navy / ivory / gold luxury layout.
 * Scope is restricted to .ag-home so it does not restyle other pages.
 */

.ag-home{--ag-navy:#071a33;--ag-navy-2:#0b2444;--ag-gold:#c99a3b;--ag-gold-2:#e2bf72;--ag-ivory:#fbf8f1;--ag-cream:#f4efe4;--ag-ink:#173252;--ag-muted:#68778b;--ag-line:#e7dfd0;--ag-white:#fff;--ag-radius:8px;color:var(--ag-ink);font-family:Inter,Arial,sans-serif;overflow:hidden;background:#fff}
.ag-home h1,.ag-home h2,.ag-home h3,.ag-home h4{font-family:"Cormorant Garamond",Georgia,serif;color:var(--ag-ink);letter-spacing:.01em;margin:0 0 10px}
.ag-home p{font-size:15.5px;line-height:1.72;color:#52647a;margin:0 0 12px}
.ag-home a{text-decoration:none}
.ag-home .container{max-width:1180px!important}
.ag-home .ag-eyebrow{font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:#8d6b2e;margin-bottom:8px}
.ag-home .ag-title{font-size:40px;line-height:1.02}
.ag-home .ag-subtitle{max-width:670px;margin-left:auto;margin-right:auto}
.ag-home .ag-btn{display:inline-flex;align-items:center;gap:8px;border-radius:28px;padding:11px 18px;font-size:12px;font-weight:700;line-height:1;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.ag-home .ag-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(7,26,51,.14)}
.ag-home .ag-btn--gold{background:linear-gradient(135deg,#d5aa4f,#bb8c2f);color:#fff;border:1px solid #d2a24a}
.ag-home .ag-btn--ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.75)}
.ag-home .ag-btn--light{background:#fffaf2;color:var(--ag-ink);border:1px solid var(--ag-line)}
.ag-home .ag-btn--navy{background:var(--ag-navy);color:#fff;border:1px solid var(--ag-navy)}
.ag-home .ag-arrow{font-size:13px}

/* Hero */
.ag-home .ag-hero{position:relative;min-height:520px;display:flex;align-items:center;background:#071a33}
.ag-home .ag-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,51,.96) 0%,rgba(7,26,51,.84) 42%,rgba(7,26,51,.28) 72%,rgba(7,26,51,.02) 100%);z-index:1;pointer-events:none}
.ag-home .ag-hero-art{position:absolute;right:0;top:0;width:100%;height:100%;object-fit:cover;object-position:center right;z-index:0}
.ag-home .ag-hero-inner{position:relative;z-index:2;width:100%;max-width:1180px;margin:0 auto;padding:84px 24px 72px}
.ag-home .ag-hero-copy{max-width:610px}
.ag-home .ag-hero .ag-eyebrow{color:#e2bf72}
.ag-home .ag-hero h1{font-size:60px;line-height:.98;color:#fff;max-width:650px}
.ag-home .ag-hero h1 .gold{color:#e2bf72}
.ag-home .ag-hero p{color:rgba(255,255,255,.89);font-size:17px;max-width:560px}
.ag-home .ag-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

/* Trust strip */
.ag-home .ag-trust{background:var(--ag-ivory);border-bottom:1px solid var(--ag-line)}
.ag-home .ag-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.ag-home .ag-trust-item{min-height:92px;padding:17px 16px;display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid #d9d2c3;text-align:left}
.ag-home .ag-trust-item:last-child{border-right:0}
.ag-home .ag-icon-round{width:42px;height:42px;display:grid;place-items:center;color:var(--ag-gold);flex:0 0 auto}
.ag-home .ag-trust-item strong{display:block;font-size:13px;color:var(--ag-ink);margin-bottom:2px}
.ag-home .ag-trust-item span{display:block;font-size:11px;color:#6c7887;line-height:1.4}

/* Shared sections */
.ag-home .ag-section{padding:70px 0}
.ag-home .ag-section--ivory{background:var(--ag-ivory)}
.ag-home .ag-section--cream{background:#f7f2e9}
.ag-home .ag-center-head{text-align:center;margin-bottom:34px}
.ag-home .ag-center-head h2{font-size:38px}

/* Approach */
.ag-home .ag-approach-grid{display:grid;grid-template-columns:43% 57%;gap:34px;align-items:center}
.ag-home .ag-approach-img{width:100%;border-radius:7px;display:block;aspect-ratio:1.56;object-fit:cover;box-shadow:0 18px 40px rgba(7,26,51,.12)}
.ag-home .ag-approach-copy{padding-right:12px}
.ag-home .ag-approach-copy h2{font-size:42px}

/* Expertise cards */
.ag-home .ag-traditions{background:linear-gradient(180deg,#fbf8f1 0%,#fff 100%)}
.ag-home .ag-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ag-home .ag-service-card{background:#fff;border:1px solid var(--ag-line);border-radius:6px;padding:28px 26px 24px;min-height:230px;box-shadow:0 8px 24px rgba(17,34,54,.04)}
.ag-home .ag-service-card:hover{box-shadow:0 12px 30px rgba(17,34,54,.08)}
.ag-home .ag-service-card h3{font-size:24px}
.ag-home .ag-service-icon{width:54px;height:54px;margin-bottom:15px;color:var(--ag-gold)}
.ag-home .ag-service-card p{font-size:13px;max-width:290px}
.ag-home .ag-link{font-size:12px;font-weight:700;color:#8c6725;display:inline-flex;align-items:center;gap:7px;margin-top:7px}

/* Reports */
.ag-home .ag-reports{background:#f7f2e9}
.ag-home .ag-report-grid{display:grid;grid-template-columns:30% 37% 33%;gap:22px;align-items:center}
.ag-home .ag-report-img{width:100%;aspect-ratio:1/1;border-radius:6px;object-fit:cover;display:block}
.ag-home .ag-report-copy h2{font-size:32px}
.ag-home .ag-report-copy p{font-size:14px}
.ag-home .ag-price{font-size:28px;font-weight:700;color:var(--ag-ink);margin:8px 0 14px}
.ag-home .ag-report-list{border-left:1px solid #ddd5c5;padding-left:24px}
.ag-home .ag-report-list h4{font-family:Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:.16em;font-size:9px;font-weight:800;color:#8f7035;margin:0 0 10px}
.ag-home .ag-report-list ul{list-style:none;padding:0;margin:0}
.ag-home .ag-report-list li{font-size:12px;color:#5c6b7c;margin:0 0 7px;position:relative;padding-left:16px;line-height:1.35}
.ag-home .ag-report-list li::before{content:"✓";position:absolute;left:0;top:0;color:#9a742f;font-weight:800}

/* Benefits */
.ag-home .ag-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.ag-home .ag-benefit{text-align:center;padding:10px 20px;border-right:1px solid var(--ag-line)}
.ag-home .ag-benefit:last-child{border-right:0}
.ag-home .ag-benefit h4{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:800;margin:11px 0 6px}
.ag-home .ag-benefit p{font-size:12px;line-height:1.5;margin:0}

/* Testimonials */
.ag-home .ag-testimonials{position:relative;background:var(--ag-navy);color:#fff;overflow:hidden}
.ag-home .ag-testimonials::before{content:"";position:absolute;inset:auto 0 0;height:70%;background:radial-gradient(circle at 20% 20%,rgba(58,92,126,.36),transparent 46%),linear-gradient(180deg,transparent,rgba(0,0,0,.22));pointer-events:none}
.ag-home .ag-testimonials-inner{position:relative;z-index:2}
.ag-home .ag-testimonials-grid{display:grid;grid-template-columns:31% 69%;gap:25px;align-items:center}
.ag-home .ag-testimonials h2{font-size:40px;color:#fff}
.ag-home .ag-testimonials .ag-eyebrow{color:#d7ae56}
.ag-home .ag-testimonials-copy p{color:rgba(255,255,255,.8);font-size:13px}
.ag-home .ag-testimonial-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ag-home .ag-testimonial{background:#fff;color:var(--ag-ink);padding:18px 17px;border-radius:7px;min-height:172px;border:1px solid rgba(255,255,255,.18)}
.ag-home .ag-stars{color:#b9882c;letter-spacing:.12em;font-size:12px;margin-bottom:10px}
.ag-home .ag-quote{font-family:"Cormorant Garamond",Georgia,serif;font-size:17px;line-height:1.3;color:#23405d;margin-bottom:10px}
.ag-home .ag-client{font-size:11px;color:#748092;font-weight:700}

/* Nakshatras */
.ag-home .ag-nak-grid{display:grid;grid-template-columns:repeat(14,1fr);gap:12px;align-items:start}
.ag-home .ag-nak-item{text-align:center}
.ag-home .ag-nak-dot{width:42px;height:42px;border-radius:50%;background:#0b2648;color:#e0b55d;border:1px solid rgba(201,154,59,.55);display:grid;place-items:center;margin:0 auto 6px;box-shadow:0 4px 10px rgba(7,26,51,.08)}
.ag-home .ag-nak-item span{display:block;font-size:9px;line-height:1.25;color:#53647a}
.ag-home .ag-nak-cta{text-align:center;margin-top:17px}

/* 2027 */
.ag-home .ag-2027{position:relative;overflow:hidden;background:#071a33;color:#fff;min-height:250px}
.ag-home .ag-2027::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,51,.95) 0%,rgba(7,26,51,.78) 50%,rgba(7,26,51,.16) 100%);z-index:1}
.ag-home .ag-2027-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.ag-home .ag-2027-inner{position:relative;z-index:2;padding:62px 0}
.ag-home .ag-2027 h2{color:#fff;font-size:42px}
.ag-home .ag-2027 p{color:rgba(255,255,255,.86);max-width:500px;font-size:14px}
.ag-home .ag-2027-layout{display:grid;grid-template-columns:62% 38%;align-items:end}
.ag-home .ag-zodiac-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px 8px;margin-top:12px}
.ag-home .ag-zodiac{color:#e2bf72;text-align:center;font-size:10px}
.ag-home .ag-zodiac svg{display:block;margin:0 auto 3px;width:20px;height:20px}

/* Why choose */
.ag-home .ag-why-grid{display:grid;grid-template-columns:65% 35%;gap:30px;align-items:center}
.ag-home .ag-why-items{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 22px}
.ag-home .ag-why-item{display:grid;grid-template-columns:40px 1fr;gap:10px}
.ag-home .ag-why-item h4{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:800;margin:2px 0 5px}
.ag-home .ag-why-item p{font-size:11px;line-height:1.5}
.ag-home .ag-why-icon{width:34px;height:34px;color:var(--ag-gold)}
.ag-home .ag-why-photo{width:100%;aspect-ratio:1/1;border-radius:50%;object-fit:cover;display:block;box-shadow:0 22px 42px rgba(7,26,51,.12)}

/* About */
.ag-home .ag-about{background:var(--ag-ivory)}
.ag-home .ag-about-grid{display:grid;grid-template-columns:38% 62%;gap:34px;align-items:center}
.ag-home .ag-about-image{width:100%;aspect-ratio:1/1.06;object-fit:cover;border-radius:7px;display:block}
.ag-home .ag-about-copy h2{font-size:42px}
.ag-home .ag-signature{font-family:"Cormorant Garamond",Georgia,serif;font-size:22px;color:#805f27;margin-top:16px}

/* Journal */
.ag-home .ag-journal{background:var(--ag-navy)}
.ag-home .ag-journal h2{color:#fff}
.ag-home .ag-journal .ag-center-head{color:#fff}
.ag-home .ag-journal .ag-eyebrow{color:#d7ae56}
.ag-home .ag-journal .ag-subtitle{color:rgba(255,255,255,.76)}
.ag-home .ag-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ag-home .ag-post{background:#fff;border-radius:6px;overflow:hidden;border:1px solid rgba(255,255,255,.14)}
.ag-home .ag-post img{display:block;width:100%;aspect-ratio:1.7/1;object-fit:cover}
.ag-home .ag-post-body{padding:14px}
.ag-home .ag-post-cat{font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#9b762f;margin-bottom:6px}
.ag-home .ag-post h3{font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.35;color:var(--ag-ink);margin-bottom:8px}
.ag-home .ag-post-meta{font-size:10px;color:#758191}

/* Final CTA + Footer */
.ag-home .ag-final{position:relative;background:#071a33;color:#fff;min-height:180px;overflow:hidden}
.ag-home .ag-final::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgba(60,110,155,.25),transparent 56%)}
.ag-home .ag-final-inner{position:relative;z-index:2;text-align:center;padding:54px 20px}
.ag-home .ag-final h2{color:#fff;font-size:38px}
.ag-home .ag-final p{color:rgba(255,255,255,.8);max-width:640px;margin-left:auto;margin-right:auto;font-size:13px}
.ag-home .ag-final-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.ag-home .ag-footer{background:#06162b;color:#bfc9d5;padding:42px 0 16px}
.ag-home .ag-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.3fr;gap:24px}
.ag-home .ag-footer h4{font-family:Inter,Arial,sans-serif;color:#fff;font-size:12px;margin-bottom:12px}
.ag-home .ag-footer p,.ag-home .ag-footer a,.ag-home .ag-footer span{color:#aeb9c8;font-size:11px;line-height:1.7}
.ag-home .ag-footer-brand{font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;color:#fff;margin-bottom:3px}
.ag-home .ag-footer-tag{font-size:10px;color:#d7ae56;margin-bottom:10px}
.ag-home .ag-footer-links a{display:block}
.ag-home .ag-socials{display:flex;gap:8px;margin-top:13px}
.ag-home .ag-social{width:28px;height:28px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px}
.ag-home .ag-newsletter{display:flex;gap:7px;margin-top:8px}
.ag-home .ag-newsletter input{width:100%;height:36px;border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.04);color:#fff;padding:0 11px;border-radius:4px}
.ag-home .ag-newsletter button{height:36px;width:40px;border-radius:4px;border:0;background:#d1a447;color:#fff}
.ag-home .ag-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:30px;padding-top:14px;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#7f8ea1}

/* Utility */
.ag-home .ag-max{max-width:1180px;margin:0 auto;padding-left:20px;padding-right:20px}
.ag-home .ag-spacer-8{height:8px}
.ag-home .ag-spacer-16{height:16px}
.ag-home .ag-spacer-22{height:22px}
.ag-home .ag-spacer-30{height:30px}

/* Mobile */
@media (max-width:849px){
  .ag-home .ag-section{padding:52px 0}
  .ag-home .ag-hero{min-height:620px}
  .ag-home .ag-hero-inner{padding:110px 20px 56px}
  .ag-home .ag-hero::after{background:linear-gradient(180deg,rgba(7,26,51,.86) 0%,rgba(7,26,51,.72) 56%,rgba(7,26,51,.48) 100%)}
  .ag-home .ag-hero-art{object-position:67% center}
  .ag-home .ag-hero h1{font-size:45px;max-width:500px}
  .ag-home .ag-hero p{font-size:15px;max-width:500px}
  .ag-home .ag-trust-grid{grid-template-columns:repeat(2,1fr)}
  .ag-home .ag-trust-item{min-height:78px}
  .ag-home .ag-trust-item:nth-child(2){border-right:0}
  .ag-home .ag-trust-item:nth-child(3),.ag-home .ag-trust-item:nth-child(4){border-top:1px solid #d9d2c3}
  .ag-home .ag-approach-grid,.ag-home .ag-report-grid,.ag-home .ag-testimonials-grid,.ag-home .ag-why-grid,.ag-home .ag-about-grid{grid-template-columns:1fr}
  .ag-home .ag-approach-copy{padding-right:0}
  .ag-home .ag-card-grid{grid-template-columns:1fr}
  .ag-home .ag-service-card{min-height:0}
  .ag-home .ag-benefits-grid{grid-template-columns:repeat(2,1fr)}
  .ag-home .ag-benefit{border-bottom:1px solid var(--ag-line);padding:15px 15px}
  .ag-home .ag-benefit:nth-child(2n){border-right:0}
  .ag-home .ag-benefit:nth-child(3),.ag-home .ag-benefit:nth-child(4){border-bottom:0}
  .ag-home .ag-testimonial-cards{grid-template-columns:1fr}
  .ag-home .ag-testimonial{min-height:unset}
  .ag-home .ag-nak-grid{grid-template-columns:repeat(6,1fr);gap:13px 8px}
  .ag-home .ag-2027-layout{grid-template-columns:1fr}
  .ag-home .ag-2027{min-height:430px}
  .ag-home .ag-zodiac-grid{grid-template-columns:repeat(4,1fr);margin-top:22px}
  .ag-home .ag-why-items{grid-template-columns:repeat(2,1fr)}
  .ag-home .ag-post-grid{grid-template-columns:repeat(2,1fr)}
  .ag-home .ag-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:549px){
  .ag-home .ag-title,.ag-home .ag-center-head h2{font-size:31px}
  .ag-home .ag-hero{min-height:665px}
  .ag-home .ag-hero h1{font-size:39px}
  .ag-home .ag-hero-actions{display:grid;grid-template-columns:1fr;max-width:300px}
  .ag-home .ag-btn{justify-content:center}
  .ag-home .ag-trust-grid{grid-template-columns:1fr}
  .ag-home .ag-trust-item{border-right:0!important;border-top:1px solid #d9d2c3!important;justify-content:flex-start;padding-left:22px}
  .ag-home .ag-trust-item:first-child{border-top:0!important}
  .ag-home .ag-approach-copy h2,.ag-home .ag-about-copy h2{font-size:34px}
  .ag-home .ag-report-list{border-left:0;border-top:1px solid var(--ag-line);padding-left:0;padding-top:18px}
  .ag-home .ag-nak-grid{grid-template-columns:repeat(4,1fr)}
  .ag-home .ag-nak-dot{width:38px;height:38px}
  .ag-home .ag-why-items{grid-template-columns:1fr}
  .ag-home .ag-post-grid{grid-template-columns:1fr}
  .ag-home .ag-footer-grid{grid-template-columns:1fr 1fr}
  .ag-home .ag-footer-bottom{flex-direction:column}
}

/* Disable theme-added top/bottom margins around the scoped homepage content where possible. */
.ag-home .row,.ag-home .col{margin-bottom:0}
.ag-home .is-divider{display:none}
