/* Palette taken from the Rudrix logo: navy lettering, royal-to-azure R, silver ring, flame accent */
:root {
  --navy-900: #06122E;
  --navy-800: #0A1A40;
  --navy: #0B1E4B;
  --royal: #1450B8;
  --royal-dark: #0F3F94;
  --azure: #2B93EC;
  --azure-light: #7FBDF3;
  --ink: #0B1E4B;
  --text: #33405A;
  --muted: #5B6B85;
  --silver: #C3CBD7;
  --line: #DCE2EA;
  --bg: #FFFFFF;
  --bg-alt: #F3F5F8;
  --flame: #E8761E;
  --green: #138808;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(11, 30, 75, .09);
  --f-display: "Archivo", "Arial", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--f-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-family: var(--f-display); font-weight: 700; font-stretch: 108%; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 1rem; letter-spacing: -.3px; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; font-weight: 650; }
h4 { font-size: 1.02rem; font-weight: 650; }
p + p { margin-top: 1rem; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; background: var(--royal); color: #fff; font-family: var(--f-display); font-weight: 600; font-stretch: 108%; font-size: .86rem; letter-spacing: .9px; text-transform: uppercase; padding: .95rem 1.6rem; border-radius: 3px; border: 1px solid var(--royal); cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--royal-dark); border-color: var(--royal-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(195,203,215,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .78rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 18, 46, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(195,203,215,.14); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 1.4rem; letter-spacing: 1.5px; }
.brand-text small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: 1.6px; color: var(--silver); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a:not(.btn) { color: #C9D2DF; font-weight: 500; font-size: .93rem; transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--navy-900); color: #C9D2DF; overflow: hidden; padding: 5rem 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,18,46,.95) 0%, rgba(6,18,46,.8) 42%, rgba(6,18,46,.18) 75%, rgba(6,18,46,.05) 100%), linear-gradient(0deg, rgba(6,18,46,.6), transparent 35%); }
.hero-inner { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: .7rem; color: var(--silver); font-family: var(--f-mono); font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--flame); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.85rem); font-weight: 750; font-stretch: 112%; margin: 1.2rem 0 1.3rem; max-width: 800px; letter-spacing: -.6px; line-height: 1.08; }
.accent { color: var(--azure-light); }
.lead { font-size: 1.12rem; max-width: 560px; color: #D2DAE6; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2.3rem 0 3rem; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; max-width: 860px; border-top: 1px solid rgba(195,203,215,.22); }
.hero-stats li { padding: 1.2rem 1.6rem 0 0; margin-right: 1.6rem; border-right: 1px solid rgba(195,203,215,.18); }
.hero-stats li:last-child { border-right: 0; margin-right: 0; }
.hero-stats strong { display: block; color: #fff; font-family: var(--f-display); font-weight: 650; font-stretch: 112%; font-size: 1.5rem; line-height: 1.25; }
.hero-stats span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .8px; text-transform: uppercase; color: #9AA8BD; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-800); color: #B8C3D4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--royal); font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; font-size: .74rem; margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--flame); }
.eyebrow.light { color: var(--azure-light); }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 1400 / 1190; object-fit: cover; border-radius: var(--radius); }
.checks { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42rem; width: 1rem; height: 1rem; border: 1.5px solid var(--royal); border-radius: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%231450B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 85% no-repeat; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sector img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sector-body { padding: 1.6rem 1.6rem 1.7rem; border-top: 3px solid var(--royal); }
.sector-body p { font-size: .95rem; }
.sector ul { list-style: none; margin-top: 1.1rem; border-top: 1px solid var(--line); }
.sector li { font-size: .88rem; font-weight: 500; color: var(--ink); padding: .55rem 0 .55rem 1.1rem; border-bottom: 1px solid var(--line); position: relative; }
.sector li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--azure); }

