/* Vedic Astro Seva: shared visual theme for public pages and portals. */
:root {
    --gold: #a66b00;
    --gold-light: #d8b363;
    --maroon: #865400;
    --saffron: #b77c08;
    --ink: #241b12;
    --text: #241b12;
    --muted: #706456;
    --ivory: #fffbf4;
    --paper: #fffdf8;
    --line: #e8d8b9;
    --bg: #fffbf4;
    --surface: #fffdf8;
    --panel: #fffdf8;
    --sidebar: #fffaf0;
    --sidebar-soft: #f6ecd8;
    --deep: #8b5b08;
    --success: #39603a;
}
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--ivory); color: var(--ink); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.17; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a66b00; outline-offset: 4px; }
.public-site main { overflow-wrap: anywhere; }
.public-site main .section { padding: 76px 6vw; }
.public-site main .page-hero { position: relative; padding: 58px 6vw 62px; border-top: 1px solid #ead8b9; border-bottom: 1px solid #ead8b9; background: linear-gradient(90deg,#fffaf0f5 0%,#fffaf0f0 54%,#fffaf0a8 100%),url('../images/vedic-footer.webp') center/cover; color: var(--ink); }
.public-site .page-hero h1 { max-width: 1050px; font-size: clamp(38px,4.7vw,72px); letter-spacing: -1.5px; font-weight: 500; }
.public-site .page-hero > p:not(.eyebrow) { max-width: 800px; color: #5d5041; font-size: 18px; line-height: 1.7; }
.public-site .page-hero .btn { margin-top: 22px; }
.public-site main .eyebrow { color: #976100; font: 600 14px/1.5 Arial,Helvetica,sans-serif; letter-spacing: 1.5px; margin: 0 0 14px; }
.public-site .section-title { margin-bottom: 36px; }
.public-site .section-title.center { max-width: 900px; margin-bottom: 38px; }
.public-site .section-title h2, .public-site .about-band h2, .public-site .product-band h2, .public-site .faq-cta h2 { font-size: clamp(32px,3.6vw,54px); line-height: 1.16; letter-spacing: -.7px; color: var(--ink); }
.public-site .section-title > p:not(.eyebrow) { color: var(--muted); }
.public-site main .btn { min-height: 48px; border: 1px solid #9b670e; border-radius: 9px; padding: 12px 22px; font: 600 16px/1.4 Arial,Helvetica,sans-serif; cursor: pointer; text-align: center; }
.public-site main .btn.primary { background: linear-gradient(#bd8307,#956000); color: white; box-shadow: inset 0 1px #ffd58055,0 6px 15px #91600c12; }
.public-site main .btn.primary:hover { background: linear-gradient(#ad7505,#825200); box-shadow: 0 7px 20px #80540825; }
.public-site main .btn.ghost { color: #865400; border-color: #a87a35; background: #fffcf6; }
.public-site main .btn.ghost:hover { background: #f6ead4; }
.public-site .grid, .public-site .image-card-grid, .public-site .expert-grid, .public-site .testimonial-grid { gap: 25px; }
.public-site .card, .public-site .panel, .public-site .module, .public-site .stat, .public-site .plan, .public-site .expert-card, .public-site .testimonial-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px #6c4a1310; }
.public-site .card, .public-site .panel { padding: 30px; }
.public-site .card { min-height: 255px; display: flex; flex-direction: column; align-items: flex-start; }
.public-site .card > span { display: block; margin-bottom: 8px; color: #986100; font-size: 13px; line-height: 1.6; font-weight: 600; letter-spacing: .6px; }
.public-site .card h3 { margin: 0 0 14px; color: var(--ink); font-size: 29px; font-weight: 500; }
.public-site .card p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.public-site .card > strong { margin-top: auto; color: #865400; font-size: 21px; font-weight: 600; }
.public-site .card:hover, .public-site .image-card:hover, .public-site .expert-card:hover, .public-site .plan:hover { border-color: #bd9248; transform: translateY(-3px); box-shadow: 0 14px 36px #80540819; }
.public-site .image-card { justify-content: flex-start; align-items: flex-start; min-height: 365px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: radial-gradient(circle at top right,#eed7a34d 0,transparent 48%),var(--paper); box-shadow: 0 8px 28px #6c4a1310; gap: 12px; }
.service-emblem { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #d9b46a; border-radius: 50%; color: #a66b00; background: #fcf0d8; margin-bottom: 7px; }
.service-emblem .icon { width: 31px; height: 31px; }
.public-site .image-card > span { color: #986100; font-weight: 600; letter-spacing: 1px; font-size: 13px; }
.public-site .image-card h3 { font-size: 30px; font-weight: 500; }
.public-site .image-card p { color: var(--muted); font-size: 16px; }
.public-site .image-card > strong { margin-top: auto; padding-top: 10px; color: #865400; font-weight: 600; font-size: 21px; }
.public-site .service-showcase .image-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.public-site .service-showcase .image-card { padding: 26px; }
.public-site .service-showcase .image-card h3 { font-size: 27px; }
.public-site .stats-strip { border-radius: 0 0 12px 12px; border-top: 0; box-shadow: 0 10px 30px #80540812; }
.public-site .stats-strip strong { color: #8f5d06; font-size: 38px; font-weight: 500; }
.public-site .stats-strip span { color: var(--muted); font-size: 14px; font-weight: 500; }
.public-site .stats-strip div { padding: 25px 18px; }
.public-site .about-band { background: #f8f0e2; gap: 50px; }
.public-site .about-photo { min-height: 500px; border-radius: 14px; border: 1px solid #d3ad66; background: url('../images/vedic-hero.webp') 92% center/auto 100% no-repeat; box-shadow: 0 18px 45px #80540822; }
.public-site .about-band p { font-size: 17px; line-height: 1.8; }
.public-site .check-list { gap: 12px; }
.public-site .check-list span { padding: 14px 16px; background: #fffaf1; color: #66502d; font-size: 15px; font-weight: 500; border-radius: 8px; border-color: #ddc8a2; }
.public-site .plans-section { background: #fffaf1; color: var(--ink); border-block: 1px solid var(--line); }
.public-site .plans-section .section-title p { color: #976100; }
.public-site .plans-section .section-title h2 { color: var(--ink); }
.public-site .plan-grid { gap: 20px; }
.public-site .plan { position: relative; padding: 27px; border-top: 3px solid #b88119; }
.public-site .plan > span { color: #976100; font-size: 13px; font-weight: 600; letter-spacing: .8px; }
.public-site .plan h3 { min-height: 85px; font-size: 27px; color: var(--ink); font-weight: 500; }
.public-site .plan p { color: var(--muted); }
.public-site .plan strong { color: #956000; font-size: 29px; font-weight: 500; font-family: Georgia,'Times New Roman',serif; }
.public-site .plan a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 17px; border: 1px solid #a57930; border-radius: 7px; color: #865400; font-size: 15px; font-weight: 600; background: #fff9ee; }
.public-site .expert-card { padding: 32px 25px; }
.public-site .avatar { background: radial-gradient(circle,#fffcf5 60%,#edd3a0); color: #966100; border: 1px solid #d7b46d; box-shadow: inset 0 0 0 7px #faf0dc; font-size: 33px; }
.public-site .expert-card h3 { font-size: 29px; font-weight: 500; color: var(--ink); }
.public-site .expert-card span { color: #976100; font-size: 15px; font-weight: 600; }
.public-site .expert-card strong { color: #865400; font-size: 15px; font-weight: 500; }
.public-site .product-band { color: var(--ink); background: linear-gradient(90deg,#f7eddbeb,#fffaf1f5),url('../images/vedic-footer.webp') center/cover; border-block: 1px solid var(--line); gap: 50px; }
.public-site .product-band p { color: var(--muted); font-size: 17px; }
.public-site .product-stack a { background: #fffdf7ed; border: 1px solid #dfcba5; color: var(--ink); border-radius: 10px; padding: 22px; grid-template-columns: 100px minmax(0,1fr) auto; box-shadow: 0 7px 22px #8054080d; }
.public-site .product-stack span { color: #966100; font-size: 14px; font-weight: 500; }
.public-site .product-stack strong { font-size: 17px; font-weight: 500; }
.public-site .product-stack em { color: #865400; font-weight: 600; white-space: nowrap; }
.public-site .testimonial-grid article { padding: 30px; border-top: 2px solid #c99f54; }
.public-site .testimonial-grid span { color: #9b670e; letter-spacing: 2px; }
.public-site .testimonial-grid p { color: #5e5243; font-size: 17px; line-height: 1.8; }
.public-site .testimonial-grid strong { color: #865400; font-weight: 600; }
.public-site .faq-cta { background: #f8f0e2; border-bottom: 1px solid var(--line); }
.public-site .faq-cta p { font-size: 17px; }
.public-site .panel h2 { color: #865400; font-size: 31px; margin-bottom: 22px; }
.public-site .panel h3 { font-size: 24px; margin: 18px 0 12px; }
.public-site .panel p + p { margin-top: 14px; }
.public-site .panel > p { color: var(--muted); }
.public-site .panel.accent, .public-site .card.dark { background: linear-gradient(135deg,#f9efd9,#fffdf7); color: var(--ink); border-color: #d9bb82; }
.public-site .panel.accent p, .public-site .card.dark p { color: #6a5b46; }
.public-site .panel.accent > strong { display: block; font-size: 31px; color: #976100; margin-top: 25px; font-weight: 500; }
.public-site .panel .btn { margin-top: 22px; }
.public-site .form { gap: 22px; }
.public-site .form label { gap: 8px; font-size: 15px; font-weight: 600; color: #5c4b31; }
.public-site main input, .public-site main select, .public-site main textarea { min-width: 0; max-width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d6c3a0; border-radius: 8px; background: #fffefa; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.5; }
.public-site main input::placeholder, .public-site main textarea::placeholder { color: #827766; opacity: 1; }
.public-site .form .btn { margin-top: 0; }
.public-site main .row { gap: 15px; padding: 17px 0; align-items: flex-start; }
.public-site main .row > span { flex: 1; min-width: 0; }
.public-site main .row > strong { color: #865400; font-weight: 600; }
.public-site dl { grid-template-columns: minmax(110px,150px) minmax(0,1fr); gap: 15px; }
.public-site dt { color: #7c6c52; font-weight: 400; }
.public-site dd { font-weight: 500; overflow-wrap: anywhere; }
.public-site .clean-list { margin: 0; padding-left: 20px; color: #6e5e46; }
.public-site .clean-list li { padding: 7px 0; }
.public-site .clean-list li::marker { color: #a66b00; }
.public-site .chips { margin-bottom: 23px; }
.public-site .chips span, .public-site .steps span { color: #775824; background: #fbf1df; border-color: #dfc89e; font-size: 14px; }
.public-site .notice { padding: 14px 17px; color: #5f481f; background: #f7ecd5; border: 1px solid #e4cfa7; border-radius: 8px; font-size: 15px; font-weight: 500; }
.public-site .notice.error { color: #8b2920; background: #fff1ec; border-color: #e8b5a9; }
.public-site .stat { padding: 23px; }
.public-site .stat strong { color: #956000; font-family: Georgia,'Times New Roman',serif; font-size: 36px; font-weight: 500; }
.public-site .stat span { font-size: 14px; font-weight: 500; }
.public-site .module { padding: 25px; }
.public-site .module h2 { color: #865400; font-size: 27px; }
.public-site .module p { color: var(--muted); margin-top: 12px; }
.public-site main table { width: 100%; border-collapse: collapse; }
.public-site main th, .public-site main td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.public-site main th { color: #865400; background: #faf0dc; font-weight: 600; }
/* Portals use the same ivory surfaces, gold accents, serif headings and logo. */
.admin-site, .portal-site { color: var(--ink); background: var(--ivory); }
.admin-site .sidebar, .portal-site .portal-sidebar { background: #fff9ed; color: var(--ink); border-right: 1px solid #e2cfa8; overflow-y: auto; }
.admin-site .admin-brand, .portal-site .portal-brand { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #dfc99f; color: #865400; }
.dashboard-logo { display: block; width: 100%; height: auto; max-width: 230px; }
.admin-site .admin-brand strong, .portal-site .portal-brand strong { color: #865400; font-family: Georgia,'Times New Roman',serif; font-weight: 500; font-size: 25px; }
.admin-site .admin-nav a, .portal-site .portal-sidebar nav a { color: #665437; padding: 10px 14px; font-size: 15px; font-weight: 500; border: 1px solid transparent; border-radius: 8px; }
.admin-site .admin-nav a:hover, .portal-site .portal-sidebar nav a:hover { background: #f3e6cb; border-color: #ddc18e; color: #805100; }
.admin-site .sidebar-card { background: #f3e6cb; border: 1px solid #e2c99e; border-radius: 10px; }
.admin-site .sidebar-card strong { color: #865400; }
.admin-site .sidebar-card p { color: #6a5a40; font-size: 14px; }
.admin-site .sidebar-card span { font-size: 13px; }
.portal-site .website-link { background: #f2e3c3; border: 1px solid #dac08b; color: #805100; font-weight: 500; }
.admin-site .admin-topbar, .portal-site .portal-topbar { background: #fffdf7ed; border-color: #e5d4b2; }
.admin-site h1, .portal-site h1 { font-size: clamp(30px,3vw,44px); font-weight: 500; color: #352718; }
.admin-site h2, .portal-site h2 { color: #865400; font-size: 26px; font-weight: 500; }
.admin-site h3, .portal-site h3 { color: #865400; font-size: 22px; font-weight: 500; }
.admin-site .muted, .portal-site .portal-topbar > div > span { color: #916315; font-size: 13px; font-weight: 500; letter-spacing: .6px; }
.admin-site button, .admin-site .link, .portal-site button { min-height: 44px; background: linear-gradient(#bd8307,#956000); border: 1px solid #946009; color: white; border-radius: 8px; font-size: 15px; font-weight: 500; padding: 10px 16px; }
.admin-site .kpi, .admin-site .panel, .admin-site .screen-card, .admin-site .record-card, .portal-site .portal-kpis article, .portal-site .portal-panel, .portal-site .portal-card { border-radius: 12px; border-color: var(--line); box-shadow: 0 8px 25px #8054080b; background: #fffdf8; }
.admin-site .kpi, .portal-site .portal-kpis article { border-top: 3px solid #ba8a30; padding: 22px; }
.admin-site .kpi strong, .portal-site .portal-kpis strong { font-family: Georgia,'Times New Roman',serif; font-weight: 500; color: #956000; font-size: 39px; }
.admin-site .kpi span, .portal-site .portal-kpis span { font-size: 13px; font-weight: 500; letter-spacing: .3px; }
.admin-site .kpi small, .portal-site .portal-kpis small { font-size: 13px; }
.admin-site .module-row, .admin-site .detail-list div { background: #fffcf5; border-color: var(--line); border-radius: 9px; }
.admin-site .module-row p, .admin-site .record-card p { font-size: 14px; }
.admin-site .quick-actions button { color: #865400; background: #fbf2df; border-color: #dcc69d; }
.admin-site .row-actions a { background: #f3e4c3; color: #805100; border: 1px solid #d9bd87; border-radius: 7px; }
.admin-site th { color: #865400; background: #fbf1df; font-size: 13px; font-weight: 500; }
.admin-site td { color: #5e503e; }
.admin-site .panel-head, .portal-site .panel-title { flex-wrap: wrap; }
.admin-site .panel, .portal-site .portal-panel { padding: 25px; }
.admin-site .screen-card, .admin-site .record-card, .portal-site .portal-card { padding: 20px; }
.admin-site .screen-actions a, .admin-site .badge, .admin-site .row-actions span, .portal-site .portal-card span { color: #885e19; background: #faf0dc; border-color: #e3cda2; font-size: 13px; font-weight: 500; }
.admin-site .admin-form label, .portal-site .portal-form label { color: #695437; font-size: 15px; font-weight: 500; gap: 8px; }
.admin-site .admin-form input, .admin-site .admin-form select, .admin-site .admin-form textarea, .portal-site .portal-form input, .portal-site .portal-form select, .portal-site .portal-form textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; background: #fffefa; color: var(--ink); border: 1px solid #d6c3a0; border-radius: 8px; font: inherit; }
.portal-site .panel-title span { font-size: 13px; font-weight: 500; }
.portal-site .portal-row { flex-wrap: wrap; overflow-wrap: anywhere; }
.portal-site .portal-row strong { color: #865400; font-weight: 500; }
.portal-site .portal-panel > button { display: block; margin-bottom: 10px; }
.admin-site .admin-notice, .portal-site .portal-notice { font-size: 15px; font-weight: 500; border: 1px solid #bfd1b8; }
.admin-site .status { color: #39603a; border-color: #bfd1b8; background: #eff6eb; }
@media (max-width: 1100px) {
    .public-site .primary-nav, .public-site .header-actions { display: none; }
    .public-site .brand-header { justify-content: space-between; padding: 12px 5vw; }
    .public-site .brand-home { width: 230px; padding: 0; border: 0; }
    .public-site .mobile-nav { display: block; }
    .public-site .mobile-nav > summary { color: #805400; border: 1px solid #c5a475; border-radius: 6px; padding: 9px 12px; cursor: pointer; }
    .public-site .mobile-menu { left: 5vw; right: 5vw; top: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .public-site .mobile-menu .gold-button { grid-column: 1 / -1; }
    .public-site .service-showcase .image-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .public-site .about-band { gap: 32px; }
    .public-site .about-photo { min-height: 390px; background-size: cover; background-position: right center; }
    .public-site .plan h3 { min-height: 65px; }
    .public-site .product-stack a { grid-template-columns: 100px minmax(0,1fr) auto; }
}
@media (max-width: 760px) {
    .admin-site .admin-brand, .portal-site .portal-brand { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; }
    .dashboard-logo { width: 165px; }
    .admin-site .admin-brand strong, .portal-site .portal-brand strong { font-size: 21px; }
    .admin-site .admin-nav, .portal-site .portal-sidebar nav { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 8px; gap: 8px; }
    .admin-site .admin-nav a, .portal-site .portal-sidebar nav a { white-space: nowrap; flex: 0 0 auto; padding: 8px 13px; background: #f8edd8; border: 1px solid #e4cfaa; }
    .admin-site .sidebar, .portal-site .portal-sidebar { padding: 18px; gap: 16px; }
    .admin-site .sidebar-card { display: none; }
    .admin-site .admin-topbar, .portal-site .portal-topbar { position: relative; padding: 20px 18px; }
    .portal-site .website-link { margin-top: 0; align-self: flex-start; padding: 8px 15px; font-size: 14px; }
    .admin-site .panel, .portal-site .portal-panel { padding: 20px; min-width: 0; overflow-x: auto; }
    .admin-site .admin-content, .portal-site .portal-content { gap: 18px; }
    .admin-site .workspace, .portal-site .portal-main { max-width: 100%; }
    .admin-site .panel-head { align-items: flex-start; }
}
@media (max-width: 640px) {
    .public-site .brand-home { width: 205px; }
    .public-site .mobile-nav > summary { font-size: 0; padding: 9px; }
    .public-site .service-showcase .image-card-grid { grid-template-columns: 1fr; }
    .public-site main .section { padding: 44px 6vw; }
    .public-site main .page-hero { padding: 38px 6vw 42px; }
    .public-site .page-hero h1 { font-size: 38px; letter-spacing: -.7px; }
    .public-site .page-hero > p:not(.eyebrow) { font-size: 17px; }
    .public-site .section-title h2, .public-site .about-band h2, .public-site .product-band h2, .public-site .faq-cta h2 { font-size: 34px; letter-spacing: -.5px; }
    .public-site .card, .public-site .panel, .public-site .image-card { padding: 24px; }
    .public-site .image-card { min-height: 330px; }
    .public-site .card h3, .public-site .image-card h3 { font-size: 28px; }
    .public-site .stats-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; }
    .public-site .stats-strip div { padding: 20px 12px; border-bottom: 1px solid var(--line); }
    .public-site .stats-strip div:nth-child(2n) { border-right: 0; }
    .public-site .stats-strip div:nth-last-child(-n+2) { border-bottom: 0; }
    .public-site .stats-strip strong { font-size: 31px; }
    .public-site .stats-strip span { font-size: 13px; }
    .public-site .about-photo { min-height: 330px; }
    .public-site .plan h3 { min-height: 0; }
    .public-site .plan { padding: 25px; }
    .public-site .product-stack a { grid-template-columns: 1fr; gap: 7px; padding: 22px; }
    .public-site .product-stack strong { font-size: 20px; font-family: Georgia,'Times New Roman',serif; }
    .public-site dl { grid-template-columns: 1fr; gap: 5px; }
    .public-site dd { margin-bottom: 12px; }
    .public-site .panel h2 { font-size: 29px; }
    .public-site .clean-list { padding-left: 17px; }
    .public-site main .row { flex-direction: column; gap: 5px; }
    .public-site main table { display: block; overflow-x: auto; }
    .public-site .reference-hero .actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
