:root {
  --navy-950: #041426;
  --navy-900: #071b33;
  --navy-800: #0b2d52;
  --navy-700: #174f83;
  --blue: #2b6fae;
  --red: #bf0a30;
  --red-dark: #980725;
  --white: #ffffff;
  --paper: #f4f7fa;
  --ink: #0b1b2c;
  --muted: #607083;
  --line: #d9e1e9;
  --shadow: 0 30px 90px rgba(4, 20, 38, .16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "Manrope", "Segoe UI Variable", "Segoe UI", Arial, sans-serif; }
html[lang="fa"] body { font-family: "Vazirmatn", Tahoma, Arial, sans-serif; }
html[lang="ar"] body { font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3, html[lang="fa"] .language-cards button strong { font-family: "Vazirmatn", Tahoma, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .language-cards button strong { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { color: var(--white); background: var(--red); }
.floating-stars { position: fixed; z-index: 3; inset: 0; overflow: hidden; pointer-events: none; }
.floating-star { position: absolute; top: var(--y); left: var(--x); width: var(--size); height: var(--size); opacity: .36; background: #c8e2fb; clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 35%); filter: drop-shadow(0 0 5px #a8d8ff); animation: star-drift var(--duration) ease-in-out var(--delay) infinite alternate; }
.floating-star:nth-child(3n) { background: #fff; }
.floating-star:nth-child(7n) { background: #ea3d5c; }
@keyframes star-drift { from { transform: translate3d(0, 12px, 0) rotate(-15deg); opacity: .15; } to { transform: translate3d(17px, -24px, 0) rotate(20deg); opacity: .52; } }

.skip-link { position: fixed; z-index: 100; top: 10px; inset-inline-start: 10px; padding: 10px 14px; color: var(--white); background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 28px)); min-height: 68px; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 15px;
  background: rgba(5, 22, 41, .86); color: var(--white); box-shadow: 0 16px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(20px) saturate(145%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-star { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); border: 2px solid var(--white); border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 3px var(--navy-900); font-size: 1rem; line-height: 1; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: -.025em; }
.brand-copy small { color: #9ab6d1; font-size: .61rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 11px 13px; color: #b9ccde; border-radius: 8px; font-size: .86rem; font-weight: 700; transition: color .2s ease, background .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); background: rgba(255,255,255,.08); outline: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-control { position: relative; }
.language-trigger, .menu-toggle { height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: var(--white); background: rgba(255,255,255,.06); cursor: pointer; }
.language-trigger { padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 850; }
.globe-icon { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #7fa2c2; border-radius: 50%; color: #bdd1e4; font-size: .72rem; }
.language-menu { position: absolute; top: 51px; inset-inline-end: 0; width: 210px; padding: 8px; border: 1px solid #cbd7e3; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.language-menu button { width: 100%; min-height: 45px; padding: 0 11px; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 7px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; text-align: start; cursor: pointer; }
.language-menu button:hover, .language-menu button.active { color: var(--navy-900); background: #eef4f9; }
.language-menu button span { color: var(--red); font-size: .7rem; font-weight: 900; }
.language-menu button b { font-size: .85rem; }
.header-quote { min-height: 43px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--white); background: var(--red); font-size: .8rem; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.header-quote:hover { transform: translateY(-1px); background: #d00c37; }
.menu-toggle { display: none; width: 42px; padding: 0; place-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; display: block; background: var(--white); }

.hero { position: relative; min-height: 820px; padding: 140px max(24px, calc((100vw - 1240px) / 2)) 88px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(45px, 7vw, 100px); color: var(--white); background: var(--navy-950); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 18%, rgba(43,111,174,.2), transparent 34%), linear-gradient(115deg, transparent 0 73%, rgba(191,10,48,.11) 73% 74%, transparent 74%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-copy, .hero-media { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #bed2e5; }
.eyebrow > span:first-child { color: var(--red); }
.hero h1 { max-width: 690px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.05rem, 5vw, 5.35rem); line-height: .97; letter-spacing: -.055em; font-weight: 500; text-wrap: balance; }
.hero h1 em { display: block; margin-top: 9px; color: #89b8df; font-style: normal; }
.hero-lead { max-width: 640px; margin: 29px 0 0; color: #bfd0df; font-size: clamp(1.04rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-buttons { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: .88rem; font-weight: 850; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red { color: var(--white); background: var(--red); box-shadow: 0 14px 35px rgba(191,10,48,.24); }
.button-red:hover { background: #d20b38; }
.button-light { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.button-light:hover { background: rgba(255,255,255,.1); }
.button-outline { color: var(--navy-900); border-color: #9fb2c3; background: transparent; }
.button-outline:hover { color: var(--white); border-color: var(--navy-800); background: var(--navy-800); }
.hero-proofs { margin-top: 43px; padding-top: 23px; display: flex; flex-wrap: wrap; gap: 13px 20px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proofs span { display: inline-flex; align-items: center; gap: 7px; color: #a9bed1; font-size: .76rem; }
.hero-proofs i { width: 19px; height: 19px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); font-size: .65rem; font-style: normal; }
.hero-proofs b { font-weight: 650; }
.hero-media { min-height: 590px; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; box-shadow: 0 38px 100px rgba(0,0,0,.4); clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%, 0 13%); }
.texas-ribbon { position: absolute; z-index: 2; top: 18px; inset-inline-end: -10px; width: 118px; height: 10px; display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 5px 16px rgba(0,0,0,.2); }
.texas-ribbon span:nth-child(1) { background: var(--blue); }
.texas-ribbon span:nth-child(2) { background: var(--white); }
.texas-ribbon span:nth-child(3) { background: var(--red); }
.hero-location { position: absolute; z-index: 3; inset-inline-start: -34px; bottom: 31px; min-width: 310px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; background: rgba(4,20,38,.87); backdrop-filter: blur(18px); box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.location-star { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); }
.hero-location div { display: grid; gap: 2px; }
.hero-location strong { font-size: .77rem; letter-spacing: .08em; }
.hero-location small { color: #98b0c5; font-size: .65rem; }
.hero-stamp { position: absolute; z-index: 3; top: 38px; inset-inline-start: 25px; width: 78px; height: 78px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--white); background: rgba(7,27,51,.45); backdrop-filter: blur(9px); transform: rotate(-8deg); }
.hero-stamp span { font-family: Georgia, serif; font-size: 1.35rem; line-height: 1; }
.hero-stamp b { margin-top: 4px; font-size: .48rem; letter-spacing: .13em; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.section-heading { max-width: 790px; margin-bottom: 48px; }
.section-heading.compact { max-width: 720px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .language-copy h2, .contact-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; text-wrap: balance; }
.section-heading > p:last-child, .language-copy > p, .contact-copy > p { margin: 20px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.partnership { position: relative; padding: 104px 24px; overflow: hidden; color: var(--white); background: linear-gradient(128deg, var(--navy-900), var(--navy-950) 72%); }
.partnership::before { content: ""; position: absolute; width: 620px; height: 620px; inset-inline-end: -310px; top: -320px; border: 82px solid rgba(43,111,174,.14); border-radius: 50%; }
.partnership::after { content: "★"; position: absolute; inset-inline-start: -52px; bottom: -100px; color: rgba(255,255,255,.025); font-family: Georgia, serif; font-size: 23rem; line-height: 1; transform: rotate(-9deg); }
.partnership-shell { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.04fr .96fr; gap: 24px; }
.partnership-lead { padding: 10px 54px 25px 0; }
[dir="rtl"] .partnership-lead { padding: 10px 0 25px 54px; }
.partnership-lead .kicker { color: #ff5a78; }
.partnership-lead h2 { max-width: 680px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 4.7vw, 4.9rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 500; text-wrap: balance; }
.partnership-lead > p { max-width: 650px; margin: 25px 0 0; color: #b9cbdc; font-size: 1rem; line-height: 1.8; }
.partnership-lead blockquote { margin: 31px 0 28px; padding: 5px 0 5px 22px; color: var(--white); border-inline-start: 3px solid var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.45; }
.partnership-value { padding: 34px; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; background: rgba(255,255,255,.06); box-shadow: 0 30px 80px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.value-topline { display: flex; align-items: center; gap: 10px; color: #a9bfd2; font-size: .73rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.value-topline span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); }
.partnership-value h3 { margin: 25px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; }
.partnership-value > p { margin: 0; color: #aec2d4; font-size: .95rem; line-height: 1.75; }
.partnership-value ul { margin: 27px 0 20px; padding: 24px 0 0; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.partnership-value li { display: flex; align-items: flex-start; gap: 10px; color: #d6e2ec; font-size: .85rem; line-height: 1.55; }
.partnership-value li span { flex: 0 0 auto; width: 21px; height: 21px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); font-size: .68rem; }
.partnership-value li b { font-weight: 600; }
.partnership-value > small { display: block; color: #829bb1; font-size: .73rem; line-height: 1.6; }
.partnership-process { grid-column: 1 / -1; margin-top: 17px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(255,255,255,.15); }
.process-card { position: relative; min-height: 238px; padding: 26px; background: #0a2645; }
.process-card > span { position: absolute; top: 25px; inset-inline-end: 25px; color: #69859f; font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.process-icon { width: 43px; height: 43px; display: grid; place-items: center; color: #c8d9e7; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.045); }
.process-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { margin: 31px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.process-card p { margin: 0; color: #91aac0; font-size: .82rem; line-height: 1.65; }

.story { padding-top: 120px; }
.story-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.story-point { min-height: 345px; padding: 31px; display: flex; flex-direction: column; background: var(--white); }
.point-number { color: #8798a8; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.mini-star { width: 44px; height: 44px; margin-top: 37px; display: grid; place-items: center; color: var(--red); border: 1px solid #bdcedd; border-radius: 50%; background: #f4f8fb; }
.story-point h3 { margin: 31px 0 12px; font-family: Georgia, serif; font-size: 1.48rem; font-weight: 500; }
.story-point p { margin: 0; color: var(--muted); line-height: 1.7; }
.city-line { margin-top: 23px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 16px; color: #718296; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.city-line i { color: var(--red); font-size: .6rem; font-style: normal; }

.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 300px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #94b1ca; box-shadow: 0 24px 60px rgba(7,27,51,.1); }
.service-card::after { content: ""; position: absolute; inset-inline-end: -45px; bottom: -75px; width: 180px; height: 180px; border: 28px solid #f1f5f8; border-radius: 50%; }
.service-icon { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; color: var(--navy-700); border: 1px solid #b9cbd9; border-radius: 12px; background: #f2f7fb; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card > span { position: absolute; top: 29px; inset-inline-end: 31px; color: #96a5b3; font-size: .7rem; font-weight: 850; }
.service-card h3 { position: relative; z-index: 1; margin: 48px 0 13px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.service-card p { position: relative; z-index: 1; max-width: 500px; margin: 0; color: var(--muted); line-height: 1.7; }

.work { width: min(1240px, calc(100% - 32px)); padding-top: 80px; border-top: 1px solid var(--line); }
.work-heading { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 55px; }
.work-heading .section-heading { margin-bottom: 45px; }
.concept-note { margin-bottom: 49px; padding: 18px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; color: #445a70; border: 1px solid #c9d6e1; border-radius: 12px; background: #edf3f8; }
.concept-note span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); }
.concept-note p { margin: 0; font-size: .73rem; font-weight: 700; line-height: 1.55; }
.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; }
.work-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 18px 50px rgba(7,27,51,.07); transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(7,27,51,.13); }
.work-card-wide { grid-row: span 2; }
.work-image { position: relative; height: 260px; overflow: hidden; background: var(--navy-900); }
.work-card-wide .work-image { height: 465px; }
.work-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,38,.02) 50%, rgba(4,20,38,.56)); pointer-events: none; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work-card:hover .work-image img { transform: scale(1.035); }
.browser-bar { position: absolute; z-index: 2; top: 15px; inset-inline: 15px; height: 30px; padding: 0 10px; display: flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(4,20,38,.72); backdrop-filter: blur(12px); }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .8; }
.browser-bar i:first-child { background: var(--red); opacity: 1; }
.browser-bar span { width: min(150px, 48%); height: 6px; margin-inline-start: 8px; border-radius: 99px; background: rgba(255,255,255,.16); }
.work-symbol { position: absolute; z-index: 3; inset-inline-end: 18px; bottom: 17px; width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.36); border-radius: 12px; background: rgba(191,10,48,.88); backdrop-filter: blur(9px); }
.work-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.work-copy { padding: 27px 28px 30px; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #8798a8; font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.work-meta b { color: var(--red); }
.work-copy h3 { margin: 15px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.work-copy p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.work-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.work-tags span { padding: 7px 9px; color: #496177; border: 1px solid #d6e0e8; border-radius: 7px; background: #f4f8fb; font-size: .65rem; font-weight: 750; }
.work-cta { margin-top: 15px; padding: 24px 27px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); border-radius: 14px; background: var(--navy-900); }
.work-cta p { max-width: 700px; margin: 0; color: #b7cadb; font-size: .88rem; line-height: 1.65; }
.work-cta .button-outline { flex: 0 0 auto; color: var(--white); border-color: rgba(255,255,255,.36); }
.work-cta .button-outline:hover { border-color: var(--red); background: var(--red); }

.language-section { position: relative; padding: 105px 24px; overflow: hidden; color: var(--white); background: var(--navy-900); }
.language-section::before { content: "★"; position: absolute; inset-inline-start: -80px; bottom: -185px; color: rgba(255,255,255,.035); font-family: Georgia, serif; font-size: 32rem; line-height: 1; transform: rotate(-10deg); }
.language-wrap { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.language-copy .kicker { color: #ff4a6e; }
.language-copy > p { color: #b8cadb; }
.language-copy small { margin-top: 24px; display: block; color: #7f9ab3; }
.language-cards { border-top: 1px solid rgba(255,255,255,.16); }
.language-cards button { width: 100%; min-height: 73px; padding: 0 10px; display: grid; grid-template-columns: 45px 1fr 25px; align-items: center; gap: 15px; color: #b6c8d9; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; text-align: start; cursor: pointer; transition: padding .2s ease, color .2s ease, background .2s ease; }
.language-cards button:hover, .language-cards button.active { padding-inline-start: 18px; color: var(--white); background: rgba(255,255,255,.05); }
.language-cards button > span { color: #758fa8; font-size: .68rem; }
.language-cards button strong { font-family: Georgia, Tahoma, serif; font-size: 1.25rem; font-weight: 500; }
.language-cards button i { color: #ff4a6e; font-style: normal; }

.plans { width: min(1240px, calc(100% - 32px)); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan-card { position: relative; padding: 31px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 12px 35px rgba(7,27,51,.04); }
.plan-card.plan-featured { color: var(--white); border-color: var(--navy-900); background: var(--navy-900); box-shadow: 0 25px 70px rgba(7,27,51,.22); }
.plan-flag { position: absolute; top: 0; inset-inline-end: 0; width: 92px; height: 42px; display: grid; grid-template-columns: 1fr 1fr; }
.plan-flag span:first-child { background: var(--blue); }
.plan-flag span:last-child { display: grid; place-items: center; color: var(--white); background: var(--red); }
.plan-label { margin: 0; color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.plan-featured .plan-label { color: #ff6786; }
.plan-card h3 { margin: 16px 0 0; font-family: Georgia, Tahoma, serif; font-size: 2rem; font-weight: 500; }
.plan-description { min-height: 78px; margin: 19px 0 0; color: var(--muted); line-height: 1.65; }
.plan-featured .plan-description { color: #afc4d7; }
.plan-price { min-height: 85px; margin-top: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.plan-price small { flex-basis: 100%; color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.plan-price strong { font-family: Georgia, serif; font-size: 3.25rem; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.plan-price span { color: var(--muted); font-size: .72rem; }
.plan-featured .plan-price span { color: #9fb5c9; }
.setup-row { margin-top: 8px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: #f5f8fa; }
.setup-row span { color: var(--red); font-weight: 900; }
.setup-row b { color: var(--muted); font-size: .72rem; font-weight: 650; }
.plan-featured .setup-row { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.plan-featured .setup-row b { color: #a7bdcf; }
.price-status { margin-top: 11px; color: #667b8d; font-size: .69rem; font-weight: 800; }
.plan-featured .price-status { color: #86a4bd; }
.plan-card ul { margin: 25px 0 29px; padding: 24px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); list-style: none; }
.plan-featured ul { border-color: rgba(255,255,255,.15); }
.plan-card li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.plan-card li > span { flex: 0 0 auto; color: var(--red); font-weight: 900; }
.plan-card li b { font-weight: 600; }
.plan-featured li { color: #b7c9d8; }
.plan-cta { width: 100%; margin-top: auto; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(50px, 8vw, 110px); border-top: 1px solid var(--line); }
.contact-copy { position: sticky; top: 120px; }
.contact-copy > a { margin-top: 28px; display: inline-block; color: var(--red); font-weight: 850; }
.contact-star { margin-top: 50px; color: #d9e3ec; font-size: 9rem; line-height: .8; }
.quote-form { padding: 33px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 25px 70px rgba(7,27,51,.09); }
.form-notice { margin-bottom: 20px; padding: 14px 16px; border-radius: 9px; font-size: .85rem; line-height: 1.5; }
.form-notice.success { color: #0e5a36; border: 1px solid #9ed7bb; background: #eefaf4; }
.form-notice.failure { color: #8a0b25; border: 1px solid #e5a0ae; background: #fff2f5; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quote-form label { margin-bottom: 15px; display: grid; gap: 7px; color: #405267; font-size: .78rem; font-weight: 750; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; color: var(--ink); border: 1px solid #cbd7e1; border-radius: 8px; background: #fbfdff; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.quote-form input, .quote-form select { height: 48px; padding: 0 13px; }
.quote-form textarea { min-height: 132px; padding: 13px; resize: vertical; line-height: 1.55; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,111,174,.13); }
.submit-button { width: 100%; margin-top: 4px; }
.privacy { margin-top: 12px; display: block; color: #7c8b99; font-size: .68rem; line-height: 1.5; text-align: center; }
.honeypot { position: absolute !important; inset-inline-start: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { width: 100%; margin: 0; padding: 40px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .65fr 1.1fr .65fr; align-items: center; gap: 30px; color: #91a6b9; border-top: 1px solid rgba(255,255,255,.13); background: var(--navy-950); font-size: .74rem; }
.site-footer .brand-copy strong { color: var(--white); }
.site-footer > div { text-align: center; }
.site-footer p { margin: 0; }
.site-footer small { margin-top: 5px; display: block; color: #688198; }
.site-footer > p { text-align: end; }
.site-footer .footer-email { display: inline-block; margin-top: 9px; color: #d5e9fa; text-decoration: underline; text-underline-offset: 3px; }

[dir="rtl"] .hero h1, [dir="rtl"] .section-heading h2, [dir="rtl"] .language-copy h2, [dir="rtl"] .contact-copy h2 { letter-spacing: -.02em; line-height: 1.18; }
[dir="rtl"] .partnership-lead h2, [dir="rtl"] .partnership-value h3, [dir="rtl"] .process-card h3 { letter-spacing: -.01em; line-height: 1.35; }
[dir="rtl"] .language-cards button i { transform: scaleX(-1); }
[dir="rtl"] .hero-location { direction: ltr; }
[dir="rtl"] .work-meta { letter-spacing: 0; }

.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(32px) scale(.985); filter: blur(5px); transition: opacity .85s cubic-bezier(.2,.7,.25,1), transform .85s cubic-bezier(.2,.7,.25,1), filter .85s ease; }
.js-motion .reveal.visible { opacity: 1; transform: none; filter: blur(0); }
.js-motion .service-card:nth-child(2n), .js-motion .work-card:nth-child(2n), .js-motion .process-card:nth-child(2n) { transition-delay: .1s; }
.js-motion .service-card:nth-child(3n), .js-motion .work-card:nth-child(3n), .js-motion .process-card:nth-child(3n) { transition-delay: .18s; }

@media (max-width: 1020px) {
  .main-nav { position: absolute; top: 78px; inset-inline: 0; padding: 10px; display: none; flex-direction: column; align-items: stretch; border: 1px solid #c9d5df; border-radius: 12px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px; color: #4b5f73; }
  .main-nav a:hover { color: var(--navy-900); background: #eef4f9; }
  .menu-toggle { display: grid; }
  .header-quote { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
  .hero-media { min-height: 520px; }
  .story-points { grid-template-columns: 1fr; }
  .story-point { min-height: 280px; }
  .partnership-shell { grid-template-columns: 1fr; }
  .partnership-lead, [dir="rtl"] .partnership-lead { padding: 0 0 28px; }
  .partnership-process { grid-template-columns: repeat(2, 1fr); }
  .work-heading { grid-template-columns: 1fr; gap: 0; }
  .concept-note { max-width: 560px; margin-top: -20px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { grid-row: auto; }
  .work-card-wide .work-image, .work-image { height: min(58vw, 430px); }
  .language-wrap { gap: 50px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 730px; margin: 0 auto; }
  .plan-description { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header { top: 9px; width: calc(100% - 18px); min-height: 61px; padding: 7px 7px 7px 12px; }
  .brand-copy small { display: none; }
  .brand-star { width: 34px; height: 34px; }
  .language-trigger { width: 42px; padding: 0; justify-content: center; }
  .language-trigger > span:not(.globe-icon) { display: none; }
  .language-menu { position: fixed; top: 79px; inset-inline: 9px; width: auto; }
  .hero { min-height: auto; padding: 116px 18px 78px; grid-template-columns: 1fr; gap: 53px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.8rem); }
  [dir="rtl"] .hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-buttons .button { flex: 1; min-width: 160px; padding-inline: 12px; }
  .hero-proofs { gap: 10px 14px; }
  .hero-media { min-height: 480px; }
  .hero-location { inset-inline-start: 14px; bottom: 16px; min-width: 0; width: calc(100% - 28px); }
  .hero-stamp { top: 26px; inset-inline-start: 18px; }
  .section { width: calc(100% - 32px); padding: 84px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .language-copy h2, .contact-copy h2 { font-size: clamp(2.35rem, 11vw, 3.45rem); }
  .partnership { padding: 82px 16px; }
  .partnership-lead h2 { font-size: clamp(2.35rem, 10.5vw, 3.5rem); }
  .partnership-value { padding: 27px 22px; }
  .partnership-process { grid-template-columns: 1fr; }
  .process-card { min-height: 215px; padding: 24px; }
  .story { padding-top: 90px; }
  .story-point { min-height: 300px; padding: 27px; }
  .city-line { justify-content: flex-start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; padding: 27px; }
  .work { width: calc(100% - 24px); }
  .work-image, .work-card-wide .work-image { height: 280px; }
  .work-copy { padding: 23px 21px 25px; }
  .work-cta { padding: 22px; align-items: stretch; flex-direction: column; }
  .language-section { padding: 82px 16px; }
  .language-wrap { grid-template-columns: 1fr; gap: 42px; }
  .language-cards button { min-height: 66px; }
  .plans { width: calc(100% - 24px); }
  .plan-card { padding: 28px 24px; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  .contact-copy { position: static; }
  .contact-star { display: none; }
  .quote-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { width: 100%; min-height: 250px; padding: 40px 20px; grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand { justify-content: center; }
  .site-footer > p { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-fx="on"]) { scroll-behavior: auto; }
  html:not([data-fx="on"]) *, html:not([data-fx="on"]) *::before, html:not([data-fx="on"]) *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html:not([data-fx="on"]) .floating-stars { display: none; }
  html:not([data-fx="on"]) .js-motion .reveal { opacity: 1; transform: none; filter: none; }
}

/* v11: visible motion layer, including a static version for reduced motion. */
.floating-stars { z-index: 12; }
.floating-star {
  color: #a90b38; background: currentColor; opacity: .78;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.85)) drop-shadow(0 0 8px rgba(191,10,48,.5));
  animation: star-drift var(--duration) ease-in-out var(--delay) infinite alternate;
}
.floating-star:nth-child(3n) { color: #0f5792; background: currentColor; }
.floating-star:nth-child(7n) { color: #d32b4a; background: currentColor; }
@keyframes star-drift {
  from { transform: translate3d(-9px, 16px, 0) rotate(-18deg) scale(.72); opacity: .45; }
  to { transform: translate3d(22px, -33px, 0) rotate(35deg) scale(1.14); opacity: .94; }
}
.theme-toggle {
  min-width: 102px; height: 42px; padding: 0 11px;
  display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  border: 1px solid rgba(163,203,237,.48); border-radius: 9px;
  background: rgba(255,255,255,.1); color: #f3f9ff;
  font-size: .75rem; font-weight: 800; cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible { background: rgba(255,255,255,.2); box-shadow: 0 0 0 3px rgba(130,188,235,.22); }
.theme-toggle:active { transform: scale(.96); }
.theme-icon { font-size: 1.35rem; line-height: 1; }
.theme-icon-sun { display: none; }
html[data-theme="night"] .theme-icon-moon { display: none; }
html[data-theme="night"] .theme-icon-sun { display: inline; color: #ffe0a1; }
.js-motion .reveal { transform: translateY(45px) scale(.98); filter: blur(8px); transition-duration: .95s; }
.js-motion .reveal.visible { transform: none; filter: blur(0); }
.section-heading::after { content: ""; display: block; width: 68px; height: 3px; margin-top: 25px; border-radius: 10px; background: var(--red); transform-origin: left; }
.js-motion .section-heading::after { transform: scaleX(.15); transition: transform 1s ease .25s; }
.js-motion .section-heading.visible::after { transform: scaleX(1); }
.hero-media > img { animation: hero-breathe 13s ease-in-out infinite alternate; }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.055); } }

/* Day keeps the Texas white/red/navy layout; night makes every pale content surface dark. */
html[data-theme="night"] {
  color-scheme: dark;
  --paper: #061322; --ink: #ebf3fb; --muted: #adbed0;
  --line: #334b60; --shadow: 0 30px 90px rgba(0,0,0,.4);
}
html[data-theme="night"] .site-header { background: rgba(2,12,25,.94); border-color: rgba(117,173,219,.4); }
html[data-theme="night"] .floating-star { color: #a8d6ff; filter: drop-shadow(0 0 5px #b9e0ff) drop-shadow(0 0 12px #3b96ed); }
html[data-theme="night"] .floating-star:nth-child(7n) { color: #ff6b8c; filter: drop-shadow(0 0 8px #f54d73); }
html[data-theme="night"] .story-point,
html[data-theme="night"] .service-card,
html[data-theme="night"] .work-card,
html[data-theme="night"] .plan-card:not(.plan-featured),
html[data-theme="night"] .quote-form { background: #10243a; color: var(--ink); }
html[data-theme="night"] .concept-note,
html[data-theme="night"] .mini-star,
html[data-theme="night"] .service-icon,
html[data-theme="night"] .work-tags span,
html[data-theme="night"] .setup-row,
html[data-theme="night"] .language-menu { background: #172e47; color: #d4e6f6; border-color: #45617b; }
html[data-theme="night"] .service-card::after { border-color: #1b344e; }
html[data-theme="night"] .service-icon { color: #9ccdfa; }
html[data-theme="night"] .button-outline { color: #e3f2ff; border-color: #83a6c3; }
html[data-theme="night"] .language-menu button { color: #d7e8f6; }
html[data-theme="night"] .language-menu button:hover,
html[data-theme="night"] .language-menu button.active { color: #fff; background: #284561; }
html[data-theme="night"] .main-nav.open { background: #12263c; color: #e8f3ff; border-color: #45617b; }
html[data-theme="night"] .main-nav.open a { color: #d1e4f5; }
html[data-theme="night"] .main-nav.open a:hover { color: #fff; background: #284561; }
html[data-theme="night"] .quote-form label,
html[data-theme="night"] .concept-note p,
html[data-theme="night"] .work-tags span,
html[data-theme="night"] .city-line,
html[data-theme="night"] .price-status { color: #c2d6e8; }
html[data-theme="night"] .quote-form input,
html[data-theme="night"] .quote-form select,
html[data-theme="night"] .quote-form textarea { background: #07182b; border-color: #4b667e; color: #ecf5fe; }
html[data-theme="night"] .quote-form input::placeholder,
html[data-theme="night"] .quote-form textarea::placeholder { color: #9eb7cb; }
html[data-theme="night"] .work-meta,
html[data-theme="night"] .point-number,
html[data-theme="night"] .privacy { color: #aec4d7; }

@media (max-width: 760px) {
  .theme-toggle { min-width: 42px; width: 42px; padding: 0; }
  .theme-label { display: none; }
  .floating-star { opacity: .65; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-stars { display: block; }
  html:not([data-fx="on"]) .floating-star { animation: none !important; opacity: .6; }
  html:not([data-fx="on"]) .hero-media > img { animation: none !important; }
  html:not([data-fx="on"]) .js-motion .reveal { opacity: 1; transform: none; filter: none; }
  html:not([data-fx="on"]) .js-motion .section-heading::after { transform: none; }
}

/* v12: unmistakable opt-in/out effects, blinking stars and scroll feedback. */
.scroll-progress { position: fixed; z-index: 100; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg,#c90d3a,#ffc2d1,#78bbf1); transform: scaleX(0); transform-origin: left center; pointer-events: none; box-shadow: 0 0 11px rgba(255,105,151,.5); }
.fx-toggle { position: fixed; z-index: 75; inset-inline-end: 18px; bottom: 18px; min-height: 43px; padding: 0 15px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(206,230,255,.7); border-radius: 99px; background: #082747; color: #fff; box-shadow: 0 10px 32px rgba(0,0,0,.32); font-size: .78rem; font-weight: 850; cursor: pointer; }
.fx-toggle > span:first-child { color: #ffd7e2; font-size: 18px; }
.fx-toggle:hover,.fx-toggle:focus-visible { background: #164e7f; outline: 3px solid rgba(100,175,239,.35); }
html[data-fx="off"] .fx-toggle { background: #41586d; }
.floating-star { animation: star-drift var(--duration) ease-in-out var(--delay) infinite alternate, star-twinkle 1.5s ease-in-out var(--delay) infinite; will-change: transform,opacity; }
.floating-star:nth-child(3n) { animation-duration: var(--duration),2.1s; }
.floating-star:nth-child(5n) { animation-duration: var(--duration),1.1s; }
@keyframes star-drift { from { transform: translate3d(-20px,24px,0) rotate(-24deg) scale(.8); } to { transform: translate3d(34px,-55px,0) rotate(48deg) scale(1.3); } }
@keyframes star-twinkle { 0%,100% { opacity: .22; filter: drop-shadow(0 0 1px currentColor); } 45% { opacity: 1; filter: drop-shadow(0 0 10px currentColor) brightness(1.6); } }
.hero-grid { transform: translateY(var(--hero-scroll,0px)); }
.hero-orb { position: absolute; z-index: 1; top: 12%; inset-inline-end: 10%; width: min(460px,45vw); aspect-ratio: 1; border-radius: 50%; opacity: .7; background: radial-gradient(circle,rgba(108,189,252,.21),rgba(191,10,48,.13) 37%,transparent 68%); filter: blur(3px); pointer-events: none; animation: orb-float 7s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; z-index: 1; left: var(--pointer-x,50%); top: var(--pointer-y,45%); width: 430px; height: 430px; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle,rgba(139,202,255,.2),rgba(191,10,48,.09) 39%,transparent 72%); pointer-events: none; }
@keyframes orb-float { from { transform: translate(-10px,0) scale(.8); opacity: .35; } to { transform: translate(30px,50px) scale(1.2); opacity: .9; } }
html[data-fx="off"] .floating-star, html[data-fx="off"] .hero-orb, html[data-fx="off"] .hero-media > img { animation: none !important; }
html[data-fx="off"] .hero::after { display: none; }
html[data-fx="off"] .floating-star { opacity: .45; will-change: auto; }
html[data-fx="off"] .hero-grid { transform: none; }
@media (max-width:760px) { .fx-toggle { inset-inline-end: 12px; bottom: 12px; } .hero-orb { width: 68vw; } }