/* Antenna families */
.family { display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.family:first-of-type { border-top: 0; padding-top: 0; }
.family-intro { display: flex; flex-direction: column; gap: 1.1rem; }
.family-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.family-no { font-family: var(--f-mono); color: var(--royal); font-size: .8rem; letter-spacing: 1.2px; }
.family-intro h3 { font-size: 1.45rem; margin: .25rem 0 .4rem; }
.family-intro p { font-size: .95rem; color: var(--muted); }
.family-intro strong { color: var(--ink); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-content: start; }
.types.two { grid-template-columns: repeat(2, 1fr); }
.type { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.35rem; transition: border-color .2s, box-shadow .2s; }
.type:hover { border-color: var(--silver); box-shadow: var(--shadow); }
.type img { width: 100%; aspect-ratio: 10 / 7; object-fit: contain; background: linear-gradient(180deg, #F6F8FB 0%, #E9EDF3 100%); border-radius: 4px; margin-bottom: 1rem; }
.types.two .type img { aspect-ratio: 16 / 9; }
.type h4 { margin-bottom: .35rem; }
.type p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cap-media { position: relative; }
.cap-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.cap-media figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(6,18,46,.85); backdrop-filter: blur(6px); color: #fff; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .5px; padding: .8rem 1rem; border-radius: 3px; border-left: 3px solid var(--flame); }
.process { list-style: none; margin-top: 2rem; display: grid; }
.process li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(195,203,215,.14); }
.process li:first-child { border-top: 0; padding-top: 0; }
.step { font-family: var(--f-mono); font-size: 1rem; color: var(--azure-light); line-height: 1.9; }
.process h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.process p { font-size: .93rem; }

/* Make in India */
.mii-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.mii-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(#FF9933 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }
.mii-points { list-style: none; display: grid; gap: .8rem; }
.mii-points li { background: var(--bg-alt); border-left: 3px solid var(--royal); border-radius: 3px; padding: .9rem 1.2rem; }
.mii-points strong { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 650; }
.mii-points span { font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); padding: clamp(4rem, 9vw, 6.5rem) 0; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.55); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,18,46,.96) 0%, rgba(6,18,46,.84) 50%, rgba(10,26,64,.5) 100%); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #C9D2DF; max-width: 560px; margin-bottom: 1.8rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { font-style: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.contact-info .wide { grid-column: 1 / -1; }
.contact-info h4 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.4px; color: var(--royal); margin-bottom: .3rem; }
.contact-info p { font-size: .95rem; }
.contact-info a:hover { color: var(--royal); }
.contact-form { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--royal); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: .95rem; padding: .7rem .85rem; border: 1px solid var(--silver); border-radius: 3px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--royal); border-color: transparent; }
.form-note { font-size: .9rem; min-height: 1.2em; }
.form-note.error { color: #B91C1C; }
.form-note.ok { color: var(--green); }

/* Footer */
.site-footer { background: var(--navy-900); color: #93A1B6; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #93A1B6; margin-top: 1rem; font-size: .92rem; }
.site-footer h4 + .muted { margin-top: 0; }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(195,203,215,.12); padding: 1.25rem 0; font-size: .82rem; }
.copyright p + p { margin-top: 0; font-family: var(--f-mono); font-size: .75rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .family { grid-template-columns: 1fr; }
  .family-intro { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--navy-900); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.25rem; transform: translateY(-120%); transition: transform .3s; border-bottom: 1px solid rgba(195,203,215,.14); z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(195,203,215,.1); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 0; padding: 4rem 0 3.5rem; }
  .hero-bg { object-position: 72% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(6,18,46,.96) 0%, rgba(6,18,46,.85) 55%, rgba(6,18,46,.55) 100%); }
  .about-grid, .cap-grid, .mii-box, .contact-grid { grid-template-columns: 1fr; }
  .cap-media img { aspect-ratio: 16 / 10; }
  .sector-grid { grid-template-columns: 1fr; max-width: 560px; }
  .types, .types.two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .family-intro { grid-template-columns: 1fr; }
  .types, .types.two { grid-template-columns: 1fr; }
  .type img, .types.two .type img { aspect-ratio: 16 / 8; object-fit: contain; }
  .contact-form .row, .contact-info { grid-template-columns: 1fr; }
  .hero-stats li { padding-right: 1.2rem; margin-right: 1.2rem; }
  .hero-stats li:nth-child(2) { border-right: 0; }
  .hero-stats strong { font-size: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { letter-spacing: 1px; }
}
