/* Sitara Infotech — Shared landing page stylesheet
   Used by /textile-software, /ai-automation, /services/petrol-pump-pos, /services/restaurant-pos,
   their city sub-pages, /locations/*, and /sitemap. Variables and components match the editorial
   service-page system in /services/*. */

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

:root {
    --gold: #B8960C;
    --gold-light: #D4AF37;
    --gold-muted: #C5A55A;
    --dark: #1a1a1a;
    --text: #2d2d2d;
    --text-secondary: #5a5a5a;
    --bg: #ffffff;
    --bg-warm: #FAFAF7;
    --bg-card: #F7F6F3;
    --border: #E8E6E1;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* Navigation */
nav { position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--dark); text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta { background: var(--dark) !important; color: #fff !important; padding: 0.5rem 1.25rem; border-radius: 6px; font-size: 0.8125rem !important; letter-spacing: 0.03em; transition: background 0.2s !important; }
.nav-cta:hover { background: #333 !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--dark); margin: 4px 0; transition: 0.3s; }

/* Breadcrumb */
.breadcrumb { padding: 5.5rem 2rem 0; max-width: 1200px; margin: 0 auto; }
.breadcrumb a, .breadcrumb span { font-size: 0.8125rem; color: var(--text-secondary); text-decoration: none; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--border); }

/* Sections */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-muted) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; color: var(--dark); line-height: 1.25; margin-bottom: 1.5rem; }

/* Hero */
.hero { padding: 8rem 2rem 5rem; background: var(--bg); }
.hero-content { max-width: 820px; }
.hero-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-muted) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 500; color: var(--dark); line-height: 1.15; margin-bottom: 1.75rem; letter-spacing: -0.01em; }
.hero p { font-size: 1.125rem; color: var(--text-secondary); max-width: 720px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--dark); color: #fff; padding: 0.875rem 2rem; border-radius: 6px; text-decoration: none; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.hero-cta:hover { background: #333; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.hero-cta svg { width: 16px; height: 16px; transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(3px); }
.hero-content > * { opacity: 0; transform: translateY(20px); animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-content > *:nth-child(4) { animation-delay: 0.7s; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

/* Offering cards */
.offerings-section { background: var(--bg-warm); }
.offerings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.offering-card { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--gold-muted); padding: 2.25rem; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.offering-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-left-color: var(--gold); }
.offering-card h3 { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: var(--dark); margin-bottom: 0.75rem; font-style: italic; }
.offering-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* Tech stack table */
.stack-section { background: var(--bg); }
.stack-table { width: 100%; border-collapse: collapse; margin-top: 2.5rem; }
.stack-table thead th { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); text-align: left; padding: 1rem 1.5rem; border-bottom: 2px solid var(--border); }
.stack-table tbody td { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.stack-table tbody td:first-child { font-weight: 600; color: var(--dark); white-space: nowrap; width: 200px; }
.stack-table tbody td:last-child { color: var(--text-secondary); font-size: 0.9375rem; }

/* City cards */
.cities-section { background: var(--bg); }
.cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.city-card { background: var(--bg-warm); border: 1px solid var(--border); border-top: 3px solid var(--gold-muted); padding: 2.25rem; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.3s, transform 0.2s; }
.city-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.city-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--dark); margin-bottom: 0.75rem; }
.city-card .city-flag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.city-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.city-card .city-link { font-size: 0.8125rem; font-weight: 600; color: var(--dark); margin-top: 0.75rem; display: inline-block; }

/* Differentiators */
.diff-section { background: var(--bg-warm); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.diff-card { border-left: 3px solid var(--gold-muted); padding: 2rem; background: var(--bg); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.diff-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; font-style: italic; color: var(--dark); margin-bottom: 0.75rem; }
.diff-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* FAQ */
.faq-section { background: var(--bg-warm); }
.faq-list { margin-top: 2.5rem; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s; padding: 0; }
.faq-item.open .faq-answer { max-height: 400px; padding-top: 1rem; }
.faq-answer p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* Geo tags */
.geo-section { background: var(--bg); }
.geo-tags { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; }
.geo-tag { font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); background: var(--bg-warm); border: 1px solid var(--border); padding: 0.375rem 1rem; border-radius: 20px; letter-spacing: 0.02em; }

