/*
Theme Name: Eternal Solutions Corporate
Theme URI: https://eternal-solutions.com/
Author: Eternal Solutions Inc.
Author URI: https://eternal-solutions.com/
Description: A modern corporate WordPress theme for Eternal Solutions Inc., focused on enterprise AI, cloud, data, integration, platform engineering and digital modernization.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eternal-solutions
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column, accessibility-ready
*/

:root {
  --navy: #081529;
  --navy-2: #0d2240;
  --blue: #1858db;
  --blue-2: #4e7cff;
  --cyan: #00aeb8;
  --sky: #eef6ff;
  --paper: #f8fafc;
  --white: #ffffff;
  --text: #101b2d;
  --muted: #5c697a;
  --line: #dce4ed;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
  --shadow: 0 22px 60px rgba(20, 49, 91, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 200; padding: 10px 14px; color: var(--white); background: var(--blue); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 7px 28px rgba(8,21,41,.08); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-symbol { display: block; width: 72px; height: 38px; flex: none; object-fit: contain; }
.brand-copy { display: flex; align-items: baseline; gap: 5px; color: var(--navy); font-family: var(--display); }
.brand-copy strong { font-size: 1.04rem; letter-spacing: -.03em; }
.brand-copy small { color: var(--blue); font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.custom-brand-logo, .custom-brand-logo .custom-logo-link { display: flex; align-items: center; }
.custom-brand-logo img { width: auto; max-width: 250px; max-height: 58px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { color: #384658; font-size: .91rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.primary-menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: #384658; font-size: .91rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.primary-menu a:hover, .primary-menu a:focus-visible { color: var(--blue); }
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--blue); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 18px; padding: 11px 17px; border-radius: 999px; color: var(--white); background: linear-gradient(110deg, var(--blue-2), var(--blue)); box-shadow: 0 9px 24px rgba(24,88,219,.24); }
.menu-toggle { display: none; padding: 10px; border: 0; background: none; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 6px 0; background: var(--navy); }

.hero { position: relative; min-height: 820px; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; background: #f7fbff; }
.hero-art { position: absolute; inset: 82px 0 0; background: url("assets/images/enterprise-flow.webp") center right / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.18) 64%, rgba(255,255,255,0) 100%); }
.hero-content { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 19px; color: var(--blue); font-size: .77rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #78e5ed; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; }
h1 { max-width: 800px; margin: 0; color: var(--navy); font-size: clamp(3.25rem, 6.2vw, 6.6rem); letter-spacing: -.067em; }
h1 span { color: var(--blue); }
.hero-content > p:not(.eyebrow) { max-width: 650px; margin: 27px 0 0; color: #4d5b6b; font-size: 1.15rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 25px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(110deg, var(--blue-2), var(--blue)); box-shadow: 0 12px 28px rgba(24,88,219,.26); }
.text-link { color: var(--navy); font-size: .94rem; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 7px; color: var(--blue); }

.credibility { padding: 96px 0; background: var(--navy); }
.credibility-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 95px; align-items: end; }
.credibility .eyebrow { color: #76dfe6; }
.credibility h2 { max-width: 700px; margin: 0; color: var(--white); font-size: clamp(2.15rem, 4vw, 3.8rem); letter-spacing: -.052em; }
.credibility-intro > p { margin: 0 0 6px; color: rgba(255,255,255,.64); font-size: 1.04rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 65px; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.metric-grid > div { min-height: 145px; display: flex; flex-direction: column; justify-content: center; padding: 25px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.metric-grid strong { color: var(--white); font: 700 clamp(1.8rem, 3vw, 2.65rem) var(--display); letter-spacing: -.04em; }
.metric-grid span { margin-top: 4px; color: rgba(255,255,255,.48); font-size: .8rem; }

.section-heading { max-width: 860px; margin-bottom: 60px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .solutions-intro h2, .differentiator-heading h2, .outcome-heading h2, .contact h2 { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 4.7vw, 4.65rem); letter-spacing: -.058em; }
.section-heading > p:last-child { max-width: 690px; margin: 22px auto 0; color: var(--muted); font-size: 1.05rem; }

.industries { background: var(--paper); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card { min-height: 460px; overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: 0 7px 28px rgba(8,21,41,.07); transition: transform .25s ease, box-shadow .25s ease; }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.industry-visual { position: relative; height: 235px; overflow: hidden; }
.industry-manufacturing .industry-visual { background: radial-gradient(circle at 68% 33%, rgba(80,211,221,.9), transparent 25%), linear-gradient(145deg, #081b35 0%, #1261c7 55%, #75dded 100%); }
.industry-automotive .industry-visual { background: radial-gradient(circle at 35% 40%, rgba(97,141,255,.85), transparent 26%), linear-gradient(145deg, #070f28 0%, #303e97 52%, #31aec1 100%); }
.industry-regulated .industry-visual { background: radial-gradient(circle at 70% 65%, rgba(71,220,201,.75), transparent 25%), linear-gradient(145deg, #0a1830 0%, #074f78 50%, #09a9b0 100%); }
.industry-visual::before, .industry-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.industry-visual::before { width: 250px; height: 250px; right: -40px; top: -60px; box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 76px rgba(255,255,255,.028); }
.industry-visual::after { width: 160px; height: 160px; left: -45px; bottom: -70px; }
.industry-orbit { position: absolute; width: 250px; height: 1px; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: translate(-50%,-50%) rotate(-28deg); }
.industry-code { position: absolute; left: 25px; bottom: 18px; color: rgba(255,255,255,.85); font: 700 .8rem var(--display); letter-spacing: .12em; }
.industry-copy { padding: 30px; }
.industry-copy h3 { margin: 0 0 14px; color: var(--navy); font-size: 1.42rem; letter-spacing: -.035em; }
.industry-copy p { min-height: 52px; margin: 0; color: var(--muted); font-size: .93rem; }
.industry-copy a { display: inline-block; margin-top: 22px; color: var(--blue); font-size: .83rem; font-weight: 700; text-decoration: none; }
.industry-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.industry-strip span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #536273; background: var(--white); font-size: .77rem; }

.solutions { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #102952 0%, var(--blue) 55%, #087e94 100%); }
.solutions::before { content: ""; position: absolute; width: 700px; height: 700px; right: -240px; bottom: -430px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.solutions-layout { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.solutions-intro { position: sticky; top: 130px; }
.solutions-intro h2 { color: var(--white); }
.solutions-intro > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.button-light { margin-top: 23px; color: var(--navy); background: var(--white); box-shadow: 0 10px 28px rgba(3,16,35,.18); }
.solution-list { border-top: 1px solid rgba(255,255,255,.25); }
.solution-list a { display: grid; grid-template-columns: 45px 1fr 30px; gap: 18px; align-items: center; min-height: 88px; border-bottom: 1px solid rgba(255,255,255,.25); color: var(--white); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.solution-list a:hover { padding-inline: 12px; background: rgba(255,255,255,.08); }
.solution-list span { color: #8deaf0; font-size: .72rem; font-weight: 700; }
.solution-list strong { font: 600 clamp(1rem, 1.7vw, 1.25rem) var(--display); }
.solution-list i { color: #8deaf0; font-style: normal; text-align: right; }

.technology { background: var(--white); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tech-card { min-height: 255px; padding: 31px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: var(--sky); font: 800 .68rem var(--display); letter-spacing: .1em; }
.tech-card h3 { margin: 48px 0 11px; color: var(--navy); font-size: 1.22rem; letter-spacing: -.03em; }
.tech-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.differentiators { color: var(--white); background: var(--navy); }
.differentiator-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: end; margin-bottom: 58px; }
.differentiator-heading h2 { color: var(--white); }
.differentiator-heading > p:last-child { margin: 0 0 5px; color: rgba(255,255,255,.62); }
.differentiator-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.differentiator-grid article { min-height: 275px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.differentiator-grid span { color: #75dfe7; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.differentiator-grid h3 { margin: 62px 0 14px; color: var(--white); font-size: 1.18rem; letter-spacing: -.025em; }
.differentiator-grid p { margin: 0; color: rgba(255,255,255,.54); font-size: .89rem; }

.outcomes { background: #eef5ff; }
.outcome-heading { display: flex; justify-content: space-between; gap: 55px; align-items: end; margin-bottom: 52px; }
.outcome-heading h2 { max-width: 760px; }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.outcome-grid article { min-height: 310px; padding: 29px; border-radius: 18px; background: var(--white); box-shadow: 0 7px 24px rgba(8,21,41,.06); }
.outcome-grid strong { color: var(--blue); font: 700 clamp(1.8rem, 3vw, 2.55rem) var(--display); letter-spacing: -.05em; }
.outcome-grid h3 { margin: 75px 0 12px; color: var(--navy); font-size: 1.03rem; letter-spacing: -.025em; }
.outcome-grid p { margin: 0; color: var(--muted); font-size: .86rem; }

.engagement { background: var(--white); }
.engagement-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.engagement-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.engagement-steps article { position: relative; padding: 0 23px 32px; text-align: center; }
.engagement-steps span { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 21px; border: 7px solid var(--white); border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--cyan)); font: 700 1rem var(--display); box-shadow: 0 8px 22px rgba(24,88,219,.2); }
.engagement-steps small { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.engagement-steps h3 { margin: 8px 0 10px; color: var(--navy); font-size: 1.1rem; letter-spacing: -.03em; }
.engagement-steps p { margin: 0; color: var(--muted); font-size: .85rem; }
.engagement-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 58px; }
.engagement-models article { padding: 29px; border: 1px solid var(--line); border-radius: 16px; }
.engagement-models h3 { margin: 0 0 11px; color: var(--navy); font-size: 1.1rem; }
.engagement-models p { margin: 0; color: var(--muted); font-size: .89rem; }

.contact { padding: 100px 0; color: var(--white); background: linear-gradient(115deg, #0b2447 0%, var(--blue) 58%, #06949f 100%); }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: center; }
.contact h2 { color: var(--white); }
.contact-layout > div:first-child > p:last-child { max-width: 650px; color: rgba(255,255,255,.7); font-size: 1.02rem; }
.contact-action { padding: 32px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; background: rgba(255,255,255,.08); }
.button-large { width: 100%; min-height: 58px; margin: 0; }
.contact-email { display: block; margin: 24px 0 18px; color: var(--white); font-weight: 700; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.contact-action > div { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.62); font-size: .8rem; }
.contact-action > div a { text-decoration: none; }

.footer { padding: 66px 0 24px; color: rgba(255,255,255,.6); background: #050d1a; }
.footer-main { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1.05fr; gap: 55px; padding-bottom: 48px; }
.footer-brand .brand-copy { color: var(--white); }
.footer-main > div:first-child p { max-width: 300px; color: rgba(255,255,255,.42); font-size: .88rem; }
.footer h3 { margin: 7px 0 18px; color: var(--white); font-size: .82rem; letter-spacing: .02em; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main a, .footer-main span { font-size: .8rem; text-decoration: none; }
.footer-main a:hover { color: #7fe3e9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }

.content-shell { min-height: 70vh; padding: 150px 0 90px; background: var(--paper); }
.content-layout { max-width: 920px; }
.content-card { margin-bottom: 28px; padding: clamp(28px, 5vw, 62px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 35px rgba(8,21,41,.06); }
.entry-title { margin: 0 0 25px; color: var(--navy); font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.055em; }
.entry-title a { text-decoration: none; }
.entry-content { color: #3f4d5e; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content a { color: var(--blue); }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; color: var(--navy); }
.entry-image { margin: 0 0 30px; overflow: hidden; border-radius: 14px; }
.error-card { text-align: center; }
.error-card .button { margin-top: 18px; }
.full-width-page { min-height: 60vh; padding-top: 82px; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; }
.page-numbers.current { color: var(--white); background: var(--blue); border-color: var(--blue); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .site-nav { position: fixed; inset: 82px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 17px 24px 28px; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 16px 35px rgba(8,21,41,.1); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 14px; padding: 13px 17px; border: 0; color: var(--white); }
  .menu-toggle { display: block; }
  .credibility-intro, .solutions-layout, .differentiator-heading, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .solutions-intro { position: static; }
  .industry-grid, .tech-grid, .differentiator-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card:last-child { grid-column: 1 / -1; }
  .outcome-grid, .engagement-steps { grid-template-columns: repeat(2, 1fr); }
  .engagement-steps::before { display: none; }
  .footer-main { grid-template-columns: 1.4fr .8fr .8fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 80px 0; }
  .hero { min-height: 720px; padding-top: 132px; }
  .hero-art { inset: 82px 0 0; background-position: 60% center; }
  .hero-art::after { background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.82)); }
  h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .hero-content > p:not(.eyebrow) { font-size: 1.03rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .credibility { padding: 75px 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid > div { min-height: 125px; padding: 18px; }
  .industry-grid, .tech-grid, .differentiator-grid, .outcome-grid, .engagement-steps, .engagement-models { grid-template-columns: 1fr; }
  .industry-card:last-child { grid-column: auto; }
  .industry-card { min-height: auto; }
  .solution-list a { min-height: 80px; grid-template-columns: 34px 1fr 20px; }
  .tech-card { min-height: 220px; }
  .differentiator-grid article { min-height: 235px; }
  .outcome-heading { display: block; }
  .outcome-grid article { min-height: 265px; }
  .outcome-grid h3 { margin-top: 50px; }
  .engagement-steps article { padding-bottom: 40px; }
  .contact-action > div, .footer-bottom { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-main > div:first-child, .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
