/* Rajaram Foods — Playfair Display (headings) + Montserrat (body, taglines, descriptions) */

:root {
    --rj-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --rj-font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --font-heading: var(--rj-font-heading);
    --font-body: var(--rj-font-body);
    --heading-font: var(--rj-font-heading);
    --body-font: var(--rj-font-body);
    --rj-brand: #ffda5c;
    --rj-brand-hover: #f0cb4e;
    --rj-brand-secondary: #036242;
    --rj-surface-dark: #0e382c;
    --rj-cta: var(--rj-brand);
    --rj-footer-accent: var(--rj-brand);
}

html,
body {
    font-family: var(--rj-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--rj-font-heading);
    font-weight: 700;
}

h1 {
    font-weight: 800;
}

.page-home .home-projects-heading,
.page-home .home-projects-heading-accent,
.page-home #home-stats .home-stats-heading,
.page-home #home-stats .home-stats-heading .home-projects-heading-accent,
.page-home #home-products .home-products-heading,
.page-home #home-products .home-products-heading .home-projects-heading-accent,
.page-home #home-seed-to-sip .home-seed-to-sip__title,
.page-home #home-seed-to-sip .home-seed-to-sip__title-accent,
.page-home #home-locations .home-services-heading,
.page-home #home-locations .home-services-heading-accent,
.page-home #home-blog-listing .home-blog-listing__heading,
.page-home #home-blog-listing .home-blog-listing__heading .home-projects-heading-accent,
.page-home #home-testimonial-clientele .home-testimonial-clientele__heading,
.page-home #home-testimonial-clientele .home-testimonial-clientele__heading-line,
.page-home #home-testimonial-clientele .home-testimonial-clientele__heading .home-projects-heading-accent {
    font-family: var(--rj-font-body, "Montserrat", sans-serif) !important;
    font-weight: 300 !important;
    letter-spacing: -0.03em;
}

.page-home #site-footer-v2 .site-footer-rj__pre-heading {
    font-family: "GothamThin", "HelveticaNeue-Thin", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 500 !important;
}

.page-home #home-locations .home-services-title,
.page-home #home-locations .home-services-title span {
    font-family: "GothamThin", "HelveticaNeue-Thin", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.page-product-detail #rj-product-detail-related .home-products-heading,
.page-product-detail #rj-product-detail-related .home-products-heading .home-projects-heading-accent,
.page-store-catalog .store-catalog-heading,
.page-store-catalog .store-catalog-heading .home-projects-heading-accent,
.page-blog-list #blog-listing-page .blog-listing-hero__heading,
#jobs-page .jobs-page-hero__heading,
#infrastructure-page .infrastructure-hero__heading,
#contact-hero .contact-hero__heading,
#contact-form-section .contact-form-section__heading,
.about-page-body .about-page-hero__heading,
.about-page-body .about-group-intro .about-owners__title,
.about-page-body .about-owners .about-owners__title,
.about-page-body .about-journey__title {
    font-family: var(--rj-font-body, "Montserrat", sans-serif) !important;
    font-weight: 300 !important;
    letter-spacing: -0.03em;
}

.page-blog-detail #blog-detail-page .blog-details-wrapper .blog-post-item .post-content .title {
    font-family: var(--rj-font-heading) !important;
    font-weight: 700 !important;
}

/* Taglines, eyebrows, small section labels — Montserrat (not display headings) */
[class*="__tagline"],
[class*="__eyebrow"]:not(.home-hero-rj__eyebrow),
.about-group-stats__title,
.site-header-v3__dropdown-desc,
.site-header-v3__nav > a,
.site-header-v3__item > a,
.arch-menu-meta-link {
    font-family: var(--rj-font-body) !important;
}

.arch-menu-line {
    font-family: var(--rj-font-body, "Montserrat", sans-serif) !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
}

/* Display titles / hero headings */
[class*="__heading"]:not(.home-projects-heading):not([class*="__heading-line"]):not(.about-page-hero__heading):not(.blog-listing-hero__heading):not(.jobs-page-hero__heading):not(.contact-hero__heading):not(.contact-form-section__heading):not(.store-catalog-heading),
.about-owners__title,
.about-journey__title,
.about-page-hero__heading,
.contact-hero__heading,
.contact-form-section__heading,
.hero-slide__title,
.blog-clamp-2,
#home-hero-slide .hero-slide__title {
    font-family: var(--rj-font-heading) !important;
}

[class*="__dropdown-title"] {
    font-family: var(--rj-font-body) !important;
    font-weight: 600;
}

/* Body copy */
p,
li,
label,
input,
textarea,
select,
button,
[class*="__desc"],
[class*="__detail"],
[class*="__value"],
[class*="__body"],
.about-owners__desc,
.about-page-hero__desc,
.contact-hero__desc,
.contact-card__value,
.about-rajaram-highlight__detail,
.site-footer-v2__tagline,
.site-footer-v2__col a,
.site-footer-v2__col p {
    font-family: var(--rj-font-body);
}

/* Agricom home hero — keep ref typography (Poppins + Abril Fatface) */
#start-screen .start-screen__content .title,
#start-screen .start-screen__content .subtitle,
#start-screen .custom-btn {
    font-family: "Poppins", sans-serif !important;
}

#start-screen .start-screen__content-fruits {
    font-family: "Abril Fatface", Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.about-rajaram-highlight__title {
    font-family: var(--rj-font-heading);
}

.contact-card__label,
.about-group-stat__label {
    font-family: var(--rj-font-body);
    font-weight: 600;
}

.font-suisse {
    font-family: var(--rj-font-body) !important;
}

.font-suisse :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--rj-font-heading) !important;
}

/* Product / intro hero pattern (centered copy + CTA row) */
.rj-hero,
.rj-section-intro {
    text-align: center;
}

.rj-hero .rj-tagline,
.rj-tagline {
    font-family: var(--rj-font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #b5560f;
}

html[data-theme="dark"] .rj-hero .rj-tagline,
html[data-theme="dark"] .rj-tagline {
    color: var(--rj-brand, #ffda5c);
}

.rj-hero h1,
.rj-hero .rj-d1 {
    font-family: var(--rj-font-heading);
    font-weight: 900;
    font-size: clamp(3.5rem, 11vw, 9.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0.35em 0 0;
}

.rj-hero .rj-desc,
.rj-hero .rj-d2,
.rj-hero .rj-lead {
    font-family: var(--rj-font-body);
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    max-width: 42rem;
    margin: 1.25rem auto 0;
}

.rj-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.rj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--rj-font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rj-btn--primary {
    background: #231a10;
    color: #ffffff;
    border-color: #231a10;
}

html[data-theme="dark"] .rj-btn--primary {
    background: var(--rj-brand, #ffda5c);
    color: #181818;
    border-color: var(--rj-brand, #ffda5c);
}

.rj-btn--secondary {
    background: transparent;
    color: #231a10;
    border-color: rgba(35, 26, 16, 0.35);
}

html[data-theme="dark"] .rj-btn--secondary {
    color: #e7e7e7;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.rj-btn:hover {
    transform: translateY(-1px);
}

.rj-btn--primary:hover {
    filter: brightness(1.05);
}

.rj-btn--secondary:hover {
    border-color: var(--rj-brand, #ffda5c);
    color: var(--rj-brand, #ffda5c);
}