/* Related */
.related-section { background: var(--bg-warm); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.related-card { background: var(--bg); border: 1px solid var(--border); padding: 1.75rem; text-decoration: none; transition: box-shadow 0.3s, transform 0.2s; display: block; }
.related-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.05); transform: translateY(-2px); }
.related-num { font-size: 0.8125rem; font-weight: 600; color: var(--gold); margin-bottom: 0.5rem; }
.related-card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; color: var(--dark); margin-bottom: 0.5rem; font-style: italic; }
.related-card p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.6; }

/* Divider + reveal */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-muted), transparent); border: none; margin: 0; opacity: 0.4; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }

/* Contact + footer */
.contact-section { background: var(--dark); color: #fff; text-align: center; }
.contact-section .section-title { color: #fff; }
.contact-section .section-label { color: var(--gold-light); background: none; -webkit-text-fill-color: var(--gold-light); }
.contact-tagline { font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 400; color: #fff; margin-bottom: 0.5rem; line-height: 1.3; }
.contact-sub { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 3rem; }
.contact-details { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-bottom: 2rem; }
.contact-item { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.contact-item:hover { color: var(--gold-light); }
.contact-links { display: flex; justify-content: center; gap: 2rem; margin-top: 1rem; }
.contact-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.05em; transition: color 0.2s; }
.contact-links a:hover { color: var(--gold-light); }
.footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-top: 3rem; color: rgba(255,255,255,0.35); font-size: 0.8125rem; }

/* Contact form */
.contact-form { max-width: 520px; margin: 0 auto 2rem; text-align: left; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.375rem; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; color: #fff; font-family: var(--sans); font-size: 0.9375rem; transition: border-color 0.2s, background 0.2s; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--gold-muted); background: rgba(255,255,255,0.12); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select option { background: var(--dark); color: #fff; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold); color: var(--dark); padding: 0.875rem 2.5rem; border: none; border-radius: 6px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; width: 100%; justify-content: center; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.35); transition: transform 0.2s, box-shadow 0.2s; animation: waPulse 2.5s ease-in-out infinite; }
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); animation: none; }
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,0.55); } }
.wa-popup { position: absolute; bottom: 72px; right: 0; background: #fff; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.18); width: 280px; overflow: hidden; opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.wa-popup.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-popup-header { background: #075E54; color: #fff; padding: 16px 20px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.wa-popup-header span { display: block; font-size: 0.75rem; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.wa-option { display: flex; align-items: center; gap: 12px; padding: 14px 20px; text-decoration: none; color: #2d2d2d; font-family: var(--sans); font-size: 0.875rem; border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.wa-option:last-child { border-bottom: none; }
.wa-option:hover { background: #f7f7f7; }
.wa-option .wa-flag { font-size: 1.25rem; flex-shrink: 0; }
.wa-option .wa-num { font-size: 0.75rem; color: #888; margin-top: 1px; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; gap: 1rem; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 7rem 1.5rem 3.5rem; }
    section { padding: 4rem 1.5rem; }
    .offerings-grid, .cities-grid, .diff-grid, .related-grid { grid-template-columns: 1fr; }
    .contact-details { flex-direction: column; gap: 1rem; align-items: center; }
    .breadcrumb { padding-top: 5rem; }
    .stack-table { font-size: 0.875rem; }
    .stack-table tbody td:first-child { white-space: normal; width: auto; }
}
@media (max-width: 480px) {
    .form-row-half { grid-template-columns: 1fr; }
    .wa-float { bottom: 20px; right: 20px; }
    .wa-popup { width: 260px; right: -8px; }
}
